all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Drew Adams <drew.adams@oracle.com>
Cc: 18211@debbugs.gnu.org
Subject: bug#18211: 24.4.50; doc string of `posnp'
Date: Sat, 30 Apr 2016 02:41:23 +0200	[thread overview]
Message-ID: <87k2jgszbg.fsf@gnus.org> (raw)
In-Reply-To: <34324475-f6c6-4556-963b-732f11d602c1@default> (Drew Adams's message of "Wed, 6 Aug 2014 07:48:38 -0700 (PDT)")

Drew Adams <drew.adams@oracle.com> writes:

> Doc string:
>
>  Return non-nil if OBJ appears to be a valid `posn' object.
>
> What is a `posn' object?  What is a valid one?
>
> (elisp) `Accessing Mouse' gives an understandable description.  If it is
> correct then use something similar for the doc string:
>
>      returns non-`nil' if OBJECT is a mouse position list,
>                                     ^^^^^^^^^^^^^^^^^^^^^
>      in either of the formats documented in *note Click
>      Events::); and `nil' otherwise.
>
> (FWIW, that manual text should not say "either", since there are more
> than two such formats.  It should say "one".)

It currently says:

posnp is a compiled Lisp function in ‘subr.el’.

(posnp OBJ)

Return non-nil if OBJ appears to be a valid ‘posn’ object specifying a window.
If OBJ is a valid ‘posn’ object, but specifies a frame rather
than a window, return nil.

-----

I still don't know what it is, though.  :-)

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





  reply	other threads:[~2016-04-30  0:41 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-06 14:48 bug#18211: 24.4.50; doc string of `posnp' Drew Adams
2016-04-30  0:41 ` Lars Ingebrigtsen [this message]
2016-04-30  5:41   ` Eli Zaretskii
2016-05-02 22:08     ` Lars Ingebrigtsen

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=87k2jgszbg.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=18211@debbugs.gnu.org \
    --cc=drew.adams@oracle.com \
    /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.