emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [Orgmode] Re: Problem with agenda file list


From: Carsten Dominik
Subject: Re: [Orgmode] Re: Problem with agenda file list
Date: Sun, 27 Apr 2008 20:44:02 +0200

Hi Jose,

in principle it would be possible, of course, to write a
custom function that directly modifies a special Org
configuration file.  However, that is even less clean than
what I was doing so far and is bound to cause problems.  What
if another person does *not* have a special file for Org?
Should I then directly manipulate .emacs?  I think this is
not acceptable.

There is of course, a simple solution for you:  Set the value
of org-agenda-files with a lisp setq form in .emacs, and never use
`C-c [' and `C-c ]' to modify the list.  If you want to be sure,
disable these functions with `disable-command'.

- Carsten

On Apr 27, 2008, at 7:08 PM, Jose A. Ortega Ruiz wrote:

Carsten Dominik <address@hidden> writes:

On Apr 27, 2008, at 5:17 PM, Eddward DeVilla wrote:


[...]

Anyhow, I'm pretty sure I only add files with the org-mode menu and I think the key sequence C-]. (The machine I'm on doesn't have org- mode
at the moment.)  I don't modify the list much though.  I can try to
stress it if you like.


Please do, I think this would be useful.  I will switch to this setup
myself.


I will too. But i think this solution is suboptimal: i already have a
.el file to store my org-specific configuration, and this obligues me to
split my configuration into two files, the only reason being that i
don't want org to overwrite my customisation variables.

I'm not privy with the implementation details, but i guess the overwrite
is unavoidable when not using the additional file? I'm a bit surprised
by this fact: i use dozens of emacs packages, and org is the first one
wanting to modify my custom.el; even in cases where customising a
variable must trigger some additional side-effect, there's some function
one can call in the init file to both set the variable and trigger the
additional side-effects.

That said, if this is the only workable solution, so be it :)

jao
--
A student came to the master and asked, for the master was one of them
who knew such things: "Does Emacs have the Buddha nature?" The master
contemplated this for some time, and answered: "I don't see why not,
it has about everything else."



_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
address@hidden
http://lists.gnu.org/mailman/listinfo/emacs-orgmode





reply via email to

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