emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#58148: closed (29.0.50; Wrong number of arguments in keymap-set--ano


From: GNU bug Tracking System
Subject: bug#58148: closed (29.0.50; Wrong number of arguments in keymap-set--anon-cmacro)
Date: Thu, 05 Oct 2023 18:08:02 +0000

Your message dated Thu, 05 Oct 2023 14:07:01 -0400
with message-id <jwvcyxt6j7q.fsf-monnier+emacs@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@gnu.org.)


-- 
58148: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=58148
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: 29.0.50; Wrong number of arguments in keymap-set--anon-cmacro Date: Wed, 28 Sep 2022 21:03:00 +0300 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (x86_64-pc-linux-gnu)
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)



--- End Message ---
--- Begin Message --- Subject: Re: bug#58148: 29.0.50; Wrong number of arguments in keymap-set--anon-cmacro Date: Thu, 05 Oct 2023 14:07:01 -0400 User-agent: Gnus/5.13 (Gnus v5.13)
>> 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



--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]