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

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

bug#21368: 25.0.50; Core navigation commands fail in a multi-line intang


From: Vitalie Spinu
Subject: bug#21368: 25.0.50; Core navigation commands fail in a multi-line intangible text with fringe
Date: Sun, 30 Aug 2015 13:46:17 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

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





reply via email to

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