GNU bug report logs - #5988
24.0.50; bidi-display-reordering interferes with overlays

Previous Next

Package: emacs;

Reported by: Ivan Andrus <darthandrus <at> gmail.com>

Date: Tue, 20 Apr 2010 17:31:02 UTC

Severity: normal

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

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 5988 in the body.
You can then email your comments to 5988 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#5988; Package emacs. (Tue, 20 Apr 2010 17:31:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Ivan Andrus <darthandrus <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Tue, 20 Apr 2010 17:31:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Ivan Andrus <darthandrus <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.0.50; bidi-display-reordering interferes with overlays
Date: Tue, 20 Apr 2010 19:28:46 +0200
emacs -Q

Then evaluate in a scratch buffer:

(let ((ov (make-overlay (+ 2 (point-min)) (- (point-max) 160))))
  (overlay-put ov 'display "just a test")
  ;; (delete-overlay ov)
  )

(setq-default bidi-display-reordering t)
(setq-default bidi-display-reordering nil)

Note that when bidi-display-reordering is t, the text in the buffer is
displayed as well as the display property of the overlay, but when nil,
the text "just a test" is displayed instead.



In GNU Emacs 24.0.50.15 (x86_64-apple-darwin10.3.0, NS apple-appkit-1038.29)
of 2010-04-20 on parduc.local
Windowing system distributor `Apple', version 10.3.1038
configured using `configure  '--with-ns''

Important settings:
  value of $LC_ALL: C
  value of $LC_COLLATE: en_US
  value of $LC_CTYPE: en_US
  value of $LC_MESSAGES: en_US
  value of $LC_MONETARY: en_US
  value of $LC_NUMERIC: en_US
  value of $LC_TIME: en_US
  value of $LANG: en_US
  value of $XMODIFIERS: nil
  locale-coding-system: nil
  default enable-multibyte-characters: t

Major mode: Lisp Interaction

Minor modes in effect:
  tooltip-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
<down-mouse-1> <mouse-1> <down> <return> <up> <up> 
<up> <up> <left> <left> <left> <help-echo> <ns-toggle-toolbar> 
<ns-toggle-toolbar> <ns-toggle-toolbar> <help-echo> 
<tool-bar> <kill-buffer> C-y TAB TAB <up> <up> <up> 
<up> <up> <up> C-k C-k C-x C-e <C-down> C-x C-e <help-echo> 
<down-mouse-1> <mouse-1> <double-down-mouse-1> <double-mouse-1> 
<triple-down-mouse-1> <triple-mouse-1> <down-mouse-1> 
<mouse-movement> <mouse-movement> <drag-mouse-1> C-w 
C-y TAB TAB TAB <C-up> <up> C-k <down> <down> <down> 
<down> <down> <down> <down> C-y <up> C-x C-e <down> 
<down> C-x C-e <left> <backspace> n i l C-e C-x C-e 
<C-s-268632064> <C-up> <C-up> <C-up> C-k C-k C-k C-k 
C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k 
C-k C-k C-k C-y <C-S-return> <down-mouse-1> <mouse-movement> 
<mouse-movement> <drag-mouse-1> C-w C-y <up> <up> C-x 
C-e <down> <down> C-x C-e <down> C-x C-e <up> C-x C-e 
<down> <down> s-x r e s-x r e C-a M-x r e p <tab> o 
<tab> r <tab> <return> B i d i r e c t i o n a l SPC 
C-a C-y s-k M-x <up> <return>

Recent messages:
nil
kill-line: End of buffer
Mark set [2 times]
"just a test"
t
byte-code: End of buffer
nil
t
byte-code: End of buffer
Making completion list... [2 times]
Quit

Load-path shadows:
None found.

Features:
(shadow sort gnus-util mail-extr message rfc822 mml mml-sec mm-decode
mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums
mm-util mail-prsvr mailabbrev mail-utils gmm-utils mailheader emacsbug
help-mode view tooltip ediff-hook vc-hooks lisp-float-type mwheel ns-win
easymenu tool-bar dnd fontset image fringe lisp-mode register page
menu-bar rfn-eshadow timer select scroll-bar mldrag mouse jit-lock
font-lock syntax facemenu font-core frame cham georgian utf-8-lang
misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew
greek romanian slovak czech european ethiopic indian cyrillic chinese
case-table epa-hook jka-cmpr-hook help simple abbrev loaddefs button
minibuffer faces cus-face files text-properties overlay md5 base64
format env code-pages mule custom widget hashtable-print-readable
backquote make-network-process dbusbind ns multi-tty emacs)





Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#5988; Package emacs. (Wed, 21 Apr 2010 02:37:02 GMT) Full text and rfc822 format available.

Message #8 received at 5988 <at> debbugs.gnu.org (full text, mbox):

From: Juanma Barranquero <lekktu <at> gmail.com>
To: Ivan Andrus <darthandrus <at> gmail.com>
Cc: 5988 <at> debbugs.gnu.org
Subject: Re: bug#5988: 24.0.50; bidi-display-reordering interferes with 
	overlays
Date: Wed, 21 Apr 2010 04:36:20 +0200
On Tue, Apr 20, 2010 at 19:28, Ivan Andrus <darthandrus <at> gmail.com> wrote:
> emacs -Q
>
> Then evaluate in a scratch buffer:
>
> (let ((ov (make-overlay (+ 2 (point-min)) (- (point-max) 160))))
>  (overlay-put ov 'display "just a test")
>  ;; (delete-overlay ov)
>  )
>
> (setq-default bidi-display-reordering t)
> (setq-default bidi-display-reordering nil)

Not just overlays, but display properties in general:

  emacs -Q --eval '(setq-default bidi-display-reordering t)' -f buffer-menu

and I suppose the problem with references in Info nodes is also related to this.

    Juanma




Reply sent to Eli Zaretskii <eliz <at> gnu.org>:
You have taken responsibility. (Fri, 23 Apr 2010 15:15:02 GMT) Full text and rfc822 format available.

Notification sent to Ivan Andrus <darthandrus <at> gmail.com>:
bug acknowledged by developer. (Fri, 23 Apr 2010 15:15:02 GMT) Full text and rfc822 format available.

Message #13 received at 5988-done <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Ivan Andrus <darthandrus <at> gmail.com>
Cc: 5988-done <at> debbugs.gnu.org
Subject: Re: bug#5988: 24.0.50;
	bidi-display-reordering interferes with overlays
Date: Fri, 23 Apr 2010 18:14:32 +0300
> From: Ivan Andrus <darthandrus <at> gmail.com>
> Date: Tue, 20 Apr 2010 19:28:46 +0200
> Cc: 
> 
> emacs -Q
> 
> Then evaluate in a scratch buffer:
> 
> (let ((ov (make-overlay (+ 2 (point-min)) (- (point-max) 160))))
>   (overlay-put ov 'display "just a test")
>   ;; (delete-overlay ov)
>   )
> 
> (setq-default bidi-display-reordering t)
> (setq-default bidi-display-reordering nil)
> 
> Note that when bidi-display-reordering is t, the text in the buffer is
> displayed as well as the display property of the overlay, but when nil,
> the text "just a test" is displayed instead.

Fixed by revno 100005.




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#5988; Package emacs. (Fri, 23 Apr 2010 15:17:01 GMT) Full text and rfc822 format available.

Message #16 received at 5988 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Juanma Barranquero <lekktu <at> gmail.com>
Cc: darthandrus <at> gmail.com, 5988 <at> debbugs.gnu.org
Subject: Re: bug#5988: 24.0.50;
	bidi-display-reordering interferes with overlays
Date: Fri, 23 Apr 2010 18:15:51 +0300
> From: Juanma Barranquero <lekktu <at> gmail.com>
> Date: Wed, 21 Apr 2010 04:36:20 +0200
> Cc: 5988 <at> debbugs.gnu.org
> 
> On Tue, Apr 20, 2010 at 19:28, Ivan Andrus <darthandrus <at> gmail.com> wrote:
> > emacs -Q
> >
> > Then evaluate in a scratch buffer:
> >
> > (let ((ov (make-overlay (+ 2 (point-min)) (- (point-max) 160))))
> >  (overlay-put ov 'display "just a test")
> >  ;; (delete-overlay ov)
> >  )
> >
> > (setq-default bidi-display-reordering t)
> > (setq-default bidi-display-reordering nil)
> 
> Not just overlays, but display properties in general:
> 
>   emacs -Q --eval '(setq-default bidi-display-reordering t)' -f buffer-menu

Thanks for the test cases, I fixed this now.

> and I suppose the problem with references in Info nodes is also related to this.

What problems?  If revno 100005 does not fix them, please file a new
bug report with a recipe to reproduce.

Thanks.





Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#5988; Package emacs. (Fri, 23 Apr 2010 17:07:01 GMT) Full text and rfc822 format available.

Message #19 received at 5988 <at> debbugs.gnu.org (full text, mbox):

From: Juanma Barranquero <lekktu <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: darthandrus <at> gmail.com, 5988 <at> debbugs.gnu.org
Subject: Re: bug#5988: 24.0.50; bidi-display-reordering interferes with 
	overlays
Date: Fri, 23 Apr 2010 19:06:03 +0200
On Fri, Apr 23, 2010 at 17:15, Eli Zaretskii <eliz <at> gnu.org> wrote:

> What problems?  If revno 100005 does not fix them, please file a new
> bug report with a recipe to reproduce.

It is fixed now.

Thanks,

    Juanma




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#5988; Package emacs. (Fri, 23 Apr 2010 17:41:01 GMT) Full text and rfc822 format available.

Message #22 received at 5988 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Juanma Barranquero <lekktu <at> gmail.com>
Cc: darthandrus <at> gmail.com, 5988 <at> debbugs.gnu.org
Subject: Re: bug#5988: 24.0.50;
	bidi-display-reordering interferes with	overlays
Date: Fri, 23 Apr 2010 20:39:05 +0300
> From: Juanma Barranquero <lekktu <at> gmail.com>
> Date: Fri, 23 Apr 2010 19:06:03 +0200
> Cc: darthandrus <at> gmail.com, 5988 <at> debbugs.gnu.org
> 
> On Fri, Apr 23, 2010 at 17:15, Eli Zaretskii <eliz <at> gnu.org> wrote:
> 
> > What problems?  If revno 100005 does not fix them, please file a new
> > bug report with a recipe to reproduce.
> 
> It is fixed now.

Thanks for testing.





bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 22 May 2010 11:24:03 GMT) Full text and rfc822 format available.

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.