From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: stucker Newsgroups: gmane.emacs.help Subject: Re: emacs allout-mode Date: Fri, 2 Oct 2009 01:34:06 -0700 (PDT) Message-ID: <25712250.post@talk.nabble.com> References: <25639808.post@talk.nabble.com> <4AC1D23F.1000900@easy-emacs.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1254620765 32468 80.91.229.12 (4 Oct 2009 01:46:05 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 4 Oct 2009 01:46:05 +0000 (UTC) To: Help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Oct 04 03:45:58 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 1MuGAf-00074q-Tz for geh-help-gnu-emacs@m.gmane.org; Sun, 04 Oct 2009 03:45:58 +0200 Original-Received: from localhost ([127.0.0.1]:35162 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MuGAf-0000YN-1L for geh-help-gnu-emacs@m.gmane.org; Sat, 03 Oct 2009 21:45:57 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mtdae-0001Bs-MR for help-gnu-emacs@gnu.org; Fri, 02 Oct 2009 04:34:12 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mtdaa-0001A3-Ox for Help-gnu-emacs@gnu.org; Fri, 02 Oct 2009 04:34:12 -0400 Original-Received: from [199.232.76.173] (port=53248 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mtdaa-00019y-II for Help-gnu-emacs@gnu.org; Fri, 02 Oct 2009 04:34:08 -0400 Original-Received: from kuber.nabble.com ([216.139.236.158]:43455) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Mtdaa-0002Ry-5s for Help-gnu-emacs@gnu.org; Fri, 02 Oct 2009 04:34:08 -0400 Original-Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1MtdaY-00076V-Dr for Help-gnu-emacs@gnu.org; Fri, 02 Oct 2009 01:34:06 -0700 In-Reply-To: <4AC1D23F.1000900@easy-emacs.de> 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: Sat, 03 Oct 2009 21:44:39 -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:68654 Archived-At: Hi Andreas, thanks for your response! Andreas R=C3=B6hler wrote: >=20 > AFAIU if you have already a structured text, whose > hierarchies you may adress, simply outline-mode or > hs-minor-mode should be the suitable tools. >=20 So I guess I am not sure what allout.el is even capable of, but I did like two things about it: 1) someone already made a decision about the hierarchy structure for outlining 2) the hot keys for moving around (h,o,...) were convenient I can't seem to reproduce my problem with using fancy heading bullets (usin= g '>' vs '=3D'), but in the meantime I edited outline-mode for ESS to mimic t= he structure of the allout headings -=20 (add-hook 'ess-mode-hook 'my-ess-outline-hook) (defun my-ess-outline-level () (let (buffer-invisibility-spec) (save-excursion (search-forward-regexp=20 "^###_\\(\\*\\|[ ]+[+-=3D>()[{}&!?#%\"X@$~_\\:;^]\\)") (- (current-column) 3)))) (defun my-ess-outline-hook () (setq outline-regexp "^###_") (setq outline-level 'my-ess-outline-level) (outline-minor-mode t) (hide-body) ) ... I also thought it might be convenient in case I ever figured out more about allout and decided it was worth switching to in the future (then my documents would be somewhat compatible?). I also bound a few of the show/hide functions of outline-mode to easier key strokes than the default so I think I'm getting the functionality I was hoping to get from allout. I= f you (or others on the list) has a few insights as to what additional features allout might provide, I'd be interested to hear - but it seems lik= e outline-mode may be sufficient for my purposes, as you suggest. Thanks! -Stephen --=20 View this message in context: http://www.nabble.com/emacs-allout-mode-tp256= 39808p25712250.html Sent from the Emacs - Help mailing list archive at Nabble.com.