all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: storm@cua.dk (Kim F. Storm)
Cc: emacs-devel@gnu.org
Subject: Re: Undocumented change in binding of buffer-local variables?
Date: 12 Jul 2002 16:58:09 +0200	[thread overview]
Message-ID: <5xele9uh6m.fsf@kfs2.cua.dk> (raw)
In-Reply-To: <200207120138.UAA00495@eel.dms.auburn.edu>

Luc Teirlinck <teirllm@dms.auburn.edu> writes:

> There used to be (in Emacs20.7 and earlier) a problem with binding a
> buffer-local variable with let and then exiting the let form with a
> different current buffer.
> 
> >From experimentation, it would seem that this problem is now totally
> solved.  Is this correct?  If so, would it not be worth mentioning
> this in the GNU Emacs NEWS?  (Maybe I overlooked something, but
> conducting a search for "let" failed to find anything related.)
> 
> I found a bug in ielm which I can easily fix and for which I will send
> a report and patch soon.  However, the best solution depends on
> whether or not it is now safe to exit a let-form, binding buffer-local
> variables, with a changed current buffer.
> 

Please read the updated information in the elisp manual
section "Introduction to Buffer-Local Variables".

The Warning and the example related to buffer-local variables
have been updated.

-- 
Kim F. Storm <storm@cua.dk> http://www.cua.dk

  reply	other threads:[~2002-07-12 14:58 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-12  1:38 Undocumented change in binding of buffer-local variables? Luc Teirlinck
2002-07-12 14:58 ` Kim F. Storm [this message]
2002-07-12 15:27 ` Stefan Monnier
2002-07-12 17:37 ` Richard Stallman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5xele9uh6m.fsf@kfs2.cua.dk \
    --to=storm@cua.dk \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.