[Top][All Lists]

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

Re: [O] Command to open up any agenda file?

From: Kyle Meyer
Subject: Re: [O] Command to open up any agenda file?
Date: Mon, 01 Sep 2014 16:43:34 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

Thorsten Jolitz <address@hidden> wrote:
> Noah Slater <address@hidden> writes:
> Hello,
>> I quite like C-c b (org-iswitchb) but it only works if the file is
>> already open. What I really want is a command that lets me tab
>> complete any agenda file at all. Does such a thing exist? I couldn't
>> find it in the docs.
> don't know if this exists in Org, but defining you agenda-files as a
> project you might be able to use projectile:

I don't know of any Org function that does this either (and, as
suggested, I prefer projectile for this), but if you just want a single
function, I think it could be as simple as this:

#+begin_src elisp
  (defun find-org-agenda-file (file)
    (interactive (list (org-completing-read "Agenda file: " 
    (find-file file))

reply via email to

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