all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: storm@cua.dk (Kim F. Storm)
Cc: jet@gyve.org, monnier@iro.umontreal.ca, emacs-devel@gnu.org
Subject: Re: ruler support in hexl mode
Date: 17 Mar 2004 01:08:06 +0100	[thread overview]
Message-ID: <m3oeqwgwt5.fsf@kfs-l.imdomain.dk> (raw)
In-Reply-To: <E1B3Jpg-0001ke-Nw@fencepost.gnu.org>

Richard Stallman <rms@gnu.org> 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 <storm@cua.dk> http://www.cua.dk

  reply	other threads:[~2004-03-17  0:08 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-05  5:29 ruler support in hexl mode Masatake YAMATO
2004-03-08 20:05 ` Stefan Monnier
2004-03-09 12:11   ` Masatake YAMATO
2004-03-11  6:59   ` Masatake YAMATO
2004-03-11 16:27   ` Kim F. Storm
2004-03-11 17:43     ` Stefan Monnier
2004-03-11 23:56       ` Kim F. Storm
2004-03-12  6:05         ` Masatake YAMATO
2004-03-12 21:24           ` Stefan Monnier
2004-03-13 18:13             ` Masatake YAMATO
2004-03-15  7:37               ` Masatake YAMATO
2004-03-15  4:55       ` Richard Stallman
2004-03-15 11:00         ` Kim F. Storm
2004-03-16 19:02           ` Richard Stallman
2004-03-17  0:08             ` Kim F. Storm [this message]
2004-03-17  0:42               ` Stefan Monnier
2004-03-17  2:23               ` Kim F. Storm
2004-03-19  5:01               ` Richard Stallman
2004-03-19 10:06                 ` Kim F. Storm
2004-03-19 13:33                   ` Kim F. Storm
2004-03-08 21:00 ` Miles Bader
2004-03-11 14:41   ` Juanma Barranquero
2004-03-17  3:59     ` Miles Bader
2004-03-18  0:53       ` Juanma Barranquero
2004-03-20  4:48         ` Richard Stallman
2004-03-22 11:52           ` Juanma Barranquero

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m3oeqwgwt5.fsf@kfs-l.imdomain.dk \
    --to=storm@cua.dk \
    --cc=emacs-devel@gnu.org \
    --cc=jet@gyve.org \
    --cc=monnier@iro.umontreal.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.