emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Incremental search only within visble text


From: Ali Tofigh
Subject: Re: [O] Incremental search only within visble text
Date: Tue, 1 Apr 2014 19:47:53 -0400

Thanks! This is exactly what I was looking for.

/ali

On Tue, Apr 1, 2014 at 5:47 PM, Samuel Wales <address@hidden> 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 <address@hidden> 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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]