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: Drew Adams
Subject: bug#15117: 24.3.50; doc of `(forward|backward)-*': state return value
Date: Mon, 10 Feb 2014 13:16:27 -0800 (PST)

> > These are NOT side-effect functions.  They modify nothing except
> > the cursor position.
> 
> How is that not a side-effect?

You are clearly arguing for the sake of arguing, now.

Everything in the universe has side effects.  Ohhmmmm.  It's true.

Motion functions are not what is typically meant by a side-effect
function.  They do not change the contents of the buffer, for
example, in the sense of `buffer-modified-p'.

These functions are like `goto-char' and `skip-chars-forward', as
mentioned in the bug report.  They are also like `forward-line',
another motion function whose return value we document.  And
`beginning-of-defun' - another.

By your (newfound) logic, you will presumably remove mention of
the return value from the doc for those functions.  The same
logic behind documenting their return value applies to these
other motion functions.





reply via email to

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