From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jason Rumney Newsgroups: gmane.emacs.help Subject: Re: Emacs - Buffer List - Drop-Down-Menu Date: Thu, 6 Dec 2007 09:54:13 -0800 (PST) Organization: http://groups.google.com Message-ID: <1b21c8a6-1b00-423a-8a98-4c904c7e1a08@a39g2000pre.googlegroups.com> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1196966442 16658 80.91.229.12 (6 Dec 2007 18:40:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 6 Dec 2007 18:40:42 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Dec 06 19:40:52 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1J0LeR-0000WW-Ee for geh-help-gnu-emacs@m.gmane.org; Thu, 06 Dec 2007 19:40:47 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J0LeA-0000Q0-IB for geh-help-gnu-emacs@m.gmane.org; Thu, 06 Dec 2007 13:40:30 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!a39g2000pre.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 15 Original-NNTP-Posting-Host: 83.67.23.108 Original-X-Trace: posting.google.com 1196963653 10492 127.0.0.1 (6 Dec 2007 17:54:13 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Thu, 6 Dec 2007 17:54:13 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: a39g2000pre.googlegroups.com; posting-host=83.67.23.108; posting-account=pYxWjwkAAACsHSUNDoi5N05LVCTP7PVM User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.1.11) Gecko/20071127 Firefox/2.0.0.11,gzip(gfe),gzip(gfe) Original-Xref: shelby.stanford.edu gnu.emacs.help:154461 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:49890 Archived-At: On 6 Dec, 17:08, "Drew Adams" wrote: > BTW, this helps a lot with the organization, but it doesn't really respond > to the OP question about justification and alignment. I agree that the > alignment is not ideal. The alignment comes from the second nested format call in mouse-buffer- menu-alist. I think the intention is to align the flags and file name, but it also results in the buffer names being left padded, losing their left alignment. This looks completely messed up when the menus use a variable width font, as nothing ends up aligned. On Windows, the tab character can be used for alignment within the menu, xmenu.c seems to use spaces to align the key codes though, so it probably doesn't work cross-platform.