From mboxrd@z Thu Jan 1 00:00:00 1970 From: Henning Subject: Add orgstruct-appendix to .emacs to default for .R-files Date: Tue, 17 Jun 2014 12:56:17 +0530 Message-ID: <539FED99.6020906@campus.lmu.de> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="------------070308020709040107050803" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50245) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wwnmu-0000cu-88 for emacs-orgmode@gnu.org; Tue, 17 Jun 2014 03:26:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wwnmo-0000d7-13 for emacs-orgmode@gnu.org; Tue, 17 Jun 2014 03:26:36 -0400 Received: from postout2.mail.lrz.de ([129.187.255.138]:56938) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wwnmn-0000Zw-QG for emacs-orgmode@gnu.org; Tue, 17 Jun 2014 03:26:29 -0400 Received: from lxmhs52.srv.lrz.de (localhost [127.0.0.1]) by postout2.mail.lrz.de (Postfix) with ESMTP id 3gt1DY4M2XzyRL for ; Tue, 17 Jun 2014 09:26:21 +0200 (CEST) Received: from postout2.mail.lrz.de ([127.0.0.1]) by lxmhs52.srv.lrz.de (lxmhs52.srv.lrz.de [127.0.0.1]) (amavisd-new, port 20024) with LMTP id icz5o4xy4ZR8 for ; Tue, 17 Jun 2014 09:26:21 +0200 (CEST) Received: from [10.100.29.43] (unknown [111.93.99.180]) (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by postout2.mail.lrz.de (Postfix) with ESMTPSA id 3gt1DX5fs4zyQW for ; Tue, 17 Jun 2014 09:26:20 +0200 (CEST) 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 This is a multi-part message in MIME format. --------------070308020709040107050803 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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) || --------------070308020709040107050803 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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)



--------------070308020709040107050803--