GNU bug report logs -
#18441
whitespace-mode sometimes adds column to tab character
Previous Next
Full log
Message #14 received at 18441 <at> debbugs.gnu.org (full text, mbox):
On 2014-09-10, at 03:42, Mario Valencia <mariovalspi <at> gmail.com> wrote:
> well it appears to be a known problem, as commented in the source of whitespace-mode.
To be more precise, the comment Mario meant is probably this part of
definition of `whitespace-display-mappings':
--8<---------------cut here---------------start------------->8---
;; WARNING: the mapping below has a problem.
;; When a TAB occupies exactly one column, it will display the
;; character ?\xBB at that column followed by a TAB which goes to
;; the next TAB column.
;; If this is a problem for you, please, comment the line below.
(tab-mark ?\t [?ยป ?\t] [?\\ ?\t]) ; tab - right guillemet
--8<---------------cut here---------------end--------------->8---
Does anyone know why the workaround given there is not turned on by
default? Or maybe it should be made a user option?
Best,
--
mbork
> 2014-09-10 2:12 GMT-05:00 Mario Valencia <mariovalspi <at> gmail.com>:
>
>
> sorry, this happens in a text-mode buffer with whitespace-mode on. without whitespace mode it only occupies one column.
>
> 2014-09-10 1:55 GMT-05:00 Mario Valencia <mariovalspi <at> gmail.com>:
>
>
> In a buffer, set tab-width to 6. then insert 5 characters, then a literal tab character (C-q TAB). Now you have a 7 column tab.
This bug report was last modified 2 years and 361 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.