[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: defcustom and the stars.
From: |
Stefan Monnier |
Subject: |
Re: defcustom and the stars. |
Date: |
Tue, 02 Jan 2007 22:56:51 -0500 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.91 (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 ?
History. The * used to be necessary for M-x set-variable to be usable.
Now the * in defcustoms is just a relic and should slowly disappear.
Stefan
- defcustom and the stars., Michaël Cadilhac, 2007/01/02
- Re: defcustom and the stars.,
Stefan Monnier <=
- 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
- Re: defcustom and the stars., Juanma Barranquero, 2007/01/03