emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Prompts for `C-c .' and `C-c !'
@ 2012-01-23 16:01 François Pinard
  2012-01-23 17:50 ` Bernt Hansen
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: François Pinard @ 2012-01-23 16:01 UTC (permalink / raw)
  To: emacs-orgmode

Hi, Org people! :-)

Commands `C-c .' and `C-c !' both insert a time stamp in the buffer, and
the date is prompted in the mini-buffer in the same way for both
commands.  One of them is going to insert <DATE>, the other [DATE].  The
mini-buffer always show <DATE>, like this:

   Date+time [2012-01-23]:   => <2012-01-23 lun>

Could it be:

   Date+time [2012-01-23]:   => [2012-01-23 lun]

when appropriate?  This feedback would be useful (to me at least), in
case I mixed `C-c .' and `C-c !' in my head, and am using the wrong one.

François

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

* Re: Prompts for `C-c .' and `C-c !'
  2012-01-23 16:01 Prompts for `C-c .' and `C-c !' François Pinard
@ 2012-01-23 17:50 ` Bernt Hansen
  2012-01-23 19:23 ` Lolo le 13
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 6+ messages in thread
From: Bernt Hansen @ 2012-01-23 17:50 UTC (permalink / raw)
  To: François Pinard; +Cc: emacs-orgmode

pinard@iro.umontreal.ca (François Pinard) writes:

> Hi, Org people! :-)
>
> Commands `C-c .' and `C-c !' both insert a time stamp in the buffer, and
> the date is prompted in the mini-buffer in the same way for both
> commands.  One of them is going to insert <DATE>, the other [DATE].  The
> mini-buffer always show <DATE>, like this:
>
>    Date+time [2012-01-23]:   => <2012-01-23 lun>
>
> Could it be:
>
>    Date+time [2012-01-23]:   => [2012-01-23 lun]
>
> when appropriate?  This feedback would be useful (to me at least), in

That's probably not worth the effort.  If you use the wrong one just put
point on the [ or < and hit S-up arrow to switch it.

Regards,
Bernt

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

* Re: Prompts for `C-c .' and `C-c !'
  2012-01-23 16:01 Prompts for `C-c .' and `C-c !' François Pinard
  2012-01-23 17:50 ` Bernt Hansen
@ 2012-01-23 19:23 ` Lolo le 13
  2012-01-23 21:25   ` Bernt Hansen
  2012-01-24  4:09 ` Leo
  2012-01-24 14:35 ` Bastien
  3 siblings, 1 reply; 6+ messages in thread
From: Lolo le 13 @ 2012-01-23 19:23 UTC (permalink / raw)
  To: emacs-orgmode

Hi !

If I understood well, I think that the difference between C-c . and C-c ! is that the timestamp is active or not.

<DATE>  is an active date that appear in agenda view. So you have ti use it if you want to see the task scheduled or deadlined.

[DATE] format does not allow the timestamp to interact with agenda view. It is used to indicate date just for information.

Lolo

Le 23/01/2012 17:01, François Pinard a écrit :

> Hi, Org people! :-)
>
> Commands `C-c .' and `C-c !' both insert a time stamp in the buffer, and
> the date is prompted in the mini-buffer in the same way for both
> commands.  One of them is going to insert<DATE>, the other [DATE].  The
> mini-buffer always show<DATE>, like this:
>
>     Date+time [2012-01-23]:   =>  <2012-01-23 lun>
>
> Could it be:
>
>     Date+time [2012-01-23]:   =>  [2012-01-23 lun]
>
> when appropriate?  This feedback would be useful (to me at least), in
> case I mixed `C-c .' and `C-c !' in my head, and am using the wrong one.
>
> François
>

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

* Re: Prompts for `C-c .' and `C-c !'
  2012-01-23 19:23 ` Lolo le 13
@ 2012-01-23 21:25   ` Bernt Hansen
  0 siblings, 0 replies; 6+ messages in thread
From: Bernt Hansen @ 2012-01-23 21:25 UTC (permalink / raw)
  To: Lolo le 13; +Cc: emacs-orgmode

Lolo le 13 <lolole13@gmail.com> writes:

> Hi !
>
> If I understood well, I think that the difference between C-c . and
> C-c ! is that the timestamp is active or not.
>
> <DATE> is an active date that appear in agenda view. So you have ti
> use it if you want to see the task scheduled or deadlined.
>
> [DATE] format does not allow the timestamp to interact with agenda
> view. It is used to indicate date just for information.

You can include inactive timestamps in the agenda with the [ and ] keys.

-Bernt

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

* Re: Prompts for `C-c .' and `C-c !'
  2012-01-23 16:01 Prompts for `C-c .' and `C-c !' François Pinard
  2012-01-23 17:50 ` Bernt Hansen
  2012-01-23 19:23 ` Lolo le 13
@ 2012-01-24  4:09 ` Leo
  2012-01-24 14:35 ` Bastien
  3 siblings, 0 replies; 6+ messages in thread
From: Leo @ 2012-01-24  4:09 UTC (permalink / raw)
  To: emacs-orgmode

On 2012-01-24 00:01 +0800, François Pinard wrote:
> Commands `C-c .' and `C-c !' both insert a time stamp in the buffer, and
> the date is prompted in the mini-buffer in the same way for both
> commands.  One of them is going to insert <DATE>, the other [DATE].  The
> mini-buffer always show <DATE>, like this:
>
>    Date+time [2012-01-23]:   => <2012-01-23 lun>
>
> Could it be:
>
>    Date+time [2012-01-23]:   => [2012-01-23 lun]

I think this is a good suggestion. <> is unconditionally set in
org-time-stamp-custom-formats but it can be fixed by tweaking
org-read-date-display.

Leo

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

* Re: Prompts for `C-c .' and `C-c !'
  2012-01-23 16:01 Prompts for `C-c .' and `C-c !' François Pinard
                   ` (2 preceding siblings ...)
  2012-01-24  4:09 ` Leo
@ 2012-01-24 14:35 ` Bastien
  3 siblings, 0 replies; 6+ messages in thread
From: Bastien @ 2012-01-24 14:35 UTC (permalink / raw)
  To: François Pinard; +Cc: emacs-orgmode

Hi François,

pinard@iro.umontreal.ca (François Pinard) writes:

> Could it be:
>
>    Date+time [2012-01-23]:   => [2012-01-23 lun]
>
> when appropriate?

This is now the case.  

Thanks for the suggestion.

-- 
 Bastien

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

end of thread, other threads:[~2012-01-24 14:34 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-01-23 16:01 Prompts for `C-c .' and `C-c !' François Pinard
2012-01-23 17:50 ` Bernt Hansen
2012-01-23 19:23 ` Lolo le 13
2012-01-23 21:25   ` Bernt Hansen
2012-01-24  4:09 ` Leo
2012-01-24 14:35 ` Bastien

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