[Top][All Lists]

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

Re: tabulated-list-init-header and glyphless-char-display

From: Stefan Monnier
Subject: Re: tabulated-list-init-header and glyphless-char-display
Date: Sun, 10 Apr 2011 00:59:21 -0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

> Thanks.  This doesn't quite do what I want, because (i) it applies to
> the entire buffer, when I only want it to apply to one particular glyph,
> and (ii) the char table's "fallback display" slot applies to all glyphs
> with no fonts, when I only want to handle two particular glyphs.

Hmm... so IIUC we distinguish between "glyphless" and "without a font".
Where do we explain the difference between the two, and is there a good
reason to distinguish the two cases?

> I propose introducing a `glyphless-char-display-default' text-property,
> which, if non-nil, overrides glyphless-char-display's "fallback display"
> slot locally.  See attached patch, which seems to do the right thing.

I think problem (i) above is not a real problem, so if we can fix (ii)
by changing glyphless-char-display we wouldn't need such a text property.


reply via email to

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