GNU bug report logs - #15117
24.3.50; doc of `(forward|backward)-*': state return value

Previous Next

Package: emacs;

Reported by: Drew Adams <drew.adams <at> oracle.com>

Date: Sat, 17 Aug 2013 16:01:02 UTC

Severity: minor

Tags: wontfix

Found in version 24.3.50

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Andreas Röhler <andreas.roehler <at> easy-emacs.de>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 15117 <at> debbugs.gnu.org, Drew Adams <drew.adams <at> oracle.com>
Subject: bug#15117: 24.3.50; doc of `(forward|backward)-*': state return value
Date: Tue, 11 Feb 2014 20:26:48 +0100
Am 11.02.2014 19:58, schrieb Eli Zaretskii:
>> Date: Tue, 11 Feb 2014 19:42:52 +0100
>> From: Andreas Röhler <andreas.roehler <at> easy-emacs.de>
>>
>> IMO these functions should return point if successful, i.e. if point was moved, but nil otherwise, for example at EOB.
>
> Why point?  E.g., forward-to-indentation could returns the column
> where it ended up, forward-same-syntax could return the syntax class,
> forward-visible-line could return the number of screen lines
> traversed, etc.
>
> Once again, the potentially useful value might well be different for
> each function, and needs to be considered separately for each.
> There's no "one fits all" here.
>
>

Agreed. Saying "these" was a way too general.




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

Previous Next


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