GNU bug report logs -
#17320
24.3.90.1[pretest]; bug-sourcing design-flaw
Previous Next
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.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 17320 in the body.
You can then email your comments to 17320 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#17320
; Package
emacs
.
(Wed, 23 Apr 2014 07:39:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Andreas Röhler <andreas.roehler <at> easy-emacs.de>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Wed, 23 Apr 2014 07:39:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
When looking for bug #17247
noticed the following
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.
Suggest to drop that and let `eval-defun' etc. make provisions at their needs.
Thanks,
Andreas
GNU Emacs 24.3.90.1 (i686-pc-linux-gnu, GTK+ Version 2.24.10) of 2014-04-21
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#17320
; Package
emacs
.
(Tue, 29 Apr 2014 15:48:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 17320 <at> debbugs.gnu.org (full text, mbox):
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.
Added tag(s) notabug and wontfix; removed tag(s) moreinfo.
Request was from
Glenn Morris <rgm <at> gnu.org>
to
control <at> debbugs.gnu.org
.
(Tue, 13 May 2014 06:02:01 GMT)
Full text and
rfc822 format available.
bug closed, send any further explanations to
17320 <at> debbugs.gnu.org and Andreas Röhler <andreas.roehler <at> easy-emacs.de>
Request was from
Glenn Morris <rgm <at> gnu.org>
to
control <at> debbugs.gnu.org
.
(Tue, 13 May 2014 06:02:02 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Tue, 10 Jun 2014 11:24:03 GMT)
Full text and
rfc822 format available.
This bug report was last modified 11 years and 73 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.