[Top][All Lists]

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

Re: tab widths with a remapped default face

From: Stefan Monnier
Subject: Re: tab widths with a remapped default face
Date: Fri, 06 Jun 2008 01:53:59 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

> The following patch seems to fix the bad tab rendering when the default
> face is altered using face remapping.  Any objections?

> It will also change the way tabs are computed for explicit faces (and
> other implicit faces such as the region), but I think it's probably
> usually the right thing to do for those cases too.

IIUC your patch changes the TAB size to depend on the face applied to
the TAB.  The current code was consciously not doing that, IIRC, tho
I can't quite remember the reason for it.

Could we make it use the space_width of the font used for the
default face?


reply via email to

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