emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Uwe Brauer <oub@mat.ucm.es>
To: emacs-orgmode@gnu.org
Subject: keybinding for inserting simple item, simple plain list
Date: Thu, 07 Apr 2016 14:40:53 +0000	[thread overview]
Message-ID: <87twjdwkga.fsf@mat.ucm.es> (raw)

Hello

This must be completely trival, but I cannot find a solution in the
manual nor in google.

I would like to bind some key, say (super return) to a function which
would insert a simple item in a list.

(meta return) inserts in an org mode file, a heading.

However (meta return) in message mode, with

(add-hook 'message-mode-hook 'turn-on-orgstruct)
(add-hook 'message-mode-hook 'turn-on-orgstruct++)
(add-hook 'message-mode-hook 'turn-on-orgtbl)

Inserts   a newline indents it and adds a "-" such as in 

    -  

This is precisely want I want to have in an org-mode file.

How can I do it?

Htanks 

             reply	other threads:[~2016-04-07 14:41 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-07 14:40 Uwe Brauer [this message]
2016-04-07 15:06 ` keybinding for inserting simple item, simple plain list Adam Porter
2016-04-07 16:11   ` Uwe Brauer
2016-04-07 17:10     ` Nick Dokos
2016-04-08  8:12       ` Uwe Brauer

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=87twjdwkga.fsf@mat.ucm.es \
    --to=oub@mat.ucm.es \
    --cc=emacs-orgmode@gnu.org \
    /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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public 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).