[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: fringe buffer-boundary bitmaps
From: |
Juanma Barranquero |
Subject: |
Re: fringe buffer-boundary bitmaps |
Date: |
Thu, 23 Jun 2005 15:49:14 +0200 |
On 6/23/05, Miles Bader <address@hidden> wrote:
> I didn't realize this when I sent those messages, but you first have to do:
>
> (require 'fringe)
BTW, loading fringe resets `default-indicate-buffer-boundaries'.
That's Not Good. I have no problem with "M-x customize-variable
fringe-indicators" setting it (it is clearly documented in the
`fringe-indicators' docstring), but just (require 'fringe) should not
change my defaults.
I propose the following patch (but people more experienced on
customize will have perhaps a better fix): if `fringe-indicators' is
set, it takes precedence over `default-indicate-buffer-boundaries',
which seems sensible.
--
/L/e/k/t/u
Index: lisp/fringe.el
===================================================================
RCS file: /cvsroot/emacs/emacs/lisp/fringe.el,v
retrieving revision 1.17
diff -u -2 -r1.17 fringe.el
--- lisp/fringe.el 9 Feb 2005 15:50:42 -0000 1.17
+++ lisp/fringe.el 23 Jun 2005 11:47:26 -0000
@@ -281,4 +281,10 @@
(t nil))))
+(defun initialize-fringe-indicators (ignore value)
+ (set-fringe-indicators-1 nil
+ (or value
+ fringe-indicators
+ default-indicate-buffer-boundaries)))
+
;;;###autoload
(defcustom fringe-indicators nil
@@ -293,5 +299,6 @@
:group 'fringe
:require 'fringe
- :set 'set-fringe-indicators-1)
+ :set 'set-fringe-indicators-1
+ :initialize 'initialize-fringe-indicators)
(provide 'fringe)
- Re: fringe buffer-boundary bitmaps, (continued)
Re: fringe buffer-boundary bitmaps, Markus Gritsch, 2005/06/22
Re: fringe buffer-boundary bitmaps, Kim F. Storm, 2005/06/22
Re: fringe buffer-boundary bitmaps, Lute Kamstra, 2005/06/23
- Re: fringe buffer-boundary bitmaps, Miles Bader, 2005/06/23
- Re: fringe buffer-boundary bitmaps, Lute Kamstra, 2005/06/23
- Re: fringe buffer-boundary bitmaps,
Juanma Barranquero <=
- Re: fringe buffer-boundary bitmaps, Juanma Barranquero, 2005/06/23
- Re: fringe buffer-boundary bitmaps, Luc Teirlinck, 2005/06/23
- Re: fringe buffer-boundary bitmaps, Juanma Barranquero, 2005/06/23
- Re: fringe buffer-boundary bitmaps, Luc Teirlinck, 2005/06/23
- Re: fringe buffer-boundary bitmaps, Juanma Barranquero, 2005/06/23
- Re: fringe buffer-boundary bitmaps, Stefan Monnier, 2005/06/24
Re: fringe buffer-boundary bitmaps, Luc Teirlinck, 2005/06/23
Re: fringe buffer-boundary bitmaps, Richard M. Stallman, 2005/06/24