From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juanma Barranquero Newsgroups: gmane.emacs.bugs Subject: bug#7118: 24.0.50; dired-subdir-alist, dired-directory, etc.: necessarily buffer-local Date: Thu, 14 Jul 2011 16:45:28 +0200 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1310654934 20078 80.91.229.12 (14 Jul 2011 14:48:54 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 14 Jul 2011 14:48:54 +0000 (UTC) Cc: 7118@debbugs.gnu.org To: Lars Magne Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jul 14 16:48:50 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QhNDe-0002VM-GN for geb-bug-gnu-emacs@m.gmane.org; Thu, 14 Jul 2011 16:48:50 +0200 Original-Received: from localhost ([::1]:54256 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QhNDd-00013k-E2 for geb-bug-gnu-emacs@m.gmane.org; Thu, 14 Jul 2011 10:48:49 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:46070) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QhNBx-0000hV-23 for bug-gnu-emacs@gnu.org; Thu, 14 Jul 2011 10:47:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QhNBv-0000w6-GK for bug-gnu-emacs@gnu.org; Thu, 14 Jul 2011 10:47:04 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:35334) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QhNBv-0000vd-2u for bug-gnu-emacs@gnu.org; Thu, 14 Jul 2011 10:47:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1QhNBu-0007nw-4t; Thu, 14 Jul 2011 10:47:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juanma Barranquero Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 14 Jul 2011 14:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7118 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 7118-submit@debbugs.gnu.org id=B7118.131065477729947 (code B ref 7118); Thu, 14 Jul 2011 14:47:02 +0000 Original-Received: (at 7118) by debbugs.gnu.org; 14 Jul 2011 14:46:17 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QhNBA-0007my-1X for submit@debbugs.gnu.org; Thu, 14 Jul 2011 10:46:16 -0400 Original-Received: from mail-pv0-f172.google.com ([74.125.83.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QhNB8-0007ml-8I for 7118@debbugs.gnu.org; Thu, 14 Jul 2011 10:46:14 -0400 Original-Received: by pvh18 with SMTP id 18so315576pvh.3 for <7118@debbugs.gnu.org>; Thu, 14 Jul 2011 07:46:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=gmF+pS6lXWk1s0WtgqfDQx9ZOCRkmnzNUtwcYffYJ/8=; b=KeWRkOIviASpMqtEJpibkReC1o7I9vW3+UsX5Mp2JttqhpfD/FawbsRfLRTELs7f/2 E56jAru5TmMBqHX6LOX/2CQDDcSvCmSLdPx310PrZp2eDc5MeHUqgiA2jde/N9+4jCz0 lN82qZHZr0mTmLfsBwxD8Sxc9o8pMVXBhbvPs= Original-Received: by 10.142.120.1 with SMTP id s1mr1038354wfc.252.1310654768135; Thu, 14 Jul 2011 07:46:08 -0700 (PDT) Original-Received: by 10.142.144.4 with HTTP; Thu, 14 Jul 2011 07:45:28 -0700 (PDT) In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Thu, 14 Jul 2011 10:47:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:49011 Archived-At: > What's the best way to make this change? =C2=A0Just 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. =C2=A0 =C2=A0 Juanma