bug-gnu-emacs
[Top][All Lists]
Advanced

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

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


From: Andreas Röhler
Subject: bug#15117: 24.3.50; doc of `(forward|backward)-*': state return value
Date: Tue, 11 Feb 2014 20:26:48 +0100
User-agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.2.0

Am 11.02.2014 19:58, schrieb Eli Zaretskii:
Date: Tue, 11 Feb 2014 19:42:52 +0100
From: Andreas Röhler <andreas.roehler@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.





reply via email to

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