From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: Re: indent list item and change list type automatically Date: Mon, 29 Jun 2009 10:46:44 +0100 Message-ID: <874otzbce3.wl%ucecesf@ucl.ac.uk> References: <4A48726E.2000505@diplan.de> Reply-To: Eric S Fraga Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MLDS6-0007X6-H5 for emacs-orgmode@gnu.org; Mon, 29 Jun 2009 05:47:06 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MLDS1-0007Vn-Gt for emacs-orgmode@gnu.org; Mon, 29 Jun 2009 05:47:05 -0400 Received: from [199.232.76.173] (port=39231 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MLDS1-0007Vk-D1 for emacs-orgmode@gnu.org; Mon, 29 Jun 2009 05:47:01 -0400 Received: from vscane-b.ucl.ac.uk ([144.82.108.141]:44566) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MLDS0-0006TI-VT for emacs-orgmode@gnu.org; Mon, 29 Jun 2009 05:47:01 -0400 In-Reply-To: <4A48726E.2000505@diplan.de> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Rainer Stengele Cc: emacs-orgmode@gnu.org At Mon, 29 Jun 2009 09:51:10 +0200, Rainer Stengele wrote: > > Hi all, > > I wonder if my question was too complicated or too stupid? Neither, I guess. The simplest answer, and this applies to Emacs in general, is that if you find you have a sequence of keystrokes that you repeat often, save them as a keyboard macro: C-x ( ... C-x ) where the ... are the keystrokes you repeat and then save the keyboard macro (look at kmacro-name-last-macro). You can then put this saved keyboard macro in your .emacs (look at insert-kbd-macro) to have it defined every time. The Emacs info pages on keyboard macros should help. There are other solutions, of course, including writing a simple elisp function which does the steps you want. HTH.