From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.devel Subject: Re: doc string of `local-variable-if-set-p' Date: Wed, 13 Oct 2004 19:57:10 +0200 Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Message-ID: References: <20041014.014802.38725803.jet@gyve.org> <20041014.022254.179728295.jet@gyve.org> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1097690278 10898 80.91.229.6 (13 Oct 2004 17:57:58 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 13 Oct 2004 17:57:58 +0000 (UTC) Cc: Masatake YAMATO , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Oct 13 19:57:34 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CHnNV-0002ik-00 for ; Wed, 13 Oct 2004 19:57:33 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CHnUY-0005QA-FC for ged-emacs-devel@m.gmane.org; Wed, 13 Oct 2004 14:04:50 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CHnUO-0005Nm-4o for emacs-devel@gnu.org; Wed, 13 Oct 2004 14:04:40 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CHnUN-0005N4-EX for emacs-devel@gnu.org; Wed, 13 Oct 2004 14:04:39 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CHnUN-0005Ms-28 for emacs-devel@gnu.org; Wed, 13 Oct 2004 14:04:39 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CHnNA-0003nQ-9O for emacs-devel@gnu.org; Wed, 13 Oct 2004 13:57:12 -0400 Original-Received: from localhost ([127.0.0.1] helo=lola.goethe.zz) by fencepost.gnu.org with esmtp (Exim 4.34) id 1CHnN9-0003jZ-QA; Wed, 13 Oct 2004 13:57:12 -0400 Original-To: Stefan In-Reply-To: (Stefan's message of "Wed, 13 Oct 2004 13:35:50 -0400") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (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: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:28360 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:28360 Stefan writes: >> (1) Non-nil if VARIABLE will be local in buffer BUFFER if it is set there. > > It may not be the clearest way to say it, but it sounds correct to me. > If I add parentheses to help parsing: > > Non-nil if (VARIABLE will be local in buffer BUFFER if it is set there) > > I.e. in the case that VARIABLE is set in BUFFER, the VARIABLE will be local > iff the function returns non-nil. Oh, come on, that is mathematician speak, working with parens. Just say: Non-nil if after setting the VARIABLE in buffer BUFFER it will be local, either because it is already so, or because it is automatic buffer-local (see `make-variable-buffer-local'). However, can anybody tell me what the point of the BUFFER argument is? It makes it hard to find out whether a variable that might already have a local binding is automatic buffer-local. -- David Kastrup, Kriemhildstr. 15, 44793 Bochum