From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vitalie Spinu Subject: Re: Wrong comment character when adding file local variables? Date: Fri, 07 Jun 2013 18:48:18 +0200 Message-ID: <87ppvxeujx.fsf@gmail.com> References: <87wqq6gj39.fsf@krugs.de> <87y5amdoae.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56661) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ukzpv-0003ZQ-TZ for emacs-orgmode@gnu.org; Fri, 07 Jun 2013 12:48:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ukzpt-0003S2-FD for emacs-orgmode@gnu.org; Fri, 07 Jun 2013 12:48:23 -0400 Received: from mail-we0-x231.google.com ([2a00:1450:400c:c03::231]:59976) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ukzpt-0003Rw-9c for emacs-orgmode@gnu.org; Fri, 07 Jun 2013 12:48:21 -0400 Received: by mail-we0-f177.google.com with SMTP id m19so3133295wev.8 for ; Fri, 07 Jun 2013 09:48:20 -0700 (PDT) In-Reply-To: (Rainer M. Krug's message of "Fri, 7 Jun 2013 17:40:53 +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: Rainer M Krug Cc: Rainer M Krug , "emacs-orgmode@gnu.org" >> 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. Vitalie