From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: John Paul Wallington Newsgroups: gmane.emacs.devel Subject: Re: Ibuffer as default Date: Tue, 11 Mar 2003 07:47:28 +0000 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <87adg21h0v.fsf@china.shootybangbang.com> References: <200303102328.h2ANSN6V027594@rum.cs.yale.edu> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1047368876 9037 80.91.224.249 (11 Mar 2003 07:47:56 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 11 Mar 2003 07:47:56 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Tue Mar 11 08:47:54 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18seUM-0002Ld-00 for ; Tue, 11 Mar 2003 08:47:54 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 18ser0-0004tr-00 for ; Tue, 11 Mar 2003 09:11:18 +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 18seUN-0003Nr-03 for emacs-devel@quimby.gnus.org; Tue, 11 Mar 2003 02:47:55 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18seU2-0003IK-00 for emacs-devel@gnu.org; Tue, 11 Mar 2003 02:47:34 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18seTz-0003EE-00 for emacs-devel@gnu.org; Tue, 11 Mar 2003 02:47:32 -0500 Original-Received: from host217-44-221-152.range217-44.btcentralplus.com ([217.44.221.152] helo=china.shootybangbang.com) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18seTz-00039S-00 for emacs-devel@gnu.org; Tue, 11 Mar 2003 02:47:31 -0500 Original-Received: from jpw by china.shootybangbang.com with local (Exim 3.36 #1 (Debian)) id 18seUA-0001oC-00; Tue, 11 Mar 2003 07:47:42 +0000 Original-To: "Stefan Monnier" In-Reply-To: <200303102328.h2ANSN6V027594@rum.cs.yale.edu> ("Stefan Monnier"'s message of "Mon, 10 Mar 2003 18:28:22 -0500") X-Attribution: jpw X-Face: R(_z-rF:grdKO.*u`n); p.i$Eiz=h^CO5eDYv"4:K@#\HN09*Ykx}}B{kF/KH}%f_o^Wp 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:12264 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:12264 "Stefan Monnier" wrote: > Hadn't it been decided to make Ibuffer the default (i.e. replacing > list-buffers) ? Did I dream it ? Colin told me that making Ibuffer the default was contingent upon it taking less space or consing less. > Also I see that list-buffers uses the header-line whereas Ibuffer > doesn't. Ibuffer does use the header-line, but for displaying what filters (not filter groups) are active. > But I also note that the header-line doesn't look right > (I think it doesn't take into account the width taken up by the > scrollbar and it doesn't use the default face so the things > don't line up neatly). > > > Stefan > > > PS: Turns out the header-line problem is that: > - my header-line face uses a different font than my default face > which makes it hard to line things up. Adding a `face default' > property to the string solves the lining-up but overrides the > general look of the header-line (grey background with a slight > 3d look). > - list-buffers-noselect calculates the spacing necessary for the > scrollbar+fringe for the current frame which in my case was the > minibuffer-only frame, leading to a result that's wrong for > the frame that is ultimately used to display the buffer. I recently changed it to work better, especially for relatively default cases like emacs -nw and Emacs under X with a left-sided scrollbar and left-sided fringe (before it just used one space char regardless). But it seems doomed to lose given unusual settings. Is there a straight-forward way to cons up pixel-perfect spacing, say as a display property ?