GNU bug report logs - #19164
24.3; Feature request: describe-key-briefly with prefix argument

Previous Next

Package: emacs;

Reported by: Marcin Borkowski <mbork <at> wmi.amu.edu.pl>

Date: Mon, 24 Nov 2014 16:51:03 UTC

Severity: wishlist

Tags: wontfix

Found in version 24.3

Done: Stefan Kangas <stefan <at> marxist.se>

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 19164 in the body.
You can then email your comments to 19164 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#19164; Package emacs. (Mon, 24 Nov 2014 16:51:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Marcin Borkowski <mbork <at> wmi.amu.edu.pl>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Mon, 24 Nov 2014 16:51:04 GMT) Full text and rfc822 format available.

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

From: Marcin Borkowski <mbork <at> wmi.amu.edu.pl>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.3; Feature request: describe-key-briefly with prefix argument
Date: Mon, 24 Nov 2014 17:16:02 +0100
This is really a feature request.  If I press

C-u C-h c C-h c,

this is what appears at point:

C-h c runs the command describe-key-briefly

(and this behavior is well-documented in the docstring for
describe-key-briefly).  I would suggest that only the command name
should be inserted, and the present behavior (if really needed) be
reserved for e.g. C-u C-u C-h c.  The rationale is that when
e.g. emailing about some Emacs feature, I'd like to be able to insert
some command name conveniently; OTOH, it is difficult for me to come up
with a scenario when the present behavior is needed.

Best regards,

-- 
Marcin Borkowski
http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
Faculty of Mathematics and Computer Science
Adam Mickiewicz University




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#19164; Package emacs. (Fri, 05 Jul 2019 13:46:02 GMT) Full text and rfc822 format available.

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

From: Stefan Kangas <stefan <at> marxist.se>
To: 19164 <at> debbugs.gnu.org
Subject: Re: bug#19164: 24.3; Feature request: describe-key-briefly with
 prefix argument
Date: Fri, 5 Jul 2019 15:44:44 +0200
Marcin Borkowski <mbork <at> wmi.amu.edu.pl> writes:

> C-u C-h c C-h c,
>
> this is what appears at point:
>
> C-h c runs the command describe-key-briefly
> C-h c runs the command gnus-article-describe-key-briefly
> (and this behavior is well-documented in the docstring for
> describe-key-briefly).  I would suggest that only the command name
> should be inserted, and the present behavior (if really needed) be
> reserved for e.g. C-u C-u C-h c.  The rationale is that when
> e.g. emailing about some Emacs feature, I'd like to be able to insert
> some command name conveniently; OTOH, it is difficult for me to come up
> with a scenario when the present behavior is needed.

Hi Marcin,

I think that it makes more sense to display help as the default behaviour rather
than inserting the help at point.  The use case for this behaviour is when the
user wants to know what a command does in a brief way without showing the
help buffer.

Therefore I'm against making this change.

To get your preferred behaviour, you could advice
describe-key-briefly, for example like this:

(defun my-flip-second-arg (orig-fun &rest args)
  (apply orig-fun (list (car args) (not (cadr args)))))
(add-function :around (symbol-function 'describe-key-briefly)
#'my-flip-second-arg)

If I don't hear any protests, I will close this bug report as wontfix.

Best regards,
Stefan Kangas




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#19164; Package emacs. (Fri, 05 Jul 2019 14:00:02 GMT) Full text and rfc822 format available.

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

From: Noam Postavsky <npostavs <at> gmail.com>
To: Stefan Kangas <stefan <at> marxist.se>
Cc: 19164 <at> debbugs.gnu.org
Subject: Re: bug#19164: 24.3;
 Feature request: describe-key-briefly with prefix argument
Date: Fri, 05 Jul 2019 09:58:58 -0400
Stefan Kangas <stefan <at> marxist.se> writes:

> I think that it makes more sense to display help as the default behaviour rather
> than inserting the help at point.  The use case for this behaviour is when the
> user wants to know what a command does in a brief way without showing the
> help buffer.

I think you've misunderstood the request.  It's about the behaviour when
describe-key-briefly gets a prefix argument.  *Currently* it inserts
'<key> runs the command <command-name>'.  The request is to insert just
'<command-name>'.

> Therefore I'm against making this change.

That said, I'm not really keen on this request either.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#19164; Package emacs. (Fri, 05 Jul 2019 14:11:02 GMT) Full text and rfc822 format available.

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

From: Stefan Kangas <stefan <at> marxist.se>
To: Noam Postavsky <npostavs <at> gmail.com>
Cc: 19164 <at> debbugs.gnu.org
Subject: Re: bug#19164: 24.3; Feature request: describe-key-briefly with
 prefix argument
Date: Fri, 5 Jul 2019 16:10:13 +0200
Noam Postavsky <npostavs <at> gmail.com> writes:
>
> Stefan Kangas <stefan <at> marxist.se> writes:
>
> > I think that it makes more sense to display help as the default behaviour rather
> > than inserting the help at point.  The use case for this behaviour is when the
> > user wants to know what a command does in a brief way without showing the
> > help buffer.
>
> I think you've misunderstood the request.  It's about the behaviour when
> describe-key-briefly gets a prefix argument.  *Currently* it inserts
> '<key> runs the command <command-name>'.  The request is to insert just
> '<command-name>'.

I see.  That makes a bit more sense, to be honest.

> > Therefore I'm against making this change.
>
> That said, I'm not really keen on this request either.

Me neither.  Anyone else?

Thanks,
Stefan Kangas




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#19164; Package emacs. (Fri, 02 Aug 2019 14:11:01 GMT) Full text and rfc822 format available.

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

From: Stefan Kangas <stefan <at> marxist.se>
To: Noam Postavsky <npostavs <at> gmail.com>
Cc: 19164 <at> debbugs.gnu.org
Subject: Re: bug#19164: 24.3; Feature request: describe-key-briefly with
 prefix argument
Date: Fri, 2 Aug 2019 16:09:50 +0200
tags 19164 + wontfix
close 19164
quit

Stefan Kangas <stefan <at> marxist.se> writes:
> Noam Postavsky <npostavs <at> gmail.com> writes:
> > I think you've misunderstood the request.  It's about the behaviour when
> > describe-key-briefly gets a prefix argument.  *Currently* it inserts
> > '<key> runs the command <command-name>'.  The request is to insert just
> > '<command-name>'.
[...]
> > That said, I'm not really keen on this request either.
>
> Me neither.  Anyone else?

It would seem that there is not much enthusiasm for this change.
Therefore, I'm closing this as wontfix.

Thanks,
Stefan Kangas




Added tag(s) wontfix. Request was from Stefan Kangas <stefan <at> marxist.se> to control <at> debbugs.gnu.org. (Fri, 02 Aug 2019 14:11:02 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 19164 <at> debbugs.gnu.org and Marcin Borkowski <mbork <at> wmi.amu.edu.pl> Request was from Stefan Kangas <stefan <at> marxist.se> to control <at> debbugs.gnu.org. (Fri, 02 Aug 2019 14:11:02 GMT) Full text and rfc822 format available.

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

This bug report was last modified 4 years and 212 days ago.

Previous Next


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