[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] canonical way to go beginning of a link
From: |
John Kitchin |
Subject: |
Re: [O] canonical way to go beginning of a link |
Date: |
Wed, 06 Jul 2016 08:08:30 -0400 |
User-agent: |
mu4e 0.9.16; emacs 25.1.50.1 |
Haustedt, Jens writes:
> Given this setting:
>
> some more text cite:a-key some text cite:a-key
> ^
> When you run (re-search-backward "cite:") at the point above, the result is
> as follows:
>
> some more text cite:a-key some text cite:a-key
> ^
>
> This is exactly what I expected it to act. In your example
> above, the whole search pattern could not be found in ist entirety from
> the indicated point on, so it could not be found at all and point
> is not moved.
That is what I expect too, just not what I want ;)
>
> Maybe it is a good idea to move point forward for at least count
> of chars in search pattern before the search executes?
This is a great idea, thanks!
>
> Greets, Jens Haustedt
--
Professor John Kitchin
Doherty Hall A207F
Department of Chemical Engineering
Carnegie Mellon University
Pittsburgh, PA 15213
412-268-7803
@johnkitchin
http://kitchingroup.cheme.cmu.edu