all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Richard M. Stallman" <rms@gnu.org>
Cc: teirllm@dms.auburn.edu, emacs-devel@gnu.org
Subject: Re: Visual cleanup for customize buffers
Date: Sun, 05 Feb 2006 21:07:15 -0500	[thread overview]
Message-ID: <E1F5vmd-0002ux-Ip@fencepost.gnu.org> (raw)
In-Reply-To: <m3oe1mu0q1.fsf@kfs-l.imdomain.dk> (storm@cua.dk)

    --- 2551,2558 ----
	    ;; this anyway. The doc string widget should be added like the others.
	    ;; --dv
	    (widget-put widget :buttons buttons)
    !       (unless (eq (preceding-char) ?\n)
    ! 	(insert "\n"))
	    ;; Insert documentation.
	    (widget-default-format-handler widget ?h)


If this deletes the blank line after the STATE line,
I am against it, for reasons I stated here before.

      (define-widget 'custom-face-edit 'checklist
	"Edit face attributes."
    !   :format "%t:\n             %v"
	:tag "Attributes"
	:extra-offset 13
	:button-args '(:help-echo "Control whether this attribute has any effect.")

What is the user-visible effect of that?

		   ((eq escape ?\])
    ! 		(save-excursion
    ! 		  (setq button-end (point))
    ! 		  (when value-choice-button
    ! 		    (goto-char button-begin)
    ! 		    (when (re-search-forward "[:\n]" button-end t)
    ! 		      (setq button-end (1- (point))))
    ! 		    (goto-char button-end)
    ! 		    (when (eq (preceding-char) ?\n)
    ! 		      (backward-char 1))
    ! 		    (insert " ")
    ! 		    (if (display-graphic-p)
    ! 			(insert-image
    ! 			 (or widget-choice-menu-image
    ! 			     (setq widget-choice-menu-image
    ! 				   (create-image "\377\176\176\074\074\030\030\377"
    ! 						 'xbm t :width 8 :height 8
    ! 						 :foreground
    ! 						 (if (facep 'custom-button)
    ! 						     (face-foreground 'custom-button)
    ! 						   "black")
    ! 						 :background
    ! 						 (if (facep 'custom-button)
    ! 						     (face-background 'custom-button)
    ! 						   "lightgrey")
    ! 						 :ascent 'center))) ">")
    ! 		      (insert (propertize "?>" )))
    ! 		    (setq button-end (point)))
    ! 		  (insert (widget-get-indirect widget :button-suffix))))
		   ((eq escape ?\{)
		    (setq sample-begin (point)))
		   ((eq escape ?\})

What does that do?  (It needs comments!)

    --- 3596,3602 ----
      (define-widget 'choice 'menu-choice
	"A union of several sexp types."
	:tag "Choice"
    !   :format "%{%t%}: %[%V%]"
	:button-prefix 'widget-push-button-prefix
	:button-suffix 'widget-push-button-suffix
	:prompt-value 'widget-choice-prompt-value)

What user-visible change does that make?

  reply	other threads:[~2006-02-06  2:07 UTC|newest]

Thread overview: 57+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-12 21:58 Visual cleanup for customize buffers Kim F. Storm
2006-01-12 23:45 ` Luc Teirlinck
2006-01-13 12:37   ` Kim F. Storm
2006-01-13 14:18     ` Luc Teirlinck
2006-01-13 15:16       ` Kim F. Storm
2006-01-13 19:05         ` Drew Adams
2006-01-13 19:16         ` David Kastrup
2006-01-13 23:28         ` Luc Teirlinck
2006-01-13 23:34           ` Luc Teirlinck
2006-01-14 16:14           ` Richard M. Stallman
2006-01-14  0:08         ` Luc Teirlinck
2006-01-14  0:44         ` Luc Teirlinck
2006-01-14  1:56           ` Kim F. Storm
2006-01-14  2:58             ` Chong Yidong
2006-01-14  6:10             ` Drew Adams
2006-01-14 16:14           ` Richard M. Stallman
2006-01-14 16:14         ` Richard M. Stallman
2006-01-14 20:50           ` Lennart Borgman
2006-01-14 21:32             ` Luc Teirlinck
2006-01-14 21:47               ` Lennart Borgman
2006-01-15 18:09                 ` Luc Teirlinck
2006-01-15 18:41                 ` Kim F. Storm
2006-01-15 19:59                   ` Luc Teirlinck
2006-01-14 21:58           ` Drew Adams
2006-01-14 22:17             ` Drew Adams
2006-01-15  1:40           ` Luc Teirlinck
2006-01-15 23:08             ` Richard M. Stallman
2006-01-16  4:19               ` Luc Teirlinck
2006-01-19 17:44                 ` Richard M. Stallman
2006-01-17  4:20               ` Luc Teirlinck
2006-01-17 20:00                 ` Richard M. Stallman
2006-01-20  0:18                   ` Luc Teirlinck
2006-01-13 16:40     ` Stefan Monnier
2006-01-13 19:04   ` Bill Wohler
2006-01-14  1:28     ` Luc Teirlinck
2006-01-14  1:46       ` Bill Wohler
2006-01-14  5:49   ` Richard M. Stallman
2006-01-14 15:28     ` Luc Teirlinck
2006-01-13  0:08 ` Luc Teirlinck
2006-01-13 15:24   ` Kim F. Storm
2006-01-13 19:33     ` martin rudalics
2006-01-13  0:24 ` Luc Teirlinck
2006-01-14  5:48   ` Richard M. Stallman
2006-01-14  5:49 ` Richard M. Stallman
2006-01-14 15:07   ` Luc Teirlinck
2006-01-14 23:05   ` Luc Teirlinck
2006-01-15  4:40     ` Luc Teirlinck
2006-02-05  0:07     ` Kim F. Storm
2006-02-06  2:07       ` Richard M. Stallman [this message]
2006-02-06  4:30       ` Luc Teirlinck
2006-02-06  7:21         ` Eli Zaretskii
2006-02-06 17:35           ` Luc Teirlinck
2006-01-14 23:27   ` Luc Teirlinck
2006-01-14 23:45     ` Drew Adams
2006-01-15 18:59     ` Kim F. Storm
2006-01-15  4:17   ` Luc Teirlinck
2006-01-15 23:08     ` 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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E1F5vmd-0002ux-Ip@fencepost.gnu.org \
    --to=rms@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=teirllm@dms.auburn.edu \
    /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 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.