From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rainer M Krug Subject: Re: Wrong comment character when adding file local variables? Date: Mon, 10 Jun 2013 10:27:05 +0200 Message-ID: <87wqq2z7za.fsf@krugs.de> References: <87wqq6gj39.fsf@krugs.de> <87y5amdoae.fsf@gmail.com> <87ppvxeujx.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43677) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UlxUM-0003ym-Om for emacs-orgmode@gnu.org; Mon, 10 Jun 2013 04:30:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UlxUL-0000Zq-JL for emacs-orgmode@gnu.org; Mon, 10 Jun 2013 04:30:06 -0400 Received: from plane.gmane.org ([80.91.229.3]:48441) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UlxUL-0000ZZ-Cv for emacs-orgmode@gnu.org; Mon, 10 Jun 2013 04:30:05 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UlxUJ-0002mR-Pn for emacs-orgmode@gnu.org; Mon, 10 Jun 2013 10:30:03 +0200 Received: from arn78-1-88-186-171-7.fbx.proxad.net ([88.186.171.7]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 10 Jun 2013 10:30:03 +0200 Received: from Rainer by arn78-1-88-186-171-7.fbx.proxad.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 10 Jun 2013 10:30:03 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Vitalie Spinu writes: > >> Rainer M Krug > >> on Fri, 7 Jun 2013 17:40:53 +0200 wrote: > > > On Friday, June 7, 2013, Vitalie Spinu wrote: > > All your examples are placed in fundamental mode. The comments are > > treated by org and thus are correct, local variables are inserted > > according to the major mode. > > > The question is why - all .R files are automatically in r mode when I open them > > and all other R files tangle fine. > > Because they are placed automatically in R mode, your files are in > fundamental mode. I think I get it now: my files are interpreted by emacs as fundamental files. But when I visit them in a buffer, the buffer is interpreted as an R buffer. Thanks. Rainer > > Vitalie > > > <#secure method=pgpmime mode=sign> -- Rainer M. Krug email: RMKruggmailcom