GNU bug report logs - #5920
24.0.50; bidi: problem using 'display' text property

Previous Next

Package: emacs;

Reported by: Ari Roponen <ari.roponen <at> gmail.com>

Date: Sat, 10 Apr 2010 07:47:02 UTC

Severity: normal

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Ari Roponen <ari.roponen <at> gmail.com>
To: 5920 <at> debbugs.gnu.org
Subject: bug#5920: 24.0.50; bidi: problem using 'display' text property
Date: Sat, 10 Apr 2010 10:46:42 +0300
Hi,

there seems to be a problem handling 'display' text property in
bidi. The bug can be reproduced with this:

  (progn
    (switch-to-buffer "*tmp*")
    (setq bidi-display-reordering t)
    (insert "first\nsecond\n" (propertize "III" 'display "third") "\nfourth"))

After evaluating the form the buffer looks like this:
('|' represents the cursor):

-------------
first
second
third
II
fourth|
-------------

The extra line showing "II" disappears when disabling bidi.


In GNU Emacs 24.0.50.2 (x86_64-unknown-linux-gnu, GTK+ Version 2.19.7)
 of 2010-04-09 on arirop
Windowing system distributor `Fedora Project', version 11.0.10799901

-- 
Ari Roponen





This bug report was last modified 15 years and 35 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.