emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Commas in {{date(FORMAT)}}}
@ 2009-05-14 21:03 Dale Smith
  2009-05-15 16:37 ` Dale Smith
  2009-05-16 17:39 ` Carsten Dominik
  0 siblings, 2 replies; 5+ messages in thread
From: Dale Smith @ 2009-05-14 21:03 UTC (permalink / raw)
  To: emacs-orgmode

I'm confused about the value of FORMAT in {{{date(FORMAT)}}}.

I wanted to use "%B %e, %Y", but I have two problems.  With the
quotes, I get an "eval: End of file during parsing" message.  Without
the quotes, processing stops at the comma, expanding to "May 14"
instead of "May 14, 2009".

Thanks,
  -Dale

-- 
Dale P. Smith
dales@vtiinstruments.com
216-447-4059 x2018
216-447-8951 FAX

(Company mandated disclaimer follows...)

The information in this e-mail and any attachments is intended solely
for use by the recipient(s) to whom this e-mail is addressed and may
contain confidential and/or privileged information which is exempt
from disclosure.  If you are not an intended recipient, or an employee
or agent responsible for delivering this message to the intended
recipient, you are hereby notified that you have received this e-mail
and any attachments in error and that dissemination, distribution,
review or copying of this e-mail and its attachments is strictly
prohibited.  If you have received this e-mail in error, please notify
the sender immediately and delete all electronic and paper copies of
this e-mail as well as any attachments.
Thank you.

http://www.vtiinstruments.com/images/vtiemaillogo.gif

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

* Re: Commas in {{date(FORMAT)}}}
  2009-05-14 21:03 Commas in {{date(FORMAT)}}} Dale Smith
@ 2009-05-15 16:37 ` Dale Smith
  2009-05-16 17:39 ` Carsten Dominik
  1 sibling, 0 replies; 5+ messages in thread
From: Dale Smith @ 2009-05-15 16:37 UTC (permalink / raw)
  To: emacs-orgmode@gnu.org

Dale Smith <dsmith@vtiinstruments.com> writes:

> I'm confused about the value of FORMAT in {{{date(FORMAT)}}}.
>
> I wanted to use "%B %e, %Y", but I have two problems.  With the
> quotes, I get an "eval: End of file during parsing" message.  Without
> the quotes, processing stops at the comma, expanding to "May 14"
> instead of "May 14, 2009".

(Apologies about answering my own mails and all that.)

Using "\x2c" instead of "," seems to work nicely.

So {{{date(%B %e\x2c %Y)}}} gives me what I was looking for.

-Dale

-- 
Dale P. Smith
dales@vtiinstruments.com
216-447-4059 x2018
216-447-8951 FAX

(Company mandated disclaimer follows...)

The information in this e-mail and any attachments is intended solely
for use by the recipient(s) to whom this e-mail is addressed and may
contain confidential and/or privileged information which is exempt
from disclosure.  If you are not an intended recipient, or an employee
or agent responsible for delivering this message to the intended
recipient, you are hereby notified that you have received this e-mail
and any attachments in error and that dissemination, distribution,
review or copying of this e-mail and its attachments is strictly
prohibited.  If you have received this e-mail in error, please notify
the sender immediately and delete all electronic and paper copies of
this e-mail as well as any attachments.
Thank you.

http://www.vtiinstruments.com/images/vtiemaillogo.gif

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

* Re: Commas in {{date(FORMAT)}}}
  2009-05-14 21:03 Commas in {{date(FORMAT)}}} Dale Smith
  2009-05-15 16:37 ` Dale Smith
@ 2009-05-16 17:39 ` Carsten Dominik
  2009-05-18 15:21   ` Dale Smith
  1 sibling, 1 reply; 5+ messages in thread
From: Carsten Dominik @ 2009-05-16 17:39 UTC (permalink / raw)
  To: Dale Smith; +Cc: emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 1842 bytes --]


On May 14, 2009, at 11:03 PM, Dale Smith wrote:

> I'm confused about the value of FORMAT in {{{date(FORMAT)}}}.
>
> I wanted to use "%B %e, %Y", but I have two problems.  With the
> quotes, I get an "eval: End of file during parsing" message.  Without
> the quotes, processing stops at the comma, expanding to "May 14"
> instead of "May 14, 2009".
>
> Thanks,
>  -Dale

Wow, I knew this report was coming, but I had not at all
expected it so fast.

"," is the (undocumented) argument separator for Org macros.
Actually, I am changing it now to ";", so that your example
should now directly work.  To include a semicolon in the date
format, use "\;".

HTH

- Carsten

>
> -- 
> Dale P. Smith
> dales@vtiinstruments.com
> 216-447-4059 x2018
> 216-447-8951 FAX
>
> (Company mandated disclaimer follows...)
>
> The information in this e-mail and any attachments is intended solely
> for use by the recipient(s) to whom this e-mail is addressed and may
> contain confidential and/or privileged information which is exempt
> from disclosure.  If you are not an intended recipient, or an employee
> or agent responsible for delivering this message to the intended
> recipient, you are hereby notified that you have received this e-mail
> and any attachments in error and that dissemination, distribution,
> review or copying of this e-mail and its attachments is strictly
> prohibited.  If you have received this e-mail in error, please notify
> the sender immediately and delete all electronic and paper copies of
> this e-mail as well as any attachments.
> Thank you.
>
> http://www.vtiinstruments.com/images/vtiemaillogo.gif
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[-- Attachment #1.2: Type: text/html, Size: 2359 bytes --]

[-- Attachment #2: Type: text/plain, Size: 204 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

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

* Re: Commas in {{date(FORMAT)}}}
  2009-05-16 17:39 ` Carsten Dominik
@ 2009-05-18 15:21   ` Dale Smith
  2009-06-23 10:07     ` Carsten Dominik
  0 siblings, 1 reply; 5+ messages in thread
From: Dale Smith @ 2009-05-18 15:21 UTC (permalink / raw)
  To: Carsten Dominik; +Cc: emacs-orgmode@gnu.org

Carsten Dominik <carsten.dominik@gmail.com> writes:

> On May 14, 2009, at 11:03 PM, Dale Smith wrote:
>
>   I'm confused about the value of FORMAT in {{{date(FORMAT)}}}.
>
>   I wanted to use "%B %e, %Y", but I have two problems.  With the
>   quotes, I get an "eval: End of file during parsing" message.  Without
>   the quotes, processing stops at the comma, expanding to "May 14"
>   instead of "May 14, 2009".
>
>   Thanks,
> -Dale
>
> Wow, I knew this report was coming, but I had not at all
> expected it so fast.

heh.

> "," is the (undocumented) argument separator for Org macros.
> Actually, I am changing it now to ";", so that your example
> should now directly work.  To include a semicolon in the date
> format, use "\;".

Thanks.
  -Dale

-- 
Dale P. Smith
dales@vtiinstruments.com
216-447-4059 x2018
216-447-8951 FAX

(Company mandated disclaimer follows...)

The information in this e-mail and any attachments is intended solely
for use by the recipient(s) to whom this e-mail is addressed and may
contain confidential and/or privileged information which is exempt
from disclosure.  If you are not an intended recipient, or an employee
or agent responsible for delivering this message to the intended
recipient, you are hereby notified that you have received this e-mail
and any attachments in error and that dissemination, distribution,
review or copying of this e-mail and its attachments is strictly
prohibited.  If you have received this e-mail in error, please notify
the sender immediately and delete all electronic and paper copies of
this e-mail as well as any attachments.
Thank you.

http://www.vtiinstruments.com/images/vtiemaillogo.gif

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

* Re: Commas in {{date(FORMAT)}}}
  2009-05-18 15:21   ` Dale Smith
@ 2009-06-23 10:07     ` Carsten Dominik
  0 siblings, 0 replies; 5+ messages in thread
From: Carsten Dominik @ 2009-06-23 10:07 UTC (permalink / raw)
  To: Dale Smith; +Cc: emacs-orgmode@gnu.org


On May 18, 2009, at 5:21 PM, Dale Smith wrote:

> Carsten Dominik <carsten.dominik@gmail.com> writes:
>
>> On May 14, 2009, at 11:03 PM, Dale Smith wrote:
>>
>>  I'm confused about the value of FORMAT in {{{date(FORMAT)}}}.
>>
>>  I wanted to use "%B %e, %Y", but I have two problems.  With the
>>  quotes, I get an "eval: End of file during parsing" message.   
>> Without
>>  the quotes, processing stops at the comma, expanding to "May 14"
>>  instead of "May 14, 2009".
>>
>>  Thanks,
>> -Dale
>>
>> Wow, I knew this report was coming, but I had not at all
>> expected it so fast.
>
> heh.
>
>> "," is the (undocumented) argument separator for Org macros.
>> Actually, I am changing it now to ";", so that your example
>> should now directly work.  To include a semicolon in the date
>> format, use "\;".

Actually, I am changing it back to ",", this is more natural,
please escape "," like "\'" after your next update from  git....

- Carsten

>
> Thanks.
>  -Dale
>
> -- 
> Dale P. Smith
> dales@vtiinstruments.com
> 216-447-4059 x2018
> 216-447-8951 FAX
>
> (Company mandated disclaimer follows...)
>
> The information in this e-mail and any attachments is intended solely
> for use by the recipient(s) to whom this e-mail is addressed and may
> contain confidential and/or privileged information which is exempt
> from disclosure.  If you are not an intended recipient, or an employee
> or agent responsible for delivering this message to the intended
> recipient, you are hereby notified that you have received this e-mail
> and any attachments in error and that dissemination, distribution,
> review or copying of this e-mail and its attachments is strictly
> prohibited.  If you have received this e-mail in error, please notify
> the sender immediately and delete all electronic and paper copies of
> this e-mail as well as any attachments.
> Thank you.
>
> http://www.vtiinstruments.com/images/vtiemaillogo.gif

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

end of thread, other threads:[~2009-06-23 10:07 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-05-14 21:03 Commas in {{date(FORMAT)}}} Dale Smith
2009-05-15 16:37 ` Dale Smith
2009-05-16 17:39 ` Carsten Dominik
2009-05-18 15:21   ` Dale Smith
2009-06-23 10:07     ` Carsten Dominik

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