all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: Eli Zaretskii <eliz@gnu.org>, Drew Adams <drew.adams@oracle.com>
Cc: 21820@debbugs.gnu.org
Subject: 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)	[thread overview]
Message-ID: <273b993b-dbdb-4be0-8e6a-7079be0784ac@default> (raw)
In-Reply-To: <<83wptzuhg0.fsf@gnu.org>>

> > 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.





       reply	other threads:[~2015-11-03 18:10 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <<821dbba1-4db6-4fc4-ac4a-b3a2ebebc003@default>
     [not found] ` <<83wptzuhg0.fsf@gnu.org>
2015-11-03 18:10   ` Drew Adams [this message]
2015-11-03 16:54 bug#21820: 25.0.50; doc string of `set-mouse-position' should mention return value Drew Adams
2015-11-03 17:21 ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=273b993b-dbdb-4be0-8e6a-7079be0784ac@default \
    --to=drew.adams@oracle.com \
    --cc=21820@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.