From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Robert J. Chassell" Newsgroups: gmane.emacs.devel Subject: buff-menu.el changes Date: Mon, 16 Dec 2002 15:04:57 -0500 (EST) Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: Reply-To: bob@rattlesnake.com NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1040069304 32558 80.91.224.249 (16 Dec 2002 20:08:24 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 16 Dec 2002 20:08:24 +0000 (UTC) Cc: bob@rattlesnake.com Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18O1XI-0008Sl-00 for ; Mon, 16 Dec 2002 21:08:20 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 18O1ku-0005un-00 for ; Mon, 16 Dec 2002 21:22:24 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18O1X9-0007lI-03 for emacs-devel@quimby.gnus.org; Mon, 16 Dec 2002 15:08:11 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18O1Wh-0007fF-00 for emacs-devel@gnu.org; Mon, 16 Dec 2002 15:07:43 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18O1WV-0007Oy-00 for emacs-devel@gnu.org; Mon, 16 Dec 2002 15:07:34 -0500 Original-Received: from megalith.rattlesnake.com ([140.186.114.245] helo=localhost) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18O1Vq-0007H8-00 for emacs-devel@gnu.org; Mon, 16 Dec 2002 15:06:51 -0500 Original-Received: by rattlesnake.com via sendmail from stdin id (Debian Smail3.2.0.114) Mon, 16 Dec 2002 15:04:57 -0500 (EST) Original-To: emacs-devel@gnu.org, occitan@esperanto.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Emacs development discussions. List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:10177 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:10177 Today's CVS snapshot, Mon, 2002 Dec 16 18:58 UTC GNU Emacs 21.3.50.23 (i686-pc-linux-gnu, X toolkit) Changes were made in lisp/buff-menu.el * First, when Buffer-menu-use-header-line is nil it is impossible to move to the next line using the next-line (C-n) command when point is on the `C' of CRM, which is the first character of the first line of a buffer. Instead, you must use forward-char (C-f) to go to the next line. Obviously, the intent is that no one go to that first character in the buffer. However, for whatever reason, I find myself there frequently, so this decreases the value of the user interface. The problem can be solved by commenting out the line (put-text-property 1 (point) 'intangible t) in the function definition for list-buffers-noselect Please either remove that line or, if you think that some people will like the feature, make it a variable that leaves the user free to move by default using the standard command. * Second, the addition of the `C' to the existing `RM' is consistent logically, since it must mean `current', but it is not needed and makes the headline look `heavy'. Th new heading format with the `C' is hard coded into list-buffers-noselect. Please either revert the hard coding or make the format of a header line be a variable, such as Buffer-menu-header-line-format In any event, please place the second line of the header, the underlines, close to the value for the first line of the header. As written, the first line of the header is in the let statement, but the second line of the header is in the body of the defun. This separation of the two header lines not only makes the defun hard to maintain, but is ugly. Please define the second line of the header as the second line of the Buffer-menu-header-line-format variable. * Third, the default width for Buffer-menu-buffer+size-width is 21, but I find that 24 makes a better default. Similarly, the default width for Buffer-menu-buffer+size-width is 11, but I find that 16 makes a better default. With the larger defaults, Mode names such as that for *scratch* Lisp Interaction are not reduced to Lisp Intera as they now are in a plain vanilla Emacs started with `-q'. Likewise, the entry for the man page for resolv.conf looks like with the bigger values: % *Man resolv.conf* 5194 Man but with the current default, that entry looks like this: % *Man resolv.con: 5194 Man Both the cut-off entries look ugly. The entry for *scratch* occurs by default, since Emacs always creates a *scratch* buffer. So that entry should look good. * Fourth, when Buffer-menu-use-header-line is t, the `CRM' characters in the header line do not line up above their respective `Current', `Read-only', and `Modified' columns. In a plain vanilla GNU Emacs, started with `-q', the `M' is over the . that indicates the current buffer. Please fix this, since this makes a plain vanilla instance of Emacs look ugly and ill designed. Thank you. -- Robert J. Chassell Rattlesnake Enterprises http://www.rattlesnake.com GnuPG Key ID: 004B4AC8 http://www.teak.cc bob@rattlesnake.com