emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Orgmode] Re: One org file, multiple exports, is it possible?


From: Thomas S. Dye
Subject: [Orgmode] Re: One org file, multiple exports, is it possible?
Date: Tue, 25 May 2010 06:20:16 -1000

Thanks Bernt,

So, "broken custom settings" appear to be the cause of the unexpected behavior. Two questions:

1) Do programmers have a name for this situation, where custom settings seemed to work perfectly for a long time but then failed noticeably with the introduction of new, correct code into the .emacs?

2) Is there a useful strategy for finding the minimal .emacs that illustrates the failure? I might have 100 customizations in the various starter kit configuration files. If combinations of customizations are a possibility, I'm looking at quite a bit of random experimentation without some kind of strategy.

All the best,
Tom


On May 24, 2010, at 5:50 PM, Bernt Hansen wrote:

"Thomas S. Dye" <address@hidden> writes:

Aloha Carsten,

I think I need to know what is meant by "minimal .emacs."

I have a minimal.emacs which is a stripped down .emacs that only has
what I need to invoke org-mode for reproducing a problem.

,----[ minimal.emacs ]
| (add-to-list 'load-path (expand-file-name "~/git/org-mode/lisp"))
| (add-to-list 'auto-mode-alist '("\\.\\(org\\|org_archive\\|txt\\) $" . org-mode))
| (setq org-agenda-files '("/tmp/test.org"))
| (require 'org-install)
| (require 'org-habit)
|
| (global-set-key "\C-cl" 'org-store-link)
| (global-set-key "\C-ca" 'org-agenda)
| (global-set-key "\C-cb" 'org-iswitchb)
`----

and I load this with emacs -Q -l ~/minimal.emacs. I'll normally edit it
to add whatever is needed to reproduce the problem in org-mode.

Using a stripped down minimal .emacs files removes broken custom
settings as the cause of the issue and makes it easy to reproduce for
other people.

HTH,
Bernt




reply via email to

[Prev in Thread] Current Thread [Next in Thread]