Subject: bug#21368: 25.0.50; Core navigation commands fail in a multi-line intangible text with fringe

From: Vitalie Spinu <[email-masked]>
Date: Sun, 30 Aug 2015 13:46:17 +0200

>> On Sat, Aug 29 2015 23:53, Wolfgang Jenkner wrote:

> However, fd93edb from 2015-03-27 behaves in the same way as trunk does,
> in *scratch*, too.

It turned out to be more nuanced.

I can reproduce M-x (backward-char 1) behavior on emacs 24.3.1. So that's not
new. The new part shows only when the 'intangible property is set:

     (defun insert-with-fringe ()
       (interactive)
       (insert
        "      "
        (concat
         (propertize "fringe" 'display (list 'left-fringe 'filled-square font-lock-doc-face)
     		'intangible 'test)
         (propertize "dummy\n" 'display "AAA\n" 'font-lock-face font-lock-doc-face
     		'intangible 'test))
        "some more text")
       (previous-line))

Prior to 1st of April 2015 the (backward-char 1) used to work with the above
example. Something changed between 1st of April and 1st of June and as a
consequence the point is now stuck even with the above example. I wasn't able to
build emacs on commits between April 1st and June 1st.

  Vitalie