emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Thomas S. Dye" <tsd@tsdye.com>
To: Chao Lu <loochao@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Org-style outline
Date: Fri, 12 Feb 2010 06:14:22 -1000	[thread overview]
Message-ID: <C00FFD14-DCA7-44A3-AEAB-F8F421B2C773@tsdye.com> (raw)
In-Reply-To: <3cbb63d01002112138l2a10bbfk60e12e1034bfc418@mail.gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 1104 bytes --]


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

[-- Attachment #1.2: Type: text/html, Size: 1625 bytes --]

[-- Attachment #2: Type: text/plain, Size: 201 bytes --]

_______________________________________________
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

      parent reply	other threads:[~2010-02-12 16:21 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-12  5:38 Org-style outline Chao Lu
2010-02-12  8:47 ` David Maus
2010-02-12 10:31   ` Giovanni Ridolfi
2010-02-12 10:53   ` Giovanni Ridolfi
2010-02-12 16:14 ` Thomas S. Dye [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=C00FFD14-DCA7-44A3-AEAB-F8F421B2C773@tsdye.com \
    --to=tsd@tsdye.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=loochao@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).