From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sebastian Rose Subject: Re: Emacs 24: add symlink to .dir-settings.el Date: Mon, 26 Apr 2010 10:53:47 +0200 Message-ID: <87mxwqwq5g.fsf@gmx.de> References: <87iq7icwvb.fsf@gmx.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O6K4k-0007VM-3H for emacs-orgmode@gnu.org; Mon, 26 Apr 2010 04:53:58 -0400 Received: from [140.186.70.92] (port=46516 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O6K4i-0007TB-EJ for emacs-orgmode@gnu.org; Mon, 26 Apr 2010 04:53:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O6K4h-0004BG-0Y for emacs-orgmode@gnu.org; Mon, 26 Apr 2010 04:53:56 -0400 Received: from mail.gmx.net ([213.165.64.20]:44658) by eggs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1O6K4g-0004As-KL for emacs-orgmode@gnu.org; Mon, 26 Apr 2010 04:53:54 -0400 In-Reply-To: (Carsten Dominik's message of "Mon, 26 Apr 2010 06:48:06 +0200") 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: Carsten Dominik Cc: Emacs-orgmode mailing list Carsten Dominik 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