GNU bug report logs - #17320
24.3.90.1[pretest]; bug-sourcing design-flaw

Previous Next

Package: emacs;

Reported by: Andreas Röhler <andreas.roehler <at> easy-emacs.de>

Date: Wed, 23 Apr 2014 07:39:01 UTC

Severity: wishlist

Tags: notabug, wontfix

Found in version 24.3.90.1

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 17320 <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: Andreas Röhler <andreas.roehler <at> easy-emacs.de>
Cc: 17320 <at> debbugs.gnu.org
Subject: Re: bug#17320: 24.3.90.1[pretest]; bug-sourcing design-flaw
Date: Tue, 29 Apr 2014 11:47:19 -0400
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.





This bug report was last modified 11 years and 74 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.