From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: tweak to apropos-command display Date: Tue, 22 Feb 2005 13:11:06 -0500 Message-ID: References: <1814.220.255.78.196.1108996512.squirrel@220.255.78.196> Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1109096095 3937 80.91.229.2 (22 Feb 2005 18:14:55 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 22 Feb 2005 18:14:55 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Feb 22 19:14:54 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1D3eYc-0003jt-Rv for ged-emacs-devel@m.gmane.org; Tue, 22 Feb 2005 19:14:51 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D3epo-0003op-Le for ged-emacs-devel@m.gmane.org; Tue, 22 Feb 2005 13:32:36 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1D3ek3-0001If-Gm for emacs-devel@gnu.org; Tue, 22 Feb 2005 13:26:40 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1D3ejz-0001H2-Lx for emacs-devel@gnu.org; Tue, 22 Feb 2005 13:26:36 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D3ejz-0001FO-0q for emacs-devel@gnu.org; Tue, 22 Feb 2005 13:26:35 -0500 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1D3eV1-00081n-2U for emacs-devel@gnu.org; Tue, 22 Feb 2005 13:11:07 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1D3eV0-0000K3-Ln; Tue, 22 Feb 2005 13:11:06 -0500 Original-To: "Chong Yidong" In-reply-to: <1814.220.255.78.196.1108996512.squirrel@220.255.78.196> (cyd@stupidchicken.com) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org X-MailScanner-To: ged-emacs-devel@m.gmane.org Xref: main.gmane.org gmane.emacs.devel:33736 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:33736 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)