[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Emacs - Buffer List - Drop-Down-Menu
From: |
Jason Rumney |
Subject: |
Re: Emacs - Buffer List - Drop-Down-Menu |
Date: |
Thu, 6 Dec 2007 09:54:13 -0800 (PST) |
User-agent: |
G2/1.0 |
On 6 Dec, 17:08, "Drew Adams" <drew.ad...@oracle.com> 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.