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:45:06 -0400 Message-ID: References: <87iq7icwvb.fsf@gmx.de> <87bpdacvgp.fsf@gmx.de> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1078764648==" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O5GO5-0003Z7-Dl for emacs-orgmode@gnu.org; Fri, 23 Apr 2010 06:45:33 -0400 Received: from [140.186.70.92] (port=57071 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O5GO3-0003YR-D0 for emacs-orgmode@gnu.org; Fri, 23 Apr 2010 06:45:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O5GO1-00054Z-QG for emacs-orgmode@gnu.org; Fri, 23 Apr 2010 06:45:31 -0400 Received: from mail-vw0-f41.google.com ([209.85.212.41]:34409) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O5GO1-000544-EM for emacs-orgmode@gnu.org; Fri, 23 Apr 2010 06:45:29 -0400 Received: by vws4 with SMTP id 4so2590643vws.0 for ; Fri, 23 Apr 2010 03:45:26 -0700 (PDT) In-Reply-To: <87bpdacvgp.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 --===============1078764648== Content-Type: multipart/alternative; boundary=00c09f905c77005dc30484e520c1 --00c09f905c77005dc30484e520c1 Content-Type: text/plain; charset=UTF-8 Thanks Sebastian. Call me out-of-the-loop. I wasn't even aware :D On Fri, Apr 23, 2010 at 6:30 AM, Sebastian Rose wrote: > Greg Newman writes: > > > not being a smartass Sebastian but emacs 24? Or 23.x? > > GNU Emacs 24.0.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.18.3) of > 2010-04-14 on beteigeuze > > > It's the trunk of that date. I use it all day and it's fine. Only one > crash including my x-server - but I'm not sure who is to blame: Emacs or > my fingers. > > I don't even recall the magic key on this machine, hence I could press > it once in a while without knowing it :-D > > > > Sebastian > > > > > > > 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 > --00c09f905c77005dc30484e520c1 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Thanks Sebastian. =C2=A0Call me out-of-the-loop. =C2=A0I wasn't even aw= are :D

On Fri, Apr 23, 2010 at 6:30 AM, S= ebastian Rose <sebastian_rose@gmx.de> wrote:
Greg Newman <gregoryjnewman@gmail.com> write= s:

> not being a smartass Sebastian but emacs 24? =C2=A0Or 23.x?

GNU Emacs 24.0.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.18.3) o= f
2010-04-14 on beteigeuze


It's the trunk of that date. I use it all day and it's fine. Only o= ne
crash including my x-server - but I'm not sure who is to blame: Emacs o= r
my fingers.

I don't even recall the magic key on this machine, hence I could press<= br> it once in a while without knowing it :-D



=C2=A0Sebastian



>
> On Fri, Apr 23, 2010 at 5:59 AM, Sebastian Rose <sebastian_rose@gmx.de>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?<= br> >>
>> 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:
>>
>> =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.'<= br> >> =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

--00c09f905c77005dc30484e520c1-- --===============1078764648== 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 --===============1078764648==--