From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Re: Support (or not) for Emacs 21, and XEmacs Date: Mon, 19 Apr 2010 17:55:00 +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 (Apple Message framework v936) Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O3tJW-00008t-2C for emacs-orgmode@gnu.org; Mon, 19 Apr 2010 11:55:10 -0400 Received: from [140.186.70.92] (port=56929 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O3tJU-000081-Ol for emacs-orgmode@gnu.org; Mon, 19 Apr 2010 11:55:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O3tJO-0006cG-TE for emacs-orgmode@gnu.org; Mon, 19 Apr 2010 11:55:08 -0400 Received: from mail-ew0-f214.google.com ([209.85.219.214]:46991) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O3tJO-0006c6-L3 for emacs-orgmode@gnu.org; Mon, 19 Apr 2010 11:55:02 -0400 Received: by ewy6 with SMTP id 6so1575528ewy.32 for ; Mon, 19 Apr 2010 08:55:01 -0700 (PDT) In-Reply-To: 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: Michael Sperber Cc: emacs-orgmode@gnu.org OK. - Carsten On Apr 19, 2010, at 5:54 PM, Michael Sperber wrote: > > 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 =20 > 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/=20= > xemacs/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 =20= > be > buffer-local after it is set, regardless of whether it is so =20 > presently. > A nil value for BUFFER is *not* the same as (current-buffer), but =20 > means > "no buffer". Specifically: > > -- If BUFFER is nil and AFTER-SET is nil, a return value of t =20 > indicates that > 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 =20 > indicates that > the variable has had `make-variable-buffer-local' applied to it. > > --=20 > Cheers =3D8-} Mike > Friede, V=F6lkerverst=E4ndigung und =FCberhaupt blabla - Carsten