GNU bug report logs - #27743
26.0.50; Native Line Numbers seem to reset Tab Width

Previous Next

Package: emacs;

Reported by: Frank Terbeck <ft <at> bewatermyfriend.org>

Date: Mon, 17 Jul 2017 21:18:01 UTC

Severity: normal

Found in version 26.0.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #10 received at 27743-done <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Frank Terbeck <ft <at> bewatermyfriend.org>
Cc: 27743-done <at> debbugs.gnu.org
Subject: Re: bug#27743: 26.0.50; Native Line Numbers seem to reset Tab Width
Date: Tue, 18 Jul 2017 17:27:54 +0300
> From: Frank Terbeck <ft <at> bewatermyfriend.org>
> Date: Mon, 17 Jul 2017 22:56:46 +0200
> 
> 
> This can in fact be reproduced from "emacs -Q". Just open a file that
> uses tabs for indentation. Then set tabulator width:
> 
>   (setq tab-width 4)
> 
> The display of the tabulator width should now visibly be four
> characters. Now enable line number display:
> 
>   (setq display-line-numbers 'relative)
> 
> Now the tabulator display returns to eight characters. This is the bug
> that I'm reporting. Disabling line number display:
> 
>   (setq display-line-numbers nil)
> 
> ...returns the tabulator width to four characters.

Thanks, fixed.  (A stupid mistake which is exposed only when using
tab-width of 4 or less, whereas I, believe it or not, did all my
testing with tab-width = 5 and more.)




This bug report was last modified 8 years and 23 days ago.

Previous Next


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