From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: feature suggestion: apply datetime prompt magic to selected region Date: Wed, 26 Oct 2011 08:56:19 +0100 Message-ID: <87aa8okwyk.fsf@ucl.ac.uk> References: <87ehypx5s1.fsf@Rainer.invalid> <87vcrfc4ix.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:52875) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RIyLj-0006Rs-A9 for emacs-orgmode@gnu.org; Wed, 26 Oct 2011 03:56:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RIyLi-0007zC-4V for emacs-orgmode@gnu.org; Wed, 26 Oct 2011 03:56:35 -0400 Received: from vscane-b.ucl.ac.uk ([144.82.108.141]:46390) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RIyLh-0007xe-V9 for emacs-orgmode@gnu.org; Wed, 26 Oct 2011 03:56:34 -0400 In-Reply-To: (Brian van den Broek's message of "Tue, 25 Oct 2011 18:56:56 +0200") 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: Bastien , emacs-orgmode@gnu.org Brian van den Broek 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)