all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* buff-menu.el header line
@ 2004-11-18 17:45 Robert J. Chassell
  2004-11-18 18:00 ` Drew Adams
                   ` (2 more replies)
  0 siblings, 3 replies; 23+ messages in thread
From: Robert J. Chassell @ 2004-11-18 17:45 UTC (permalink / raw)


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

^ permalink raw reply	[flat|nested] 23+ messages in thread

end of thread, other threads:[~2004-11-21 18:15 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-11-18 17:45 buff-menu.el header line Robert J. Chassell
2004-11-18 18:00 ` Drew Adams
2004-11-18 19:19   ` Robert J. Chassell
2004-11-18 18:13 ` Stefan Monnier
2004-11-18 19:16   ` Robert J. Chassell
2004-11-18 21:23     ` Stefan Monnier
2004-11-19  0:27       ` Robert J. Chassell
2004-11-19 15:31       ` Robert J. Chassell
2004-11-21  0:04         ` Stefan Monnier
2004-11-18 23:16   ` Luc Teirlinck
2004-11-19  0:40     ` Andreas Schwab
2004-11-19  9:02       ` Kim F. Storm
2004-11-19  9:31         ` Stephan Stahl
2004-11-19  9:40         ` David Kastrup
2004-11-19 10:58         ` Andreas Schwab
2004-11-19 11:38           ` Stephan Stahl
2004-11-19 15:30             ` Drew Adams
2004-11-19 13:21       ` Robert J. Chassell
2004-11-21 17:39         ` call-interactively: completion broken Robert J. Chassell
2004-11-21 18:15           ` Luc Teirlinck
2004-11-19 20:04       ` buff-menu.el header line Richard Stallman
2004-11-19 10:05 ` Richard Stallman
2004-11-19 15:24   ` Drew Adams

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.