From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ali Tofigh Subject: Re: Incremental search only within visble text Date: Tue, 1 Apr 2014 19:47:53 -0400 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44769) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WV8Q0-0007US-MU for emacs-orgmode@gnu.org; Tue, 01 Apr 2014 19:48:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WV8Pz-00086H-OJ for emacs-orgmode@gnu.org; Tue, 01 Apr 2014 19:48:36 -0400 Received: from mail-qg0-x236.google.com ([2607:f8b0:400d:c04::236]:50953) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WV8Pz-00085W-Jk for emacs-orgmode@gnu.org; Tue, 01 Apr 2014 19:48:35 -0400 Received: by mail-qg0-f54.google.com with SMTP id a108so6382214qge.13 for ; Tue, 01 Apr 2014 16:48:35 -0700 (PDT) In-Reply-To: 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.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Samuel Wales Cc: Mailinglist emacs-orgmode Thanks! This is exactly what I was looking for. /ali On Tue, Apr 1, 2014 at 5:47 PM, Samuel Wales wrote: > (define-key global-map "\C-\M-r" 'alpha-isearch-backward-visible) > ;; also for dired filename search > (define-key global-map "\C-\M-s" 'alpha-isearch-visible) > (defun alpha-isearch-backward-visible () > (interactive) > (let ((search-invisible)) > (isearch-backward-regexp))) > (defun alpha-isearch-visible () > (interactive) > (let ((search-invisible)) > ;; notwork > ;; (call-interactively #'query-replace-regexp) > (isearch-forward-regexp))) > > > On 4/1/14, Ali Tofigh wrote: >> Sometimes I just want to do an incremental search in the visible text >> of a partially folded org file. In other words, I want the search to >> ignore text that is invisible due to folding. I know that there is an >> org-copy-visible command. Is there an equivalent command for >> searching? >> >> /ali >> >> > > > -- > The Kafka Pandemic: http://thekafkapandemic.blogspot.com > > The disease DOES progress. MANY people have died from it. And > ANYBODY can get it. > > Denmark: free Karina Hansen NOW.