From: Eli Zaretskii <eliz@gnu.org>
To: Joost Kremers <joostkremers@fastmail.fm>
Cc: emacs-devel@gnu.org
Subject: Re: wrong cursor position reported when window margins are wide
Date: Tue, 28 Feb 2017 18:19:11 +0200 [thread overview]
Message-ID: <83wpcanv9c.fsf@gnu.org> (raw)
In-Reply-To: <87bmtmxvm5.fsf@fastmail.fm> (message from Joost Kremers on Tue, 28 Feb 2017 15:01:22 +0100)
> From: Joost Kremers <joostkremers@fastmail.fm>
> Date: Tue, 28 Feb 2017 15:01:22 +0100
>
> I recently had a bug report for a package[1] I maintain, which
> seems to be a bug in Emacs itself. The user that reported the bug
> uses Fcitx[2], an X-Window based input framework for Chinese
> (probably other Asian languages as well, but I have no expertise
> in that area). Another user reported the same problem for another
> such input framework, ibus[3].
>
> Basically, these input methods consist of a small box (GUI window)
> that follows the text cursor. They rely on the underlying program
> (i.e., in this case Emacs) to report the cursor position in order
> to position the input box correctly.
>
> It seems that when the window margins of an Emacs window are
> non-nil, the cursor position is reported incorrectly, resulting in
> the input box being displayed in the wrong place.
>
> The original bug report is here:
>
> <https://github.com/joostkremers/visual-fill-column/issues/25#issuecomment-281844388>
>
> There are screen shots that illustrate the problem. (Scroll down a
> bit for screen shots with `emacs -Q'.)
Sorry, I couldn't understand what is meant by "cursor position
reporting". Could you clarify, and perhaps show an example of how
that reported position changes when a window has display margins?
Thanks.
next prev parent reply other threads:[~2017-02-28 16:19 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-02-28 14:01 wrong cursor position reported when window margins are wide Joost Kremers
2017-02-28 16:19 ` Eli Zaretskii [this message]
2017-02-28 20:41 ` Joost Kremers
2017-03-01 3:40 ` Eli Zaretskii
2017-03-01 8:00 ` Joost Kremers
2017-03-01 16:14 ` 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=83wpcanv9c.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=joostkremers@fastmail.fm \
/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.