From mboxrd@z Thu Jan 1 00:00:00 1970 From: suvayu ali Subject: Re: feature suggestion: apply datetime prompt magic to selected region Date: Sat, 8 Oct 2011 09:33:31 +0200 Message-ID: References: <87ehypx5s1.fsf@Rainer.invalid> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from eggs.gnu.org ([140.186.70.92]:39510) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RCRPu-0000XF-1q for emacs-orgmode@gnu.org; Sat, 08 Oct 2011 03:33:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RCRPs-0004yJ-Uk for emacs-orgmode@gnu.org; Sat, 08 Oct 2011 03:33:54 -0400 Received: from mail-ww0-f49.google.com ([74.125.82.49]:58875) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RCRPs-0004yB-QP for emacs-orgmode@gnu.org; Sat, 08 Oct 2011 03:33:52 -0400 Received: by wwp14 with SMTP id 14so5876388wwp.30 for ; Sat, 08 Oct 2011 00:33:51 -0700 (PDT) In-Reply-To: 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 To: Brian van den Broek Cc: emacs-orgmode@gnu.org On Fri, Oct 7, 2011 at 4:36 PM, Brian van den Broek 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.