From: "Johan Bockgård" <bojohan@gnu.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 9229@debbugs.gnu.org
Subject: bug#9229: 24.0.50; Bidi problem with `cursor' property
Date: Wed, 03 Aug 2011 22:03:51 +0200 [thread overview]
Message-ID: <87liva5kk8.fsf@gnu.org> (raw)
In-Reply-To: <837h6upaur.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 03 Aug 2011 22:13:16 +0300")
Eli Zaretskii <eliz@gnu.org> writes:
>> Date: Wed, 03 Aug 2011 19:19:45 +0300
>> From: Eli Zaretskii <eliz@gnu.org>
>> Cc: 9229@debbugs.gnu.org
>>
>> > From: Johan Bockgård <bojohan@gnu.org>
>> > Date: Wed, 03 Aug 2011 16:29:52 +0200
>> >
>> >
>> > (let ((o (make-overlay (point-max) (point-max)))
>> > (s (make-string (+ 5 (window-width)) ?-)))
>> > (put-text-property 0 1 'cursor t s)
>> > (overlay-put o 'after-string s)
>> > (goto-char (point-max)))
>> >
>> > The cursor is expected to be displayed before the overlay, but is
>> > displayed after it.
>> >
>> > (This bug makes icomplete-mode very confusing to use.)
>
> Does the patch below give good results? If it solves this particular
> problem, please try it in your regular use for a day or two, and see
> if there are any adverse effects. If you don't spot any trouble, I
> will install this on the trunk.
Apparently, the patch only tries to fix the case where "the entire line
is from display string", which doesn't solve the icomplete problem:
emacs -Q
M-x icomplete-mode RET
M-x a
next prev parent reply other threads:[~2011-08-03 20:03 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-03 14:29 bug#9229: 24.0.50; Bidi problem with `cursor' property Johan Bockgård
2011-08-03 16:19 ` Eli Zaretskii
2011-08-03 19:13 ` Eli Zaretskii
2011-08-03 20:03 ` Johan Bockgård [this message]
2011-08-03 20:41 ` Eli Zaretskii
2011-08-04 16:26 ` Eli Zaretskii
2011-08-04 16:45 ` Johan Bockgård
2011-08-05 10:34 ` 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=87liva5kk8.fsf@gnu.org \
--to=bojohan@gnu.org \
--cc=9229@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.