From: "Paweł Kraśnicki" <paul.krasnicki@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 46476@debbugs.gnu.org
Subject: bug#46476: Feature request: Right-aligning part of the modeline
Date: Sat, 13 Feb 2021 18:45:14 +0100 [thread overview]
Message-ID: <CAPZgK76fK9xBLv+v-Hsf0cKGUyVODaDgf4zhyma0YTnpFEkNmQ@mail.gmail.com> (raw)
In-Reply-To: <83a6s7dhv0.fsf@gnu.org>
> If people use :align-to, then what would be the advantage of providing
> %-constructs to produce the same?
Well, the only advantage is that people wouldn't need to install an external
package or write a short but advanced piece of Lisp. I think that right
alignment is such a commonly used feature that it would be good to have it
accessible very easily. (Center alignment and segments are less popular.)
I actually got the idea for using %= in particular from Vim, which has right
alignment under this %-construct.
> That'd require two passes to generate the mode-line display, right?
I think so. Emacs would have to first expand the modeline constructs in the
segments separately into some internal data structure, then decide which ones to
actually display.
next prev parent reply other threads:[~2021-02-13 17:45 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-02-12 22:59 bug#46476: Feature request: Right-aligning part of the modeline Paweł Kraśnicki
2021-02-13 8:18 ` Eli Zaretskii
2021-02-13 16:30 ` Paweł Kraśnicki
2021-02-13 16:58 ` Eli Zaretskii
2021-02-13 17:45 ` Paweł Kraśnicki [this message]
2021-02-13 18:08 ` Eli Zaretskii
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=CAPZgK76fK9xBLv+v-Hsf0cKGUyVODaDgf4zhyma0YTnpFEkNmQ@mail.gmail.com \
--to=paul.krasnicki@gmail.com \
--cc=46476@debbugs.gnu.org \
--cc=eliz@gnu.org \
/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.