GNU bug report logs - #21820
25.0.50; doc string of `set-mouse-position' should mention return value

Previous Next

Package: emacs;

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

Date: Tue, 3 Nov 2015 16:55:01 UTC

Severity: minor

Found in version 25.0.50

Done: Drew Adams <drew.adams <at> oracle.com>

Bug is archived. No further changes may be made.

Full log


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

From: Drew Adams <drew.adams <at> oracle.com>
To: Eli Zaretskii <eliz <at> gnu.org>, Drew Adams <drew.adams <at> oracle.com>
Cc: 21820 <at> debbugs.gnu.org
Subject: RE: bug#21820: 25.0.50;	doc string of `set-mouse-position' should
 mention return value
Date: Tue, 3 Nov 2015 10:10:32 -0800 (PST)
> > Subject line says it all.  Please mention that the value
> > you set is what the function returns.
> 
> Maybe I'm blind, but here it always returns nil, both in the code and
> in practice.

My bad.  I should have tested.

Was misled by this:
http://stackoverflow.com/q/33501149/729907
which uses this sexp:
(list (set-mouse-position (selected-frame) 4 4) (mouse-position))

Presumably, `progn' was meant instead of `list'.

I'll close this bug.




This bug report was last modified 9 years and 265 days ago.

Previous Next


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