From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: defcustom and the stars. Date: Tue, 02 Jan 2007 22:56:51 -0500 Message-ID: References: <87d55xozrn.fsf@lrde.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1167796632 16394 80.91.229.12 (3 Jan 2007 03:57:12 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 3 Jan 2007 03:57:12 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jan 03 04:57:10 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1H1xFV-0006ad-EZ for ged-emacs-devel@m.gmane.org; Wed, 03 Jan 2007 04:57:09 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H1xFU-0003ds-Tt for ged-emacs-devel@m.gmane.org; Tue, 02 Jan 2007 22:57:08 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1H1xFH-0003Zu-Or for emacs-devel@gnu.org; Tue, 02 Jan 2007 22:56:55 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1H1xFF-0003YD-LN for emacs-devel@gnu.org; Tue, 02 Jan 2007 22:56:54 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H1xFF-0003YA-G8 for emacs-devel@gnu.org; Tue, 02 Jan 2007 22:56:53 -0500 Original-Received: from [209.226.175.4] (helo=tomts16-srv.bellnexxia.net) by monty-python.gnu.org with esmtp (Exim 4.52) id 1H1xFF-0003Lz-2p for emacs-devel@gnu.org; Tue, 02 Jan 2007 22:56:53 -0500 Original-Received: from pastel.home ([74.12.206.167]) by tomts16-srv.bellnexxia.net (InterMail vM.5.01.06.13 201-253-122-130-113-20050324) with ESMTP id <20070103035652.SQJA12977.tomts16-srv.bellnexxia.net@pastel.home> for ; Tue, 2 Jan 2007 22:56:52 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id C9DA67EDD; Tue, 2 Jan 2007 22:56:51 -0500 (EST) Original-To: michael@cadilhac.name (=?iso-8859-1?Q?Micha=EBl?= Cadilhac) In-Reply-To: <87d55xozrn.fsf@lrde.org> (=?iso-8859-1?Q?Micha=EBl?= Cadilhac's message of "Tue\, 02 Jan 2007 23\:00\:12 +0100") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.91 (gnu/linux) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:64671 Archived-At: > 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