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 header line Date: Thu, 18 Nov 2004 17:45:25 +0000 (UTC) Message-ID: Reply-To: bob@rattlesnake.com NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1100799966 11938 80.91.229.6 (18 Nov 2004 17:46:06 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 18 Nov 2004 17:46:06 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Nov 18 18:45:53 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CUqLw-0000Z2-00 for ; Thu, 18 Nov 2004 18:45:52 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CUqUn-0008JS-AE for ged-emacs-devel@m.gmane.org; Thu, 18 Nov 2004 12:55:01 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CUqUf-0008JM-W6 for emacs-devel@gnu.org; Thu, 18 Nov 2004 12:54:54 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CUqUf-0008JA-In for emacs-devel@gnu.org; Thu, 18 Nov 2004 12:54:53 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CUqUf-0008J7-Ek for emacs-devel@gnu.org; Thu, 18 Nov 2004 12:54:53 -0500 Original-Received: from [69.168.110.189] (helo=rattlesnake.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CUqLf-00049v-Gx for emacs-devel@gnu.org; Thu, 18 Nov 2004 12:45:35 -0500 Original-Received: by rattlesnake.com via sendmail from stdin id (Debian Smail3.2.0.115) Thu, 18 Nov 2004 17:45:25 +0000 (UTC) Original-To: emacs-devel@gnu.org 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 Xref: main.gmane.org gmane.emacs.devel:30032 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:30032 Today's GNU Emacs CVS snapshot, Thu, 2004 Nov 18 15:43 UTC GNU Emacs 21.3.50.9 (i686-pc-linux-gnu, GTK+ Version 2.4.13) started with /usr/local/src/emacs/src/emacs -Q When `Buffer-menu-use-header-line' is nil, the header line generated by `list-buffers' fails to line up with the underlines. (The default is that `Buffer-menu-use-header-line' is t.) The misalignment can be fixed by deleting the space before the `CRM' in `list-buffers-noselect' on line 648 of emacs/lisp/buff-menu.el Change (header (concat " " (propertize "CRM " 'face 'fixed-pitch) to (header (concat (propertize "CRM " 'face 'fixed-pitch) Also, the header line has two different height faces. The difference is small, but can be seen. The `C' of `CRM' uses -Adobe-Courier-Medium-R-Normal--17-120-100-100-M-100-ISO8859-1 (0x43) and the `B' of `Buffer' uses -ETL-Fixed-Medium-R-Normal--16-160-72-72-C-80-ISO8859-1 (0x42) I determined this by commenting out line 674 of `list-buffers-noselect' in emacs/lisp/buff-menu.el ;; (put-text-property 1 (point) 'intangible t) ) Do others see the same problems as I? (I don't know for sure whether the issues result from my display or are general.) If others see the same problems, then 1. I expect no argument over deleting the extraneous white space on line 648. 2. The issue of different sized faces is one of sensitivity and practicality. I do not have any same-sized faces with the same looks. The faces chosen have the closest size. The problem does not appear to occur when `Buffer-menu-use-header-line' is set to t, the default. I suspect most people use the default. Perhaps nothing should be done. 3. There may be more argument about deleting the line providing an intangible text property. I always comment it out because its existence means I cannot use `C-n' (next-line) when point is in the header. On the other hand, others may prefer only to use `C-f' (forward-char), which leaves the header line and its underlining. -- Robert J. Chassell bob@rattlesnake.com GnuPG Key ID: 004B4AC8 http://www.rattlesnake.com http://www.teak.cc