GNU bug report logs -
#14200
24.3; Window fringes / margins get reset on switching buffer
Previous Next
Reported by: E Sabof <esabof <at> gmail.com>
Date: Sat, 13 Apr 2013 20:56:01 UTC
Severity: normal
Tags: notabug
Found in version 24.3
Done: Glenn Morris <rgm <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
On Sun, Apr 14, 2013 at 6:34 AM, Eli Zaretskii <eliz <at> gnu.org> wrote:
> > Date: Sat, 13 Apr 2013 22:52:24 +0100
> > From: E Sabof <esabof <at> gmail.com>
> > Cc: 14200 <at> debbugs.gnu.org
> >
> > > If you want the values you set be preserved for that buffer, you need
> > > to set the buffer-local values of left/right-margin-width and
> > > left/right-fringe-width. If you want them to be preserved in a window
> > > regardless of the buffer it displays, switch to another buffer by
> > > invoking set-window-buffer with non-nil 3rd argument.
> >
> > Thanks, but changing those variables (or the corresponding fringe ones)
> > doesn't seem to have any effect.
>
> From the ELisp manual:
>
> Setting these variables does not immediately affect the window.
> These variables are checked when a new buffer is displayed in the
> window. Thus, you can make changes take effect by calling
> `set-window-buffer'.
>
I see.
Evgeni
[Message part 2 (text/html, inline)]
This bug report was last modified 12 years and 87 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.