GNU bug report logs -
#58148
29.0.50; Wrong number of arguments in keymap-set--anon-cmacro
Previous Next
Reported by: Juri Linkov <juri <at> linkov.net>
Date: Wed, 28 Sep 2022 18:04:01 UTC
Severity: normal
Merged with 58396,
58557
Found in version 29.0.50
Done: Stefan Monnier <monnier <at> iro.umontreal.ca>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your message dated Thu, 05 Oct 2023 14:07:01 -0400
with message-id <jwvcyxt6j7q.fsf-monnier+emacs <at> gnu.org>
and subject line Re: bug#58148: 29.0.50; Wrong number of arguments in keymap-set--anon-cmacro
has caused the debbugs.gnu.org bug report #58148,
regarding 29.0.50; Wrong number of arguments in keymap-set--anon-cmacro
to be marked as done.
(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)
--
58148: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=58148
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
0. emacs -Q
1. Type in the *scratch*:
(keymap-set g
2. Then 'completion-at-point' with 'M-C-i'.
Debugger entered--Lisp error: (wrong-number-of-arguments (4 . 4) 2)
keymap-set--anon-cmacro((keymap-set elisp--witness--lisp) elisp--witness--lisp)
apply(keymap-set--anon-cmacro (keymap-set elisp--witness--lisp) elisp--witness--lisp)
macroexp--compiler-macro(keymap-set--anon-cmacro (keymap-set elisp--witness--lisp))
#f(compiled-function (form func) #<bytecode -0x1997929cc4a97ca0>)(((keymap-set elisp--witness--lisp)) keymap-set)
macroexp--expand-all((keymap-set elisp--witness--lisp))
macroexpand-all((keymap-set elisp--witness--lisp))
elisp--local-variables()
#f(compiled-function (string) #<bytecode -0x5dd040ab2d900d4>)(#("g" 0 1 (fontified t rear-nonsticky t)))
#f(compiled-function (string pred action) #<bytecode -0x131cb872953b2efd>)(#("g" 0 1 (fontified t rear-nonsticky t)) nil nil)
try-completion(#("g" 0 1 (fontified t rear-nonsticky t)) #f(compiled-function (string pred action) #<bytecode -0x131cb872953b2efd>) nil)
#f(compiled-function (table) #<bytecode 0x1635acab3bc82542>)(#f(compiled-function (string pred action) #<bytecode -0x131cb872953b2efd>))
mapcar(#f(compiled-function (table) #<bytecode 0x1635acab3bc82542>) (#f(compiled-function (string pred action) #<bytecode -0x131cb872953b2efd>) #f(compiled-function (&rest args2) #<bytecode -0x12a9d92cb5a883a4>)))
#f(compiled-function (string pred action) #<bytecode 0x59c9db15e8e1ece>)(#("g" 0 1 (fontified t rear-nonsticky t)) nil nil)
try-completion(#("g" 0 1 (fontified t rear-nonsticky t)) #f(compiled-function (string pred action) #<bytecode 0x59c9db15e8e1ece>) nil)
completion-basic-try-completion(#("g" 0 1 (rear-nonsticky t fontified t)) #f(compiled-function (string pred action) #<bytecode 0x59c9db15e8e1ece>) nil 1)
#f(compiled-function (style) #<bytecode 0x178271f9e5e4c041>)(basic)
completion--some(#f(compiled-function (style) #<bytecode 0x178271f9e5e4c041>) (basic partial-completion emacs22))
completion--nth-completion(1 #("g" 0 1 (rear-nonsticky t fontified t)) #f(compiled-function (string pred action) #<bytecode 0x59c9db15e8e1ece>) nil 1 (metadata))
completion-try-completion(#("g" 0 1 (rear-nonsticky t fontified t)) #f(compiled-function (string pred action) #<bytecode 0x59c9db15e8e1ece>) nil 1 (metadata))
completion--do-completion(#<marker at 158 in *scratch*> 159)
completion--in-region-1(#<marker at 158 in *scratch*> 159)
#f(compiled-function (start end collection predicate) #<bytecode -0xceba54d1e8420a4>)(#<marker at 158 in *scratch*> 159 #f(compiled-function (string pred action) #<bytecode 0x59c9db15e8e1ece>) nil)
apply(#f(compiled-function (start end collection predicate) #<bytecode -0xceba54d1e8420a4>) (#<marker at 158 in *scratch*> 159 #f(compiled-function (string pred action) #<bytecode 0x59c9db15e8e1ece>) nil))
#f(compiled-function (funs global args) #<bytecode -0xf63b519da3ae62>)(nil nil (#<marker at 158 in *scratch*> 159 #f(compiled-function (string pred action) #<bytecode 0x59c9db15e8e1ece>) nil))
completion--in-region(#<marker at 158 in *scratch*> 159 #f(compiled-function (string pred action) #<bytecode 0x59c9db15e8e1ece>) nil)
completion-in-region(#<marker at 158 in *scratch*> 159 #f(compiled-function (string pred action) #<bytecode 0x59c9db15e8e1ece>) nil)
completion-at-point()
funcall-interactively(completion-at-point)
command-execute(completion-at-point)
[Message part 3 (message/rfc822, inline)]
>> This `t` catches more than errors. Better replace it with `error`.
> Done plus Eli's comments from that other branch.
Thanks, pushed to `emacs-29`.
> Done.
Thanks, pushed to `master`.
> FWIW, bug#60081 can also be merged into this one. (The other bugs that
> Zehao mentions in her/his last post are either merged already or
> typos/not related to this bug.)
Indeed, hereby closing it as well.
> Technically, I should be able to merge that bug (after having been
> pointed to admin/notes/bugtracker), but is it OK for me (as a "plain
> user") to do so?
Yes (it's easy to undo, in any case if it proves to be a mistake).
Stefan
This bug report was last modified 1 year and 228 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.