emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <dominik@science.uva.nl>
To: Sivaram Neelakantan <nsivaram.net@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Default date and closing all org buffers
Date: Wed, 19 Sep 2007 23:06:34 +0200	[thread overview]
Message-ID: <98c0d4eafb708acbc2026cb78668f3f3@science.uva.nl> (raw)
In-Reply-To: <ud4weppn9.fsf@gmail.com>


On Sep 19, 2007, at 18:48, Sivaram Neelakantan wrote:

> When I use Org mode to record a TODO, the date is more often than not,
> some day in the future. C-c C-s defaults to the current date but can
> it be presented as an editable field in the minibuffer?  That way, I
> save a few keystrokes.  The same for the C-c C-d deadline option.

I doubt that an editable field will save you keystrokes.  You need to 
look, and
to move the cursor etc.  The Org-mode function that is reading your
input is quite smart, so you rarely need specify a full date.  For a 
full
description read the documentation of the `org-read-date' function.
The following is cut and paste from there:

The prompt will suggest to enter an ISO date, but you can also enter 
anything
which will at least partially be understood by `parse-time-string'.
Unrecognized parts of the date will default to the current day, month, 
year,
hour and minute.  For example,
   3-2-5         --> 2003-02-05
   feb 15        --> currentyear-02-15
   sep 12 9      --> 2009-09-12
   12:45         --> today 12:45
   22 sept 0:34  --> currentyear-09-22 0:34
   12            --> currentyear-currentmonth-12
   Fri           --> nearest Friday (today or later)
   +4            --> four days from today (only if +N is the only thing 
given)

> I use C-tab to cycle through the buffers.  While in org mode, after
> using C-c a a  and having a quick look at the days agenda, I rarely go
> back to it, except to close the items.  But I do spend a lot of time
> cycling through 4/5 buffers and when I hit the org buffers, the
> cycling stops as c-tab is mapped differently in org-mode.
>
> What I'd like, is a configuration to close-all-agenda-files/buffers,
> so that one can go back to the default action of c-tab of mine.  In
> org-mode I do like the s-tab/c-tab behaviour, except that when cycling
> through buffers, it gets in the way; so I think there should be a way
> to close/kill all org buffers once you're out of org buffers.
>
> I usually have 6 org files that I put my different action items in.

If you exit the agenda with "x" instead of "q", all buffers that were 
loaded
by the agenda-constructing command will be killed (when the buffer was 
modified
you will be asked if you want to save it).   This might already be 
enough for you?

- Carsten

  reply	other threads:[~2007-09-19 21:06 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-19 16:48 Default date and closing all org buffers Sivaram Neelakantan
2007-09-19 21:06 ` Carsten Dominik [this message]
2007-09-21 16:38   ` Sivaram Neelakantan

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=98c0d4eafb708acbc2026cb78668f3f3@science.uva.nl \
    --to=dominik@science.uva.nl \
    --cc=emacs-orgmode@gnu.org \
    --cc=nsivaram.net@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).