From: suvayu ali <fatkasuvayu+linux@gmail.com>
To: Brian van den Broek <brian.van.den.broek@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: feature suggestion: apply datetime prompt magic to selected region
Date: Sat, 8 Oct 2011 09:33:31 +0200 [thread overview]
Message-ID: <CAMXnza1VFyqrrptusph+OA8SojEr-+8ki9UQDn1Y1jg_qizg-A@mail.gmail.com> (raw)
In-Reply-To: <CAF6Daj+HVoLH-n8M-bDYr2GN5Uu-QUgkqr4OTRGfYE-wL_cn4A@mail.gmail.com>
On Fri, Oct 7, 2011 at 4:36 PM, Brian van den Broek
<brian.van.den.broek@gmail.com> wrote:
> What I was suggesting was it would be cool and a small time-saver if I
> could select the text "Tuesday at 3pm" and hit C-u C-c . and have the
> region replaced with the stamp <2011-10-11 Tue 15:00>, entirely
> bypassing the kill and yank steps. (Achim correctly suggested that
> what I want to do could be done with a keyboard macro. I still think
> it would be neat.)
Ah I see it now, you want the org-timestamp command to work on a
region. Maybe you can write your own function with lisp if you are
doing this too often. Should be quite simple to try.
GL
--
Suvayu
Open source is the future. It sets us free.
next prev parent reply other threads:[~2011-10-08 7:33 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-06 12:48 feature suggestion: apply datetime prompt magic to selected region Brian van den Broek
2011-10-06 19:46 ` Achim Gratz
2011-10-06 22:38 ` Brian van den Broek
2011-10-07 8:12 ` suvayu ali
2011-10-07 14:36 ` Brian van den Broek
2011-10-07 15:42 ` Nick Dokos
2011-10-08 7:33 ` suvayu ali [this message]
2011-10-24 6:00 ` Bastien
2011-10-25 16:56 ` Brian van den Broek
2011-10-26 7:56 ` Eric S Fraga
2011-10-26 12:00 ` Brian van den Broek
-- strict thread matches above, loose matches on Subject: below --
2011-10-06 12:40 Brian van den Broek
2011-12-28 16:18 ` Bastien
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=CAMXnza1VFyqrrptusph+OA8SojEr-+8ki9UQDn1Y1jg_qizg-A@mail.gmail.com \
--to=fatkasuvayu+linux@gmail.com \
--cc=brian.van.den.broek@gmail.com \
--cc=emacs-orgmode@gnu.org \
/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).