emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Default date and closing all org buffers
@ 2007-09-19 16:48 Sivaram Neelakantan
  2007-09-19 21:06 ` Carsten Dominik
  0 siblings, 1 reply; 3+ messages in thread
From: Sivaram Neelakantan @ 2007-09-19 16:48 UTC (permalink / raw)
  To: emacs-orgmode

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 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.

 sivaram
 -- 

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Default date and closing all org buffers
  2007-09-19 16:48 Default date and closing all org buffers Sivaram Neelakantan
@ 2007-09-19 21:06 ` Carsten Dominik
  2007-09-21 16:38   ` Sivaram Neelakantan
  0 siblings, 1 reply; 3+ messages in thread
From: Carsten Dominik @ 2007-09-19 21:06 UTC (permalink / raw)
  To: Sivaram Neelakantan; +Cc: emacs-orgmode


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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Default date and closing all org buffers
  2007-09-19 21:06 ` Carsten Dominik
@ 2007-09-21 16:38   ` Sivaram Neelakantan
  0 siblings, 0 replies; 3+ messages in thread
From: Sivaram Neelakantan @ 2007-09-21 16:38 UTC (permalink / raw)
  To: emacs-orgmode

Carsten Dominik <dominik@science.uva.nl> writes:

> 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.
>

[...]

> --> four days from today (only if +N is the only thing given)

That is really neat.  This is better than I expected.

[...]

>
> 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?

Excellent!  Many thanks for that.

[...]



 sivaram
 -- 

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-09-21 16:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-19 16:48 Default date and closing all org buffers Sivaram Neelakantan
2007-09-19 21:06 ` Carsten Dominik
2007-09-21 16:38   ` Sivaram Neelakantan

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).