emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Emacs 24: add symlink to .dir-settings.el
@ 2010-04-23  9:59 Sebastian Rose
  2010-04-23 10:11 ` Greg Newman
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Sebastian Rose @ 2010-04-23  9:59 UTC (permalink / raw)
  To: Emacs-orgmode mailing list

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Emacs 24: add symlink to .dir-settings.el
  2010-04-23  9:59 Emacs 24: add symlink to .dir-settings.el Sebastian Rose
@ 2010-04-23 10:11 ` Greg Newman
  2010-04-23 10:30   ` Sebastian Rose
  2010-04-25 22:04 ` Carsten Dominik
  2010-04-26  4:48 ` Carsten Dominik
  2 siblings, 1 reply; 7+ messages in thread
From: Greg Newman @ 2010-04-23 10:11 UTC (permalink / raw)
  To: Sebastian Rose; +Cc: Emacs-orgmode mailing list


[-- Attachment #1.1: Type: text/plain, Size: 1325 bytes --]

not being a smartass Sebastian but emacs 24?  Or 23.x?

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
>
>   .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
>

[-- Attachment #1.2: Type: text/html, Size: 2009 bytes --]

[-- Attachment #2: Type: text/plain, Size: 201 bytes --]

_______________________________________________
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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Emacs 24: add symlink to .dir-settings.el
  2010-04-23 10:11 ` Greg Newman
@ 2010-04-23 10:30   ` Sebastian Rose
  2010-04-23 10:45     ` Greg Newman
  0 siblings, 1 reply; 7+ messages in thread
From: Sebastian Rose @ 2010-04-23 10:30 UTC (permalink / raw)
  To: Greg Newman; +Cc: Emacs-orgmode mailing list

Greg Newman <gregoryjnewman@gmail.com> 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 <sebastian_rose@gmx.de>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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Emacs 24: add symlink to .dir-settings.el
  2010-04-23 10:30   ` Sebastian Rose
@ 2010-04-23 10:45     ` Greg Newman
  0 siblings, 0 replies; 7+ messages in thread
From: Greg Newman @ 2010-04-23 10:45 UTC (permalink / raw)
  To: Sebastian Rose; +Cc: Emacs-orgmode mailing list


[-- Attachment #1.1: Type: text/plain, Size: 2108 bytes --]

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 <sebastian_rose@gmx.de>wrote:

> Greg Newman <gregoryjnewman@gmail.com> 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 <sebastian_rose@gmx.de
> >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
>

[-- Attachment #1.2: Type: text/html, Size: 3382 bytes --]

[-- Attachment #2: Type: text/plain, Size: 201 bytes --]

_______________________________________________
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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Emacs 24: add symlink to .dir-settings.el
  2010-04-23  9:59 Emacs 24: add symlink to .dir-settings.el Sebastian Rose
  2010-04-23 10:11 ` Greg Newman
@ 2010-04-25 22:04 ` Carsten Dominik
  2010-04-26  4:48 ` Carsten Dominik
  2 siblings, 0 replies; 7+ messages in thread
From: Carsten Dominik @ 2010-04-25 22:04 UTC (permalink / raw)
  To: Sebastian Rose; +Cc: Emacs-orgmode mailing list


On Apr 23, 2010, at 11: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?

I guess this would be somewhat system dependent?  Not all operating  
systems
do support this, I suppose?

- Carsten

>
> 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

- Carsten

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Emacs 24: add symlink to .dir-settings.el
  2010-04-23  9:59 Emacs 24: add symlink to .dir-settings.el Sebastian Rose
  2010-04-23 10:11 ` Greg Newman
  2010-04-25 22:04 ` Carsten Dominik
@ 2010-04-26  4:48 ` Carsten Dominik
  2010-04-26  8:53   ` Sebastian Rose
  2 siblings, 1 reply; 7+ messages in thread
From: Carsten Dominik @ 2010-04-26  4:48 UTC (permalink / raw)
  To: Sebastian Rose; +Cc: Emacs-orgmode mailing list


On Apr 23, 2010, at 11: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).


Sorry, it seems I did not read carefully enough.  I have now applied
your change.

- Carsten

>
>
> 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

- Carsten

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Emacs 24: add symlink to .dir-settings.el
  2010-04-26  4:48 ` Carsten Dominik
@ 2010-04-26  8:53   ` Sebastian Rose
  0 siblings, 0 replies; 7+ messages in thread
From: Sebastian Rose @ 2010-04-26  8:53 UTC (permalink / raw)
  To: Carsten Dominik; +Cc: Emacs-orgmode mailing list

Carsten Dominik <carsten.dominik@gmail.com> writes:
> On Apr 23, 2010, at 11: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).
>
>
> Sorry, it seems I did not read carefully enough.  I have now applied
> your change.
>
> - Carsten
>
>>
>>
>> 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
>>
>
> - Carsten


Good, thanks!

Now my future patches will always be TAB-indented ;)

  Sebastian

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2010-04-26  8:53 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-23  9:59 Emacs 24: add symlink to .dir-settings.el Sebastian Rose
2010-04-23 10:11 ` Greg Newman
2010-04-23 10:30   ` Sebastian Rose
2010-04-23 10:45     ` Greg Newman
2010-04-25 22:04 ` Carsten Dominik
2010-04-26  4:48 ` Carsten Dominik
2010-04-26  8:53   ` Sebastian Rose

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).