unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Nathaniel Braun <nathaniel.braun@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: Lars Ingebrigtsen <larsi@gnus.org>,
	Jack Morrison <JackMorrison1@gmail.com>,
	Stefan Kangas <stefan@marxist.se>,
	18548@debbugs.gnu.org
Subject: bug#18548: Emacs whitespace mode
Date: Wed, 23 Feb 2022 18:28:11 +0200	[thread overview]
Message-ID: <CAC4zew13HQ1h1Y7n8+XYMpmdJrLPT4OkpB2eKCdVzLeL779s+w@mail.gmail.com> (raw)
In-Reply-To: <83y221sn06.fsf@gnu.org>

[-- Attachment #1: Type: text/plain, Size: 1428 bytes --]

Where is the display engine code?

On Wed, Feb 23, 2022 at 3:58 PM Eli Zaretskii <eliz@gnu.org> wrote:

> > From: Lars Ingebrigtsen <larsi@gnus.org>
> > Date: Wed, 23 Feb 2022 14:18:46 +0100
> > Cc: Kip Coul <kipcoul@gmail.com>, Stefan Kangas <stefan@marxist.se>,
> >  Jack Morrison <JackMorrison1@gmail.com>, 18548@debbugs.gnu.org
> >
> > So I don't know whether anything can or should be done in this case.  I
> > think that (perhaps) a reasonable default would be to remove that
> > mapping -- whitespace-mode (by default) marks TAB characters anyway with
> > a face, so having a » in addition is somewhat superfluous.  On the other
> > hand, it's been like this forever, so perhaps we should just document
> > the quirk instead.  Or add a defcustom to allow for easier toggling, and
> > the defcustom would then also act as documentation for this.
> >
> > Any opinions?
>
> I think the only way to fix this (and I agree that it's a marginal use
> case) is to introduce some special syntax into display-table notation,
> and then teach the display engine to ignore the TAB when whatever is
> before it in the display-table entry already ends at a tab stop, and
> the display-table entry has that special syntax.
>
> Not sure if it's worth the hassle.
>
> In any case, most of the implementation should be in the display
> engine, because that's where the TAB display is implemented in Emacs.
>

[-- Attachment #2: Type: text/html, Size: 2120 bytes --]

  reply	other threads:[~2022-02-23 16:28 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
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 [this message]
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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=CAC4zew13HQ1h1Y7n8+XYMpmdJrLPT4OkpB2eKCdVzLeL779s+w@mail.gmail.com \
    --to=nathaniel.braun@gmail.com \
    --cc=18548@debbugs.gnu.org \
    --cc=JackMorrison1@gmail.com \
    --cc=eliz@gnu.org \
    --cc=larsi@gnus.org \
    --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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).