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

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

Fw: request for bug fix of "invisible"


From: 山本和彦
Subject: Fw: request for bug fix of "invisible"
Date: Wed, 17 Nov 2004 17:14:54 +0900 (JST)

Hello,

Would someone kindly respond this report?
Thanks in advance.

--Kazu Yamamoto
--- Begin Message --- Subject: request for bug fix of "invisible" Date: Fri, 29 Oct 2004 12:07:10 +0900 (JST)
Hello,

This is the third trial to ask to fix bugs related to the "invisible"
property. I'm really suffering from these bugs.

Consider the following content (without invisible text) of a buffer:

---
line1
line2
line3
line4
---

At the beginning of line N, C-n goes to the beginning of line N+1.
At the beginning of line N, C-p goes to the beginning of line N-1.
At the end of line N, C-n goes to the end of line N+1.
At the end of line N, C-p goes to the end of line N-1.

This is the right behavior.

Then put the invisible property onto line 2 including "\n".

---
line1
line3
line4
---

(1) If line-move-ignore-invisible is nil:

At the beginning of line 3, C-n goes to "i" in line 3.
        (should go to the beginning of line 4)
At the end of line 3, C-p goes to the beginning of line 3.
        (should go to the end of line 2)
At the beginning of line 3, C-e goes to "i" in line 3.
        (should go to the end of line 3)

(2) If line-move-ignore-invisible is t:

At the end of line 1, C-n goes to the beginning of line 3.
        (should go to the end of line 3)
At the end of line 4, C-p goes to the beginning of line 3.
        (should go to the end of line 3)
At the beginning of the line 3, C-e goes to "i" in line 3.
        (should go to the end of line 3)

I guess the best solution is removing the line-move-ignore-invisible
variable and behaving as if the invisible text does not exist.

If this is not possible, Emacs should behave as if the invisible text
does not exist when line-move-ignore-invisible is non-nil.

--Kazu Yamamoto

--- End Message ---

reply via email to

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