[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.
- Re: `vertical-motion', `goto-line' set point to invisible text, (continued)
- Re: `vertical-motion', `goto-line' set point to invisible text, Stefan Monnier, 2011/07/03
- Re: `vertical-motion', `goto-line' set point to invisible text, Eli Zaretskii, 2011/07/03
- Re: `vertical-motion', `goto-line' set point to invisible text, Stefan Monnier, 2011/07/04
- Re: `vertical-motion', `goto-line' set point to invisible text, Eli Zaretskii, 2011/07/04
- Re: `vertical-motion', `goto-line' set point to invisible text, Stefan Monnier, 2011/07/04
- Re: `vertical-motion', `goto-line' set point to invisible text, Eli Zaretskii, 2011/07/04
- Re: `vertical-motion', `goto-line' set point to invisible text, Eli Zaretskii, 2011/07/04
- Re: `vertical-motion', `goto-line' set point to invisible text, Dmitry Kurochkin, 2011/07/04
- Re: `vertical-motion', `goto-line' set point to invisible text,
Eli Zaretskii <=
- Re: `vertical-motion', `goto-line' set point to invisible text, Dmitry Kurochkin, 2011/07/04
- Re: `vertical-motion', `goto-line' set point to invisible text, Eli Zaretskii, 2011/07/05
- Re: `vertical-motion', `goto-line' set point to invisible text, Dmitry Kurochkin, 2011/07/09