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

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

Re: invisible


From: Luc Teirlinck
Subject: Re: invisible
Date: Sat, 28 Feb 2004 20:24:44 -0600 (CST)

>From my prior message:

   There are two other bugs related to invisibility, which I might report
   later.

===File ~/invlines==========================================
line1
line2
line3
line4
line5
line6
line7
============================================================

No trailing whitespace but with final newline.

Visit using emacs -q

(put-text-property 6 7 `invisible t)
(put-text-property 12 13 `invisible t)
(put-text-property 18 19 `invisible t)
(put-text-property 24 25 `invisible t)
(put-text-property 30 31 `invisible t)

Result:

line1line2line3line4line5line6
line7

line-move-ignore-invisible is now nil.

With point at beginning of buffer keep doing C-n.  Everything goes at
expected.  We arrive at the end of the buffer, the newline after line7.

C-p beginning of line7. OK.
C-p beginning of line6.  OK.
C-p beginning of line4.  Why did we skip line5?
C-p beginning of line2.  Skipped line3.

I am not sure that this is related to Stefan's change, but it did not
occur in 21.3.

Similar but different problem.  Did already occur in 21.3:

(setq line-move-ignore-invisible t)

Same exercise.  C-n now carries us a lot faster to end of buffer, as
it should.  No problems there.

C-p beginning of line7 OK.
C-p beginning of line5.  Should have been beginning of buffer.

Sincerely,

Luc.





reply via email to

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