From mboxrd@z Thu Jan 1 00:00:00 1970 From: Samuel Wales Subject: isearch misses stuff (was: `org-next-link' skips links inside PROPERTIES drawer) Date: Tue, 21 Jan 2020 12:35:50 -0700 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:34338) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1itzJa-0000m6-CJ for emacs-orgmode@gnu.org; Tue, 21 Jan 2020 14:35:55 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1itzJZ-0004rA-C1 for emacs-orgmode@gnu.org; Tue, 21 Jan 2020 14:35:54 -0500 Received: from mail-lj1-x229.google.com ([2a00:1450:4864:20::229]:33193) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1itzJZ-0004qW-4v for emacs-orgmode@gnu.org; Tue, 21 Jan 2020 14:35:53 -0500 Received: by mail-lj1-x229.google.com with SMTP id y6so4106722lji.0 for ; Tue, 21 Jan 2020 11:35:53 -0800 (PST) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane-mx.org@gnu.org Sender: "Emacs-orgmode" To: Kyle Meyer Cc: =?UTF-8?B?UGVkcm8gUi5NLiBKw7puaW9y?= , Emacs Org Mode mailing list hi, On 1/20/20, Kyle Meyer 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.