From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Emacs 24: add symlink to .dir-settings.el Date: Mon, 26 Apr 2010 00:04:20 +0200 Message-ID: <42F80FA1-CEA0-4373-A3F4-E63E06CDE686@gmail.com> References: <87iq7icwvb.fsf@gmx.de> Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O69wB-00034A-0j for emacs-orgmode@gnu.org; Sun, 25 Apr 2010 18:04:27 -0400 Received: from [140.186.70.92] (port=38332 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O69w9-00033d-N4 for emacs-orgmode@gnu.org; Sun, 25 Apr 2010 18:04:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O69w7-0002oT-Uk for emacs-orgmode@gnu.org; Sun, 25 Apr 2010 18:04:25 -0400 Received: from mail-ew0-f214.google.com ([209.85.219.214]:54614) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O69w7-0002oN-Ny for emacs-orgmode@gnu.org; Sun, 25 Apr 2010 18:04:23 -0400 Received: by ewy6 with SMTP id 6so3919635ewy.32 for ; Sun, 25 Apr 2010 15:04:22 -0700 (PDT) In-Reply-To: <87iq7icwvb.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 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