* bug#18211: 24.4.50; doc string of `posnp'
@ 2014-08-06 14:48 Drew Adams
2016-04-30 0:41 ` Lars Ingebrigtsen
0 siblings, 1 reply; 4+ messages in thread
From: Drew Adams @ 2014-08-06 14:48 UTC (permalink / raw)
To: 18211
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".)
In GNU Emacs 24.4.50.1 (i686-pc-mingw32)
of 2014-06-28 on ODIEONE
Bzr revision: 117431 rgm@gnu.org-20140628015517-eku6hj8mpgcvfnso
Windowing system distributor `Microsoft Corp.', version 6.1.7601
Configured using:
`configure --prefix=/c/Devel/emacs/snapshot/trunk
--enable-checking=yes,glyphs 'CFLAGS=-O0 -g3'
LDFLAGS=-Lc:/Devel/emacs/lib 'CPPFLAGS=-DGC_MCHECK=1
-Ic:/Devel/emacs/include''
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#18211: 24.4.50; doc string of `posnp'
2014-08-06 14:48 bug#18211: 24.4.50; doc string of `posnp' Drew Adams
@ 2016-04-30 0:41 ` Lars Ingebrigtsen
2016-04-30 5:41 ` Eli Zaretskii
0 siblings, 1 reply; 4+ messages in thread
From: Lars Ingebrigtsen @ 2016-04-30 0:41 UTC (permalink / raw)
To: Drew Adams; +Cc: 18211
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#18211: 24.4.50; doc string of `posnp'
2016-04-30 0:41 ` Lars Ingebrigtsen
@ 2016-04-30 5:41 ` Eli Zaretskii
2016-05-02 22:08 ` Lars Ingebrigtsen
0 siblings, 1 reply; 4+ messages in thread
From: Eli Zaretskii @ 2016-04-30 5:41 UTC (permalink / raw)
To: Lars Ingebrigtsen; +Cc: 18211
> From: Lars Ingebrigtsen <larsi@gnus.org>
> Date: Sat, 30 Apr 2016 02:41:23 +0200
> Cc: 18211@debbugs.gnu.org
>
> 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. :-)
It's an object returned by event-start.
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#18211: 24.4.50; doc string of `posnp'
2016-04-30 5:41 ` Eli Zaretskii
@ 2016-05-02 22:08 ` Lars Ingebrigtsen
0 siblings, 0 replies; 4+ messages in thread
From: Lars Ingebrigtsen @ 2016-05-02 22:08 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: 18211
Eli Zaretskii <eliz@gnu.org> writes:
> It's an object returned by event-start.
Thanks; I've now added this to the doc string.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2016-05-02 22:08 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-06 14:48 bug#18211: 24.4.50; doc string of `posnp' Drew Adams
2016-04-30 0:41 ` Lars Ingebrigtsen
2016-04-30 5:41 ` Eli Zaretskii
2016-05-02 22:08 ` Lars Ingebrigtsen
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).