Subject: Re: bug#18441: tab bug

From: Marcin Borkowski <[email-masked]>
Date: Thu, 18 Feb 2016 09:53:13 +0100

On 2014-09-10, at 03:42, Mario Valencia <[email-masked]> 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 <[email-masked]>:
>
>
>  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 <[email-masked]>:
>
>
>  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.