From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: things I don't understand about tables Date: Tue, 13 Nov 2012 00:30:13 -0500 Message-ID: <3878.1352784613@alphaville> References: <8650.1352765561@alphaville.americas.hpqcorp.net> Reply-To: nicholas.dokos@hp.com Return-path: Received: from eggs.gnu.org ([208.118.235.92]:35994) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TY94l-0006Fj-Lj for emacs-orgmode@gnu.org; Tue, 13 Nov 2012 00:30:22 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TY94i-0003Pc-J4 for emacs-orgmode@gnu.org; Tue, 13 Nov 2012 00:30:19 -0500 Received: from g6t0184.atlanta.hp.com ([15.193.32.61]:30597) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TY94i-0003PS-E7 for emacs-orgmode@gnu.org; Tue, 13 Nov 2012 00:30:16 -0500 In-Reply-To: Message from Jude DaShiell of "Mon, 12 Nov 2012 19:43:39 EST." List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Jude DaShiell Cc: emacs-orgmode@gnu.org Jude DaShiell wrote: > On Mon, 12 Nov 2012, Nick Dokos wrote: > > > Jude DaShiell wrote: > > > > > Why is it when I try putting a date in this table using the calendar I get > > > no date entered when in a blank field and hear the message: > > > Before first headline at position 376 in buffer medlog.org > > > > > > > How are you trying to insert the date? > > > > This error is usually produced because some function is trying to do an > > org-back-to-heading, i.e. the function does not expect the table to be > > at top level. In particular, C-c C-d (org-deadline) and C-c C-s (org-schedule) > > *want* a headline and insert the scheduling information after the headline, > > not in the table. > > > > OTOH, I tried entering a date into a table at top level with C-c . > > which is bound to org-time-stamp, and the date gets inserted with no error > > (and S-RET also works to increment the date in subsequent rows as > > Michael Brand mentioned) > > > > Org-mode version 7.9.2 (release_7.9.2-577-gb0a051 @ /home/nick/elisp/org-mode/lisp/) > > > > Nick > > > > > > First I try with c-c c-d that didn't get me into the calendar. Next I try > with c-c . and that got me into the calendar and on current date. > Unfortunately, c-b c-b failed to move me two days back from the current > date. This is with emacs 24.x on debian. > When org-read-date pops up a calendar, you are not "in the calendar", you are in the minibuffer with the prompt. You can select previous dates by using something like -2 or you can use a set of calendar commands that are bound to keys in the minibuffer. In particular, you can move the cursor in the calendar to the previous day with S-. There are similar keys for moving forward/backward through days, weeks, months and 3-month periods. All of these are documented in the manual: (info "(org)The date/time prompt") AFAICT, you cannot go "into the calendar": you can switch buffers, but even so the calendar buffer does not seem to recognize any keys. Not entirely sure that I've got this right (and I certainly don't understand what's going on), but it seems to be a correct description of the behavior. Nick