GNU bug report logs - #37213
Execute set-window-margins. left-margin-width remains 0.

Previous Next

Package: emacs;

Reported by: Alan Mackenzie <acm <at> muc.de>

Date: Wed, 28 Aug 2019 18:54:01 UTC

Severity: normal

Done: Alan Mackenzie <acm <at> muc.de>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Alan Mackenzie <acm <at> muc.de>
Cc: 37213 <at> debbugs.gnu.org
Subject: bug#37213: Execute set-window-margins.  left-margin-width remains 0.
Date: Sat, 31 Aug 2019 15:13:34 +0300
> Date: Sat, 31 Aug 2019 11:59:11 +0000
> Cc: 37213 <at> debbugs.gnu.org
> From: Alan Mackenzie <acm <at> muc.de>
> 
> How about the following, purely pragmatic, patch?
> 
> 
> diff --git a/doc/lispref/display.texi b/doc/lispref/display.texi
> index 7c0a56dcad..428fe9595a 100644
> --- a/doc/lispref/display.texi
> +++ b/doc/lispref/display.texi
> @@ -5016,7 +5016,9 @@ Display Margins
>    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
> -@code{set-window-buffer}.
> +@code{set-window-buffer}.  Do not use these variables to try to
> +determine the current width of the left or right margin.  Instead, use
> +the function @code{window-margins}.
>  
>    You can also set the margin widths immediately.

Fine with me, thanks.




This bug report was last modified 5 years and 325 days ago.

Previous Next


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