[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: move-beginning-of-line misbehaves on wrapped-line invisible text - r
From: |
Ken Manheimer |
Subject: |
Re: move-beginning-of-line misbehaves on wrapped-line invisible text - recent cvs checkout |
Date: |
Tue, 31 Jan 2006 14:10:42 -0500 |
this works for me. it's different from the one that Lőrentey Károly
sent, in response to my patch, which he asserts also provides properly
for field boundaries, and which also works for me.
ken
address@hidden
On 1/30/06, Richard M. Stallman <address@hidden> wrote:
> For the current version of simple.el, is this the change that is needed?
>
> *** simple.el 23 Jan 2006 11:48:39 -0500 1.787
> --- simple.el 30 Jan 2006 13:23:53 -0500
> ***************
> *** 3743,3749 ****
> ;; Move to beginning-of-line, ignoring fields and invisibles.
> (skip-chars-backward "^\n")
> (while (and (not (bobp)) (line-move-invisible-p (1- (point))))
> ! (goto-char (previous-char-property-change (1- (point))))
> (skip-chars-backward "^\n"))
>
> ;; Take care of fields.
> --- 3743,3749 ----
> ;; Move to beginning-of-line, ignoring fields and invisibles.
> (skip-chars-backward "^\n")
> (while (and (not (bobp)) (line-move-invisible-p (1- (point))))
> ! (goto-char (previous-char-property-change (point)))
> (skip-chars-backward "^\n"))
>
> ;; Take care of fields.
>