From: storm@cua.dk (Kim F. Storm)
Cc: help-gnu-emacs@gnu.org, Drew Adams <drew.adams@oracle.com>,
Emacs-Devel <emacs-devel@gnu.org>
Subject: Re: Display fringe only if not one-window-p?
Date: Fri, 01 Oct 2004 00:04:29 +0200 [thread overview]
Message-ID: <m3d6039zwy.fsf@kfs-l.imdomain.dk> (raw)
In-Reply-To: <jwvoejnphg4.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Thu, 30 Sep 2004 17:37:23 -0400")
Stefan Monnier <monnier@iro.umontreal.ca> 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.
WDYT?
--
Kim F. Storm <storm@cua.dk> http://www.cua.dk
prev parent reply other threads:[~2004-09-30 22:04 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-09-30 20:09 Display fringe only if not one-window-p? Drew Adams
2004-09-30 21:17 ` Kim F. Storm
2004-09-30 21:37 ` Stefan Monnier
2004-09-30 22:04 ` Kim F. Storm [this message]
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=m3d6039zwy.fsf@kfs-l.imdomain.dk \
--to=storm@cua.dk \
--cc=drew.adams@oracle.com \
--cc=emacs-devel@gnu.org \
--cc=help-gnu-emacs@gnu.org \
/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.
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).