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

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

bug#60252: 29.0.60; help-fns--describe-function-or-command-prompt asks f


From: Juri Linkov
Subject: bug#60252: 29.0.60; help-fns--describe-function-or-command-prompt asks for confirmation
Date: Fri, 23 Dec 2022 09:02:04 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/30.0.50 (x86_64-pc-linux-gnu)

>> I suggest
>>
>> (define-key minibuffer-local-must-match-map (kbd "RET") #'minibuffer-
>> force-complete-and-exit)
>
> Why?
>
> Needing to do that is something new.  The binding has
> been `minibuffer-complete-and-exit' since Day One.

I tried to check the function bound to RET in the minibuffer,
but in Emacs 29 typing 'C-h f C-h k RET' raises an error:

Debugger entered--Lisp error: (wrong-type-argument consp nil)
  event--posn-at-point()
  event-end(13)
  help--analyze-key("\15" [return] nil)
  #f(compiled-function (x) #<bytecode 0x8dc81a7f13b6e25>)(("\15" . [return]))
  mapcar(#f(compiled-function (x) #<bytecode 0x8dc81a7f13b6e25>) (("\15" . 
[return])))
  describe-key((("\15" . [return])))
  funcall-interactively(describe-key (("\15" . [return])))
  command-execute(describe-key)
  completing-read-default("Describe function: " help--symbol-completion-table
    #f(compiled-function (f) #<bytecode 0x17c923a28e18507a>) confirm nil nil 
nil nil)
  help-fns--describe-function-or-command-prompt()
  command-execute(describe-function)





reply via email to

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