From: Nick Dokos <nicholas.dokos@hp.com>
To: Jude DaShiell <jdashiel@shellworld.net>
Cc: emacs-orgmode@gnu.org
Subject: Re: things I don't understand about tables
Date: Tue, 13 Nov 2012 00:30:13 -0500 [thread overview]
Message-ID: <3878.1352784613@alphaville> (raw)
In-Reply-To: Message from Jude DaShiell <jdashiel@shellworld.net> of "Mon, 12 Nov 2012 19:43:39 EST." <alpine.BSF.2.01.1211121940400.59023@freire1.furyyjbeyq.arg>
Jude DaShiell <jdashiel@shellworld.net> wrote:
> On Mon, 12 Nov 2012, Nick Dokos wrote:
>
> > Jude DaShiell <jdashiel@shellworld.net> 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-<Left>. 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
next prev parent reply other threads:[~2012-11-13 5:30 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-12 23:34 things I don't understand about tables Jude DaShiell
2012-11-13 0:12 ` Nick Dokos
2012-11-13 0:43 ` Jude DaShiell
2012-11-13 5:30 ` Nick Dokos [this message]
2012-11-13 23:05 ` Jude DaShiell
2012-11-13 23:40 ` Jude DaShiell
2012-11-14 1:07 ` Nick Dokos
2012-11-14 3:38 ` Jude DaShiell
2012-11-14 4:17 ` Nick Dokos
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=3878.1352784613@alphaville \
--to=nicholas.dokos@hp.com \
--cc=emacs-orgmode@gnu.org \
--cc=jdashiel@shellworld.net \
/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).