From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg Newman Subject: Re: Emacs 24: add symlink to .dir-settings.el Date: Fri, 23 Apr 2010 06:11:59 -0400 Message-ID: References: <87iq7icwvb.fsf@gmx.de> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0747305980==" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O5Fs6-0001DW-9d for emacs-orgmode@gnu.org; Fri, 23 Apr 2010 06:12:30 -0400 Received: from [140.186.70.92] (port=54932 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O5Frz-0001At-M7 for emacs-orgmode@gnu.org; Fri, 23 Apr 2010 06:12:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O5Frx-0006sC-R4 for emacs-orgmode@gnu.org; Fri, 23 Apr 2010 06:12:23 -0400 Received: from mail-vw0-f41.google.com ([209.85.212.41]:34446) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O5Frx-0006s5-KM for emacs-orgmode@gnu.org; Fri, 23 Apr 2010 06:12:21 -0400 Received: by vws4 with SMTP id 4so2578002vws.0 for ; Fri, 23 Apr 2010 03:12:19 -0700 (PDT) In-Reply-To: <87iq7icwvb.fsf@gmx.de> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Sebastian Rose Cc: Emacs-orgmode mailing list --===============0747305980== Content-Type: multipart/alternative; boundary=0016e68eef27910b9b0484e4a9e2 --0016e68eef27910b9b0484e4a9e2 Content-Type: text/plain; charset=UTF-8 not being a smartass Sebastian but emacs 24? Or 23.x? On Fri, Apr 23, 2010 at 5:59 AM, Sebastian Rose wrote: > Hi, > > > I found emacs 24 does not respect the > > .dir-settings.el > > anymore. Instead, it reads the > > .dir-locals.el > > > As it may have the exactly same contents, could we add a symlink? > > http://www.kernel.org/pub/software/scm/git/docs/git-config.html > states it will work on FAT, too (there a file is created, but you cannot > change the type by accident). > > > I tested, and it works: > > $ ln -s .dir-settings.el .dir-locals.el > > $ git add .dir-locals.el > > $ git commit > Waiting for Emacs... > [mit-symlink 7a09e3f] Added a symlink `.dir-locals.e.' > 1 files changed, 1 insertions(+), 0 deletions(-) > create mode 120000 .dir-locals.el > > $ rm .dir-locals.el > > $ git reset --hard > HEAD is now at 7a09e3f Added a symlink `.dir-locals.e.' > > $ ls -la .dir* > lrwxrwxrwx 1 sebastian ... 11:53 .dir-locals.el -> .dir-settings.el > -rw-r--r-- 1 sebastian ... 10:44 .dir-settings.el > > > Objections? > > > Sebastian > > > _______________________________________________ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode > --0016e68eef27910b9b0484e4a9e2 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable not being a smartass Sebastian but emacs 24? =C2=A0Or 23.x?

On Fri, Apr 23, 2010 at 5:59 AM, Sebastian Rose <sebastian_rose@gmx.d= e> wrote:
Hi,


I found emacs 24 does not respect the

=C2=A0 .dir-settings.el

anymore. Instead, it reads the

=C2=A0.dir-locals.el


As it may have the exactly same contents, could we add a symlink?

http://www.kernel.org/pub/software/scm/git/docs/git-conf= ig.html
states it will work on FAT, too (there a file is created, but you cannot change the type by accident).


I tested, and it works:

=C2=A0 $ ln -s =C2=A0.dir-settings.el .dir-locals.el

=C2=A0 $ git add .dir-locals.el

=C2=A0 $ git commit
=C2=A0 Waiting for Emacs...
=C2=A0 [mit-symlink 7a09e3f] Added a symlink `.dir-locals.e.'
=C2=A0 =C2=A01 files changed, 1 insertions(+), 0 deletions(-)
=C2=A0 =C2=A0create mode 120000 .dir-locals.el

=C2=A0 $ rm .dir-locals.el

=C2=A0 $ git reset --hard
=C2=A0 HEAD is now at 7a09e3f Added a symlink `.dir-locals.e.'

=C2=A0 $ ls -la .dir*
=C2=A0 lrwxrwxrwx 1 sebastian ... 11:53 .dir-locals.el -> .dir-settings= .el
=C2=A0 -rw-r--r-- 1 sebastian ... 10:44 .dir-settings.el


Objections?


=C2=A0 Sebastian


_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

--0016e68eef27910b9b0484e4a9e2-- --===============0747305980== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --===============0747305980==--