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 [EMAIL PROTECTED] 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 _______________________________________________ emacs-pretest-bug mailing list emacs-pretest-bug@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug