[Top][All Lists]

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

bug#17320:[pretest]; bug-sourcing design-flaw

From: Glenn Morris
Subject: bug#17320:[pretest]; bug-sourcing design-flaw
Date: Tue, 29 Apr 2014 11:47:19 -0400
User-agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)

Andreas Röhler wrote:

> lisp.el, line 374:
>     ;; When comparing point against pos, we want to consider that if
>     ;; point was right after the end of the function, it's still
>     ;; considered as "in that function".
>     ;; E.g. `eval-defun' from right after the last close-paren.
>     (unless (bolp)
>       (skip-chars-forward " \t")
>       (if (looking-at "\\s<\\|\n")
>           (forward-line 1)))
> ;;;;;;;;;
> A core function should not do that kind of provisions.
> Employing forward-line, point might end up at the beginning of valid
> code, not at the end.
> Thus beginning and end of functions are in risk being mixed.

I do not find your argument compelling, so will close this as wontfix in
a few weeks, unless anyone provides a more convincing justification.

reply via email to

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