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: Info menus on text-mode terminals Date: Sun, 28 Sep 2003 11:34:15 -0400 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <2914-Sat27Sep2003130207+0300-eliz@elta.co.il> Reply-To: rms@gnu.org NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1064764564 31737 80.91.224.253 (28 Sep 2003 15:56:04 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 28 Sep 2003 15:56:04 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Sun Sep 28 17:56:03 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1A3dtz-0004eu-00 for ; Sun, 28 Sep 2003 17:56:03 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1A3dty-0007B3-00 for ; Sun, 28 Sep 2003 17:56:02 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.22) id 1A3dtj-0008Lz-3q for emacs-devel@quimby.gnus.org; Sun, 28 Sep 2003 11:55:47 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.22) id 1A3daE-0004tJ-Po for emacs-devel@gnu.org; Sun, 28 Sep 2003 11:35:38 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.22) id 1A3da4-0004sB-Uz for emacs-devel@gnu.org; Sun, 28 Sep 2003 11:35:30 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.22) id 1A3da3-0004rw-VD for emacs-devel@gnu.org; Sun, 28 Sep 2003 11:35:27 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.20) id 1A3dYt-0006qQ-81; Sun, 28 Sep 2003 11:34:15 -0400 Original-To: Eli Zaretskii In-reply-to: <2914-Sat27Sep2003130207+0300-eliz@elta.co.il> X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:16723 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:16723 Did someone look lately at how we display Info menus on text-mode terminals? For example, type "C-h i d m elisp RET". I think this is ugly, especially the way the long descriptions are wrapped. Here's one example, indented by my by 4 characters (I also capitalized the menu entry name, since in Emacs it stands out in color): We were discussing this a month or so ago, trying to figure out how to avoid a bunch of different problems. I think that one very general refilling mechanism is applied to the entire Info file, and that it uses heuristics to find the paragraph breaks that should be maintained. I think it does not handle menu items specially, but that might not be hard to do. You can notice the * Menu: that starts a menu, and then do special handling on each paragraph that starts a menu item. Once you detect that the paragraph is a menu item, I think it won't be very hard to implement a better behavior in that case.