emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] Add orgstruct-appendix to .emacs to default for .R-files


From: Henning
Subject: [O] Add orgstruct-appendix to .emacs to default for .R-files
Date: Tue, 17 Jun 2014 12:56:17 +0530
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0

I currently use orgstruct-mode tu structure scripts for statistical analysis in R. So I copy + paste some orgstruct-code into every R-file, where I would like to enjoy folding.
Is there any way to put the following lines of code into my .emacs-file, so the orgstruct-properties becaume default for all my .R-Files?

  ### * End of file

  ### Local Variables:
  ### eval: (orgstruct-mode 1)
  ### orgstruct-heading-prefix-regexp: "### "
  ### End:

(See https://stackoverflow.com/questions/14941429/structuring-a-statistical-analysis-with-r-using-emacs-ess for further references)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]