From: Lute Kamstra <Lute.Kamstra.lists@xs4all.nl>
Cc: Stefan Monnier <monnier@iro.umontreal.ca>, emacs-devel@gnu.org
Subject: Re: lisp-outline-level.
Date: Sun, 13 Feb 2005 19:23:47 +0100 [thread overview]
Message-ID: <87u0ogb9os.fsf@xs4all.nl> (raw)
In-Reply-To: <x53bw0tkor.fsf@lola.goethe.zz> (David Kastrup's message of "Sun, 13 Feb 2005 18:48:52 +0100")
David Kastrup <dak@gnu.org> writes:
[...]
> or even (if preservation of match data is definitely not required)
>
> (defun lisp-outline-level
> (let ((len (- (match-end 0) (match-beginning 0))))
> (if (looking-at ...)
> 1000
> len)))
A quick look at lisp/outline.el gave me the impression that calls to
outline-level functions are embedded in (save-match-data ...) if the
match data should be preserved.
Lute.
next prev parent reply other threads:[~2005-02-13 18:23 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-02-13 15:59 lisp-outline-level Lute Kamstra
2005-02-13 16:37 ` lisp-outline-level David Kastrup
2005-02-13 17:06 ` lisp-outline-level Lute Kamstra
2005-02-13 17:37 ` lisp-outline-level David Kastrup
2005-02-13 18:13 ` lisp-outline-level Lute Kamstra
2005-02-13 16:56 ` lisp-outline-level Stefan Monnier
2005-02-13 17:35 ` lisp-outline-level Lute Kamstra
2005-02-13 17:48 ` lisp-outline-level David Kastrup
2005-02-13 18:23 ` Lute Kamstra [this message]
2005-02-13 19:01 ` lisp-outline-level Stefan Monnier
2005-02-15 6:19 ` lisp-outline-level Richard Stallman
2005-02-15 9:30 ` lisp-outline-level Lute Kamstra
2005-02-16 9:32 ` lisp-outline-level Richard Stallman
2005-02-16 10:47 ` lisp-outline-level Lute Kamstra
2005-02-17 23:07 ` lisp-outline-level Richard Stallman
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=87u0ogb9os.fsf@xs4all.nl \
--to=lute.kamstra.lists@xs4all.nl \
--cc=emacs-devel@gnu.org \
--cc=monnier@iro.umontreal.ca \
/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.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
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).