emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Memnon Anon <gegendosenfleisch@googlemail.com>
To: emacs-orgmode@gnu.org
Subject: Re: How to customize the heading definition in org-mode
Date: Sat, 10 Nov 2012 10:38:41 +0000 (UTC)	[thread overview]
Message-ID: <87haox224g.fsf@mean.albasani.net> (raw)
In-Reply-To: D99DCE939A765644BCA10192DD977AED058C3293F4@tweety.yvr.lighthauslogic.com

Hi,

Avner Moshkovitz <avnermoshkovitz@lighthausvci.com> writes:

> I want to use a lisp file (the .emacs file) in org-mode. This will
> help me to navigate through sections of the .emacs configuration file.

I do so with the following setup:

I have a minimal init.el file in my ~/.emacs.d directory.
It basically looks like this:

--8<---------------cut here---------------start------------->8---
(require 'cl)

;; Load Path to org and babel
(setq load-path (cons "path/to/elisp/org-latest/lisp" load-path))
(setq load-path (cons "path/to/elisp/org-latest/contrib/lisp" load-path))
(setq load-path (cons "path/to/elisp/org-latest/contrib/babel/lisp" load-path))

;; modules got to be set _before_ org is loaded
(setq org-modules '(org-bbdb org-bibtex org-gnus org-info org-jsinfo 
                    org-irc org-vm org-w3m org-crypt org-learn
                    org-collector org-habit org-depend org-timer))

;; load up Org-mode and Org-babel
(require 'org)
;;(require 'org-babel-init)

;; Load my .emacs
(org-babel-load-file "path/to/emacs.org")
--8<---------------cut here---------------end--------------->8---

That last org-babel-load-file bit actually loads my other settings.
(see http://memnon.sdf-eu.org/emacs.html
     http://memnon.sdf-eu.org/emacs.org for an example)

> I looked for an equivalent to this in org-mode but couldn't find a way
> to customize the heading definition.
>
> Is there a way to do so?

AFAIK, the * is a fixed part of the org syntax and is not customizable.

hth
Memnon

  reply	other threads:[~2012-11-10 10:39 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-09 20:57 How to customize the heading definition in org-mode Avner Moshkovitz
2012-11-10 10:38 ` Memnon Anon [this message]
2012-11-10 15:58   ` David Rogers
2012-11-12  1:42     ` Darlan Cavalcante Moreira

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=87haox224g.fsf@mean.albasani.net \
    --to=gegendosenfleisch@googlemail.com \
    --cc=emacs-orgmode@gnu.org \
    /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).