unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#5988: 24.0.50; bidi-display-reordering interferes with overlays
@ 2010-04-20 17:28 Ivan Andrus
  2010-04-21  2:36 ` Juanma Barranquero
  2010-04-23 15:14 ` Eli Zaretskii
  0 siblings, 2 replies; 6+ messages in thread
From: Ivan Andrus @ 2010-04-20 17:28 UTC (permalink / raw)
  To: 5988

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)







^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#5988: 24.0.50; bidi-display-reordering interferes with  overlays
  2010-04-20 17:28 bug#5988: 24.0.50; bidi-display-reordering interferes with overlays Ivan Andrus
@ 2010-04-21  2:36 ` Juanma Barranquero
  2010-04-23 15:15   ` Eli Zaretskii
  2010-04-23 15:14 ` Eli Zaretskii
  1 sibling, 1 reply; 6+ messages in thread
From: Juanma Barranquero @ 2010-04-21  2:36 UTC (permalink / raw)
  To: Ivan Andrus; +Cc: 5988

On Tue, Apr 20, 2010 at 19:28, Ivan Andrus <darthandrus@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






^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#5988: 24.0.50; bidi-display-reordering interferes with overlays
  2010-04-20 17:28 bug#5988: 24.0.50; bidi-display-reordering interferes with overlays Ivan Andrus
  2010-04-21  2:36 ` Juanma Barranquero
@ 2010-04-23 15:14 ` Eli Zaretskii
  1 sibling, 0 replies; 6+ messages in thread
From: Eli Zaretskii @ 2010-04-23 15:14 UTC (permalink / raw)
  To: Ivan Andrus; +Cc: 5988-done

> From: Ivan Andrus <darthandrus@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.






^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#5988: 24.0.50; bidi-display-reordering interferes with overlays
  2010-04-21  2:36 ` Juanma Barranquero
@ 2010-04-23 15:15   ` Eli Zaretskii
  2010-04-23 17:06     ` Juanma Barranquero
  0 siblings, 1 reply; 6+ messages in thread
From: Eli Zaretskii @ 2010-04-23 15:15 UTC (permalink / raw)
  To: Juanma Barranquero; +Cc: darthandrus, 5988

> From: Juanma Barranquero <lekktu@gmail.com>
> Date: Wed, 21 Apr 2010 04:36:20 +0200
> Cc: 5988@debbugs.gnu.org
> 
> On Tue, Apr 20, 2010 at 19:28, Ivan Andrus <darthandrus@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.







^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#5988: 24.0.50; bidi-display-reordering interferes with  overlays
  2010-04-23 15:15   ` Eli Zaretskii
@ 2010-04-23 17:06     ` Juanma Barranquero
  2010-04-23 17:39       ` Eli Zaretskii
  0 siblings, 1 reply; 6+ messages in thread
From: Juanma Barranquero @ 2010-04-23 17:06 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: darthandrus, 5988

On Fri, Apr 23, 2010 at 17:15, Eli Zaretskii <eliz@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






^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#5988: 24.0.50; bidi-display-reordering interferes with overlays
  2010-04-23 17:06     ` Juanma Barranquero
@ 2010-04-23 17:39       ` Eli Zaretskii
  0 siblings, 0 replies; 6+ messages in thread
From: Eli Zaretskii @ 2010-04-23 17:39 UTC (permalink / raw)
  To: Juanma Barranquero; +Cc: darthandrus, 5988

> From: Juanma Barranquero <lekktu@gmail.com>
> Date: Fri, 23 Apr 2010 19:06:03 +0200
> Cc: darthandrus@gmail.com, 5988@debbugs.gnu.org
> 
> On Fri, Apr 23, 2010 at 17:15, Eli Zaretskii <eliz@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.







^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2010-04-23 17:39 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-20 17:28 bug#5988: 24.0.50; bidi-display-reordering interferes with overlays Ivan Andrus
2010-04-21  2:36 ` Juanma Barranquero
2010-04-23 15:15   ` Eli Zaretskii
2010-04-23 17:06     ` Juanma Barranquero
2010-04-23 17:39       ` Eli Zaretskii
2010-04-23 15:14 ` Eli Zaretskii

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).