unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Alternative fringe bitmaps for continuation/truncation
@ 2008-04-27 16:59 Kim F. Storm
  2008-04-27 21:02 ` Jason Rumney
  2008-05-02 23:48 ` Juri Linkov
  0 siblings, 2 replies; 10+ messages in thread
From: Kim F. Storm @ 2008-04-27 16:59 UTC (permalink / raw)
  To: emacs-devel


If you don't like the current "fat (curly) arrows" bitmaps used in the
fringe for continuation and truncation lines, the following more
modest bitmaps may be more appealing.

(define-fringe-bitmap 'right-truncation
  "\xa9\x02\x04" nil nil 'bottom)
(define-fringe-bitmap 'left-truncation
  "\x20\x40\xaa\0\0" nil nil 'bottom)
(define-fringe-bitmap 'right-continuation
  "\xa8\0\0" nil nil 'bottom)
(define-fringe-bitmap 'left-continuation
  "\x2a\0\0" nil nil 'bottom)

(let ((tr (assoc 'truncation default-fringe-indicator-alist))
      (co (assoc 'continuation default-fringe-indicator-alist)))
  (if tr (setcdr tr '(left-truncation right-truncation)))
  (if co (setcdr co '(left-continuation right-continuation))))


WDYT?

++Kim





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

end of thread, other threads:[~2008-05-02 23:48 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-27 16:59 Alternative fringe bitmaps for continuation/truncation Kim F. Storm
2008-04-27 21:02 ` Jason Rumney
2008-04-28  4:03   ` Stefan Monnier
2008-04-28 10:18     ` Kim F. Storm
2008-04-28 10:53       ` Jason Rumney
2008-04-28 15:00       ` Stefan Monnier
2008-04-28 17:38         ` Kim F. Storm
2008-04-28 17:50           ` Jason Rumney
2008-04-28 22:01             ` Kim F. Storm
2008-05-02 23:48 ` Juri Linkov

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