unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* tweak to apropos-command display
@ 2005-02-21 14:35 Chong Yidong
  2005-02-21 15:04 ` Kim F. Storm
                   ` (2 more replies)
  0 siblings, 3 replies; 17+ messages in thread
From: Chong Yidong @ 2005-02-21 14:35 UTC (permalink / raw)


When apropos-command is displaying the keybindings associated with a
command, it often runs past the edge of the screen (esp. when displaying
M-x COMMAND RET) This makes the output very difficult to read.

A simple way to deal with this problem is to put the keybindings on their
own line. Opinions?

*** apropos.el~	Mon Feb 21 21:59:35 2005
--- apropos.el	Mon Feb 21 22:26:25 2005
***************
*** 824,832 ****
  	  (if apropos-sort-by-scores
  	      (insert " (" (number-to-string (cadr apropos-item)) ") "))
  	  ;; Calculate key-bindings if we want them.
! 	  (and do-keys
! 	       (commandp symbol)
! 	       (indent-to 30 1)
  	       (if (let ((keys
  			  (save-excursion
  			    (set-buffer old-buffer)
--- 824,832 ----
  	  (if apropos-sort-by-scores
  	      (insert " (" (number-to-string (cadr apropos-item)) ") "))
  	  ;; Calculate key-bindings if we want them.
! 	  (when (and do-keys
!                      (commandp symbol))
! 	       (insert "\n  ")
  	       (if (let ((keys
  			  (save-excursion
  			    (set-buffer old-buffer)

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

end of thread, other threads:[~2005-03-01 23:36 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-21 14:35 tweak to apropos-command display Chong Yidong
2005-02-21 15:04 ` Kim F. Storm
2005-02-21 16:26   ` Chong Yidong
2005-02-21 15:14 ` Stefan
2005-02-21 16:36   ` Chong Yidong
2005-02-22 18:11 ` Richard Stallman
2005-02-22 20:36   ` Kevin Rodgers
2005-02-22 21:46   ` Kim F. Storm
2005-02-22 22:01     ` David Kastrup
2005-02-22 22:28       ` Kim F. Storm
2005-02-28 12:14       ` Tweak to key-description for menu bindings (was Re: tweak to apropos-command display) Kim F. Storm
2005-02-28 12:55         ` Tweak to key-description for menu bindings David Kastrup
2005-03-01 23:36           ` Kim F. Storm
2005-02-28 21:53         ` Tweak to key-description for menu bindings (was Re: tweak to apropos-command display) Richard Stallman
2005-02-28 22:47           ` Tweak to key-description for menu bindings Kim F. Storm
2005-02-22 22:13     ` tweak to apropos-command display Stefan Monnier
2005-02-22 22:31       ` Kim F. Storm

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

	https://git.savannah.gnu.org/cgit/emacs.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).