From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Re: indent list item and change list type automatically Date: Mon, 6 Jul 2009 15:44:08 +0200 Message-ID: <4240E46D-6DDF-41C3-A6C8-78AFA132FC4F@gmail.com> References: <4A48726E.2000505@diplan.de> Mime-Version: 1.0 (Apple Message framework v935.3) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MNoUV-0004fl-BB for emacs-orgmode@gnu.org; Mon, 06 Jul 2009 09:44:19 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MNoUQ-0004dU-Md for emacs-orgmode@gnu.org; Mon, 06 Jul 2009 09:44:18 -0400 Received: from [199.232.76.173] (port=36586 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MNoUQ-0004dP-Cu for emacs-orgmode@gnu.org; Mon, 06 Jul 2009 09:44:14 -0400 Received: from mail-ew0-f208.google.com ([209.85.219.208]:33480) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MNoUP-0006c4-QW for emacs-orgmode@gnu.org; Mon, 06 Jul 2009 09:44:14 -0400 Received: by ewy4 with SMTP id 4so4789071ewy.42 for ; Mon, 06 Jul 2009 06:44:11 -0700 (PDT) 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 On Jun 29, 2009, at 9:51 AM, Rainer Stengele wrote: > Hi all, > > I wonder if my question was too complicated or too stupid? Not at all. It is only that the implementation should still allow flexibility to change list types if you wish and not immediately get this change reversed. I have now implemented the following which does follow your request: (setq org-list-demote-modify-bullet '(("-" . "*") ("*" . "-"))) This works for entering lists as you describe it. It does not work for modifying lists by demotion/promotion, so you mileage may vary. It allows you to enter an ordered list and not have it messed up. Comments are welcome..... - Carsten > > Thanks for considering. > > Rainer > > Rainer Stengele schrieb: >> Hi all, >> >> using org-mode for quite some time now I always look at operations >> (key >> sequences) I repeat a lot of times. >> >> A lot of times I start a list with an item and immediately indent the >> next item as subitem. >> >> From >> >> - item 1 >> - subitem 11 >> >> I go to >> >> - item 1 >> - subitem 11 >> >> via "M-right". Then I always want to change the style of the subitem >> list to "*". I do this via "S-right-right". >> >> I wonder how others work. I would like to automatically have >> changed the >> subitem list type to "*" as soon as I indent via "Alt-right". Next >> indentation should go back to "-". etc. >> >> Maybe we could introduce a variable that sets the order of standard >> list >> item types, in my case: "- * - * - * - *" as in >> >> >> - item 1 >> * subitem 11 >> - subitem 111 >> * subitem 111 >> ... >> >> very special I know but I try to reduce the keypressings as much as >> possible. Any other suggestions? >> >> >> Rainer >> >> >> >> _______________________________________________ >> Emacs-orgmode mailing list >> Remember: use `Reply All' to send replies to the list. >> Emacs-orgmode@gnu.org >> http://lists.gnu.org/mailman/listinfo/emacs-orgmode >> > > > > _______________________________________________ > Emacs-orgmode mailing list > Remember: use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode