From mboxrd@z Thu Jan 1 00:00:00 1970 From: Uwe Brauer Subject: keybinding for inserting simple item, simple plain list Date: Thu, 07 Apr 2016 14:40:53 +0000 Message-ID: <87twjdwkga.fsf@mat.ucm.es> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60842) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aoB7L-0007f9-RO for emacs-orgmode@gnu.org; Thu, 07 Apr 2016 10:41:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aoB7H-0005mD-UG for emacs-orgmode@gnu.org; Thu, 07 Apr 2016 10:41:07 -0400 Received: from plane.gmane.org ([80.91.229.3]:52712) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aoB7H-0005ly-Nk for emacs-orgmode@gnu.org; Thu, 07 Apr 2016 10:41:03 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aoB7E-0001bY-Ne for emacs-orgmode@gnu.org; Thu, 07 Apr 2016 16:41:00 +0200 Received: from gilgamesch.quim.ucm.es ([147.96.12.99]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 07 Apr 2016 16:41:00 +0200 Received: from oub by gilgamesch.quim.ucm.es with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 07 Apr 2016 16:41:00 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org 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