From: Stefan Monnier <monnier@IRO.UMontreal.CA>
To: jidanni@jidanni.org
Cc: 10258-done@debbugs.gnu.org
Subject: bug#10258: compilation-error-regexp-alist just assumes columns not characters
Date: Tue, 27 Dec 2011 18:49:07 -0500 [thread overview]
Message-ID: <jwvlipxvate.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <877h1p329m.fsf@jidanni.org> (jidanni@jidanni.org's message of "Thu, 22 Dec 2011 07:59:01 +0800")
SM> Better not call make-variable-buffer-local except...
> OK thanks. Maybe
> (info "(emacs) Locals")
> more precisely,
> (Info-menu "Emacs (emacs-snapshot)" nil)
> (Info-index "make-variable-buffer-local")
> should warn/hint about that, just like
> (describe-function (quote make-variable-buffer-local))
> already does.
Indeed. I've installed the patch below,
Stefan
=== modified file 'doc/lispref/variables.texi'
--- doc/lispref/variables.texi 2011-12-23 13:14:12 +0000
+++ doc/lispref/variables.texi 2011-12-27 23:42:22 +0000
@@ -1352,6 +1352,8 @@
This function marks @var{variable} (a symbol) automatically
buffer-local, so that any subsequent attempt to set it will make it
local to the current buffer at the time.
+Contrary to @code{make-local-variable} with which it is often confused, this
+cannot be undone, and affects the behavior of the variable in all buffers.
A peculiar wrinkle of this feature is that binding the variable (with
@code{let} or other binding constructs) does not create a buffer-local
prev parent reply other threads:[~2011-12-27 23:49 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-09 20:18 bug#10258: compilation-error-regexp-alist just assumes columns not characters jidanni
2011-12-12 16:28 ` Stefan Monnier
2011-12-14 14:09 ` jidanni
2011-12-16 0:06 ` Stefan Monnier
2011-12-21 23:59 ` jidanni
2011-12-27 23:49 ` Stefan Monnier [this message]
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=jwvlipxvate.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=10258-done@debbugs.gnu.org \
--cc=jidanni@jidanni.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.