unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* fringe buffer-boundary bitmaps
@ 2005-06-22  0:51 Miles Bader
  2005-06-22  6:28 ` Miles Bader
                   ` (4 more replies)
  0 siblings, 5 replies; 41+ messages in thread
From: Miles Bader @ 2005-06-22  0:51 UTC (permalink / raw)


I like to use Kim's fringe "buffer-boundary indicator" bitmap feature
(set with the variable `indicate-buffer-boundaries'), but the default
bitmaps are rather unpleasant for several reasons --

 (1) They're quite "heavy", so tend to draw the eye too much.  With the
     fringe line-wrapping indicators, that's OK because wrapping is
     typically an unusual situation, but the buffer-boundary indicators
     are essentially _always_ present (if enabled) -- they should be
     available to look at, but shouldn't draw attention.

 (2) The indicators for "buffer beginning/end" and the arrows meaning
     "buffer continues past the window edge" are not distinguishable
     enough unless you look directly at them; it would be nice if the
     difference was easier to see with just a quick glance.

So I've change my personal bitmaps to help alleviate these problems:

   (define-fringe-bitmap 'down-arrow [32 32 32 32 32 32 168 112 32] nil nil 'bottom)
   (define-fringe-bitmap 'up-arrow [32 112 168 32 32 32 32 32 32] nil nil 'top)
   (define-fringe-bitmap 'top-left-angle [254 254 128 128 128] nil nil 'top)
   (define-fringe-bitmap 'bottom-left-angle [128 128 128 254 254] nil  nil 'bottom)
   (define-fringe-bitmap 'left-bracket [254 254 128 128 128 0 0 0 0 128 128 128 254 254] nil nil 'center)

These only change the bitmaps used when `indicate-buffer-boundaries'
has a value of `left', so enable that mode too:

   (setq-default indicate-buffer-boundaries 'left)

Could people try them out?  Maybe these would be better defaults than
the existing bitmaps.

A related issue is the name of the bitmaps -- currently the names
reflect the physical appearance of the default bitmaps, but I think it
would be better if the names reflected their logical use.  For instance,
a user might want to change the bitmap meaning "end of buffer" to be a
little "EOB" (shades of EDT... :-); in such an instance, not only is it
a bit wierd that it's called `bottom-left-angle', but there's a danger
that in the future some new feature will use the same bitmap (based on
its physical appearance); making the names "logical" would make it more
clear that this is bad.

Thanks,

-Miles
-- 
"I distrust a research person who is always obviously busy on a task."
   --Robert Frosch, VP, GM Research

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

end of thread, other threads:[~2006-02-24 23:27 UTC | newest]

Thread overview: 41+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-06-22  0:51 fringe buffer-boundary bitmaps Miles Bader
2005-06-22  6:28 ` Miles Bader
2005-06-22  7:28   ` Miles Bader
2005-06-22 22:52     ` Kim F. Storm
2005-06-22 12:49   ` Robert J. Chassell
2005-06-23  0:19     ` Miles Bader
2005-06-23  7:45       ` Kim F. Storm
2005-06-23  8:05         ` Miles Bader
2005-06-23 21:14       ` Robert J. Chassell
2005-06-24  5:35       ` Richard M. Stallman
2005-06-22 22:48   ` Kim F. Storm
2005-06-22 15:42 ` Richard M. Stallman
2005-06-23  8:03   ` Kim F. Storm
2005-06-24  5:36     ` Richard M. Stallman
2005-06-24  8:37       ` Kim F. Storm
2005-06-25  0:31         ` Richard M. Stallman
2006-02-20 22:38           ` Kim F. Storm
2006-02-21  6:44             ` Miles Bader
2006-02-21 11:12             ` Giorgos Keramidas
2006-02-21 11:40               ` Kim F. Storm
2006-02-21 12:21                 ` Giorgos Keramidas
2006-02-21 14:55             ` Chong Yidong
2006-02-22  5:24             ` Richard M. Stallman
2006-02-23 23:45             ` Juri Linkov
2006-02-24 13:45               ` Kim F. Storm
2006-02-24 23:27                 ` Juri Linkov
2006-02-24 19:40               ` Richard Stallman
2005-06-22 19:03 ` Markus Gritsch
2005-06-22 22:43 ` Kim F. Storm
2005-06-23  9:53 ` Lute Kamstra
2005-06-23 10:08   ` Miles Bader
2005-06-23 12:18     ` Lute Kamstra
2005-06-23 13:49     ` Juanma Barranquero
2005-06-23 13:59       ` Juanma Barranquero
2005-06-23 15:15         ` Luc Teirlinck
2005-06-23 15:35           ` Juanma Barranquero
2005-06-23 18:20             ` Luc Teirlinck
2005-06-23 22:15               ` Juanma Barranquero
2005-06-24 14:12               ` Stefan Monnier
2005-06-23 15:23         ` Luc Teirlinck
2005-06-24  5:36     ` Richard M. Stallman

Code repositories for project(s) associated with this public inbox

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

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).