From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Brian Flaherty Newsgroups: gmane.emacs.help Subject: Add newline, same heading level in outline-mode Date: Wed, 8 Oct 2008 15:29:55 -0700 (PDT) Message-ID: <19888879.post@talk.nabble.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1223526107 26517 80.91.229.12 (9 Oct 2008 04:21:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 9 Oct 2008 04:21:47 +0000 (UTC) To: Help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Oct 09 06:22:44 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Knn2x-000367-2K for geh-help-gnu-emacs@m.gmane.org; Thu, 09 Oct 2008 06:22:43 +0200 Original-Received: from localhost ([127.0.0.1]:35505 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Knn1t-00012a-53 for geh-help-gnu-emacs@m.gmane.org; Thu, 09 Oct 2008 00:21:37 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KnhXd-0007ZP-TO for help-gnu-emacs@gnu.org; Wed, 08 Oct 2008 18:30:02 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KnhXb-0007Xf-MA for Help-gnu-emacs@gnu.org; Wed, 08 Oct 2008 18:30:00 -0400 Original-Received: from [199.232.76.173] (port=50476 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KnhXb-0007XZ-Dk for Help-gnu-emacs@gnu.org; Wed, 08 Oct 2008 18:29:59 -0400 Original-Received: from kuber.nabble.com ([216.139.236.158]:60731) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KnhXb-0000wg-By for Help-gnu-emacs@gnu.org; Wed, 08 Oct 2008 18:29:59 -0400 Original-Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1KnhXX-0000s4-55 for Help-gnu-emacs@gnu.org; Wed, 08 Oct 2008 15:29:55 -0700 X-Nabble-From: gmbxf4@gmail.com X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-Mailman-Approved-At: Thu, 09 Oct 2008 00:19:44 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:58599 Archived-At: Hello, In Auctex, when I'm in a LaTeX itemize environment, I can press Meta-Enter and get a newline starting with \item. It is very handy. I'd like to do something similar in outline-mode. For example, if I have this: * heading ** point1 ** point2 <-- and my cursor is here I'd like to press Meta-Enter and have a new line started with the same sub-heading level. * heading ** point1 ** point2 ** I've looked in Auctex code, but not seen where that \item code is. Yesterday, I noticed org-mode has such a procedure, but it is a long function and calls all sorts of other org-mode functions. I'd like a simple function in my .emacs that works in outline-mode. Any suggestions about how I should/could do this? Thank you for your time and thoughts. -- View this message in context: http://www.nabble.com/Add-newline%2C-same-heading-level-in-outline-mode-tp19888879p19888879.html Sent from the Emacs - Help mailing list archive at Nabble.com.