emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric Abrahamsen <eric@ericabrahamsen.net>
To: emacs-orgmode@gnu.org
Subject: Re: Adding an item to the agenda from the agenda view
Date: Tue, 06 Mar 2018 15:06:34 -0800	[thread overview]
Message-ID: <87muzk3ith.fsf@ericabrahamsen.net> (raw)
In-Reply-To: 20180306211512.GA4916@pema

Shérab <Sebastien.Hinderer@ens-lyon.org> writes:

> Dear all,

[...]

> When I want to schedule a dinner with John, what I currently do is:
>
> 1. C-c a a
>
> 2. Look for a date
>
> 3. (say I find that April 1st isalright)
>
> 4. quit the agenda view
>
> 5. Visit the buffer corresponding to ~/gtd/agenda.org
>
> 6. Go to the end of that buffer with M->
>
> 7. Add a heading like
> * Dinner with John
>
> 8. Use C-c . to add the date, 1 apr <ret>

Yup, it's "k" in the Agenda that you want. First, set up your
org-capture templates appropriately. I've got one for exactly this
purpose that looks like:

("e" "Event" entry (file "~/org/schedule.org")
 "* %?\n%^T")

Any capture template that has one of the "t/T" expansion elements will
default to the date under point in the Agenda. So after step 3 above,
hit "k", choose this template, and it will help you fill in the correct
information. "C-c C-c", and you're done. You actually never have to look
at the agenda.org file.

Eric

  reply	other threads:[~2018-03-06 23:09 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-04 22:22 Adding an item to the agenda from the agenda view Shérab
2018-03-05  6:52 ` Eric S Fraga
2018-03-05  9:05   ` Neil Jerram
2018-03-05 10:31     ` Eric S Fraga
2018-03-05 17:50       ` Manuel Hermenegildo
2018-03-05 19:20       ` Eduardo Mercovich
2018-03-06 21:15         ` Shérab
2018-03-06 23:06           ` Eric Abrahamsen [this message]
2018-03-07  7:13           ` Eric S Fraga
2018-03-09 19:23             ` Shérab
2018-03-09 21:27               ` Nick Dokos
2018-03-09 21:45                 ` Shérab

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=87muzk3ith.fsf@ericabrahamsen.net \
    --to=eric@ericabrahamsen.net \
    --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).