Re: [O] Defining capture-templates: custom and init file

2011-03-08 Thread Rustom Mody
Alan Davis wrote: > I would like to request advice, on how can I set up so most of my capture > templates are loaded from a file (~/org/capture-templates.el in > my case) and still retain the ability to define new capture templates on the > fly. I want the best of both worlds: > - capture-tem

Re: [O] Defining capture-templates: custom and init file

2011-03-08 Thread Alan E. Davis
Very revealing. However, that post was written in 2005, and the following statement is found at the tail end: The good news The behaviour of custom due to more than one custom-set-... statement will be changed in Emacs 21.xx. I've been told that > Multiple calls to custom-set-variables should wo

Re: [O] Defining capture-templates: custom and init file

2011-03-07 Thread Suvayu Ali
Hi Alan, On Tue, 8 Mar 2011 16:13:34 +1000 "Alan E. Davis" wrote: > I have noticed the message from within the customization interface > that some variable or another was set outside of customization, and > there may be unpredictable results. Wonder what that really means, > though. It's stil

Re: [O] Defining capture-templates: custom and init file

2011-03-07 Thread Alan E. Davis
Hello: Suvayu: I have set the variable custom-file outside of the init file to ~/org/custom-local.el or some such, so there wouldn't be a conflict within the same file. I can delay loading of that file until after the hand-made capture templates have been loaded from ~/org/capture-templates.el .

Re: [O] Defining capture-templates: custom and init file

2011-03-07 Thread Suvayu Ali
On Tue, 8 Mar 2011 12:17:58 +1000 "Alan E. Davis" wrote: > I would like to request advice, on how can I set up so most of my > capture templates are loaded from a file (~/org/capture-templates.el > in my case) and still retain the ability to define new capture > templates on the fly. I want the

[O] Defining capture-templates: custom and init file

2011-03-07 Thread Alan E. Davis
I would like to request advice, on how can I set up so most of my capture templates are loaded from a file (~/org/capture-templates.el in my case) and still retain the ability to define new capture templates on the fly. I want the best of both worlds: - capture-templates.el is easier for me to