emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* isearch misses stuff (was: `org-next-link' skips links inside PROPERTIES drawer)
@ 2020-01-21 19:35 Samuel Wales
  0 siblings, 0 replies; only message in thread
From: Samuel Wales @ 2020-01-21 19:35 UTC (permalink / raw)
  To: Kyle Meyer; +Cc: Pedro R.M. Júnior, Emacs Org Mode mailing list

hi,

On 1/20/20, Kyle Meyer <kyle@kyleam.com> wrote:
>> is isearch intended to be also affected?  or just org-next-link?  i
>
> No, isearch isn't affected.

thanks, that's a relief.  then we have a "your life in plain text"
(i.e. matches everything) search inside emacs that will also work with
multi-buffer isearch etc.

> Here are two options:
>
>   * Set search-invisible to t.  (The default value of `open' won't allow
>     you to match links.)

i tried t, and it stopped at links without opening them.  i'd prefer
it open them, but it is good that it matched them.

however, it made org entries not open during isearch.  so i don't
think this will work.

the docstring says you can make things open by adding an overlay
property.  i'm not sure what those are.  could this possibly allow
isearch to find links while still opening org entries?

>   * Make the links visible with org-toggle-link-display before
>     searching.

i don't think i would remember to do this, so i would have to
defadvice isearch to do this before searching an org buffer, and then
turn it off after, or something like that?  if i got it to work, i'd
wonder if it would work with multi-isearch.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-01-21 19:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-21 19:35 isearch misses stuff (was: `org-next-link' skips links inside PROPERTIES drawer) Samuel Wales

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).