From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Harry Putnam Newsgroups: gmane.emacs.help Subject: Re: How to expertly fold perl or other scripting code. Date: Sun, 20 Sep 2009 11:36:30 -0500 Organization: Still searching... Message-ID: <87tyyxfu9d.fsf@newsguy.com> References: <87fxaiha14.fsf@newsguy.com> <87my4q8dsq.fsf@lion.rapttech.com.au> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1253464657 15535 80.91.229.12 (20 Sep 2009 16:37:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 20 Sep 2009 16:37:37 +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 Sep 20 18:37:30 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 1MpPPl-00009w-MA for geh-help-gnu-emacs@m.gmane.org; Sun, 20 Sep 2009 18:37:29 +0200 Original-Received: from localhost ([127.0.0.1]:51896 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MpPPl-0004Cg-2T for geh-help-gnu-emacs@m.gmane.org; Sun, 20 Sep 2009 12:37:29 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MpPPJ-0004Ca-Fe for help-gnu-emacs@gnu.org; Sun, 20 Sep 2009 12:37:01 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MpPPE-0004Ba-VV for help-gnu-emacs@gnu.org; Sun, 20 Sep 2009 12:37:00 -0400 Original-Received: from [199.232.76.173] (port=53134 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MpPPE-0004BX-QF for help-gnu-emacs@gnu.org; Sun, 20 Sep 2009 12:36:56 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:37795) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MpPPE-0007RN-D2 for help-gnu-emacs@gnu.org; Sun, 20 Sep 2009 12:36:56 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.50) id 1MpPPB-0008Ro-A1 for help-gnu-emacs@gnu.org; Sun, 20 Sep 2009 18:36:53 +0200 Original-Received: from c-98-215-178-110.hsd1.in.comcast.net ([98.215.178.110]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 20 Sep 2009 18:36:53 +0200 Original-Received: from reader by c-98-215-178-110.hsd1.in.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 20 Sep 2009 18:36:53 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 41 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: c-98-215-178-110.hsd1.in.comcast.net User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.1.50 (gnu/linux) Cancel-Lock: sha1:ECxMHGewpfsuu4+GQI3fUn877N8= X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) 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:68325 Archived-At: Tim X writes: > I personally find outline of limited use when it comes to folding > code. However, there are a few folding modes out there (check the emacs > wiki). I use an old mode called folding.el (which is bundled in the > emacs-goodies debian package. It works quite well, is easy to install > and provides good functionality. Tim, does it byte-compile with emacs 23? for you. I get what looks like some errors that will require editing. When byte-compiling the version offered at the wiki you cite: http://git.savannah.gnu.org/cgit/emacs-tiny-tools.git/tree/lisp/other/folding.el?h=devel Maybe the debian pkg has an edited version? ===== * ===== * ===== * ===== In folding-install-keymaps: folding.el:2360:8:Warning: `mapcar' called for effect; use `mapc' or `dolist' instead In folding-event-posn: folding.el:2669:7:Warning: `error' called with 1 args to fill 0 format field(s) folding.el:2671:5:Warning: `error' called with 1 args to fill 0 format field(s) In folding-is-hooked: folding.el:2702:39:Warning: `write-file-hooks' is an obsolete variable (as of Emacs 22.1); use `write-file-functions' instead. folding.el:2703:39:Warning: `find-file-hooks' is an obsolete variable (as of Emacs 22.1); use `find-file-hook' instead. In folding-install-hooks: folding.el:2718:38:Warning: `write-file-hooks' is an obsolete variable (as of Emacs 22.1); use `write-file-functions' instead. In folding-mode-add-find-file-hook: folding.el:2996:37:Warning: `find-file-hooks' is an obsolete variable (as of Emacs 22.1); use `find-file-hook' instead.