From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lawrence Bottorff Subject: Where does org-mode elisp hacking go? Date: Wed, 13 Mar 2013 14:53:10 -0500 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=bcaec52159617555c504d7d3c1e4 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:34381) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UFrjg-00084B-HA for emacs-orgmode@gnu.org; Wed, 13 Mar 2013 15:53:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UFrjb-0008Mz-SU for emacs-orgmode@gnu.org; Wed, 13 Mar 2013 15:53:16 -0400 Received: from mail-pb0-f52.google.com ([209.85.160.52]:64985) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UFrjb-0008Mu-M0 for emacs-orgmode@gnu.org; Wed, 13 Mar 2013 15:53:11 -0400 Received: by mail-pb0-f52.google.com with SMTP id ma3so1358132pbc.25 for ; Wed, 13 Mar 2013 12:53:10 -0700 (PDT) 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 --bcaec52159617555c504d7d3c1e4 Content-Type: text/plain; charset=ISO-8859-1 I see on the org-hacks.html page lots of interesting elisp code. If I wanted to use some of this (lots of this) it seems wrong to shove it all in my .emacs file. My first guess would be to put what I want into separate .el files, go to my .org file and do a load-file on the .el file of hacks. But I really loath doing something that's not "best practice." What's the best practice for enabling org-mode elisp hacks? And what if I want to use just one hack for one project? With usual elisp-ing you can simply evaluate region. Is that possible in conjunction with a .org file? LB --bcaec52159617555c504d7d3c1e4 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable I see on the org-hacks.html page lots of interesting elisp code. If I wante= d to use some of this (lots of this) it seems wrong to shove it all in my .= emacs file. My first guess would be to put what I want into separate .el fi= les, go to my .org file and do a load-file on the .el file of hacks. But I = really loath doing something that's not "best practice." What= 's the best practice for enabling org-mode elisp hacks? And what if I w= ant to use just one hack for one project? With usual elisp-ing you can simp= ly evaluate region. Is that possible in conjunction with a .org file?=A0
LB
--bcaec52159617555c504d7d3c1e4--