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

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

bug#17247: 24.4.50; end-of-defun bug in elisp


From: Andreas Röhler
Subject: bug#17247: 24.4.50; end-of-defun bug in elisp
Date: Wed, 23 Apr 2014 09:19:33 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.2.0

Am 12.04.2014 08:04, schrieb Leo Liu:

1. In a fresh elisp buffer insert the following lines

;;;; start
(tan 2)

(sin 2)
(cos 2)
;;;; end

2. goto end of buffer and execute (end-of-defun -1) a few times

Bug: can not move pass (sin 2)

Leo





May confirm that for 24.3.90.1-pretest

Looks like line 407

        (beginning-of-defun-raw (- arg))

must read

 (beginning-of-defun-raw (abs arg))

because it's already decided at that point going backward, so the arg must be positiv for 
a "beginning-..."
function.


Andreas










reply via email to

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