From: michael@cadilhac.name (Michaël Cadilhac)
Cc: lekktu@gmail.com, rms@gnu.org, emacs-devel@gnu.org
Subject: Re: defcustom and the stars.
Date: Thu, 04 Jan 2007 20:28:39 +0100 [thread overview]
Message-ID: <87hcv6k2vs.fsf@lrde.org> (raw)
In-Reply-To: EIENLHALHGIMHGDOLMIMEEAKCOAA.drew.adams@oracle.com
[-- Attachment #1.1: Type: text/plain, Size: 2331 bytes --]
Hi Drew!
Please, do not remove me from the list of Cc as I don't scrupulously
read Emacs Devel usually.
"Drew Adams" <drew.adams@oracle.com> writes:
>> + ;; 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.
>
> Yes. Here is a doc string I have, for instance.
>
> "**Completions* window is removed if fewer chars than this are input."
I don't see your point. Maybe this has been discussed with Juanma, but
what's the harm removing the first * ?
> Why not just leave any extra `*' there?
Because it's confusing and somewhat useless for the user.
>> 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.
>
> If that's what you mean, then that's what should be said: "You can use
> command `set-variable' to change the value". This is confusing: "change at
> user level".
> "You can change at user level" doesn't teach anything. It says less (because
> it is confusing) than just "You can change this variable" (with a link on
> "change").
« You can change this variable » can lead the user to think that the
only variables s?he can change are those ones, whereas `setq' can
change nearly everything. But I do agree that « at user level » is
confusing.
What about « You can change this variable using `set-variable' » with
a link on « change » ?
It would show up as:
,----[ 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 this variable using `set-variable'.
`----
--
| Michaël `Micha' Cadilhac | «Tu aimeras ton prochain.» |
| Epita/LRDE Promo 2007 | D'abord, Dieu ou pas, |
| http://michael.cadilhac.name | j'ai horreur qu'on me tutoie. |
`--JID: michael.cadilhac@gmail.com--' -- P. Desproges - --'
[-- 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 19:28 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
2007-01-04 17:08 ` Drew Adams
2007-01-04 19:28 ` Michaël Cadilhac [this message]
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=87hcv6k2vs.fsf@lrde.org \
--to=michael@cadilhac.name \
--cc=emacs-devel@gnu.org \
--cc=lekktu@gmail.com \
--cc=rms@gnu.org \
/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.