all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Nathaniel Braun <nathaniel.braun@gmail.com>
To: Stefan Kangas <stefan@marxist.se>
Cc: Kip Coul <kipcoul@gmail.com>,
	Jack Morrison <JackMorrison1@gmail.com>,
	18548@debbugs.gnu.org
Subject: bug#18548: Emacs whitespace mode
Date: Thu, 3 Oct 2019 12:34:15 +0300	[thread overview]
Message-ID: <CAC4zew3x=fD1hwsJ02xxxa7ceB6EW-iD8tf-jwnU6A7FbYoh0A@mail.gmail.com> (raw)
In-Reply-To: <CADwFkmmX1FyEQYp_LV1zK1uJzxWW-wy_gpe-uqCn4NeW6F8g-A@mail.gmail.com>

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@marxist.se> wrote:
>
> Jack Morrison <JackMorrison1@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





  reply	other threads:[~2019-10-03  9:34 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-24 12:13 bug#18548: Emacs whitespace mode Kip Coul
2014-11-14 16:49 ` bug#18548: Jack Morrison
2019-09-30  2:43 ` bug#18548: Emacs whitespace mode Stefan Kangas
2019-10-03  9:34   ` Nathaniel Braun [this message]
2019-10-30 20:43     ` Stefan Kangas
2019-10-31  9:24       ` Nathaniel Braun
2019-10-31 16:15         ` Stefan Kangas
2022-01-25 14:21     ` Lars Ingebrigtsen
2022-02-23 13:18       ` Lars Ingebrigtsen
2022-02-23 13:58         ` Eli Zaretskii
2022-02-23 16:28           ` Nathaniel Braun
2022-02-23 17:01             ` Eli Zaretskii
2022-02-23 17:10               ` Nathaniel Braun
2022-02-24  9:05           ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAC4zew3x=fD1hwsJ02xxxa7ceB6EW-iD8tf-jwnU6A7FbYoh0A@mail.gmail.com' \
    --to=nathaniel.braun@gmail.com \
    --cc=18548@debbugs.gnu.org \
    --cc=JackMorrison1@gmail.com \
    --cc=kipcoul@gmail.com \
    --cc=stefan@marxist.se \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.