[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
defcustom and the stars.
From: |
Michaël Cadilhac |
Subject: |
defcustom and the stars. |
Date: |
Tue, 02 Jan 2007 23:00:12 +0100 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.92 (gnu/linux) |
Since I started Elisp programming, I've always wondered why there is
an opposition between the following lines of the manual:
-- Macro: defcustom option standard doc [keyword value]...
[...]There is no need to start [the docstring] with a `*'
and these lines of shell:
mistral% cd ~/src/emacs/lisp
mistral% echo; cat grep.awk; echo
BEGIN { grepped=0 }
/^\(defcustom/ { grepped=1 ; next }
/^ *"[*]/ { if (grepped==1) { print (FILENAME, ":", NR) } }
{ grepped=0 }
mistral% { for f (**/*.el) awk -f grep.awk $f } | wc -l
3011
(this is 3011 matches of bad-style according to the doc)
Is there any reason ? I see patches like
http://thread.gmane.org/gmane.emacs.devel/38098
going to the trunk, so I don't know.
--
| Michaël `Micha' Cadilhac | Pour les 35-40 ans, l'humour |
| Epita/LRDE Promo 2007 | c'est une plus-value. |
| http://michael.cadilhac.name | -- Guillaume L. |
`--JID: address@hidden' - --'
pgpspS4nQSe6n.pgp
Description: PGP signature
- defcustom and the stars.,
Michaël Cadilhac <=
- Re: defcustom and the stars., Stefan Monnier, 2007/01/02
- Re: defcustom and the stars., Michaël Cadilhac, 2007/01/03
- Re: defcustom and the stars., Juanma Barranquero, 2007/01/03
- Re: defcustom and the stars., Michaël Cadilhac, 2007/01/03
- Re: defcustom and the stars., Juanma Barranquero, 2007/01/03
- Re: defcustom and the stars., Michaël Cadilhac, 2007/01/03
- Re: defcustom and the stars., Juanma Barranquero, 2007/01/03
- Re: defcustom and the stars., Michaël Cadilhac, 2007/01/03
- Re: defcustom and the stars., Juanma Barranquero, 2007/01/03
- Re: defcustom and the stars., Michaël Cadilhac, 2007/01/03