From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.devel Subject: Re: PATCH: Don't mix faces in Buffer-menu header when Buffer-menu-use-header is nil Date: Tue, 15 Jun 2004 21:34:56 -0400 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <20040616013456.GA16329@fencepost> References: <87d640lu23.fsf@mail.jurta.org> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1087349724 20389 80.91.224.253 (16 Jun 2004 01:35:24 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 16 Jun 2004 01:35:24 +0000 (UTC) Cc: Francis Litterio , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Wed Jun 16 03:35:17 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BaPKf-00057H-00 for ; Wed, 16 Jun 2004 03:35:17 +0200 Original-Received: from lists.gnu.org ([199.232.76.165]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BaPKf-00026M-00 for ; Wed, 16 Jun 2004 03:35:17 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BaPLd-0003P6-BX for emacs-devel@quimby.gnus.org; Tue, 15 Jun 2004 21:36:17 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1BaPLU-0003OV-De for emacs-devel@gnu.org; Tue, 15 Jun 2004 21:36:08 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1BaPLT-0003OC-Te for emacs-devel@gnu.org; Tue, 15 Jun 2004 21:36:08 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BaPLT-0003O9-Qo for emacs-devel@gnu.org; Tue, 15 Jun 2004 21:36:07 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BaPKL-00028t-20 for emacs-devel@gnu.org; Tue, 15 Jun 2004 21:34:57 -0400 Original-Received: from miles by fencepost.gnu.org with local (Exim 4.34) id 1BaPKK-0000wR-Q1; Tue, 15 Jun 2004 21:34:56 -0400 Original-To: Juri Linkov Content-Disposition: inline In-Reply-To: <87d640lu23.fsf@mail.jurta.org> User-Agent: Mutt/1.3.28i Blat: Foop X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.4 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:25016 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:25016 On Tue, Jun 15, 2004 at 06:28:19PM +0300, Juri Linkov wrote: > Moreover, I don't understand why displaying text in the header line > needs special treatment by adding the space and using special fonts? > Why the header line can't start at the left fringe? The header line > is often used as a fixed part of the buffer that doesn't scroll, > so it makes sense to line it up with the buffer and to use the same > font in which its buffer is displayed. I don't the space is necessary -- Kim's recent changes should do that in a better way -- but I presume the use of the fixed-width font is so that the single-letter headers for the first three `columns' _exactly_ line up with the corresponding text. Those headers are already kind of cryptic, so that is important for anyone that uses a variable-pitch header face (which is not uncommon). The current solution is kind of bad be because the `fixed-pitch' face is often jarringly different from the default face, but in practice it's probably good enough for now. For future releases I intend to add `attribute filtered' face-inheritance (something which Stefan has also mentioned), which should make it easer to get a face that just inherits the default face's font/size without screwing up other attributes. -Miles -- Run away! Run away!