[Top][All Lists]

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

Re: `vertical-motion', `goto-line' set point to invisible text

From: Eli Zaretskii
Subject: Re: `vertical-motion', `goto-line' set point to invisible text
Date: Tue, 05 Jul 2011 05:55:36 +0300

> From: Dmitry Kurochkin <address@hidden>
> Date: Tue, 05 Jul 2011 06:22:56 +0400
> Cc: address@hidden
> Still looking for an answer to the following question earlier in this
> thread:
>     I am looking for a function that does something like what you described
>     below.  I.e. moves point to the next suitable character in the given
>     direction.  At the moment I do it with smth like:
>       ;; if point is invisible, skip forward to visible text
>       (while (invisible-p p)
>         (setq p (next-single-char-property-change p 'invisible)))

I think your code is the right way.  I don't think anything
ready-to-use exists.

reply via email to

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