bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#18441: tab bug


From: Marcin Borkowski
Subject: bug#18441: tab bug
Date: Thu, 18 Feb 2016 09:53:13 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

On 2014-09-10, at 03:42, Mario Valencia <address@hidden> 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 <address@hidden>:
>
>
>  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 <address@hidden>:
>
>
>  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.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]