[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to expertly fold perl or other scripting code.
From: |
Harry Putnam |
Subject: |
Re: How to expertly fold perl or other scripting code. |
Date: |
Sun, 20 Sep 2009 11:36:30 -0500 |
User-agent: |
Gnus/5.110011 (No Gnus v0.11) Emacs/23.1.50 (gnu/linux) |
Tim X <timx@nospam.dev.null> 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.