help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Why doesn't forward-paragraph save-match-data?


From: Alan Mackenzie
Subject: Why doesn't forward-paragraph save-match-data?
Date: Thu, 24 Jul 2003 17:04:06 +0000
User-agent: tin/1.4.5-20010409 ("One More Nightmare") (UNIX) (Linux/2.0.35 (i686))

Emacs 21.1.

I came across this while trying to sort out some obscure code.

forward-paragraph, which gets used within elisp code as well as being
bound to M-}, modifies the match data.  Neither forward-paragraph's
doc-string nor its info-page mentions this.

Given that there is no intrinsic reason why forward-paragraph has to use
a regular expression search, this seems to be a non-intuitive thing to
do.

Is there any good reason for this behaviour, and if so, what?

-- 
Alan Mackenzie (Munich, Germany)
Email: address@hidden; to decode, wherever there is a repeated letter
(like "aa"), remove half of them (leaving, say, "a").



reply via email to

[Prev in Thread] Current Thread [Next in Thread]