From: Lars Ingebrigtsen <larsi@gnus.org>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: Andrea Rossetti <andrea.rossetti@gmail.com>, 18541@debbugs.gnu.org
Subject: bug#18541: 24.3; ruler-mode: margins are reset when doing next-buffer/previous-buffer
Date: Thu, 19 Aug 2021 17:34:33 +0200 [thread overview]
Message-ID: <87zgtd4fee.fsf@gnus.org> (raw)
In-Reply-To: <jwvvboc1pft.fsf-monnier+emacsbugs@gnu.org> (Stefan Monnier's message of "Wed, 24 Sep 2014 21:09:59 -0400")
Stefan Monnier <monnier@iro.umontreal.ca> writes:
> Mostly, should the margin set by the user be considered as a property of
> the buffer (applied wherever the buffer gets displayed), or is it
> a property that applies to this buffer but only in this particular window?
>
> E.g. if I have the buffer in window 1 and then display it in window 2,
> should window 2 get the same margins as well? What if window 2 has
> a completely different width than window 1?
Those are all very good questions.
Perhaps it only makes sense to restore window margins if we're popping
the same buffer back into the same window?
But that's such an unlikely thing to happen that I'm not sure it's much
of a user interface. Perhaps restoring it if jumping back to the buffer
in the same frame?
How would we implement this? Perhaps via a hook in
`window--display-buffer' that `ruler-mode' could set?
Or... we could just leave it alone, because I suspect that whatever we
do here, it's going to be pretty confusing. Anybody got an opinion here?
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
next prev parent reply other threads:[~2021-08-19 15:34 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-23 22:56 bug#18541: 24.3; ruler-mode: margins are reset when doing next-buffer/previous-buffer Andrea Rossetti
2014-09-24 0:51 ` Stefan Monnier
2014-09-24 22:14 ` Andrea Rossetti
2014-09-25 1:09 ` Stefan Monnier
2021-08-19 15:34 ` Lars Ingebrigtsen [this message]
2021-08-20 8:18 ` martin rudalics
2021-08-20 13:14 ` Lars Ingebrigtsen
2021-08-22 8:24 ` 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=87zgtd4fee.fsf@gnus.org \
--to=larsi@gnus.org \
--cc=18541@debbugs.gnu.org \
--cc=andrea.rossetti@gmail.com \
--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.