GNU bug report logs - #56659
29.0.50; nitpicking: eldoc-doc-buffer should use special-mode

Previous Next

Package: emacs;

Reported by: Zhiwei Chen <condy0919 <at> gmail.com>

Date: Wed, 20 Jul 2022 09:10:02 UTC

Severity: normal

Found in version 29.0.50

Fixed in version 29.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 56659 in the body.
You can then email your comments to 56659 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#56659; Package emacs. (Wed, 20 Jul 2022 09:10:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Zhiwei Chen <condy0919 <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Wed, 20 Jul 2022 09:10:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Zhiwei Chen <condy0919 <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 29.0.50; nitpicking: eldoc-doc-buffer should use special-mode
Date: Wed, 20 Jul 2022 17:09:08 +0800
M-x eldoc-doc-buffer displays `eldoc--doc-buffer', the ElDoc
documentation buffer, where

#+begin_src elisp
(local-set-key "q" 'quit-window)
#+end_src

is used to imitate the behavior of special-mode. Further more, using
special-mode for `eldoc-doc-buffer' gives users the opportunity to
modify the keymap, add-hook, ... etc. For myself, an evil-mode user,
it's able to press q in normal state to quit the window since
special-mode has already been evilified. Currently, evil adds an advice
after `eldoc-doc-buffer' [1] as a workaround.

[1]: https://github.com/emacs-evil/evil-collection/blob/master/modes/eldoc/evil-collection-eldoc.el#L60-L61=

-- 
Zhiwei Chen




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#56659; Package emacs. (Sat, 23 Jul 2022 07:14:02 GMT) Full text and rfc822 format available.

Message #8 received at 56659 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Zhiwei Chen <condy0919 <at> gmail.com>
Cc: 56659 <at> debbugs.gnu.org
Subject: Re: bug#56659: 29.0.50; nitpicking: eldoc-doc-buffer should use
 special-mode
Date: Sat, 23 Jul 2022 09:13:47 +0200
Zhiwei Chen <condy0919 <at> gmail.com> writes:

> is used to imitate the behavior of special-mode. Further more, using
> special-mode for `eldoc-doc-buffer' gives users the opportunity to
> modify the keymap, add-hook, ... etc. For myself, an evil-mode user,
> it's able to press q in normal state to quit the window since
> special-mode has already been evilified. Currently, evil adds an advice
> after `eldoc-doc-buffer' [1] as a workaround.

I've now fixed this in Emacs 29.






bug marked as fixed in version 29.1, send any further explanations to 56659 <at> debbugs.gnu.org and Zhiwei Chen <condy0919 <at> gmail.com> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Sat, 23 Jul 2022 07:15:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#56659; Package emacs. (Thu, 28 Jul 2022 03:55:01 GMT) Full text and rfc822 format available.

Message #13 received at 56659 <at> debbugs.gnu.org (full text, mbox):

From: Zhiwei Chen <condy0919 <at> gmail.com>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 56659 <at> debbugs.gnu.org
Subject: Re: bug#56659: 29.0.50; nitpicking: eldoc-doc-buffer should use
 special-mode
Date: Thu, 28 Jul 2022 11:54:10 +0800
Lars Ingebrigtsen <larsi <at> gnus.org> writes:

> Zhiwei Chen <condy0919 <at> gmail.com> writes:
>
>> is used to imitate the behavior of special-mode. Further more, using
>> special-mode for `eldoc-doc-buffer' gives users the opportunity to
>> modify the keymap, add-hook, ... etc. For myself, an evil-mode user,
>> it's able to press q in normal state to quit the window since
>> special-mode has already been evilified. Currently, evil adds an advice
>> after `eldoc-doc-buffer' [1] as a workaround.
>
> I've now fixed this in Emacs 29.
>
>

Thanks.

-- 
Zhiwei Chen




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 25 Aug 2022 11:24:07 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 300 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.