From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: storm@cua.dk (Kim F. Storm) Newsgroups: gmane.emacs.devel Subject: Re: ruler support in hexl mode Date: 17 Mar 2004 01:08:06 +0100 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <20040305.142915.63122255.jet@gyve.org> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1079478661 26945 80.91.224.253 (16 Mar 2004 23:11:01 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 16 Mar 2004 23:11:01 +0000 (UTC) Cc: jet@gyve.org, monnier@iro.umontreal.ca, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Wed Mar 17 00:10:51 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 1B3Nhz-0003Hk-00 for ; Wed, 17 Mar 2004 00:10:51 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1B3Nhy-0007CS-00 for ; Wed, 17 Mar 2004 00:10:50 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1B3NgY-0004iB-5K for emacs-devel@quimby.gnus.org; Tue, 16 Mar 2004 18:09:22 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1B3NgR-0004gx-G6 for emacs-devel@gnu.org; Tue, 16 Mar 2004 18:09:15 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1B3Nfq-0004MV-Vo for emacs-devel@gnu.org; Tue, 16 Mar 2004 18:09:10 -0500 Original-Received: from [195.41.46.235] (helo=pfepa.post.tele.dk) by monty-python.gnu.org with esmtp (Exim 4.30) id 1B3Nfq-0004KS-6F; Tue, 16 Mar 2004 18:08:38 -0500 Original-Received: from kfs-l.imdomain.dk.cua.dk (0x503e2644.bynxx3.adsl-dhcp.tele.dk [80.62.38.68]) by pfepa.post.tele.dk (Postfix) with SMTP id 9826847FE2B; Wed, 17 Mar 2004 00:08:24 +0100 (CET) Original-To: rms@gnu.org In-Reply-To: Original-Lines: 53 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 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:20539 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:20539 Richard Stallman writes: > > Should this be documented in the Lisp manual along with the :align-to > > feature? > > I think it would be better do add :align-to support to the text terminal. > It is on my to-do list to add that. > > That would be a step forward. However, I don't know how soon > you will have time to work on this. If it won't be soon, maybe > we should document the current situation in the manual now. I can work on it quite soon. > > It should be possible to say :align-to 'text-left to have text in the > header line (or mode line) exactly aligned to the left edge of the text > area of the window. I have been thinking about a different (and IMHO much better) approach for :align-to on header line and mode line: Currently, :align-to on normal text lines are relative to the left text area margin, while for header and mode lines, :align-to is relative to the left edge of the window (outside fringes, scroll-bar, and display margin). My suggestion is that (by default) :align-to in header and mode lines should also be relative to the left edge of the text area, e.g. :align-to 0 would align exactly to the first column of the text area. The advantage of this approach is that we would then use the same values for alignment as in the text area, and consequently not require any special parameters for the "normal" case. If you want to align header or mode line to a specific "non-text" display element, use something like :align-to 'left-fringe :align-to '(+ left-margin 2) :align-to 'left-scroll-bar This seems much more logical than the current approach. The only real problem with this is that it isn't backwards compatible with the 21.1 behaviour. But I suppose there are not that many packages using :align-to in header line (yet). WDYT? -- Kim F. Storm http://www.cua.dk