From: Brian van den Broek <brian.van.den.broek@gmail.com>
To: Bastien <bzg@altern.org>
Cc: emacs-orgmode@gnu.org
Subject: Re: feature suggestion: apply datetime prompt magic to selected region
Date: Tue, 25 Oct 2011 18:56:56 +0200 [thread overview]
Message-ID: <CAF6Daj+4vGJ+0Yx8kpd+4eKX-2h8Yi7q0d5a7Ay5crQh4bnRrg@mail.gmail.com> (raw)
In-Reply-To: <87vcrfc4ix.fsf@gnu.org>
On 24 October 2011 08:00, Bastien <bzg@altern.org> wrote:
> Hi Brian,
>
> suvayu ali <fatkasuvayu+linux@gmail.com> writes:
>
>> 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.
>
> Please check `org-loop-over-headlines-in-active-region' from latest
> git repo and see if using `org-schedule' in the region does what you
> want. We can actually implement this for `org-timestamp' as well,
> if relevant.
>
> Thanks,
>
> --
> Bastien
Hi Bastien,
Thanks for replying and giving this your attention.
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 :-)
That said, it seems only right to respond and let you know how things
sit. Feel free to let it die.
Unless I misunderstood, that does not do what I had in mind.
With a fresh git pull I invoked emacs with
emacs --no-site-file -l minimalorgtestdotemacs test.org
where minimalorgtestdotemacs reads:
(add-to-list 'auto-mode-alist '("\\.org\\'" . org-mode))
(global-set-key "\C-cl" 'org-store-link)
(global-set-key "\C-cc" 'org-capture)
(global-set-key "\C-ca" 'org-agenda)
(global-set-key "\C-cb" 'org-iswitchb)
(transient-mark-mode 1)
(setq org-loop-over-headlines-in-active-region t)
and test.org reads:
* test
2003-01-26
Versions:
Org-mode version 7.7 (release_7.7.464.g679a0)
GNU Emacs 23.2.1 (i486-pc-linux-gnu, GTK+ Version 2.20.0) of
2010-12-11 on raven, modified by Debian
If I have point and mark on either end of 2003-01-26 and invoke M-x
org-schedule, nothing occurs. By analogy with my original request,
what was desired was for the region to automatically get fed to the
datetime prompt and thus for the test subtree to acquire the scheduled
date of 2003-01-26 without further intervention.
So, thanks again for the attention to the suggestion. I'm more than
happy to let it rest here.
Best,
Brian vdB
next prev parent reply other threads:[~2011-10-25 16:57 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 [this message]
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=CAF6Daj+4vGJ+0Yx8kpd+4eKX-2h8Yi7q0d5a7Ay5crQh4bnRrg@mail.gmail.com \
--to=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).