[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Orgmode] Emacs 24: add symlink to .dir-settings.el
From: |
Sebastian Rose |
Subject: |
Re: [Orgmode] Emacs 24: add symlink to .dir-settings.el |
Date: |
Fri, 23 Apr 2010 12:30:14 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
Greg Newman <address@hidden> 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 <address@hidden>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.
>> address@hidden
>> http://lists.gnu.org/mailman/listinfo/emacs-orgmode