[Top][All Lists]

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

Re: Display fringe only if not one-window-p?

From: Kim F. Storm
Subject: Re: Display fringe only if not one-window-p?
Date: Fri, 01 Oct 2004 00:04:29 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (gnu/linux)

Stefan Monnier <address@hidden> writes:

>> It can probably be done with a post-command-hook:
>> call sit-for to update the display
>> then scan the fringes of each display line for
>> truncation bitmaps etc. with fringe-bitmaps-at-pos,
> Hmm... that would work to detect when a fringe is present-but-empty.
> How 'bout detecting when a fringe is absent-but-needed?

You are right.

I thought (slippery memory) that the fringe bitmaps were still
determined internally even if the fringes have zero width, but they
are not.

However, it would be trivial to add a new variable force-fringe-bitmap-update
or some such which did the fringe calculations even for zero-width fringes.

Kim F. Storm <address@hidden> http://www.cua.dk

reply via email to

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