From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Thomas S. Dye" Subject: Re: Org-style outline Date: Fri, 12 Feb 2010 06:14:22 -1000 Message-ID: References: <3cbb63d01002112138l2a10bbfk60e12e1034bfc418@mail.gmail.com> Mime-Version: 1.0 (Apple Message framework v936) Content-Type: multipart/mixed; boundary="===============1238929344==" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NfyGd-0003tR-T5 for emacs-orgmode@gnu.org; Fri, 12 Feb 2010 11:21:19 -0500 Received: from [140.186.70.92] (port=46927 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NfyGd-0003sC-69 for emacs-orgmode@gnu.org; Fri, 12 Feb 2010 11:21:19 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NfyGc-0005m8-0i for emacs-orgmode@gnu.org; Fri, 12 Feb 2010 11:21:19 -0500 Received: from outbound-mail-360.bluehost.com ([66.147.249.254]:55667) by eggs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1NfyGb-0005kN-NJ for emacs-orgmode@gnu.org; Fri, 12 Feb 2010 11:21:17 -0500 In-Reply-To: <3cbb63d01002112138l2a10bbfk60e12e1034bfc418@mail.gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Chao Lu Cc: emacs-orgmode@gnu.org --===============1238929344== Content-Type: multipart/alternative; boundary=Apple-Mail-20--78746509 --Apple-Mail-20--78746509 Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit On Feb 11, 2010, at 7:38 PM, Chao Lu wrote: > Dear all, > > I'm writing to see if there's anyway to use org-like outline in ALL > kinds of files, like my emacs configuration file, whose suffix > is .el. Could I tell Emacs > > ;;; headline 1 > ;; headline 2 > > And it begin to have the ability to display my el file just as Org > does? > > Besides, is there any active mailing list of common Emacs questions? > > Any suggestion is welcomed, thanks! > > Chao Aloha Chao, Org-babel lets you keep source code for many languages in Org-mode files. You have to tangle the Org-mode file to create the source code file, so there are some intermediate steps, but it does bring many of the advantages of Org-mode to editing and maintaining source code in other languages. The Org-babel Introduction includes an example of how to manage an emacs configuration in Org-mode: http://orgmode.org/worg/org-contrib/babel/intro.php#literate-programming Eric Schulte has an emacs starter kit with a very useful implementation of this idea: http://eschulte.github.com/emacs-starter-kit/ hth, Tom --Apple-Mail-20--78746509 Content-Type: text/html; charset=US-ASCII Content-Transfer-Encoding: quoted-printable
On Feb 11, 2010, = at 7:38 PM, Chao Lu wrote:

Dear = all,

I'm writing to see if there's anyway to use org-like outline = in ALL kinds of files, like my emacs configuration file, whose suffix is = .el. Could I tell Emacs

;;; headline 1
;; headline 2
=
And it begin to have the ability to display my el file just as Org = does?

Besides, is there any active mailing list of common Emacs = questions?

Any suggestion is welcomed, = thanks!

Chao

Aloha = Chao,

Org-babel lets you keep source code for = many languages in Org-mode files.  You have to tangle the Org-mode = file to create the source code file, so there are some intermediate = steps, but it does bring many of the advantages of Org-mode to editing = and maintaining source code in other languages.  The Org-babel = Introduction includes an example of how to manage an emacs configuration = in Org-mode:


Eric Schulte has an emacs starter = kit with a very useful implementation of this = idea:


hth,
Tom=
= --Apple-Mail-20--78746509-- --===============1238929344== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --===============1238929344==--