GNU bug report logs - #30942
[PATCH] Add `key-description' as inverse of `kbd'.

Previous Next

Package: emacs;

Reported by: Hong Xu <hong <at> topbug.net>

Date: Sun, 25 Mar 2018 22:22:01 UTC

Severity: wishlist

Tags: fixed, patch

Fixed in version 26.1

Done: Noam Postavsky <npostavs <at> gmail.com>

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 30942 in the body.
You can then email your comments to 30942 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#30942; Package emacs. (Sun, 25 Mar 2018 22:22:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Hong Xu <hong <at> topbug.net>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sun, 25 Mar 2018 22:22:02 GMT) Full text and rfc822 format available.

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

From: Hong Xu <hong <at> topbug.net>
To: bug-gnu-emacs <at> gnu.org
Subject: [PATCH] Add `key-description' as inverse of `kbd'.
Date: Sun, 25 Mar 2018 14:35:51 -0700
[Message part 1 (text/plain, inline)]
2018-03-25  Hong Xu  <hong <at> topbug.net>

	* lisp/subr.el (kbd): Add `key-description' as inverse of
          `kbd' in the doc.
---
 lisp/subr.el | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/lisp/subr.el b/lisp/subr.el
index 2de5b3766c2f..f8ac70edefae 100644
--- a/lisp/subr.el
+++ b/lisp/subr.el
@@ -774,7 +774,9 @@ kbd
 KEYS should be a string in the format returned by commands such
 as `C-h k' (`describe-key').
 This is the same format used for saving keyboard macros (see
-`edmacro-mode')."
+`edmacro-mode').
+
+For an approximate inverse of this, see `key-description'."
   ;; Don't use a defalias, since the `pure' property is only true for
   ;; the calling convention of `kbd'.
   (read-kbd-macro keys))
-- 
2.11.0

[signature.asc (application/pgp-signature, attachment)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#30942; Package emacs. (Sat, 31 Mar 2018 05:03:02 GMT) Full text and rfc822 format available.

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

From: Noam Postavsky <npostavs <at> gmail.com>
To: Hong Xu <hong <at> topbug.net>
Cc: 30942 <at> debbugs.gnu.org
Subject: Re: bug#30942: [PATCH] Add `key-description' as inverse of `kbd'.
Date: Sat, 31 Mar 2018 01:02:18 -0400
tags 30942 fixed
close 30942 26.1
quit

> 2018-03-25  Hong Xu  <hong <at> topbug.net>
>
> 	* lisp/subr.el (kbd): Add `key-description' as inverse of
>           `kbd' in the doc.

> --- a/lisp/subr.el
> +++ b/lisp/subr.el
> @@ -774,7 +774,9 @@ kbd
> +For an approximate inverse of this, see `key-description'."

Pushed to emacs-26.

[1: 3bc1e2f0ac]: 2018-03-31 00:50:37 -0400
  Mention `key-description' as inverse of `kbd' (Bug#30942)
  https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=3bc1e2f0ac63fc4da6a67a619a333aa6e4529bf4




Added tag(s) fixed. Request was from Noam Postavsky <npostavs <at> gmail.com> to control <at> debbugs.gnu.org. (Sat, 31 Mar 2018 05:03:02 GMT) Full text and rfc822 format available.

bug marked as fixed in version 26.1, send any further explanations to 30942 <at> debbugs.gnu.org and Hong Xu <hong <at> topbug.net> Request was from Noam Postavsky <npostavs <at> gmail.com> to control <at> debbugs.gnu.org. (Sat, 31 Mar 2018 05:03: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, 28 Apr 2018 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 7 years and 57 days ago.

Previous Next


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