* Picking a date using M-x calendar UI from elisp
@ 2015-07-21 14:30 Diogo Ramos
2015-07-21 17:55 ` Jorge A. Alfaro-Murillo
0 siblings, 1 reply; 3+ messages in thread
From: Diogo Ramos @ 2015-07-21 14:30 UTC (permalink / raw)
To: help-gnu-emacs
Is it possible to use the M-x calendar UI from elisp to let the user
pick a date?
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Picking a date using M-x calendar UI from elisp
2015-07-21 14:30 Picking a date using M-x calendar UI from elisp Diogo Ramos
@ 2015-07-21 17:55 ` Jorge A. Alfaro-Murillo
2015-07-21 18:05 ` Diogo Ramos
0 siblings, 1 reply; 3+ messages in thread
From: Jorge A. Alfaro-Murillo @ 2015-07-21 17:55 UTC (permalink / raw)
To: help-gnu-emacs
Diogo Ramos writes:
> Is it possible to use the M-x calendar UI from elisp to let the
> user pick a date?
You could use org built-in functions:
#+BEGIN_SRC emacs-lisp
(format-time-string "%Y-%m-%d" (org-time-string-to-time
(org-read-date)))
#+END_SRC
Best,
--
Jorge.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Picking a date using M-x calendar UI from elisp
2015-07-21 17:55 ` Jorge A. Alfaro-Murillo
@ 2015-07-21 18:05 ` Diogo Ramos
0 siblings, 0 replies; 3+ messages in thread
From: Diogo Ramos @ 2015-07-21 18:05 UTC (permalink / raw)
To: Jorge A. Alfaro-Murillo; +Cc: help-gnu-emacs
>> Is it possible to use the M-x calendar UI from elisp to let the
>> user pick a date?
>
> You could use org built-in functions:
>
> #+BEGIN_SRC emacs-lisp
> (format-time-string "%Y-%m-%d" (org-time-string-to-time
> (org-read-date)))
> #+END_SRC
Ah, nice. Thank you.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-07-21 18:05 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-21 14:30 Picking a date using M-x calendar UI from elisp Diogo Ramos
2015-07-21 17:55 ` Jorge A. Alfaro-Murillo
2015-07-21 18:05 ` Diogo Ramos
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).