emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Bug: Prettier keybinding descriptions for orgtbl-mode [8.0.7 (release_8.0.7-437-g927c0e @ /home/youngfrog/sources/org-mode/lisp/)]
@ 2013-11-22 21:22 Nicolas Richard
  2013-11-22 21:34 ` Bastien
  0 siblings, 1 reply; 2+ messages in thread
From: Nicolas Richard @ 2013-11-22 21:22 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 348 bytes --]

Hi,

This small patch makes key descriptions a little nicer ; those that are
shown in the various orgtbl-hijacker-command-... functions.


Emacs  : GNU Emacs 24.3.1 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
 of 2013-10-24 on geodiff-mac3
Package: Org-mode version 8.0.7 (release_8.0.7-437-g927c0e @ /home/youngfrog/sources/org-mode/lisp/)


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0002-Prettier-key-descriptions-in-orgtbl-mode.patch --]
[-- Type: text/x-diff, Size: 787 bytes --]

From 08bbff5e2ce6b6b9d750b0a9319701a2eecd45bd Mon Sep 17 00:00:00 2001
From: Nicolas Richard <theonewiththeevillook@yahoo.fr>
Date: Tue, 12 Nov 2013 09:02:23 +0100

Use key-description on the keys mentionned by the functions defined by
`orgtbl-mode'.
---
 lisp/org-table.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/org-table.el b/lisp/org-table.el
index 81c681b..6526166 100644
--- a/lisp/org-table.el
+++ b/lisp/org-table.el
@@ -4141,7 +4141,7 @@ to execute outside of tables."
 	 '(arg)
 	 (concat "In tables, run `" (symbol-name fun) "'.\n"
 		 "Outside of tables, run the binding of `"
-		 (mapconcat (lambda (x) (format "%s" x)) keys "' or `")
+		 (mapconcat #'key-description keys "' or `")
 		 "'.")
 	 '(interactive "p")
 	 (list 'if
-- 
1.8.1.5


[-- Attachment #3: Type: text/plain, Size: 11 bytes --]


-- 
Nico.

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: Bug: Prettier keybinding descriptions for orgtbl-mode [8.0.7 (release_8.0.7-437-g927c0e @ /home/youngfrog/sources/org-mode/lisp/)]
  2013-11-22 21:22 Bug: Prettier keybinding descriptions for orgtbl-mode [8.0.7 (release_8.0.7-437-g927c0e @ /home/youngfrog/sources/org-mode/lisp/)] Nicolas Richard
@ 2013-11-22 21:34 ` Bastien
  0 siblings, 0 replies; 2+ messages in thread
From: Bastien @ 2013-11-22 21:34 UTC (permalink / raw)
  To: Nicolas Richard; +Cc: emacs-orgmode

Nicolas Richard <theonewiththeevillook@yahoo.fr> writes:

> This small patch makes key descriptions a little nicer ; those that are
> shown in the various orgtbl-hijacker-command-... functions.

Applied, thanks!

-- 
 Bastien

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-11-22 21:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-22 21:22 Bug: Prettier keybinding descriptions for orgtbl-mode [8.0.7 (release_8.0.7-437-g927c0e @ /home/youngfrog/sources/org-mode/lisp/)] Nicolas Richard
2013-11-22 21:34 ` Bastien

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).