From: Dmitry Gutov <dgutov@yandex.ru>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 18504@debbugs.gnu.org
Subject: bug#18504: 24.3.93; posn-at-point intermittently returns wrong value for a valid buffer position
Date: Fri, 19 Sep 2014 21:52:29 +0400 [thread overview]
Message-ID: <541C6D5D.7030309@yandex.ru> (raw)
In-Reply-To: <831tr71x0y.fsf@gnu.org>
On 09/19/2014 06:54 PM, Eli Zaretskii wrote:
> I tried that, but the probability of getting the problem is too low on
> my system. I see it maybe once in many hundreds of attempts.
Have you tried that with the foofoofoo branch? The message output raises
the odds on my machine considerably (1 in 5-10 attempts).
> What I did see is that the coordinates returned in that case are for
> the end of buffer (or maybe the last visible glyph in the window, if
> EOB is beyond that).
Have you tried adding more lines at the end of the buffer? Even in a
tall window, and with eob far away, the incorrect value is only off by
~10 lines here. Which, incidentally, is close to how many lines the
popup overlay takes up.
> So the first thing I'd try to do is print the
> argument POS you pass to posn-at-point in those cases -- could it be t
> or some other incorrect/unexpected value?
Nope. POS is always the same.
next prev parent reply other threads:[~2014-09-19 17:52 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-19 0:56 bug#18504: 24.3.93; posn-at-point intermittently returns wrong value for a valid buffer position Dmitry
2014-09-19 6:21 ` Eli Zaretskii
2014-09-19 10:25 ` Dmitry Gutov
2014-09-19 13:12 ` Eli Zaretskii
2014-09-19 13:29 ` Dmitry Gutov
2014-09-19 13:35 ` Eli Zaretskii
2014-09-19 13:46 ` Dmitry Gutov
2014-09-19 14:00 ` Eli Zaretskii
2014-09-19 14:06 ` Dmitry Gutov
2014-09-19 14:21 ` Eli Zaretskii
2014-09-19 19:33 ` Dmitry Gutov
2014-09-20 7:13 ` Eli Zaretskii
2014-09-23 18:39 ` Dmitry Gutov
2014-09-23 19:16 ` Eli Zaretskii
2014-09-19 14:54 ` Eli Zaretskii
2014-09-19 17:52 ` Dmitry Gutov [this message]
2014-09-19 19:35 ` Eli Zaretskii
2014-09-19 19:38 ` Dmitry Gutov
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=541C6D5D.7030309@yandex.ru \
--to=dgutov@yandex.ru \
--cc=18504@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 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).