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

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

bug#19200: Point adjustemnt moves *into* invisible text


From: Stefan Monnier
Subject: bug#19200: Point adjustemnt moves *into* invisible text
Date: Wed, 26 Nov 2014 17:22:28 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

1. Yank this in an empty buffer in fundamental-mode and evaluate it.

(progn
  (goto-char (point-min))
  (insert "1\n"
          (propertize "3\n" 'invisible t)
          "5\n"
          "7\n")
          (backward-char 2))

2. M-< C-n

3. M-: (point) RET

  This should say 3 (where get-pos-property says it's not invisible)
  but returns 5 (where get-pos-property says it is invisible)!

4. M-: (point) RET

  This now returns 3.


-- Stefan





reply via email to

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