GNU bug report logs - #6731
23.2; remote .dir-locals.el

Previous Next

Package: emacs;

Reported by: Leo <sdl.web <at> gmail.com>

Date: Mon, 26 Jul 2010 14:30:03 UTC

Severity: normal

Tags: patch

Merged with 1933

Found in version 23.2

Fixed in version 24.2

Done: Michael Albinus <michael.albinus <at> gmx.de>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Michael Albinus <michael.albinus <at> gmx.de>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#6731: closed (23.2; remote .dir-locals.el)
Date: Wed, 06 Jun 2012 14:07:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Wed, 06 Jun 2012 16:04:17 +0200
with message-id <87lik0leou.fsf <at> gmx.de>
and subject line Re: bug#1933: 23.0.60; [PATCH] dir-local variables don't work on remote files
has caused the debbugs.gnu.org bug report #6731,
regarding 23.2; remote .dir-locals.el
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
6731: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=6731
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Leo <sdl.web <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 23.2; remote .dir-locals.el
Date: Mon, 26 Jul 2010 15:29:42 +0100
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


[Message part 3 (message/rfc822, inline)]
From: Michael Albinus <michael.albinus <at> gmx.de>
To: Ian Eure <ieure <at> mac.com>, Leo <sdl.web <at> gmail.com>
Cc: 6731-done <at> debbugs.gnu.org, 1933-done <at> debbugs.gnu.org
Subject: Re: bug#1933: 23.0.60;
	[PATCH] dir-local variables don't work on remote files
Date: Wed, 06 Jun 2012 16:04:17 +0200
Version: 24.2

Ian Eure <ieure <at> mac.com> writes:

Hi Ian and Leo,

> I guess for speed reasons, dir-local-variables don’t work when opening
> remote fiales. Which is unfortunate for me, since I need them. Here’s
> 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.


This bug report was last modified 12 years and 355 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.