From: Juri Linkov <juri@jurta.org>
Cc: miles@gnu.org, rms@gnu.org, emacs-devel@gnu.org
Subject: Re: fringe buffer-boundary bitmaps
Date: Fri, 24 Feb 2006 01:45:55 +0200 [thread overview]
Message-ID: <87zmkhtzgb.fsf@jurta.org> (raw)
In-Reply-To: <m3pslhk65a.fsf@kfs-l.imdomain.dk> (Kim F. Storm's message of "Mon, 20 Feb 2006 23:38:25 +0100")
> I have finally found some time to work on this item in FOR-RELEASE.
>
> I have installed some changes to implement it, along with changes to
> the lispref and NEWS. New buffer-local variables are
> fringe-indicator-alist and fringe-cursor-alist.
>
> Note that fringe.el is now pre-loaded, so I might have broken
> something related to the way fringe-mode is handled, or the
> involved code can be simplified.
>
> Please take a look.
Thanks, Kim.
Now what about adding to Emacs lighter-weight bitmaps proposed by Miles?
These bitmaps look much nicer with small font sizes. I now have in .emacs:
(when (boundp 'fringe-indicator-alist)
(define-fringe-bitmap 'light-down-arrow [32 32 32 32 32 32 168 112 32] nil nil 'bottom)
(define-fringe-bitmap 'light-up-arrow [32 112 168 32 32 32 32 32 32] nil nil 'top)
(define-fringe-bitmap 'light-top-left-angle [254 254 128 128 128] nil nil 'top)
(define-fringe-bitmap 'light-bottom-left-angle [128 128 128 254 254] nil nil 'bottom)
(define-fringe-bitmap 'light-left-bracket [254 254 128 128 128 0 0 0 0 128 128 128 254 254] nil nil 'center)
(define-fringe-bitmap 'light-right-curly-arrow [96 16 8 8 72 80 96 120] nil nil 'bottom)
(define-fringe-bitmap 'light-left-curly-arrow [8 16 16 16 18 10 6 30] nil nil 'top)
(define-fringe-bitmap 'light-right-arrow [16 8 252 8 16] nil 11 'center)
(define-fringe-bitmap 'light-left-arrow [32 64 254 64 32] nil nil 'center)
(setq-default fringe-indicator-alist
'((truncation . (light-left-arrow light-right-arrow))
(continuation . (light-left-curly-arrow light-right-curly-arrow))
(overlay-arrow . right-triangle)
(up . light-up-arrow)
(down . light-down-arrow)
(top . (light-top-left-angle top-right-angle))
(bottom . (light-bottom-left-angle bottom-right-angle
top-right-angle light-top-left-angle))
(top-bottom . (light-left-bracket right-bracket
top-right-angle light-top-left-angle))
(empty-line . empty-line)
(unknown . question-mark))))
This is too much code for every user who wants a lighter-weight fringe bitmap
style. It is also unclear where the user can get this code: find it from
emacs-devel archives, or from .emacs files of other Emacs users on the web?
I think lighter-weight bitmaps should be defined in Emacs, and there should
be an easy way (a customization option) to switch the whole set of bitmaps.
PS: Note that I modified lines in `light-left-arrow' and `light-right-arrow'
from dotted to solid, because dotted lines are too light.
Also I don't redefine a blob to an arrow, because I find an arrow more
"insisting": it draws more attention than a shapeless blob.
--
Juri Linkov
http://www.jurta.org/emacs/
next prev parent reply other threads:[~2006-02-23 23:45 UTC|newest]
Thread overview: 41+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
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
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=87zmkhtzgb.fsf@jurta.org \
--to=juri@jurta.org \
--cc=emacs-devel@gnu.org \
--cc=miles@gnu.org \
--cc=rms@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.
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).