[Top][All Lists]

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

Re: end-of-defun is fubsr.

From: Andreas Roehler
Subject: Re: end-of-defun is fubsr.
Date: Tue, 03 Feb 2009 18:18:14 +0100
User-agent: Thunderbird (X11/20070801)

Chong Yidong wrote:
> 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.

I have remarked buggy/risky implementation already here


Andreas Röhler

reply via email to

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