emacs-devel
[Top][All Lists]
Advanced

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

Problem with {beginning,end}-of-visual-line


From: Vinicius Jose Latorre
Subject: Problem with {beginning,end}-of-visual-line
Date: Sun, 30 Nov 2008 18:28:59 -0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.18) Gecko/20081030 SeaMonkey/1.1.13


I'm not sure if the behavior described below is a bug or not.

If it's a bug, I'll send a report bug.

Please, try with the latest Emacs CVS:


1. emacs -Q


2. Insert in the *Scratch* buffer:

WF012345678901234567890123456789012345678901234FW
| ;      »       »       »^      »       »ABC   |

Where:
- The very first line indicates the column (numbers), the fringes (F) and the window border (W).
- The character | represents the window border.
- The character ^ represents the point.
- The character » represents a TAB.


3. Shrink window:

WF0123456789012345678901234567890123456FW
| ;      »       »       »^      »     <|
|>  »ABC                                |


4. M-x beginning-of-visual-line RET

WF0123456789012345678901234567890123456FW
| ^;     »       »       »       »     <|
|>  »ABC                                |


5. M-x end-of-visual-line RET

WF0123456789012345678901234567890123456FW
| ;      »       »       »       »^    <|
|>  »ABC                                |


6. M-x beginning-of-visual-line RET

WF0123456789012345678901234567890123456FW
| ;      »       »       »       »     <|
|>  »^ABC                               |

Shouldn't the point be in column 0 just before character ; instead of just before character A in the next visual line?


7. M-x end-of-visual-line RET

WF0123456789012345678901234567890123456FW
| ;;     »       »       »       »     <|
|>  »ABC^                               |


Is this a bug?





reply via email to

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