emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Sebastian Rose <sebastian_rose@gmx.de>
To: Carsten Dominik <carsten.dominik@gmail.com>
Cc: Emacs-orgmode mailing list <emacs-orgmode@gnu.org>
Subject: Re: Emacs 24: add symlink to .dir-settings.el
Date: Mon, 26 Apr 2010 10:53:47 +0200	[thread overview]
Message-ID: <87mxwqwq5g.fsf@gmx.de> (raw)
In-Reply-To: <FC6E4756-0018-42E7-A5AB-41AEAF8702F4@gmail.com> (Carsten Dominik's message of "Mon, 26 Apr 2010 06:48:06 +0200")

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

      reply	other threads:[~2010-04-26  8:53 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87mxwqwq5g.fsf@gmx.de \
    --to=sebastian_rose@gmx.de \
    --cc=carsten.dominik@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).