From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.devel Subject: RE: What version of Emacs still requires '*' in defcustom docs? Date: Sat, 11 Feb 2012 15:33:10 -0800 Message-ID: References: <1a4nuxknrk.fsf@fencepost.gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1329003212 19987 80.91.229.3 (11 Feb 2012 23:33:32 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 11 Feb 2012 23:33:32 +0000 (UTC) To: "'Glenn Morris'" , Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Feb 12 00:33:30 2012 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RwMRb-0002NW-9M for ged-emacs-devel@m.gmane.org; Sun, 12 Feb 2012 00:33:27 +0100 Original-Received: from localhost ([::1]:40216 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RwMRa-0008Rq-Ft for ged-emacs-devel@m.gmane.org; Sat, 11 Feb 2012 18:33:26 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:54286) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RwMRX-0008Ri-AJ for emacs-devel@gnu.org; Sat, 11 Feb 2012 18:33:24 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RwMRW-0001rT-Ff for emacs-devel@gnu.org; Sat, 11 Feb 2012 18:33:23 -0500 Original-Received: from acsinet15.oracle.com ([141.146.126.227]:20140) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RwMRW-0001r3-8V; Sat, 11 Feb 2012 18:33:22 -0500 Original-Received: from ucsinet21.oracle.com (ucsinet21.oracle.com [156.151.31.93]) by acsinet15.oracle.com (Sentrion-MTA-4.2.2/Sentrion-MTA-4.2.2) with ESMTP id q1BNXJZ8001642; Sat, 11 Feb 2012 23:33:20 GMT Original-Received: from acsmt358.oracle.com (acsmt358.oracle.com [141.146.40.158]) by ucsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id q1BNXIth027590 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 11 Feb 2012 23:33:18 GMT Original-Received: from abhmt102.oracle.com (abhmt102.oracle.com [141.146.116.54]) by acsmt358.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id q1BNXHUV024724; Sat, 11 Feb 2012 17:33:17 -0600 Original-Received: from dradamslap1 (/10.159.51.171) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Sat, 11 Feb 2012 15:33:17 -0800 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: Thread-Index: AczpD/AqmcV5UKrrStSt3jr0sBVf6gAAW6dg X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 X-Source-IP: ucsinet21.oracle.com [156.151.31.93] X-CT-RefId: str=0001.0A090208.4F36FAC0.0067,ss=1,re=0.000,fgs=0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) X-Received-From: 141.146.126.227 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:148486 Archived-At: > > Eg GNU Emacs has not needed this since at least 21.1 (see > > user-variable-p). Yes, and it was 21.1 that _introduced_ the bug (#10475), which is still there. Two steps forward, one step back. Half-baked. > PS 21.1 is over 10 years old. So are some Emacs users. ;-) Does it bother you that `C-h v' should have to accommodate a leading `*' for a user variable, even though `defcustom' no longer _requires_ a leading `*'? All it has to do is ignore (strip) it. What's the big deal? The fix is trivial, and is provided in the bug report. Besides, `C-h v' needs to do the same thing _anyway_ for a user variable defined this way: (defvar toto 42 "*This IS a user var. Always has been.") `toto' is a user variable, as defined and recognized by `user-variable-p' (which you cited) and as recognized by `set-variable'. Circulez ; il n'y a rien a voir.