all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Patch: Replacing the style of the More/Hide Rest button in Customize
@ 2006-02-18 23:17 Lennart Borgman
  2006-02-18 23:59 ` Chong Yidong
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Lennart Borgman @ 2006-02-18 23:17 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 260 bytes --]

The attached small patch makes the More/Hide Rest button in customize 
look more like a link, which in my opinion is more common (web pages). I 
have sent something like it before, but we never got any further because 
of problems with my papers at that time.

[-- Attachment #2: wid-edit-more-hide.patch --]
[-- Type: text/plain, Size: 1491 bytes --]

Index: lisp/wid-edit.el
===================================================================
RCS file: /cvsroot/emacs/emacs/lisp/wid-edit.el,v
retrieving revision 1.166
diff -c -r1.166 wid-edit.el
*** lisp/wid-edit.el	16 Feb 2006 15:58:32 -0000	1.166
--- lisp/wid-edit.el	18 Feb 2006 23:08:34 -0000
***************
*** 124,129 ****
--- 124,136 ----
    :type 'face
    :group 'widget-faces)
  
+ (defface widget-link-face
+   `((((class color) (background light)) (:foreground "blue" :underline t))
+     (((class color) (background dark)) (:foreground "cyan" :underline t)))
+   "Face used to highlight attributes that are links."
+   :group 'custom-faces)
+ 
+ 
  ;; TTY gets special definitions here and in the next defface, because
  ;; the gray colors defined for other displays cause black text on a black
  ;; background, at least on light-background TTYs.
***************
*** 2917,2924 ****
  		(widget-create-child-and-convert
  		 widget 'visibility
  		 :help-echo "Show or hide rest of the documentation."
! 		 :on "Hide Rest"
! 		 :off "More"
  		 :always-active t
  		 :action 'widget-parent-action
  		 shown))
--- 2924,2934 ----
  		(widget-create-child-and-convert
  		 widget 'visibility
  		 :help-echo "Show or hide rest of the documentation."
! 		 :on "<<"
! 		 :off "More..."
!                  :button-face 'widget-link-face
!                  :button-prefix ""
!                  :button-suffix ""
  		 :always-active t
  		 :action 'widget-parent-action
  		 shown))

[-- Attachment #3: Type: text/plain, Size: 142 bytes --]

_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel

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

end of thread, other threads:[~2006-02-20 18:42 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-18 23:17 Patch: Replacing the style of the More/Hide Rest button in Customize Lennart Borgman
2006-02-18 23:59 ` Chong Yidong
2006-02-19  0:09   ` Lennart Borgman
2006-02-19 17:17 ` Juri Linkov
2006-02-19 21:06   ` Lennart Borgman
2006-02-20  0:52     ` Juri Linkov
2006-02-19 22:47 ` Richard M. Stallman
2006-02-19 22:49   ` Lennart Borgman
2006-02-20 18:42     ` Richard M. Stallman

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.