Subject: bug#18548: Emacs whitespace mode

From: Nathaniel Braun <[email-masked]>
Date: Thu, 3 Oct 2019 12:34:15 +0300

Hello,

Thanks for your e-mail. However, no, it does not fix my problem.
Please see https://www.emacswiki.org/emacs/WhiteSpace#toc9

There you can read the following:

            ;; 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   [?\xBB ?\t] [?\\ ?\t]) ; tab

This is exactly my issue! When a tab is one character, I need it to
occupy one character, not one character plus a tab.

Thanks!

On Mon, Sep 30, 2019 at 5:43 AM Stefan Kangas <[email-masked]> wrote:
>
> Jack Morrison <[email-masked]> writes:
>
> > Hi Kip,
> >
> > I think the feature you're looking for can be accomplished quickly by customizing the `whitespace-display-mappings` customization option in whitespace.el.
> >
> > If your tab size is fixed at 4, you can just go ahead and customize it with `M-x customize-variable whitespace-display-mappings` and change the TAB character mapping vector to be "---->" or your preferred output. If your tab size is variable, then
> > perhaps you could add a hook to modify the "tab-mark" vector list when loading a new file.
> >
> > Hope that helps.
> >
> > Cheers,
> > Jack
>
> Hi Kip,
>
> It seems like the capabilities you were asking for are already there.
> Did the above resolve the issue for you?
>
> Best regards,
> Stefan Kangas