From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Sperber Subject: Re: Re: Support (or not) for Emacs 21, and XEmacs Date: Mon, 19 Apr 2010 17:54:09 +0200 Message-ID: References: <15649C3E-517D-433D-977F-06008C20A4F4@gmail.com> <3658A4B7-E30A-4D7A-9781-C97A01931A13@gmail.com> <77B2163B-B119-4E59-B834-58469C2BF6FC@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O3tIj-0008FY-Nx for emacs-orgmode@gnu.org; Mon, 19 Apr 2010 11:54:21 -0400 Received: from [140.186.70.92] (port=56753 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O3tIe-0008EK-7w for emacs-orgmode@gnu.org; Mon, 19 Apr 2010 11:54:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O3tIb-0006PL-S5 for emacs-orgmode@gnu.org; Mon, 19 Apr 2010 11:54:16 -0400 Received: from h615406.serverkompetenz.net ([81.169.143.132]:62920) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O3tIb-0006Ol-LA for emacs-orgmode@gnu.org; Mon, 19 Apr 2010 11:54:13 -0400 In-Reply-To: <77B2163B-B119-4E59-B834-58469C2BF6FC@gmail.com> (Carsten Dominik's message of "Mon, 19 Apr 2010 17:51:22 +0200") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Carsten Dominik Cc: emacs-orgmode@gnu.org Carsten Dominik writes: > That is acceptable - but I think that making BUFFER default to > (current-buffer) does make a lot of sense - which is why making that > argument optional in XEmacs is a good idea anyway. It would - but the problem is that in XEmacs, an omitted BUFFER argument means something different from (current-buffer): `local-variable-p' is a built-in function -- loaded from "/afs/informatik.uni-tuebingen.de/home/sperber/build/xem= acs/src/symbols.c" (local-variable-p SYMBOL BUFFER &optional AFTER-SET) Documentation: Return t if SYMBOL's value is local to BUFFER. If optional third arg AFTER-SET is non-nil, return t if SYMBOL would be buffer-local after it is set, regardless of whether it is so presently. A nil value for BUFFER is *not* the same as (current-buffer), but means "no buffer". Specifically: -- If BUFFER is nil and AFTER-SET is nil, a return value of t indicates t= hat the variable is one of the special built-in variables that is always buffer-local. (This includes `buffer-file-name', `buffer-read-only', `buffer-undo-list', and others.) -- If BUFFER is nil and AFTER-SET is t, a return value of t indicates tha= t the variable has had `make-variable-buffer-local' applied to it. --=20 Cheers =3D8-} Mike Friede, V=F6lkerverst=E4ndigung und =FCberhaupt blabla