unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Andrea Rossetti <andrea.rossetti@gmail.com>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: 18541@debbugs.gnu.org
Subject: bug#18541: 24.3; ruler-mode: margins are reset when doing next-buffer/previous-buffer
Date: Thu, 25 Sep 2014 00:14:37 +0200	[thread overview]
Message-ID: <84r3z01x9u.fsf@gmail.com> (raw)
In-Reply-To: <jwvvbodvoc1.fsf-monnier+emacsbugs@gnu.org> (Stefan Monnier's message of "Tue, 23 Sep 2014 20:51:09 -0400")

Stefan Monnier <monnier@iro.umontreal.ca> writes:
> But indeed, if you set the margin with S-mouse-1 or S-mouse-3 on the
> header-line, then ruler-mode should arguably try to preserve this
> setting like you request it.

  Thanks for your reply Stefan.

  Even if I set margins with S-mouse-1 and S-mouse-3, and then
type M-x next-buffer RET M-x previous-buffer RET , the margins
disappear.

  It could indeed be a nice addition in the future if there's
some agreement. I can't think of a case where margin preservation
could be inappropriate (just a guess: maybe non-interactive sessions?).

  My suggested alternative if one needs to jump around buffers while
keeping margins enabled in a certain buffer: I noticed that the "window
configuration registers" preserve margins properly:

- (... set margins with S-mouse-1 and S-mouse-3 ...)
- C-x r w a
- M-x next-buffer RET
- C-x r j a

Kindest regards,

  Andrea





  reply	other threads:[~2014-09-24 22:14 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 [this message]
2014-09-25  1:09     ` Stefan Monnier
2021-08-19 15:34       ` Lars Ingebrigtsen
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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=84r3z01x9u.fsf@gmail.com \
    --to=andrea.rossetti@gmail.com \
    --cc=18541@debbugs.gnu.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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).