unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Harry Putnam <reader@newsguy.com>
To: help-gnu-emacs@gnu.org
Subject: Re: How to expertly fold perl or other scripting code.
Date: Sun, 20 Sep 2009 11:36:30 -0500	[thread overview]
Message-ID: <87tyyxfu9d.fsf@newsguy.com> (raw)
In-Reply-To: 87my4q8dsq.fsf@lion.rapttech.com.au

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.





  parent reply	other threads:[~2009-09-20 16:36 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-19 21:58 How to expertly fold perl or other scripting code Harry Putnam
2009-09-19 23:16 ` Andreas Politz
2009-09-20  1:44   ` Bernardo
2009-09-20 17:24     ` Harry Putnam
2009-09-20 22:31       ` Wang Lei
     [not found] ` <mailman.7073.1253402286.2239.help-gnu-emacs@gnu.org>
2009-09-20  4:01   ` Tim X
2009-09-20  5:22     ` Wang Lei
2009-09-20 16:36     ` Harry Putnam [this message]
     [not found]     ` <mailman.7099.1253464623.2239.help-gnu-emacs@gnu.org>
2009-09-21  7:51       ` Tim X

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87tyyxfu9d.fsf@newsguy.com \
    --to=reader@newsguy.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).