emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Default directory in org-agenda-mode
@ 2011-01-12 18:29 niels giesen
  2011-01-12 19:12 ` Nick Dokos
  2011-01-12 19:23 ` Tassilo Horn
  0 siblings, 2 replies; 4+ messages in thread
From: niels giesen @ 2011-01-12 18:29 UTC (permalink / raw)
  To: emacs-orgmode

Hi all,

I would like `default-directory' in `org-agenda-mode' to be the
value of `org-directory'. This is because I tend to start my
working day by opening the Agenda view, and then decide to open
some org file (which I all have inside `org-directory' and that
may or may not have items present in the specific Agenda view). 

To this end I tried doing the following:

#+begin_src emacs-lisp
  (add-to-list
   'default-directory-alist
   `(org-agenda-mode
     ,org-directory))
#+end_src    

But this does not work. Any ideas?

Regards, Niels.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-01-12 19:42 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-12 18:29 Default directory in org-agenda-mode niels giesen
2011-01-12 19:12 ` Nick Dokos
2011-01-12 19:41   ` Niels Giesen
2011-01-12 19:23 ` Tassilo Horn

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).