FS#74408 - [emacs] Lisp error: (wrong-number-of-arguments (3 . 4) 2)

Attached to Project: Arch Linux
Opened by Moth (Moth) - Friday, 08 April 2022, 18:49 GMT
Last edited by freswa (frederik) - Saturday, 09 April 2022, 17:36 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

Emacs cannot load '~/.emacs' due to the `(wrong-number-of-arguments (3 . 4) 2)` error in the `define-obsolete-variable-alias` macro after updating Emacs to 28.1:

```
Debugger entered--Lisp error: (wrong-number-of-arguments (3 . 4) 2)
#f(compiled-function (obsolete-name current-name when &optional docstring) "Make OBSOLETE-NAME a variable alias for CURRENT-NAME and mark it obsolete.\n\nWHEN should be a string i$
(define-obsolete-variable-alias 'docker-image-name 'dockerfile-image-name)
eval-buffer(#<buffer *load*-511110> nil "/home/user/.emacs.d/lisp/dockerfile-mode.el" nil t) ; Reading at buffer position 5586
load-with-code-conversion("/home/user/.emacs.d/lisp/dockerfile-mode.el" "/home/user/.emacs.d/lisp/dockerfile-mode.el" nil t)
require(dockerfile-mode)
eval-buffer(#<buffer *load*> nil "/home/user/.emacs" nil t) ; Reading at buffer position 3442
load-with-code-conversion("/home/user/.emacs" "/home/user/.emacs" t t)
load("~/.emacs" noerror nomessage)
startup--load-user-init-file(#f(compiled-function () #<bytecode 0x1305bfe19871d948>) #f(compiled-function () #<bytecode -0x1f3c686ddc0cdc35>) t)
command-line()
normal-top-level()
```

Additional info:
* Package version: 28.1-1

Steps to reproduce:

Updating Emacs to 28.1.
This task depends upon

Closed by  freswa (frederik)
Saturday, 09 April 2022, 17:36 GMT
Reason for closing:  Not a bug
Additional comments about closing:  Not a packaging issue.
Comment by loqs (loqs) - Saturday, 09 April 2022, 01:25 GMT
Please see [1]. The issue is from the user supplied script not emacs.

[1] https://github.com/spotify/dockerfile-mode/issues/60

Loading...