emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Can't put cursor after wrapped overlay string with `cursor' property


From: YAMAMOTO Mitsuharu
Subject: Can't put cursor after wrapped overlay string with `cursor' property
Date: Sun, 28 May 2006 17:25:51 +0900 (JST)
User-agent: SEMI/1.14.6 (Maruoka) FLIM/1.14.6 (Marutamachi) APEL/10.6 Emacs/22.0.50 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI)

In some cases, we can't place the cursor at the middle of overlay
string with the 'cursor' text property.

Here's how to reproduce:

  1. emacs -Q -D
  2. (setq overlay (make-overlay 1 1))
  3. (setq str (make-string 100 ?a))
     (put-text-property 40 41 'cursor t str)
     (overlay-put overlay 'before-string str)
  4. M-<

     Then the cursor is at the middle of the first line.
     This is correct.

  5. (setq str (make-string 100 ?a))
     (put-text-property 90 91 'cursor t str)
     (overlay-put overlay 'before-string str)
  6. M-<

     Then the cursor disappears.  This seems to be wrong.

                                     YAMAMOTO Mitsuharu
                                address@hidden


In GNU Emacs 22.0.50.1 (sparc-sun-solaris2.8, X toolkit, Xaw3d scroll bars)
 of 2006-05-28 on church
X server distributor `The XFree86 Project, Inc', version 11.0.40300000
configured using `configure '--x-libraries=/usr/local/lib' 'CFLAGS=-g -O2 -mv8 
-DSYNC_INPUT''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: ja
  locale-coding-system: japanese-iso-8bit
  default-enable-multibyte-characters: t

Major mode: Lisp Interaction

Minor modes in effect:
  display-time-mode: t
  tooltip-mode: t
  tool-bar-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  unify-8859-on-encoding-mode: t
  utf-translate-cjk-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: identity




reply via email to

[Prev in Thread] Current Thread [Next in Thread]