From: Eric S Fraga <e.fraga@ucl.ac.uk>
To: Brian van den Broek <brian.van.den.broek@gmail.com>
Cc: Bastien <bzg@altern.org>, emacs-orgmode@gnu.org
Subject: Re: feature suggestion: apply datetime prompt magic to selected region
Date: Wed, 26 Oct 2011 08:56:19 +0100 [thread overview]
Message-ID: <87aa8okwyk.fsf@ucl.ac.uk> (raw)
In-Reply-To: <CAF6Daj+4vGJ+0Yx8kpd+4eKX-2h8Yi7q0d5a7Ay5crQh4bnRrg@mail.gmail.com> (Brian van den Broek's message of "Tue, 25 Oct 2011 18:56:56 +0200")
Brian van den Broek <brian.van.den.broek@gmail.com> writes:
[...]
> Various people upthread convinced me that my feature request wasn't
> really worth it. (I do hope it didn't cost you too much time!) So, I
> am content to drop it here :-)
but did you try a simple keyboard macro in the end as suggested by the
first response? this requires no elisp programming. if your actions
consist of selecting region and then applying org-time-stamp on it, the
following keystrokes should record the steps necessary to do what you
want *after* you have selected the desired region:
C-x ( C-w C-c . C-y RET C-x )
(untested sequence of keystrokes)
Your macro is now recorded and can be executed by "C-x e" once you have
selected a region. You can even save that macro (check the info pages
for emacs) and bind it to a key.
HTH,
eric
--
: Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.90.1
: using Org-mode version 7.7 (release_7.7.381.g05ea.dirty)
next prev parent reply other threads:[~2011-10-26 7:56 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
2011-10-24 6:00 ` Bastien
2011-10-25 16:56 ` Brian van den Broek
2011-10-26 7:56 ` Eric S Fraga [this message]
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=87aa8okwyk.fsf@ucl.ac.uk \
--to=e.fraga@ucl.ac.uk \
--cc=brian.van.den.broek@gmail.com \
--cc=bzg@altern.org \
--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).