GNU bug report logs -
#18548
Emacs whitespace mode
Previous Next
Full log
Message #14 received at 18548 <at> debbugs.gnu.org (full text, mbox):
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 <stefan <at> marxist.se> wrote:
>
> Jack Morrison <JackMorrison1 <at> gmail.com> 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
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.