GNU bug report logs - #18541
24.3; ruler-mode: margins are reset when doing next-buffer/previous-buffer

Previous Next

Package: emacs;

Reported by: Andrea Rossetti <andrea.rossetti <at> gmail.com>

Date: Tue, 23 Sep 2014 22:58:02 UTC

Severity: minor

Found in version 24.3

Full log


Message #11 received at 18541 <at> debbugs.gnu.org (full text, mbox):

From: Andrea Rossetti <andrea.rossetti <at> gmail.com>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 18541 <at> debbugs.gnu.org
Subject: Re: bug#18541: 24.3;
 ruler-mode: margins are reset when doing next-buffer/previous-buffer
Date: Thu, 25 Sep 2014 00:14:37 +0200
Stefan Monnier <monnier <at> 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




This bug report was last modified 3 years and 266 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.