all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Kangas <stefan@marxist.se>
To: martin rudalics <rudalics@gmx.at>
Cc: 1503@debbugs.gnu.org
Subject: bug#1503: feature request: multiline header (and mode) lines
Date: Thu, 21 Oct 2021 09:34:11 -0700	[thread overview]
Message-ID: <CADwFkm=ZQ8CTta7BnnA78bDz3xvS17JLhb5nasSB2fm5p9f0Bw@mail.gmail.com> (raw)
In-Reply-To: <7d666789-8663-d29c-241b-0303a15a4b09@gmx.at>

martin rudalics <rudalics@gmx.at> writes:

> IIUC the OP would be better served with a separate buffer for listing
> these subdirectories shown above the window of his buffer.  To glue them
> together, the two windows could be put into an atomic window.  Omitting
> all decorations for that separate buffer, it would not be discernible
> from a header line.
>
> So if you see any use for a multi-line header line, please give me
> details where a specification via 'header-line-format' would be
> preferable to one that puts that stuff into a separate buffer.

One benefit of the header line is that it always stays in place, whereas
with a buffer you never know where it might end up.  Or is there a way
to force a buffer in place with the same strong guarantee?

We also might not want users to switch to that buffer, as it would be
more annoying than useful (e.g. headers in tabulated-list-mode).  AFAIU,
with a regular buffer you will always be able to switch to them with
`other-window'.

I was also going to say that with header-line-format you get horizontal
scrolling automatically, but it turns out that you don't.  In any case,
it seems like this feature shouldn't be too hard to add.  (I remember
now that I added code to fix that in one of my packages.)





  reply	other threads:[~2021-10-21 16:34 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-06  6:43 bug#1503: feature request: multiline header (and mode) lines Peter Mao
2008-12-06 10:49 ` martin rudalics
2021-10-20 15:53   ` Stefan Kangas
2021-10-20 16:46     ` Eli Zaretskii
2021-10-21  9:06     ` martin rudalics
2021-10-21 16:34       ` Stefan Kangas [this message]
2021-10-21 17:18         ` martin rudalics

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='CADwFkm=ZQ8CTta7BnnA78bDz3xvS17JLhb5nasSB2fm5p9f0Bw@mail.gmail.com' \
    --to=stefan@marxist.se \
    --cc=1503@debbugs.gnu.org \
    --cc=rudalics@gmx.at \
    /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.