emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tweak to apropos-command display


From: Richard Stallman
Subject: Re: tweak to apropos-command display
Date: Tue, 22 Feb 2005 13:11:06 -0500

    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.

How about this change instead?


*** apropos.el  12 Feb 2005 03:38:01 -0500      1.101
--- apropos.el  22 Feb 2005 04:59:34 -0500      
***************
*** 860,872 ****
                                              key))
                       key)
                     item ", "))
!                (insert "M-x")
!                (put-text-property (- (point) 3) (point)
!                                   'face apropos-keybinding-face)
!                (insert " " (symbol-name symbol) " ")
!                (insert "RET")
!                (put-text-property (- (point) 3) (point)
!                                   'face apropos-keybinding-face)))
          (terpri)
          (apropos-print-doc 2
                             (if (commandp symbol)
--- 860,866 ----
                                              key))
                       key)
                     item ", "))
!                (insert "(invoke using M-x)")))
          (terpri)
          (apropos-print-doc 2
                             (if (commandp symbol)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]