From: Carsten Dominik <carsten.dominik@gmail.com> To: Rainer Stengele <rainer.stengele@diplan.de> Cc: emacs-orgmode@gnu.org Subject: Re: Re: indent list item and change list type automatically Date: Mon, 6 Jul 2009 15:44:08 +0200 [thread overview] Message-ID: <4240E46D-6DDF-41C3-A6C8-78AFA132FC4F@gmail.com> (raw) In-Reply-To: <4A48726E.2000505@diplan.de> 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
next prev parent reply other threads:[~2009-07-06 13:44 UTC|newest] Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top 2009-06-23 21:23 Rainer Stengele 2009-06-29 7:51 ` Rainer Stengele 2009-06-29 9:46 ` Eric S Fraga 2009-07-06 13:44 ` Carsten Dominik [this message] 2009-07-07 11:20 ` Rainer Stengele 2009-07-07 11:33 ` Carsten Dominik 2009-07-07 11:44 ` Rainer Stengele 2009-07-07 11:52 ` Carsten Dominik 2009-07-07 21:15 ` Rainer Stengele 2009-06-30 0:51 ` Samuel Wales 2009-07-05 14:57 ` Raffi R 2009-07-05 19:12 ` Eric S Fraga 2009-07-05 22:26 ` Raffi R 2009-07-06 8:32 ` Eric S Fraga
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style List information: https://www.orgmode.org/ * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=4240E46D-6DDF-41C3-A6C8-78AFA132FC4F@gmail.com \ --to=carsten.dominik@gmail.com \ --cc=emacs-orgmode@gnu.org \ --cc=rainer.stengele@diplan.de \ --subject='Re: Re: indent list item and change list type automatically' \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
Code repositories for project(s) associated with this inbox: https://git.savannah.gnu.org/cgit/emacs/org-mode.git This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).