From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Uwe Brauer Newsgroups: gmane.emacs.devel Subject: Re: defvar interactively, user-variable-p Date: Sun, 18 Oct 2015 15:13:03 +0300 Message-ID: <87eggsl6i8.fsf@mat.ucm.es> References: <8737x8o6c5.fsf@mat.ucm.es> <87vba4o3yj.fsf@fencepost.gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1445170440 6873 80.91.229.3 (18 Oct 2015 12:14:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 18 Oct 2015 12:14:00 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Oct 18 14:13:49 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZnmqS-0001Yo-HZ for ged-emacs-devel@m.gmane.org; Sun, 18 Oct 2015 14:13:48 +0200 Original-Received: from localhost ([::1]:33532 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZnmqR-0000Kz-Os for ged-emacs-devel@m.gmane.org; Sun, 18 Oct 2015 08:13:47 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45511) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZnmqN-0000Kq-H9 for emacs-devel@gnu.org; Sun, 18 Oct 2015 08:13:44 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZnmqK-0002ha-9v for emacs-devel@gnu.org; Sun, 18 Oct 2015 08:13:43 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:41800) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZnmqK-0002hU-2U for emacs-devel@gnu.org; Sun, 18 Oct 2015 08:13:40 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1ZnmqG-0001NC-QW for emacs-devel@gnu.org; Sun, 18 Oct 2015 14:13:37 +0200 Original-Received: from 192.115.67.55 ([192.115.67.55]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 18 Oct 2015 14:13:36 +0200 Original-Received: from oub by 192.115.67.55 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 18 Oct 2015 14:13:36 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-devel@gnu.org Original-Lines: 50 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 192.115.67.55 Mail-Copies-To: never User-Agent: Gnus/5.13001 (Ma Gnus v0.10) Emacs/25.0.50 (gnu/linux) Cancel-Lock: sha1:nErwhWtrxUvykXwlgRQe1guMdt8= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 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:191937 Archived-At: > Uwe Brauer writes: > This function is obsolete since 24.3; > use ‘custom-variable-p’ instead. > Return non-nil if VARIABLE is a customizable variable. > A customizable variable is either (i) a variable whose property > list contains a non-nil ‘standard-value’ or ‘custom-autoload’ > property, or (ii) an alias for another customizable variable. > [back] > as the function DOC string, and in the manual > -- Function: custom-variable-p arg > This function returns non-‘nil’ if ARG is a customizable variable. > A customizable variable is either a variable that has a > ‘standard-value’ or ‘custom-autoload’ property (usually meaning it > was declared with ‘defcustom’), or an alias for another > customizable variable. > while user-variable-p (understandably) is no longer documented. > So just what manual is it that you are consulting? Well I took the first entry google offered. Great, I just looked into the http address: https://ftp.gnu.org/old-gnu/Manuals/elisp-manual-21-2.8/html_node/elisp_143.html It says *old* sigh! Sorry. However I never really paid attention to defcustom, so the nifty easy to use feature "*" as in (defvar latexdiff-perl nil "*Whether to use latexdiff based on perl or not, default is NIL.") Is gone? But https://www.gnu.org/software/emacs/manual/html_node/eintr/defvar-and-asterisk.html#defvar-and-asterisk Suggests that I still can use it. But it does not work for me,