emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Raffi R <raffir@gmail.com>
To: Samuel Wales <samologist@gmail.com>
Cc: Rainer Stengele <rainer.stengele@online.de>, emacs-orgmode@gnu.org
Subject: Re: indent list item and change list type automatically
Date: Sun, 5 Jul 2009 10:57:34 -0400	[thread overview]
Message-ID: <b49618890907050757lb8149dqc95749a0817a1c0f@mail.gmail.com> (raw)
In-Reply-To: <20524da70906291751j62a2a35du34a40a729be50f93@mail.gmail.com>

I've written a very quick and dirty derived mode for org that
implements the following keystrokes:
Tab is demote.
Shift-tab is promote.
Enter is org-insert-heading.
C-tab is the old Shift-Tab
C-j is the old Return.

I know it messes with the default org configuration, which is part of
why I have not posted it anywhere, but it works *extremely* well for
me when I'm taking notes e.g. in lecture, and I find myself using
jot-mode (what I named it) just as often as org-mode proper.

If people are interested, I'd be glad to email it/post it on EmacsWiki
or Worg (although I should warn you, it is probably very unstylish
Elisp, too!).

On Mon, Jun 29, 2009 at 8:51 PM, Samuel Wales<samologist@gmail.com> wrote:
> No comment on the idea itself, but a couple for generality.
>
> If your demote idea is implemented as a variable, it would be useful
> to have an imagined first node, so that people (like myself) who
> always put the top level item in column 2 have effectively demoted to
> that from an imaginary parent in column 0.
>
> Also, I think any such implementation would need to modify
> org-toggle-item (something I've been thinking about for a while
> anyway).
>
> On Tue, Jun 23, 2009 at 14:23, Rainer Stengele<rainer.stengele@online.de> wrote:
>> 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
>>
>
>
>
> --
> Myalgic encephalomyelitis denialism is causing death and severe suffering,
> worse than MS.  Conflicts of interest are destroying research.  /You/ can
> get the disease at any time permanently.  Do science and justice matter to
> you?  http://www.meactionuk.org.uk/What_Is_ME_What_Is_CFS.htm
>
>
> _______________________________________________
> 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
>

  reply	other threads:[~2009-07-05 14:58 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
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 [this message]
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=b49618890907050757lb8149dqc95749a0817a1c0f@mail.gmail.com \
    --to=raffir@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=rainer.stengele@online.de \
    --cc=samologist@gmail.com \
    --subject='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).