all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* how to tell what's in the fringe?  (lazy fringe)
@ 2009-06-18 18:30 Drew Adams
  2009-06-19  2:45 ` Miles Bader
  0 siblings, 1 reply; 9+ messages in thread
From: Drew Adams @ 2009-06-18 18:30 UTC (permalink / raw)
  To: emacs-devel

How can I tell (in Emacs-Lisp code) whether there is something other than blank
space somewhere in a given fringe (left or right)? Is that even feasible?

Use case -

I turned off fringe display as soon as it became available in Emacs. I've never
taken to it (ugh).

However, it seems that some things are now available _only_ in the fringe - see
bug #3550, for instance. That's not great design, IMO, but so be it.

So my thought was to code up some lazy fringe: a fringe that would not show,
except when there is some non-blank glyph in it. But I don't know how to test
whether that condition is satisfied (e.g. in Lisp).

Is that even logical? Perhaps if a fringe is not shown then its content is empty
or undefined? I was thinking in terms of it having content that is simply not
shown, but maybe that's incorrect.

Suggestions? Would this be a useful addition to Emacs? If so, would someone
else, who might be more familiar with fringe, like to implement it? ;-)





^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2009-06-19 23:33 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-18 18:30 how to tell what's in the fringe? (lazy fringe) Drew Adams
2009-06-19  2:45 ` Miles Bader
2009-06-19 16:24   ` Drew Adams
2009-06-19 20:52     ` Miles Bader
2009-06-19 21:39       ` Drew Adams
2009-06-19 22:24         ` Miles Bader
2009-06-19 22:42           ` Drew Adams
2009-06-19 23:29             ` Miles Bader
2009-06-19 23:33               ` Drew Adams

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.