[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] [BUG] org-link-search fails if search string contains new lines
From: |
Nicolas Goaziou |
Subject: |
Re: [O] [BUG] org-link-search fails if search string contains new lines |
Date: |
Wed, 29 Mar 2017 14:19:57 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) |
Hello,
Matt Lundin <address@hidden> writes:
> Thanks Nicolas. Yes, it now works with multi-line searches that do not
> contain blank lines.
>
> I think there are some instances in which one might want to search
> across blank lines, such as when one captures a region that contains one
> or more blank lines. E.g., let's say org-context-in-file-links is t (the
> default). If one captures a section in org.el containing a blank line,
> org-link-search will fail to locate the section.
>
> Here's a sample link to try it out. (It assumes an org-mode repository
> at ~/org-mode).
>
>
> [[file:~/org-mode/lisp/org.el::(defsubst%20org-uniquify%20(list)%0A%20"Non-destructively%20remove%20duplicate%20elements%20from%20LIST."%0A%20(let%20((res%20(copy-sequence%20list)))%20(delete-dups%20res)))%0A%0A(defsubst%20org-get-at-bol%20(property)%0A%20"Get%20text%20property%20PROPERTY%20at%20the%20beginning%20of%20line."%0A%20(get-text-property%20(point-at-bol)%20property))%0A]]
Fixed. Thank you.
Regards,
--
Nicolas Goaziou 0x80A93738
- [O] [BUG] org-link-search fails if search string contains new lines, Matt Lundin, 2017/03/26
- Re: [O] [BUG] org-link-search fails if search string contains new lines, Matt Lundin, 2017/03/26
- Re: [O] [BUG] org-link-search fails if search string contains new lines, Nicolas Goaziou, 2017/03/27
- Re: [O] [BUG] org-link-search fails if search string contains new lines, Skip Collins, 2017/03/28
- Re: [O] [BUG] org-link-search fails if search string contains new lines, Nicolas Goaziou, 2017/03/29
- Re: [O] [BUG] org-link-search fails if search string contains new lines, Skip Collins, 2017/03/29
- Re: [O] [BUG] org-link-search fails if search string contains new lines, Nicolas Goaziou, 2017/03/30