Re: [O] org-agenda-files

2015-10-09 Thread Eric S Fraga
On Thursday, 8 Oct 2015 at 22:36, Paul Jewell wrote: [...] > The bit I missed was that org-agenda-files were set in customize to nil, > and this change was happening after the assignment. Once I cleared this, > everything works as planned. > > Thanks for coming back to me! Glad you figured it o

Re: [O] org-agenda-files

2015-10-08 Thread Paul Jewell
On 08/10/15 20:42, Eric S Fraga wrote: > On Tuesday, 6 Oct 2015 at 21:34, Paul Jewell wrote: > > [...] > >> So by setting org-user-agenda-files in my .emacs before loading >> org-mode.el (which I have in my ~/.emacs.d/lisp directory), I should be >> setting org-agenda-files to ("~/git/org" "~/

Re: [O] org-agenda-files

2015-10-08 Thread Eric S Fraga
On Tuesday, 6 Oct 2015 at 21:34, Paul Jewell wrote: [...] > So by setting org-user-agenda-files in my .emacs before loading > org-mode.el (which I have in my ~/.emacs.d/lisp directory), I should be > setting org-agenda-files to ("~/git/org" "~/git/org/test"). When do you load org itself? Other

[O] org-agenda-files

2015-10-08 Thread Paul Jewell
Good evening! I am starting to use a more complex setup for org-mode, having left it alone for more than a year. The setup I am using is documented here: http://doc.norang.ca/org-mode.html I am having a problem with setting up the org-agenda-files variable in the startup code: In my .emacs: ---

Re: [O] org-agenda-files for calfw

2015-08-28 Thread Julien Cubizolles
Nick Dokos writes: > I admit I didn't read your original question very carefully, so I might > have overlooked something, but the behavior above is not weird: the let > binds org-agenda-files and then calls cfw:ooc - when that returns the > let binding is gone as well. It seems that the function

Re: [O] org-agenda-files for calfw

2015-08-28 Thread Nick Dokos
Julien Cubizolles writes: > Julien Cubizolles writes: > >> Nick Dokos writes: >> >> >>> Bind org-agenda-files in a let before calling cfw:open-org-calendar: >>> >>> (let ((org-agenda-files '(...))) >>> (cfw:open-org-calendar)) >> >> That's exactly what I needed, thanks. > > I just noticed som

Re: [O] org-agenda-files for calfw

2015-08-28 Thread Julien Cubizolles
Julien Cubizolles writes: > Nick Dokos writes: > > >> Bind org-agenda-files in a let before calling cfw:open-org-calendar: >> >> (let ((org-agenda-files '(...))) >> (cfw:open-org-calendar)) > > That's exactly what I needed, thanks. I just noticed something very weird, as soon as the agenda is

Re: [O] org-agenda-files for calfw

2015-08-28 Thread Julien Cubizolles
Nick Dokos writes: > Bind org-agenda-files in a let before calling cfw:open-org-calendar: > > (let ((org-agenda-files '(...))) > (cfw:open-org-calendar)) That's exactly what I needed, thanks. Julien.

Re: [O] org-agenda-files for calfw

2015-08-27 Thread Nick Dokos
Julien Cubizolles writes: > Eric S Fraga writes: > >> On Thursday, 27 Aug 2015 at 14:06, Julien Cubizolles wrote: >>> I'd like to choose only a few of my org-agenda-files to be displayed by >>> cfw:open-org-calendar. I couldn't find a variable for that. Should I use >>> some temporary variable t

Re: [O] org-agenda-files for calfw

2015-08-27 Thread Julien Cubizolles
Eric S Fraga writes: > On Thursday, 27 Aug 2015 at 14:06, Julien Cubizolles wrote: >> I'd like to choose only a few of my org-agenda-files to be displayed by >> cfw:open-org-calendar. I couldn't find a variable for that. Should I use >> some temporary variable to store the content of the real >>

Re: [O] org-agenda-files for calfw

2015-08-27 Thread Julien Cubizolles
Eric S Fraga writes: > On Thursday, 27 Aug 2015 at 14:06, Julien Cubizolles wrote: >> I'd like to choose only a few of my org-agenda-files to be displayed by >> cfw:open-org-calendar. I couldn't find a variable for that. Should I use >> some temporary variable to store the content of the real >>

Re: [O] org-agenda-files for calfw

2015-08-27 Thread Eric S Fraga
On Thursday, 27 Aug 2015 at 14:06, Julien Cubizolles wrote: > I'd like to choose only a few of my org-agenda-files to be displayed by > cfw:open-org-calendar. I couldn't find a variable for that. Should I use > some temporary variable to store the content of the real > org-agenda-files while launch

[O] org-agenda-files for calfw

2015-08-27 Thread Julien Cubizolles
I'd like to choose only a few of my org-agenda-files to be displayed by cfw:open-org-calendar. I couldn't find a variable for that. Should I use some temporary variable to store the content of the real org-agenda-files while launching calfw or is there an easier way ? Julien.

Re: [O] org-agenda-files and customize

2014-06-29 Thread Jorge A. Alfaro-Murillo
David Masterson writes: > 2. I removed org-agenda-files from the custom-set-variables section of > my .emacs. > 3. I set org-agenda-files in the standard way (C-c [). > 4. I notices that org-agenda-files was back in the custom-set-variables > section of my .emacs. > > Is that supposed to happen?

[O] org-agenda-files and customize

2014-06-29 Thread David Masterson
Hmmm. I just noticed that the following happened: 1. I noticed org-agenda-files was set in the custom-set-variables section of my .emacs. 2. I removed org-agenda-files from the custom-set-variables section of my .emacs. 3. I set org-agenda-files in the standard way (C-c [). 4. I notices that org-

Re: [O] org-agenda-files defvar directory "evaluation" ?

2013-06-10 Thread 'Mash
Thanks, I did use a comma to evaluate the variable but without the backtick which I believed caused that "old style backticks" warning. Quoting Nick Dokos : 'Mash writes: Resolved this via stackoverflow. (setq org-agenda-files (list org-dir)) Equivalently (setq org-agenda-files `(

Re: [O] org-agenda-files defvar directory "evaluation" ?

2013-06-10 Thread Nick Dokos
'Mash writes: > Resolved this via stackoverflow. > > (setq org-agenda-files (list org-dir)) > Equivalently (setq org-agenda-files `(,org-dir)) That's a backquote (on a US keyboard, it's the key to the left of the 1 key in the top row), not a normal quote. See (info "(elisp) Backquote") T

Re: [O] org-agenda-files defvar directory "evaluation" ?

2013-06-10 Thread 'Mash
Resolved this via stackoverflow. (setq org-agenda-files (list org-dir)) http://stackoverflow.com/questions/17020119/org-mode-org-agenda-files-defvar-directory-evaluation/17021834 Quoting 'Mash : Sorry not quite sure how to phrase the problem in the subject line there. I have the following se

[O] org-agenda-files defvar directory "evaluation" ?

2013-06-07 Thread 'Mash
Sorry not quite sure how to phrase the problem in the subject line there. I have the following setup in my .emacs ... (defvar org-dir "/home/mash/read/org/") And use it around such as ... (setq org-directory org-dir) (setq org-default-notes-file (concat org-dir "mash.org")) Now I understand th

Re: [O] org-agenda-files skips two files

2013-02-17 Thread Eric Abrahamsen
Memnon Anon writes: > Hi, > > Eric Abrahamsen writes: > >> I've noticed for a while that two org files in my ~/org directory never >> get added to org-agenda-files, and I can't figure out why. My >> org-agenda-files is set to '("~/org/"), and yet: >> >> (dolist (f (directory-files "~/org" t "org

Re: [O] org-agenda-files skips two files

2013-02-17 Thread Memnon Anon
Hi, Eric Abrahamsen writes: > I've noticed for a while that two org files in my ~/org directory never > get added to org-agenda-files, and I can't figure out why. My > org-agenda-files is set to '("~/org/"), and yet: > > (dolist (f (directory-files "~/org" t "org$")) > (unless (member f org-ag

[O] org-agenda-files skips two files

2013-02-16 Thread Eric Abrahamsen
I've noticed for a while that two org files in my ~/org directory never get added to org-agenda-files, and I can't figure out why. My org-agenda-files is set to '("~/org/"), and yet: (dolist (f (directory-files "~/org" t "org$")) (unless (member f org-agenda-files) (insert (format "%s: %s\n"