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


Message #31 received at 15117 <at> debbugs.gnu.org (full text, mbox):

From: Drew Adams <drew.adams <at> oracle.com>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 15117 <at> debbugs.gnu.org, Lars Ingebrigtsen <larsi <at> gnus.org>
Subject: RE: 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.




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.