emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <carsten.dominik@gmail.com>
To: Jude DaShiell <jdashiel@shellworld.net>
Cc: Nick Dokos <nicholas.dokos@hp.com>, emacs-orgmode@gnu.org
Subject: Re: calendar date adjustments blocked
Date: Sat, 5 Nov 2011 18:56:21 +0100	[thread overview]
Message-ID: <4CFD73CC-4EAE-4900-80C3-6B03889767A2@gmail.com> (raw)
In-Reply-To: <alpine.BSF.2.01.1111051322270.12320@freire1.furyyjbeyq.arg>


On 5.11.2011, at 18:23, Jude DaShiell wrote:

> hitting -2 in the date field had no effect,

Bernt means typing into the minibuffer "-2" and then hitting RET

- Carsten

> what did work though was 
> shift-leftarrow though. On Sat, 5 Nov 2011, Nick Dokos wrote:
> 
>> Carsten Dominik <carsten.dominik@gmail.com> wrote:
>> 
>>> 
>>> On 5.11.2011, at 03:03, Nick Dokos wrote:
>>> 
>>>> Jude DaShiell <jdashiel@shellworld.net> wrote:
>>>> 
>>>>> I needed to enter information for two dates in org-mode and went into 
>>>>> calendar using c-c+! and got the current date as expected then hit c-b to 
>>>>> move the date to yesterday and pointer remained on today's date.  So I 
>>>>> ended up hitting <cr> on today's date and editing it in the actual org 
>>>>> file and filling the rest of my entry in after it.  Then I repeated the 
>>>>> operation for today and entered today's information.  I was a bit 
>>>>> surprised that the date was locked like that once calendar mode was 
>>>>> entered but managed a workaround anyway.
>>>>> 
>>>> 
>>>> I guess your problem is that the calendar is indeed popped up, but the cursor
>>>> is still in the daytime prompt in the minibuffer. As Bernt points out, typing
>>>> -2 at that point gets you to the right date.
>>>> 
>>>> The calendar seems to be for inveterate mouser users, not keyboard
>>>> types: even if I C-x o to the calendar window, the cursor ends up not on
>>>> today's date but off to the right somewhere and I get an error message:
>>>> 
>>>> ,----
>>>> | Error in post-command-hook (org-read-date-display): (buffer-read-only *Calendar*)
>>>> `----
>>>> 
>>>> Not sure what's going on there: I expected that after I switched windows
>>>> to the Calendar, my cursor would be on today's date.
>>> 
>>> The popup calender in Org is a special construct that hijacks key presses
>>> so that all control can be done from the minibuffer, without switching to the
>>> calender buffer itself.  This has side effects if you try to move
>>> into the calendar buffer window anyway.
>>> 
>>> Bernt showed one way to specify the date.  You can also click on the date
>>> to get it selected immediately.  Or you can use S-left twice to get the date
>>> selected with the shadow cursor in the calendar window.  There are more
>>> key presses that manipulate the calendar window from the minibuffer, see
>>> 
>>> http://orgmode.org/manual/Creating-timestamps.html#Creating-timestamps
>>> 
>> 
>> Thank you - time to hit the books (again). Of all people, I should have
>> known better than to post without checking the manual first.
>> 
>> Nick
>> 
>> 
> 
> Jude <jdashiel@shellworld.net>
> When people ask do you believe in Numerology, the proper reply for me at
> least is do you believe in a hammer?  The proper answer for me for both
> questions is no, they're both tools and to be used under appropriate
> circumstances.
> 

      reply	other threads:[~2011-11-05 17:56 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-04  6:12 calendar date adjustments blocked Jude DaShiell
2011-11-05  0:11 ` Bernt Hansen
2011-11-05  2:03 ` Nick Dokos
2011-11-05  6:26   ` Carsten Dominik
2011-11-05 10:30     ` Jude DaShiell
2011-11-05 11:11       ` Carsten Dominik
2011-11-05 15:29     ` Nick Dokos
2011-11-05 17:23       ` Jude DaShiell
2011-11-05 17:56         ` Carsten Dominik [this message]

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=4CFD73CC-4EAE-4900-80C3-6B03889767A2@gmail.com \
    --to=carsten.dominik@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=jdashiel@shellworld.net \
    --cc=nicholas.dokos@hp.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).