From unknown Mon Jun 23 07:50:19 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#1933: 23.0.60; [PATCH] dir-local variables don't work on remote files Reply-To: Ian Eure , 1933@debbugs.gnu.org Resent-From: Ian Eure Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Fri, 16 Jan 2009 18:15:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: report 1933 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.123212944027440 (code B ref -1); Fri, 16 Jan 2009 18:15:02 +0000 Received: (at submit) by emacsbugs.donarmstrong.com; 16 Jan 2009 18:10:40 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=0.1 required=4.0 tests=FOURLA,MURPHY_DRUGS_REL8 autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n0GIAb5h027434 for ; Fri, 16 Jan 2009 10:10:38 -0800 Received: from mx10.gnu.org ([199.232.76.166]:53629) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1LNt85-0004Ax-B8 for emacs-pretest-bug@gnu.org; Fri, 16 Jan 2009 13:09:13 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1LNt9P-0007jD-7L for emacs-pretest-bug@gnu.org; Fri, 16 Jan 2009 13:10:36 -0500 Received: from asmtpout028.mac.com ([17.148.16.103]:33215) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LNt9O-0007iD-Cj for emacs-pretest-bug@gnu.org; Fri, 16 Jan 2009 13:10:34 -0500 MIME-version: 1.0 Content-type: text/plain; charset=WINDOWS-1252; format=flowed; delsp=yes Received: from [192.168.1.198] (adsl-68-125-68-21.dsl.pltn13.pacbell.net [68.125.68.21]) by asmtp028.mac.com (Sun Java(tm) System Messaging Server 6.3-7.03 (built Aug 7 2008; 32bit)) with ESMTPSA id <0KDK000JBT5FR810@asmtp028.mac.com> for emacs-pretest-bug@gnu.org; Fri, 16 Jan 2009 10:10:29 -0800 (PST) Message-id: From: Ian Eure To: emacs-pretest-bug@gnu.org Content-transfer-encoding: quoted-printable X-Mailer: Apple Mail (2.930.3) Date: Fri, 16 Jan 2009 10:08:27 -0800 X-detected-operating-system: by monty-python.gnu.org: Solaris 10 (1203?) I guess for speed reasons, dir-local-variables don=92t work when opening = =20 remote fiales. Which is unfortunate for me, since I need them. Here=92s =20= a patch against HEA which implements a simple switch for it, defaulted =20= to the current behavior. --- files.el.~1.1032.~ 2009-01-16 09:54:05.000000000 -0800 +++ files.el 2009-01-16 10:03:58.000000000 -0800 @@ -170,6 +170,11 @@ :type '(repeat regexp) :group 'find-file) +(defcustom dir-locals-apply-to-remote nil + "Non-nil means dir-local variables will be applied to remote files." + :type 'boolean + :group 'find-file) + (defvar buffer-file-number nil "The device number and file number of the file visited in the =20 current buffer. The value is a list of the form (FILENUM DEVNUM). @@ -3323,7 +3328,8 @@ without applying them." (when (and enable-local-variables (buffer-file-name) - (not (file-remote-p (buffer-file-name)))) + (and (file-remote-p (buffer-file-name)) + dir-locals-apply-to-remote)) ;; Find the variables file. (let ((variables-file (dir-locals-find-file (buffer-file-name))) (class nil) In GNU Emacs 23.0.60.1 (i386-apple-darwin9.6.0, NS apple-appkit-949.43) of 2009-01-16 on neutron.local Windowing system distributor `Apple', version 10.3.949 configured using `configure '--with-ns'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: nil value of $XMODIFIERS: nil locale-coding-system: nil default-enable-multibyte-characters: t Major mode: Emacs-Lisp Minor modes in effect: diff-auto-refine-mode: t erc-track-mode: t erc-track-minor-mode: t erc-spelling-mode: t erc-ring-mode: t erc-pcomplete-mode: t erc-netsplit-mode: t erc-match-mode: t erc-button-mode: t erc-fill-mode: t erc-autojoin-mode: t erc-irccontrols-mode: t erc-noncommands-mode: t erc-readonly-mode: t erc-scrolltobottom-mode: t light-symbol-mode: t hl-line-mode: t eldoc-mode: t which-function-mode: t twit-mode: t yas/minor-mode: t shell-dirtrack-mode: t ime-bindings: t show-paren-mode: t recentf-mode: t iswitchb-mode: t auto-insert-mode: t tooltip-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t size-indication-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t abbrev-mode: t Recent input: C-h v p h p u p C-x o C-x k RET C-x o C-h v u s e r - m C-x o C-x k RET C-x o C-x b M-v M-v C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p M-f C-f C-M-@ M-w C-n C-n C-n C-e M-( s e t q SPC C-y SPC t C-e C-x C-e C-x o C-x b C a c C-x k RET y C-x k RET C-x b C-x v =3D C-v M-> M-< C-x o C-x C-v u C-g C-x o M-n M-> M-v M-v C-x C-g C-v C-x 4 0 C-x v u y C-h v b e f o r e - s a M-: M-( s e t q SPC b e f M-/ - M-/ SPC n i l C-x 1 C-x b s c r M-< C-x k RET C-x b l i M-< C-SPC C-n C-n C-n C-e M-w C-x b M-< C-s : f i n d - f i l e C-n C-p C-s C-s M-< C-s d e f c u s t o n C-v C-v C-v C-v C-n C-n C-n C-e C-y C-x b C-n C-p C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-p M-m C-M-k C-_ C-x b C-s h a s c k - d i r - l o C-s C-n C-n C-n C-n C-n C-e C-y C-M-k C-p C-e M-` M-` C-x =3D C-x o C-x 4 0 C-x C-s C-x v =3D C-v M-v C-x C-w ~ / C-g C-g C-x o Recent messages: Mark set Mark saved where search started Mark set Undo! Mark saved where search started Mark set Saving file /Users/ieure/Projects/emacs/lisp/files.el... Wrote /Users/ieure/Projects/emacs/lisp/files.el Finding changes in /Users/ieure/Projects/emacs/lisp/files.el...done Quit Quit= From rgm@gnu.org Sun Jan 18 12:22:50 2009 Received: (at control) by emacsbugs.donarmstrong.com; 18 Jan 2009 20:22:50 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: ** X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=2.3 required=4.0 tests=MISSING_SUBJECT,NOSUBJECT, VALID_BTS_CONTROL autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n0IKMlnA002448 for ; Sun, 18 Jan 2009 12:22:48 -0800 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1LOe92-0007Kz-TZ; Sun, 18 Jan 2009 15:21:20 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18803.36672.857032.427796@fencepost.gnu.org> Date: Sun, 18 Jan 2009 15:21:20 -0500 From: Glenn Morris To: control tags 1702 - moreinfo severity 1933 wishlist severity 1939 wishlist From debbugs-submit-bounces@debbugs.gnu.org Sun Dec 20 10:58:12 2009 Received: (at control) by debbugs.gnu.org; 20 Dec 2009 15:58:12 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NMOAe-0006FH-7M for submit@debbugs.gnu.org; Sun, 20 Dec 2009 10:58:12 -0500 Received: from colin-baker-v0.ics.uci.edu ([128.195.1.153]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NMOAc-0006FB-OB for control@debbugs.gnu.org; Sun, 20 Dec 2009 10:58:11 -0500 Received: from godzilla.ics.uci.edu (godzilla.ics.uci.edu [128.195.10.101]) by colin-baker-v0.ics.uci.edu (8.13.8/8.13.8) with ESMTP id nBKFvug3004692 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sun, 20 Dec 2009 07:57:56 -0800 Received: (from dann@localhost) by godzilla.ics.uci.edu (8.13.8+Sun/8.13.6/Submit) id nBKFvuig021746; Sun, 20 Dec 2009 07:57:56 -0800 (PST) Date: Sun, 20 Dec 2009 07:57:56 -0800 (PST) Message-Id: <200912201557.nBKFvuig021746@godzilla.ics.uci.edu> From: Dan Nicolaescu To: control@debbugs.gnu.org Subject: X-Debbugs-No-Ack: yes Lines: 16 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-ICS-MailScanner-Information: Please send mail to helpdesk@ics.uci.edu or more information X-ICS-MailScanner-ID: nBKFvug3004692 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-0.155, required 5, autolearn=disabled, ALL_TRUSTED -1.44, MISSING_SUBJECT 1.28) X-ICS-MailScanner-From: dann@godzilla.ics.uci.edu X-Spam-Status: No X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org tags 3597 + patch tags 3904 + patch tags 4142 + patch tags 4951 + patch tags 4448 + patch tags 4286 + patch tags 2159 + patch tags 2746 + patch tags 1643 + patch tags 1933 + patch tags 3175 + patch tags 3887 + patch tags 4310 + patch tags 4546 + patch quit From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 23 20:45:52 2011 Received: (at control) by debbugs.gnu.org; 24 Feb 2011 01:45:53 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PsQHA-0000b3-Nn for submit@debbugs.gnu.org; Wed, 23 Feb 2011 20:45:52 -0500 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PsQH9-0000as-7K for control@debbugs.gnu.org; Wed, 23 Feb 2011 20:45:51 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1PsQH3-0008PO-Px for control@debbugs.gnu.org; Wed, 23 Feb 2011 20:45:45 -0500 Date: Wed, 23 Feb 2011 20:45:45 -0500 Message-Id: Subject: control message for bug 1933 To: X-Mailer: mail (GNU Mailutils 2.1) From: Glenn Morris X-Spam-Score: -6.3 (------) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.3 (------) forcemerge 6731 1933 From unknown Mon Jun 23 07:50:19 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.428 (Entity 5.428) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Ian Eure Subject: bug#1933: closed (Re: bug#1933: 23.0.60; [PATCH] dir-local variables don't work on remote files) Message-ID: References: <87lik0leou.fsf@gmx.de> X-Gnu-PR-Message: they-closed 1933 X-Gnu-PR-Package: emacs X-Gnu-PR-Keywords: patch Reply-To: 1933@debbugs.gnu.org Date: Wed, 06 Jun 2012 14:07:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1338991622-21602-1" This is a multi-part message in MIME format... ------------=_1338991622-21602-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #1933: 23.0.60; [PATCH] dir-local variables don't work on remote files which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 1933@debbugs.gnu.org. --=20 1933: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D1933 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1338991622-21602-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 1933-done) by debbugs.gnu.org; 6 Jun 2012 14:06:55 +0000 Received: from localhost ([127.0.0.1]:60504 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1ScGsx-0005c2-4F for submit@debbugs.gnu.org; Wed, 06 Jun 2012 10:06:55 -0400 Received: from mailout-de.gmx.net ([213.165.64.22]:41830) by debbugs.gnu.org with smtp (Exim 4.72) (envelope-from ) id 1ScGsd-0005bP-2A for 1933-done@debbugs.gnu.org; Wed, 06 Jun 2012 10:06:54 -0400 Received: (qmail invoked by alias); 06 Jun 2012 14:04:20 -0000 Received: from p57BB96BE.dip0.t-ipconnect.de (EHLO detlef.gmx.de) [87.187.150.190] by mail.gmx.net (mp072) with SMTP; 06 Jun 2012 16:04:20 +0200 X-Authenticated: #3708877 X-Provags-ID: V01U2FsdGVkX192+dtuk9126TrN5LyLogoRoRA80v5WYaW6L7JEJZ /o0WvtsIrinLvU From: Michael Albinus To: Ian Eure , Leo Subject: Re: bug#1933: 23.0.60; [PATCH] dir-local variables don't work on remote files References: Date: Wed, 06 Jun 2012 16:04:17 +0200 In-Reply-To: (Ian Eure's message of "Fri, 16 Jan 2009 10:08:27 -0800") Message-ID: <87lik0leou.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Y-GMX-Trusted: 0 X-Spam-Score: -1.9 (-) X-Debbugs-Envelope-To: 1933-done Cc: 6731-done@debbugs.gnu.org, 1933-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) Version: 24.2 Ian Eure writes: Hi Ian and Leo, > I guess for speed reasons, dir-local-variables don=E2=80=99t work when op= ening > remote fiales. Which is unfortunate for me, since I need them. Here=E2=80= =99s > a patch against HEA which implements a simple switch for it, defaulted > to the current behavior. It took a while, but finally I have applied the patch, modified. The customer option is called `enable-remote-dir-locals'. When set to `t', remote .dir-locals files are evaluated as well. And I've fixed an error of the patch in the logic of the condition. I hope it is still useful for you. Best regards, Michael. ------------=_1338991622-21602-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by emacsbugs.donarmstrong.com; 16 Jan 2009 18:10:40 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=0.1 required=4.0 tests=FOURLA,MURPHY_DRUGS_REL8 autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n0GIAb5h027434 for ; Fri, 16 Jan 2009 10:10:38 -0800 Received: from mx10.gnu.org ([199.232.76.166]:53629) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1LNt85-0004Ax-B8 for emacs-pretest-bug@gnu.org; Fri, 16 Jan 2009 13:09:13 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1LNt9P-0007jD-7L for emacs-pretest-bug@gnu.org; Fri, 16 Jan 2009 13:10:36 -0500 Received: from asmtpout028.mac.com ([17.148.16.103]:33215) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LNt9O-0007iD-Cj for emacs-pretest-bug@gnu.org; Fri, 16 Jan 2009 13:10:34 -0500 MIME-version: 1.0 Content-type: text/plain; charset=WINDOWS-1252; format=flowed; delsp=yes Received: from [192.168.1.198] (adsl-68-125-68-21.dsl.pltn13.pacbell.net [68.125.68.21]) by asmtp028.mac.com (Sun Java(tm) System Messaging Server 6.3-7.03 (built Aug 7 2008; 32bit)) with ESMTPSA id <0KDK000JBT5FR810@asmtp028.mac.com> for emacs-pretest-bug@gnu.org; Fri, 16 Jan 2009 10:10:29 -0800 (PST) Message-id: From: Ian Eure To: emacs-pretest-bug@gnu.org Content-transfer-encoding: quoted-printable X-Mailer: Apple Mail (2.930.3) Subject: 23.0.60; [PATCH] dir-local variables don't work on remote files Date: Fri, 16 Jan 2009 10:08:27 -0800 X-detected-operating-system: by monty-python.gnu.org: Solaris 10 (1203?) I guess for speed reasons, dir-local-variables don=92t work when opening = =20 remote fiales. Which is unfortunate for me, since I need them. Here=92s =20= a patch against HEA which implements a simple switch for it, defaulted =20= to the current behavior. --- files.el.~1.1032.~ 2009-01-16 09:54:05.000000000 -0800 +++ files.el 2009-01-16 10:03:58.000000000 -0800 @@ -170,6 +170,11 @@ :type '(repeat regexp) :group 'find-file) +(defcustom dir-locals-apply-to-remote nil + "Non-nil means dir-local variables will be applied to remote files." + :type 'boolean + :group 'find-file) + (defvar buffer-file-number nil "The device number and file number of the file visited in the =20 current buffer. The value is a list of the form (FILENUM DEVNUM). @@ -3323,7 +3328,8 @@ without applying them." (when (and enable-local-variables (buffer-file-name) - (not (file-remote-p (buffer-file-name)))) + (and (file-remote-p (buffer-file-name)) + dir-locals-apply-to-remote)) ;; Find the variables file. (let ((variables-file (dir-locals-find-file (buffer-file-name))) (class nil) In GNU Emacs 23.0.60.1 (i386-apple-darwin9.6.0, NS apple-appkit-949.43) of 2009-01-16 on neutron.local Windowing system distributor `Apple', version 10.3.949 configured using `configure '--with-ns'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: nil value of $XMODIFIERS: nil locale-coding-system: nil default-enable-multibyte-characters: t Major mode: Emacs-Lisp Minor modes in effect: diff-auto-refine-mode: t erc-track-mode: t erc-track-minor-mode: t erc-spelling-mode: t erc-ring-mode: t erc-pcomplete-mode: t erc-netsplit-mode: t erc-match-mode: t erc-button-mode: t erc-fill-mode: t erc-autojoin-mode: t erc-irccontrols-mode: t erc-noncommands-mode: t erc-readonly-mode: t erc-scrolltobottom-mode: t light-symbol-mode: t hl-line-mode: t eldoc-mode: t which-function-mode: t twit-mode: t yas/minor-mode: t shell-dirtrack-mode: t ime-bindings: t show-paren-mode: t recentf-mode: t iswitchb-mode: t auto-insert-mode: t tooltip-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t size-indication-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t abbrev-mode: t Recent input: C-h v p h p u p C-x o C-x k RET C-x o C-h v u s e r - m C-x o C-x k RET C-x o C-x b M-v M-v C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p M-f C-f C-M-@ M-w C-n C-n C-n C-e M-( s e t q SPC C-y SPC t C-e C-x C-e C-x o C-x b C a c C-x k RET y C-x k RET C-x b C-x v =3D C-v M-> M-< C-x o C-x C-v u C-g C-x o M-n M-> M-v M-v C-x C-g C-v C-x 4 0 C-x v u y C-h v b e f o r e - s a M-: M-( s e t q SPC b e f M-/ - M-/ SPC n i l C-x 1 C-x b s c r M-< C-x k RET C-x b l i M-< C-SPC C-n C-n C-n C-e M-w C-x b M-< C-s : f i n d - f i l e C-n C-p C-s C-s M-< C-s d e f c u s t o n C-v C-v C-v C-v C-n C-n C-n C-e C-y C-x b C-n C-p C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-p M-m C-M-k C-_ C-x b C-s h a s c k - d i r - l o C-s C-n C-n C-n C-n C-n C-e C-y C-M-k C-p C-e M-` M-` C-x =3D C-x o C-x 4 0 C-x C-s C-x v =3D C-v M-v C-x C-w ~ / C-g C-g C-x o Recent messages: Mark set Mark saved where search started Mark set Undo! Mark saved where search started Mark set Saving file /Users/ieure/Projects/emacs/lisp/files.el... Wrote /Users/ieure/Projects/emacs/lisp/files.el Finding changes in /Users/ieure/Projects/emacs/lisp/files.el...done Quit Quit= ------------=_1338991622-21602-1-- From unknown Mon Jun 23 07:50:19 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.428 (Entity 5.428) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Leo Subject: bug#6731: closed (Re: bug#1933: 23.0.60; [PATCH] dir-local variables don't work on remote files) Message-ID: References: <87lik0leou.fsf@gmx.de> X-Gnu-PR-Message: they-closed 6731 X-Gnu-PR-Package: emacs X-Gnu-PR-Keywords: patch Reply-To: 6731@debbugs.gnu.org Date: Wed, 06 Jun 2012 14:07:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1338991622-21602-3" This is a multi-part message in MIME format... ------------=_1338991622-21602-3 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #1933: 23.2; remote .dir-locals.el which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 6731@debbugs.gnu.org. --=20 1933: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D1933 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1338991622-21602-3 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 1933-done) by debbugs.gnu.org; 6 Jun 2012 14:06:55 +0000 Received: from localhost ([127.0.0.1]:60504 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1ScGsx-0005c2-4F for submit@debbugs.gnu.org; Wed, 06 Jun 2012 10:06:55 -0400 Received: from mailout-de.gmx.net ([213.165.64.22]:41830) by debbugs.gnu.org with smtp (Exim 4.72) (envelope-from ) id 1ScGsd-0005bP-2A for 1933-done@debbugs.gnu.org; Wed, 06 Jun 2012 10:06:54 -0400 Received: (qmail invoked by alias); 06 Jun 2012 14:04:20 -0000 Received: from p57BB96BE.dip0.t-ipconnect.de (EHLO detlef.gmx.de) [87.187.150.190] by mail.gmx.net (mp072) with SMTP; 06 Jun 2012 16:04:20 +0200 X-Authenticated: #3708877 X-Provags-ID: V01U2FsdGVkX192+dtuk9126TrN5LyLogoRoRA80v5WYaW6L7JEJZ /o0WvtsIrinLvU From: Michael Albinus To: Ian Eure , Leo Subject: Re: bug#1933: 23.0.60; [PATCH] dir-local variables don't work on remote files References: Date: Wed, 06 Jun 2012 16:04:17 +0200 In-Reply-To: (Ian Eure's message of "Fri, 16 Jan 2009 10:08:27 -0800") Message-ID: <87lik0leou.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Y-GMX-Trusted: 0 X-Spam-Score: -1.9 (-) X-Debbugs-Envelope-To: 1933-done Cc: 6731-done@debbugs.gnu.org, 1933-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) Version: 24.2 Ian Eure writes: Hi Ian and Leo, > I guess for speed reasons, dir-local-variables don=E2=80=99t work when op= ening > remote fiales. Which is unfortunate for me, since I need them. Here=E2=80= =99s > a patch against HEA which implements a simple switch for it, defaulted > to the current behavior. It took a while, but finally I have applied the patch, modified. The customer option is called `enable-remote-dir-locals'. When set to `t', remote .dir-locals files are evaluated as well. And I've fixed an error of the patch in the logic of the condition. I hope it is still useful for you. Best regards, Michael. ------------=_1338991622-21602-3 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 26 Jul 2010 14:29:53 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OdOgi-0003wv-0c for submit@debbugs.gnu.org; Mon, 26 Jul 2010 10:29:52 -0400 Received: from mx10.gnu.org ([199.232.76.166]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OdOgg-0003wp-LS for submit@debbugs.gnu.org; Mon, 26 Jul 2010 10:29:51 -0400 Received: from lists.gnu.org ([199.232.76.165]:52518) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1OdOgl-0006qR-RB for submit@debbugs.gnu.org; Mon, 26 Jul 2010 10:29:55 -0400 Received: from [140.186.70.92] (port=32982 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OdOgg-0002mE-DG for bug-gnu-emacs@gnu.org; Mon, 26 Jul 2010 10:29:55 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_MED,T_RP_MATCHES_RCVD,T_TO_NO_BRKTS_FREEMAIL autolearn=unavailable version=3.3.1 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OdOgb-00011R-Di for bug-gnu-emacs@gnu.org; Mon, 26 Jul 2010 10:29:50 -0400 Received: from ppsw-30.csi.cam.ac.uk ([131.111.8.130]:55593) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OdOgb-00011D-8I for bug-gnu-emacs@gnu.org; Mon, 26 Jul 2010 10:29:45 -0400 X-Cam-AntiVirus: no malware found X-Cam-SpamDetails: not scanned X-Cam-ScannerInfo: http://www.cam.ac.uk/cs/email/scanner/ Received: from cpc1-cmbg13-0-0-cust596.cmbg.cable.ntl.com ([86.9.122.85]:54359 helo=Victoria.local) by ppsw-30.csi.cam.ac.uk (smtp.hermes.cam.ac.uk [131.111.8.156]:587) with esmtpsa (PLAIN:sl392) (TLSv1:DHE-RSA-AES128-SHA:128) id 1OdOgZ-0007gT-ec (Exim 4.72) for bug-gnu-emacs@gnu.org (return-path ); Mon, 26 Jul 2010 15:29:43 +0100 From: Leo To: bug-gnu-emacs@gnu.org Subject: 23.2; remote .dir-locals.el Date: Mon, 26 Jul 2010 15:29:42 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Spam-Score: -5.4 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.3 (------) It looks like hack-dir-local-variables ignores .dir-locals.el for remote files. I think if a project depends on .dir-locals.el it will not be remotely editable without loading .dir-locals.el. I wonder if this could be improved. Thanks. In GNU Emacs 23.2.11 (x86_64-apple-darwin10.4.0, Carbon Version 1.6.0 AppKit 1038.32) of 2010-07-23 on Victoria.local Windowing system distributor `Apple Inc.', version 10.6.4 ------------=_1338991622-21602-3--