From: michael@cadilhac.name (Michaël Cadilhac)
Cc: lekktu@gmail.com, monnier@iro.umontreal.ca, emacs-devel@gnu.org
Subject: Re: defcustom and the stars.
Date: Thu, 04 Jan 2007 08:34:51 +0100 [thread overview]
Message-ID: <877iw3tfc4.fsf@lrde.org> (raw)
In-Reply-To: <E1H2ION-0002Yf-WA@fencepost.gnu.org> (Richard Stallman's message of "Wed\, 03 Jan 2007 21\:31\:43 -0500")
[-- Attachment #1.1: Type: text/plain, Size: 3129 bytes --]
Richard Stallman <rms@gnu.org> writes:
> Documentation:
> ! *Column beyond which automatic line-wrapping should happen.
> Interactively, you can set the buffer local value using C-x f.
> Documentation:
> ! Column beyond which automatic line-wrapping should happen.
> Interactively, you can set the buffer local value using C-x f.
>
> That is incorrect, because the Documentation of fill-column
> does include a star at present.
Yes, this is to be read with the change I proposed to remove this `*' in
C-h v.
> The line that says you can customize the variable indicates that this
> ! variable is a user option, as would have indicated a line saying that
> ! you can change at user level the variable. @kbd{C-h v} is not
> ! restricted to user options; it allows any variable name.
>
> I can't understand that new text.
> What is it supposed to mean?
Again, it is with the previous patch. With it, not only « You can
customize the variable » can appear, but also « You can change at user
level the variable », which means that you can M-x set-var this var.
Richard Stallman <rms@gnu.org> writes:
> This change
>
> + ;; If DOC starts with a `*' remove it.
> + (when (eq (aref doc 0) ?*)
> + (setq doc (substring doc 1)))
>
> might be ok, but I am not sure it is really right -- it seems
> like a hard question. So I would rather leave this alone, for now.
This is just an eye candy change for C-h v: the user doesn't need this
`*', so let's remove it before printing. Why would it be a hard
question?
> ! (if (user-variable-p variable)
> ! (let ((change-label "change"))
> ! (terpri)
> ! (terpri)
> ! (princ (concat "You can " change-label
> ! " at user level this variable."))
> ! (with-current-buffer standard-output
> ! (save-excursion
> ! (re-search-backward
> ! (concat "\\(" change-label "\\)") nil t)
> ! (help-xref-button 1 'help-change-variable variable))))))
>
> What is that meant to achieve?
> What does the feature look like at user level?
C-h v propose to change customizable vars ; this patch allows to
change all user option vars from C-h v. It looks like that :
,----[ C-h v show-paren-highlight-openparen RET ]
| show-paren-highlight-openparen is a variable defined in `paren.el'.
| Its value is t
|
|
| Documentation:
| Non-nil turns on openparen highlighting when matching forward.
|
| You can change at user level this variable.
`----
« change » is a hyperlink. Following it is the same as
M-x set-variable RET s-p-h-openparen RET, so leads to:
« Set show-paren-highlight-openparen globally to value: »
--
| Michaël `Micha' Cadilhac | Si les religions etaient aussi tole- |
| Epita/LRDE Promo 2007 | rantes qu'elles le pretendent, il y |
| http://michael.cadilhac.name | a longtemps qu'il n'y en aurait plus |
`--JID: michael.cadilhac@gmail.com--' -- Moustic - --'
[-- Attachment #1.2: Type: application/pgp-signature, Size: 188 bytes --]
[-- Attachment #2: Type: text/plain, Size: 142 bytes --]
_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel
next prev parent reply other threads:[~2007-01-04 7:34 UTC|newest]
Thread overview: 53+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-01-02 22:00 defcustom and the stars Michaël Cadilhac
2007-01-03 3:56 ` Stefan Monnier
2007-01-03 11:05 ` Michaël Cadilhac
2007-01-03 12:24 ` Juanma Barranquero
2007-01-03 12:49 ` Michaël Cadilhac
2007-01-03 13:08 ` Juanma Barranquero
2007-01-03 13:18 ` Michaël Cadilhac
2007-01-03 13:29 ` Juanma Barranquero
2007-01-03 13:43 ` Michaël Cadilhac
2007-01-03 13:57 ` Juanma Barranquero
2007-01-03 14:52 ` Michaël Cadilhac
2007-01-03 18:47 ` Juanma Barranquero
2007-01-03 20:57 ` Juanma Barranquero
2007-01-03 21:21 ` Michaël Cadilhac
2007-01-03 21:26 ` Juanma Barranquero
2007-01-04 2:31 ` Richard Stallman
2007-01-04 2:31 ` Richard Stallman
2007-01-04 7:34 ` Michaël Cadilhac [this message]
2007-01-04 17:08 ` Drew Adams
2007-01-04 19:28 ` Michaël Cadilhac
2007-01-04 22:13 ` Drew Adams
2007-01-04 22:50 ` Stuart D. Herring
2007-01-04 22:58 ` Drew Adams
2007-01-08 17:51 ` Stuart D. Herring
2007-01-08 18:09 ` Michaël Cadilhac
2007-01-08 18:32 ` Drew Adams
2007-01-08 18:46 ` Michaël Cadilhac
2007-01-08 20:50 ` Chris Moore
2007-01-09 4:21 ` Drew Adams
2007-01-09 18:32 ` Chris Moore
2007-01-09 22:56 ` Drew Adams
2007-01-10 15:15 ` Chris Moore
2007-01-10 16:19 ` Drew Adams
2007-01-10 18:44 ` Chris Moore
2007-01-10 18:47 ` Drew Adams
2007-01-08 18:26 ` Drew Adams
2007-01-05 6:36 ` Michaël Cadilhac
2007-01-05 15:15 ` Drew Adams
2007-01-04 22:33 ` Richard Stallman
2007-01-03 18:17 ` Eli Zaretskii
2007-01-03 18:34 ` Juanma Barranquero
2007-01-04 2:32 ` Richard Stallman
2007-01-04 16:57 ` Drew Adams
2007-01-04 17:10 ` Juanma Barranquero
2007-01-04 17:16 ` Drew Adams
2007-01-04 17:39 ` Juanma Barranquero
2007-01-04 18:22 ` Drew Adams
2007-01-04 19:30 ` Juanma Barranquero
2007-01-04 22:32 ` Drew Adams
2007-01-04 22:49 ` Drew Adams
2007-01-04 23:12 ` Juanma Barranquero
2007-01-05 1:01 ` Drew Adams
2007-01-05 1:09 ` Juanma Barranquero
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=877iw3tfc4.fsf@lrde.org \
--to=michael@cadilhac.name \
--cc=emacs-devel@gnu.org \
--cc=lekktu@gmail.com \
--cc=monnier@iro.umontreal.ca \
/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.