From: Kyle Meyer <kyle@kyleam.com>
To: Thorsten Jolitz <tjolitz@gmail.com>, Noah Slater <nslater@apache.org>
Cc: emacs-orgmode@gnu.org
Subject: Re: Command to open up any agenda file?
Date: Mon, 01 Sep 2014 16:43:34 -0400 [thread overview]
Message-ID: <87zjejcbrd.fsf@kmlap.domain.org> (raw)
In-Reply-To: <87mwaj2jag.fsf@gmail.com> (Thorsten Jolitz's message of "Mon, 01 Sep 2014 22:11:03 +0200")
Thorsten Jolitz <tjolitz@gmail.com> wrote:
> Noah Slater <nslater@apache.org> 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: " (org-agenda-files))))
(find-file file))
#+end_src
next prev parent reply other threads:[~2014-09-01 20:42 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-01 19:59 Command to open up any agenda file? Noah Slater
2014-09-01 20:11 ` Thorsten Jolitz
2014-09-01 20:43 ` Kyle Meyer [this message]
2014-09-01 20:58 ` Kyle Meyer
2014-09-02 12:11 ` Noah Slater
2014-09-02 15:20 ` Kyle Meyer
2014-09-03 10:03 ` Eric S Fraga
2014-09-02 1:55 ` Eric Abrahamsen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87zjejcbrd.fsf@kmlap.domain.org \
--to=kyle@kyleam.com \
--cc=emacs-orgmode@gnu.org \
--cc=nslater@apache.org \
--cc=tjolitz@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).