From: Juanma Barranquero <lekktu@gmail.com>
To: Lars Magne Ingebrigtsen <larsi@gnus.org>
Cc: 7118@debbugs.gnu.org
Subject: bug#7118: 24.0.50; dired-subdir-alist, dired-directory, etc.: necessarily buffer-local
Date: Thu, 14 Jul 2011 16:45:28 +0200 [thread overview]
Message-ID: <CAAeL0SQtd7aLUR8e244L++piEbjZosB_F0Qoy4rWTNG9ie3-MA@mail.gmail.com> (raw)
In-Reply-To: <m34o2p3pub.fsf@quimbies.gnus.org>
> What's the best way to make this change? Just say
>
> (make-variable-buffer-local 'var)
>
> after the `defvar', and then removing all the `make-local-variable'
> calls?
Yes.
BTW, it's a mystery to me why `revert-buffer-function' is not
automatically buffer-local, when every single package that sets it
does so locally; having a global non-nil revert-buffer-function does
not make any sense whatsoever.
But IMHO, neither changing `revert-buffer-function' nor
`dired-subdir-alist' and `dired-directory' is really a bug fix. Yes,
as they are now is error prone, but the uses in the sources are
already correct. That should be a wishlist item for 24.2.
Juanma
next prev parent reply other threads:[~2011-07-14 14:45 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-27 18:47 bug#7118: 24.0.50; dired-subdir-alist, dired-directory, etc.: necessarily buffer-local Drew Adams
2010-09-27 21:05 ` Stefan Monnier
2011-07-14 14:21 ` Lars Magne Ingebrigtsen
2011-07-14 14:45 ` Juanma Barranquero [this message]
2011-07-14 14:49 ` Lars Magne Ingebrigtsen
2011-07-17 2:24 ` Stefan Monnier
2011-08-02 21:11 ` Drew Adams
2010-09-27 23:35 ` Juanma Barranquero
2022-02-07 0:31 ` Lars Ingebrigtsen
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=CAAeL0SQtd7aLUR8e244L++piEbjZosB_F0Qoy4rWTNG9ie3-MA@mail.gmail.com \
--to=lekktu@gmail.com \
--cc=7118@debbugs.gnu.org \
--cc=larsi@gnus.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.