GNU bug report logs -
#14844
24.3.50; `line-move-1': remove unused parameter _TO-END
Previous Next
Reported by: Drew Adams <drew.adams <at> oracle.com>
Date: Thu, 11 Jul 2013 15:44:02 UTC
Severity: wishlist
Tags: fixed
Found in version 24.3.50
Fixed in version 26.1
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
Message #14 received at 14844 <at> debbugs.gnu.org (full text, mbox):
Drew Adams <drew.adams <at> oracle.com> writes:
> Worse. It seems that the TO-END arg is not used *anywhere*, and should be
> removed from `line-move' and `line-move-partial' as well. Too bad these
> functions do not even have doc strings to explain what was intended by the
> creation of this unused parameter.
Well, it's certainly in the calls to it from simple.el:
grep --color -nH -e "line-move-1" `find . -name '*.el'`
./simple.el:5930: (line-move-1 arg noerror to-end)
./simple.el:5941:;; This is like line-move-1 except that it also performs
./simple.el:5955: (line-move-1 arg noerror to-end)
./simple.el:5997: (line-move-1 arg noerror to-end)))))
./simple.el:5999:;; Display-based alternative to line-move-1.
./simple.el:6071:(defun line-move-1 (arg &optional noerror _to-end)
I'll remove those from the calls, but I think the _to_end parameter will
have to remain in the -1 function.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
This bug report was last modified 8 years and 171 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.