Re: [O] Wrong comment character when adding file local variables?

2013-06-10 Thread Rainer M Krug
Vitalie Spinu spinu...@gmail.com writes: Rainer M Krug r.m.k...@gmail.com 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

Re: [O] Wrong comment character when adding file local variables?

2013-06-10 Thread Rainer M Krug
Nick Dokos ndo...@gmail.com writes: Rainer M Krug rai...@krugs.de writes: Vitalie Spinu spinu...@gmail.com writes: Rainer M Krug r.m.k...@gmail.com on Fri, 7 Jun 2013 17:40:53 +0200 wrote: On Friday, June 7, 2013, Vitalie Spinu wrote: All your examples are placed in

Re: [O] Wrong comment character when adding file local variables?

2013-06-08 Thread Nick Dokos
Rainer M Krug r.m.k...@gmail.com writes: 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

[O] Wrong comment character when adding file local variables?

2013-06-07 Thread Rainer M Krug
Hi when tangling the following file , | * Package Files | ** DESCRIPTION File | :PROPERTIES: | :tangle: ./DESCRIPTION | :shebang: | :padline: no | :no-expand: TRUE | :comments: no | :END: | #+begin_src R | Package: asmDrak | #+end_src | | ** NAMESPACE File | :PROPERTIES: | :tangle:

Re: [O] Wrong comment character when adding file local variables?

2013-06-07 Thread Vitalie Spinu
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. I don't how this could be easily fixed on org side, but you can solve it straightforwardly with: (add-to-list 'auto-mode-alist

Re: [O] Wrong comment character when adding file local variables?

2013-06-07 Thread Rainer M Krug
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

Re: [O] Wrong comment character when adding file local variables?

2013-06-07 Thread Vitalie Spinu
Rainer M Krug r.m.k...@gmail.com 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