emacs-devel
[Top][All Lists]
Advanced

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

Re: end-of-defun is fubsr.


From: Chong Yidong
Subject: Re: end-of-defun is fubsr.
Date: Tue, 03 Feb 2009 11:34:23 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

Juanma Barranquero <address@hidden> writes:

> On Tue, Feb 3, 2009 at 17:09, Alan Mackenzie <address@hidden> wrote:
>
>> end-of-defun (in .../lisp/emacs-lisp/lisp.el) is buggy, at least when an
>> end-of-defun-function has been defined:
>
> Is this related to bug#2106? (The title talks about Python, but
> according to Chong it was a bug in end-of-defun.)

A while back, Stefan changed end-of-defun, making it do some additional
movement beyond what end-of-defun-function does.

2007-11-26  Stefan Monnier  <address@hidden>

            * emacs-lisp/lisp.el (end-of-defun): Restructure so that
            end-of-defun-function is called consistently, even for
            negative arguments.

This led to an infloop in python under the circumstances of bug#2106,
and I made some additional changes to try to prevent such infloops from
occurring.  But possibly the original, simpler version of end-of-defun
is better, I don't know.




reply via email to

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