From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Stefan Monnier" Newsgroups: gmane.emacs.devel Subject: Re: Files in wrong subdirs of emacs/lisp? Date: Sat, 24 May 2003 20:02:04 -0400 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <200305250002.h4P0247k005316@rum.cs.yale.edu> References: <20030522094726.9555.JMBARRANQUERO@laley.wke.es> <20030523143140.FEB7.JMBARRANQUERO@laley.wke.es> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1053821254 12568 80.91.224.249 (25 May 2003 00:07:34 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 25 May 2003 00:07:34 +0000 (UTC) Cc: Juanma Barranquero Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Sun May 25 02:07:33 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19Jj2z-0003GZ-00 for ; Sun, 25 May 2003 02:07:33 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 19JjFR-0005Yd-00 for ; Sun, 25 May 2003 02:20:26 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19Jj36-0007Br-7l for emacs-devel@quimby.gnus.org; Sat, 24 May 2003 20:07:40 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20) id 19Jj2n-0007Ag-H8 for emacs-devel@gnu.org; Sat, 24 May 2003 20:07:21 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20) id 19Jj0S-0006Uq-OP for emacs-devel@gnu.org; Sat, 24 May 2003 20:04:57 -0400 Original-Received: from rum.cs.yale.edu ([128.36.229.169]) by monty-python.gnu.org with esmtp (Exim 4.20) id 19Jixh-0005Gj-Fo; Sat, 24 May 2003 20:02:05 -0400 Original-Received: from rum.cs.yale.edu (localhost [127.0.0.1]) by rum.cs.yale.edu (8.12.8/8.12.8) with ESMTP id h4P025x6005318; Sat, 24 May 2003 20:02:05 -0400 Original-Received: (from monnier@localhost) by rum.cs.yale.edu (8.12.8/8.12.8/Submit) id h4P0247k005316; Sat, 24 May 2003 20:02:04 -0400 X-Mailer: exmh version 2.4 06/23/2000 with nmh-1.0.4 Original-To: Richard Stallman Original-cc: emacs-devel@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Emacs development discussions. List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:14215 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:14215 > Still, foldout contains "folding extensions for outline-mode and > outline-minor-mode". If foldout is not just for text, perhaps outline.el > isn't either. > > When I wrote outline.el, I thought of it as specifically for text. > And I think it is only used for text (though I could be wrong). > Perhaps foldout.el extends it to be useful for other things. > I am not sure what foldout actually does; I never used it. work/emacs-0% grep -l outline-regexp lisp/progmodes/*.el lisp/progmodes/ada-mode.el lisp/progmodes/antlr-mode.el lisp/progmodes/cc-mode.el lisp/progmodes/cperl-mode.el lisp/progmodes/scheme.el lisp/progmodes/tcl.el work/emacs-0% It's also defined in lisp-mode (which is in emacs-lisp). I also define it in sml-mode, so I expect other non-bundled packages use it that way for programming modes. Admittedly, for programming languages that allow/encourage the definition of local functions, outline is a bit limited (if the headings are defined as the function-heads, outline will believe that the end of a subfunction is either the beginning of the next subfunction or the end of the enclosing function :-( ). But I use it very happily (together with reveal-mode) in elisp. Stefan