From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Luc Teirlinck Newsgroups: gmane.emacs.devel Subject: Re: doc string of `local-variable-if-set-p' Date: Thu, 14 Oct 2004 20:52:24 -0500 (CDT) Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Message-ID: <200410150152.i9F1qO112604@raven.dms.auburn.edu> References: <20041014.014802.38725803.jet@gyve.org> <20041014.022254.179728295.jet@gyve.org> NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1097805262 28203 80.91.229.6 (15 Oct 2004 01:54:22 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 15 Oct 2004 01:54:22 +0000 (UTC) Cc: jet@gyve.org, schwab@suse.de, monnier@iro.umontreal.ca, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Oct 15 03:54:10 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 1CIHIH-0007cv-00 for ; Fri, 15 Oct 2004 03:54:10 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CIHPN-0004Hd-7F for ged-emacs-devel@m.gmane.org; Thu, 14 Oct 2004 22:01:29 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CIHPD-0004GX-Dd for emacs-devel@gnu.org; Thu, 14 Oct 2004 22:01:19 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CIHPA-0004F0-5t for emacs-devel@gnu.org; Thu, 14 Oct 2004 22:01:16 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CIHPA-0004EX-1O for emacs-devel@gnu.org; Thu, 14 Oct 2004 22:01:16 -0400 Original-Received: from [131.204.53.104] (helo=manatee.dms.auburn.edu) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CIHHp-0002Y9-Gg; Thu, 14 Oct 2004 21:53:41 -0400 Original-Received: from raven.dms.auburn.edu (raven.dms.auburn.edu [131.204.53.29]) by manatee.dms.auburn.edu (8.12.10/8.12.10) with ESMTP id i9F1rYiU006128; Thu, 14 Oct 2004 20:53:34 -0500 (CDT) Original-Received: (from teirllm@localhost) by raven.dms.auburn.edu (8.11.7p1+Sun/8.11.7) id i9F1qO112604; Thu, 14 Oct 2004 20:52:24 -0500 (CDT) X-Authentication-Warning: raven.dms.auburn.edu: teirllm set sender to teirllm@dms.auburn.edu using -f Original-To: rms@gnu.org In-reply-to: (message from Richard Stallman on Thu, 14 Oct 2004 20:26:26 -0400) 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:28407 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:28407 Richard Stallman wrote: Non-nil if VARIABLE becomes local in buffer BUFFER when set there. That is clearer but not quite right. If VARIABLE is already local in BUFFER, the function returns t. and Miles Bader wrote: Non-nil if VARIABLE would be buffer-local in BUFFER after being set there. Seven characters too long. In the docstring I proposed, I put: Non-nil if VARIABLE will be local in buffer BUFFER when set there. This is completely correct. Even if VARIABLE is already local in BUFFER, it still will be local when set. Entire previously proposed docstring: DEFUN ("local-variable-if-set-p", Flocal_variable_if_set_p, Slocal_variable_if_set_p, 1, 2, 0, doc: /* Non-nil if VARIABLE will be local in buffer BUFFER when set there. More precisely, this means that setting the variable \(with `set' or`setq'), while it does not have a `let'-style binding that was made in BUFFER, will produce a buffer local binding. See Info node `(elisp)Creating Buffer-Local'. BUFFER defaults to the current buffer. */)