From mboxrd@z Thu Jan 1 00:00:00 1970 From: Brian van den Broek Subject: Re: feature suggestion: apply datetime prompt magic to selected region Date: Fri, 7 Oct 2011 00:38:41 +0200 Message-ID: References: <87ehypx5s1.fsf@Rainer.invalid> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=90e6ba4fc15088037904aea8fc90 Return-path: Received: from eggs.gnu.org ([140.186.70.92]:51843) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RBwaS-0006xJ-Fp for emacs-orgmode@gnu.org; Thu, 06 Oct 2011 18:38:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RBwaR-0000tX-4D for emacs-orgmode@gnu.org; Thu, 06 Oct 2011 18:38:44 -0400 Received: from mail-vx0-f169.google.com ([209.85.220.169]:50091) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RBwaQ-0000tS-UA for emacs-orgmode@gnu.org; Thu, 06 Oct 2011 18:38:43 -0400 Received: by vcbfo14 with SMTP id fo14so3350407vcb.0 for ; Thu, 06 Oct 2011 15:38:42 -0700 (PDT) In-Reply-To: <87ehypx5s1.fsf@Rainer.invalid> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Cc: emacs-orgmode@gnu.org --90e6ba4fc15088037904aea8fc90 Content-Type: text/plain; charset=ISO-8859-1 On 6 Oct 2011 21:46, "Achim Gratz" wrote: > > Brian van den Broek writes: > > It wouldn't stun me were orgmode already able to do what I have in > > mind, but trying it and consulting the fine manual didn't suggest that > > it does. > [snip] > > I'm not exactly sure what you are trying to achieve, but it seems that > you could define a keyboard macro for that?> Hi Achim, Thanks for the reply. Indeed one could and perhaps I ought to have; my data was irregular, so I didn't have the hope of quickly creating a robust macro. Since I had to select regions by hand, a macro didn't seem worth it for the kill, invocation of the datetime prompt, and yank within. It just seemed that since orgmode parse text yanked into the dt prompt, it would be in keeping with the general spirit of the mode to parse selected text, too. But, as I said, it isn't a big deal. I've weak elisp and know nothing of orgs internals. But, if there's no uptake, maybe that'd be a small enough coding task for ?e to take some steps to learning :-) Best, Brian vdB --90e6ba4fc15088037904aea8fc90 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable


On 6 Oct 2011 21:46, "Achim Gratz" <Stromeko@nexgo.de> wrote:
>
> Brian van den Broek <brian.van.den.broek@gmail.com> writes:
> > It wouldn't stun me were orgmode already able to do what I ha= ve in
> > mind, but trying it and consulting the fine manual didn't sug= gest that
> > it does.
> [snip]
>
> I'm not exactly sure what you are trying to achieve, but it seems = that
> you could define a keyboard macro for that?>

Hi Achim,

Thanks for the reply.

Indeed one could and perhaps I ought to have; my data was irregular, so = I didn't have the hope of quickly creating a robust macro. Since I had = to select regions by hand, a macro didn't seem worth it for the kill, i= nvocation of the datetime prompt, and yank within.

It just seemed that since orgmode parse text yanked into the dt prompt, = it would be in keeping with the general spirit of the mode to parse selecte= d text, too. But, as I said, it isn't a big deal.

I've weak elisp and know nothing of orgs internals. But, if there= 9;s no uptake, maybe that'd be a small enough coding task for ?e to tak= e some steps to learning :-)

Best,

Brian vdB

--90e6ba4fc15088037904aea8fc90--