From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Default date and closing all org buffers Date: Wed, 19 Sep 2007 23:06:34 +0200 Message-ID: <98c0d4eafb708acbc2026cb78668f3f3@science.uva.nl> References: Mime-Version: 1.0 (Apple Message framework v624) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IY6kq-0004VC-IG for emacs-orgmode@gnu.org; Wed, 19 Sep 2007 17:06:40 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IY6kn-0004UZ-N3 for emacs-orgmode@gnu.org; Wed, 19 Sep 2007 17:06:40 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IY6kn-0004UV-JP for emacs-orgmode@gnu.org; Wed, 19 Sep 2007 17:06:37 -0400 Received: from korteweg.uva.nl ([146.50.98.70]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IY6kn-0006V4-4e for emacs-orgmode@gnu.org; Wed, 19 Sep 2007 17:06:37 -0400 In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Sivaram Neelakantan Cc: emacs-orgmode@gnu.org 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