From: John Hendy <jw.hendy@gmail.com>
To: Bastien <bzg@altern.org>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: Capture question
Date: Sun, 6 Mar 2011 10:16:26 -0600 [thread overview]
Message-ID: <AANLkTikb6RmQ=whpm9HfkaYKhyx=NJdCbN9xdTRFfcaE@mail.gmail.com> (raw)
In-Reply-To: <87fwr0e695.fsf@gnu.org>
[-- Attachment #1: Type: text/plain, Size: 2243 bytes --]
On Sun, Mar 6, 2011 at 7:19 AM, Bastien <bzg@altern.org> wrote:
> Hi John,
>
> sorry for the late reply.
>
>
No problem.
> I had difficulties parsing your email because it brings many issues
> (better to have one email per issue) and it's not clear how the odd
> behavior you observe depends on the (odd) structure/templates you are
> using.
>
I can't be that odd :)
>
> Can you restate your problems in a way that help me grasp them?
>
>
Sure.
1) I think this is solved. I was trying to file under a pre-existing
headling (* top-level) but my template was like so:
,-----
| (setq org-capture-templates
| '(("t" "todo" entry (file+headline "~/org/2011-02Feb.org" "Tracking")
| "* TODO %?\n")))
`-----
I experimented with two stars on the TODO and it worked. Sorry, I probably
should have posted back that it was solved, but after no replies I kind of
thought this email was dead so I let it die :)
2) The manual says this as to one of the options for the capture target:
,-----
| (function function-finding-location)
| Most general way, write your own function to find both file and location
`-----
Since my files always use the format YYYY-##MMM.org (2011-03Mar.org), I
thought I could sure find a function that finds the current file rather than
changing my capture target manually once a month.
3) I think this one was pretty clear... the manual says that if I do this:
,-----
| (define-key global-map "\C-c c"
| (lambda () (interactive) (org-capture "t")))
`-----
I won't have to manually select "t" (TODO) for my capture template via the
interactive window. Since I only use one capture template, it would be
fantastic to have it automatically use it instead of asking me what I want
to use and then I press another keystroke to select one template out of one
available template.
I know it's hard, but everything that makes things easier for me makes
> them easier for everyone - as I'll then have more time to actually fix
> things.
>
>
No problem -- I'll break things up better next time. I realize longer,
jumbled emails will probably not be as enticing to dive into since everyone
is volunteering from other things anyway!
Thanks for the assistance,
John
> Thanks in advance!
>
> --
> Bastien
>
[-- Attachment #2: Type: text/html, Size: 4165 bytes --]
next prev parent reply other threads:[~2011-03-06 16:16 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-25 0:02 Capture question John Hendy
2011-03-06 13:19 ` Bastien
2011-03-06 16:16 ` John Hendy [this message]
2011-03-06 17:24 ` Bastien
2011-03-06 18:12 ` John Hendy
2011-03-06 19:47 ` suvayu ali
2011-03-06 20:06 ` John Hendy
2011-03-06 20:33 ` Suvayu Ali
2011-03-19 14:41 ` Matt Lundin
2011-03-19 14:46 ` Suvayu Ali
2011-03-07 8:24 ` Bastien
-- strict thread matches above, loose matches on Subject: below --
2011-06-02 8:30 Capture Question Robert Inder
2011-08-11 16:52 capture question Mark Scala
2011-08-11 23:32 ` Bernt Hansen
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='AANLkTikb6RmQ=whpm9HfkaYKhyx=NJdCbN9xdTRFfcaE@mail.gmail.com' \
--to=jw.hendy@gmail.com \
--cc=bzg@altern.org \
--cc=emacs-orgmode@gnu.org \
/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).