[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: |
Juanma Barranquero |
Subject: |
bug#15117: 24.3.50; doc of `(forward|backward)-*': state return value |
Date: |
Tue, 11 Feb 2014 02:28:42 +0100 |
On Mon, Feb 10, 2014 at 10:16 PM, Drew Adams <drew.adams@oracle.com> wrote:
> Motion functions are not what is typically meant by a side-effect
> function.
Why not? Functions intended to move the point are as prototypically
side-effect functions as you can get. That goto-char returns POSITION
is a moderately useful, but not-at-all necessary commodity. goto-char
moving the point as a side effect is its whole raison d'être.
> They do not change the contents of the buffer, for
> example, in the sense of `buffer-modified-p'.
Why would you restrict the definition of "side effects" to changing
the buffer? `recenter' has no documented return value, and does not
modify the buffer. Would you deny that it exists to recenter as a side
effect?
J
- bug#15117: 24.3.50; doc of `(forward|backward)-*': state return value, Lars Ingebrigtsen, 2014/02/08
- bug#15117: 24.3.50; doc of `(forward|backward)-*': state return value, Drew Adams, 2014/02/09
- bug#15117: 24.3.50; doc of `(forward|backward)-*': state return value, Lars Ingebrigtsen, 2014/02/09
- bug#15117: 24.3.50; doc of `(forward|backward)-*': state return value, Stefan Monnier, 2014/02/10
- bug#15117: 24.3.50; doc of `(forward|backward)-*': state return value,
Juanma Barranquero <=
- bug#15117: 24.3.50; doc of `(forward|backward)-*': state return value, Drew Adams, 2014/02/11
- bug#15117: 24.3.50; doc of `(forward|backward)-*': state return value, Eli Zaretskii, 2014/02/11
- bug#15117: 24.3.50; doc of `(forward|backward)-*': state return value, Drew Adams, 2014/02/11
- bug#15117: 24.3.50; doc of `(forward|backward)-*': state return value, Eli Zaretskii, 2014/02/11
- bug#15117: 24.3.50; doc of `(forward|backward)-*': state return value, Drew Adams, 2014/02/11
- bug#15117: 24.3.50; doc of `(forward|backward)-*': state return value, Eli Zaretskii, 2014/02/11
- bug#15117: 24.3.50; doc of `(forward|backward)-*': state return value, Drew Adams, 2014/02/11
- bug#15117: 24.3.50; doc of `(forward|backward)-*': state return value, Andreas Röhler, 2014/02/11
- bug#15117: 24.3.50; doc of `(forward|backward)-*': state return value, Eli Zaretskii, 2014/02/11
- bug#15117: 24.3.50; doc of `(forward|backward)-*': state return value, Drew Adams, 2014/02/11