From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: stucker Newsgroups: gmane.emacs.help Subject: emacs allout-mode Date: Sun, 27 Sep 2009 19:15:33 -0700 (PDT) Message-ID: <25639808.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 1254105716 13313 80.91.229.12 (28 Sep 2009 02:41:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 28 Sep 2009 02:41:56 +0000 (UTC) To: Help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Sep 28 04:41:49 2009 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 1Ms6BR-0005dv-0w for geh-help-gnu-emacs@m.gmane.org; Mon, 28 Sep 2009 04:41:49 +0200 Original-Received: from localhost ([127.0.0.1]:38468 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ms6BQ-0003L9-JH for geh-help-gnu-emacs@m.gmane.org; Sun, 27 Sep 2009 22:41:48 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ms5mB-0004eA-Er for help-gnu-emacs@gnu.org; Sun, 27 Sep 2009 22:15:43 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ms5m5-0004dy-Qm for Help-gnu-emacs@gnu.org; Sun, 27 Sep 2009 22:15:41 -0400 Original-Received: from [199.232.76.173] (port=47067 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ms5m5-0004dv-LU for Help-gnu-emacs@gnu.org; Sun, 27 Sep 2009 22:15:37 -0400 Original-Received: from kuber.nabble.com ([216.139.236.158]:47883) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Ms5m5-0000Hf-8G for Help-gnu-emacs@gnu.org; Sun, 27 Sep 2009 22:15:37 -0400 Original-Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1Ms5m1-0005lD-PO for Help-gnu-emacs@gnu.org; Sun, 27 Sep 2009 19:15:33 -0700 X-Nabble-From: brown_emu@yahoo.com X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-Mailman-Approved-At: Sun, 27 Sep 2009 22:37:18 -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:68497 Archived-At: Hi, I am wondering if anyone might share with me the secrets of allout.el. I am interested in adapting this for my programming in R through ESS. I have read through comments in the source code and the docstring but there are some things that are still a bit confusing... So from examining allout.el my understanding is that I want to mark up my document in the following style (# is the comment char in R): ###_* heading 1 ###_ = heading 2 ...code... ###_ > another type of heading 2 ...code... with stylish-prefixes set to true, the set of distinctive bullets "*+-=>()[{}&!?#%\"X@$~_\\:;^" can be used as different subtopic bullets. However: 1. This works when I do allout-hide-bodies, but when I add (setq allout-layout t) to the mode-hook and open an R file, some of the topics and subtopics are hidden. 2. In allout.el: "comment-start strings that do not end in spaces are tripled in the header-prefix, and an `_' underscore is tacked on the end, to distinguish them from regular comment strings. comment-start strings that do end in spaces are not tripled, but an underscore is substituted for the space." -> Is there something I do that will automatically convert my comments into allout-style headings and sub-headings? The main advantage I see for allout over outline is the easy keyboard navigation (for my purposes, since I do not require encryption)... but is there more? Is there also an allout export document that can be generated? There is some comment in 'allout.el' which says: "Easy rendering of exposed portions into numbered, latex, indented, etc outline styles" leads me to believe so... I was wondering if anyone could possibly confirm this and perhaps share some ways in which they use allout mode (if at all, or do you use outline mode code)? I already use folding-mode already to hide parts of interactive scripts that I don't currently use, but don't want to delete... but was looking for another folding mode that will structure my scripts. Thank you! Stephen -- View this message in context: http://www.nabble.com/emacs-allout-mode-tp25639808p25639808.html Sent from the Emacs - Help mailing list archive at Nabble.com.