From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Benjamin Rutt Newsgroups: gmane.emacs.help Subject: Re: State of the art in Emacs outlining? Date: Wed, 02 Oct 2002 10:44:02 -0400 Organization: The Ohio State University Dept. of Computer and Info. Science Sender: help-gnu-emacs-admin@gnu.org Message-ID: References: <5llm5ijjab.fsf@rum.cs.yale.edu> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1033573598 28748 127.0.0.1 (2 Oct 2002 15:46:38 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 2 Oct 2002 15:46:38 +0000 (UTC) Return-path: Original-Received: from hermes.netfonds.no ([80.91.224.195]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17wlg8-00078A-00 for ; Wed, 02 Oct 2002 17:44:48 +0200 Original-Received: from monty-python.gnu.org (monty-python.gnu.org [199.232.76.173]) by hermes.netfonds.no (8.12.1/8.12.1) with ESMTP id g92FEh8s027073 for ; Wed, 2 Oct 2002 17:14:44 +0200 (CEST) Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 17wlCQ-0003H8-00; Wed, 02 Oct 2002 11:14:06 -0400 Original-Path: shelby.stanford.edu!nntp.stanford.edu!newsfeed.stanford.edu!news.ems.psu.edu!news.cis.ohio-state.edu!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 42 Original-NNTP-Posting-Host: eta.cis.ohio-state.edu Mail-Copies-To: nobody User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.3.50 (sparc-sun-solaris2.8) Cancel-Lock: sha1:1+sPIeVBJ6aWcCFF44Zj0jZdj3Q= Original-Xref: nntp.stanford.edu gnu.emacs.help:105640 Original-To: help-gnu-emacs@gnu.org Errors-To: help-gnu-emacs-admin@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.help:2176 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:2176 "Stefan Monnier " writes: >>>>>> "Tom" == Tom Davey writes: >> Thanks to you and Kai for your replies. The advice is sound -- learn >> standard outlining first, and then worry about enhanced packages once I >> figure out what else I need. My worry is that I already know what I >> need: easier repositioning of items and trees (demoting/promoting), >> which allout.el and others packages seem to promise. But really I'm just >> guessing, so I'll be patient. > > The outline.el code in the CVS repository offers such functionality, > although it might be a bit fragile. I'd be interested to hear how > well it works in practice for others than me. I've tried it when editing LaTeX. It seems to work well for promoting and demoting \section, \subsection and \subsubsection under 'emacs -q' using the builtin LaTeX mode. However, it doesn't work quite right with AUCTeX. Consider the following test case for AUCTeX: \section{foo} \subsection{bar} \subsubsection{baz} 1) When I position the point anywhere on \subsubsection, M-x outline-promote turns the line into: subsection{baz} 2) When I position the cursor on \section and issue M-x outline-demote, the line becomes subsection{foo} In both cases, the opening backslash gets erased. Hope this helps. Oh, and I'm not quite using current CVS. My outline.el is dated May 20, 2002 (don't know if that's current or not). -- Benjamin