emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Navigating sparse tree results
@ 2011-01-05  0:38 suvayu ali
  2011-01-05  8:35 ` Sébastien Vauban
  2011-01-06 11:37 ` Carsten Dominik
  0 siblings, 2 replies; 6+ messages in thread
From: suvayu ali @ 2011-01-05  0:38 UTC (permalink / raw)
  To: org-mode mailing list

Hi,

Is there any way to move to the next match after a sparse tree
command. Say I search for a regexp with the sparse tree command, how do
I to move to the next highlighted match? I was hoping something like
`next-error' or `C-s' for isearch[fn:1].

Footnotes:

[fn:1] I know all this does is search for the string again, maybe sparse
tree could provide a convenient binding immediately after the search to
jump to the next match?

-- 
Suvayu

Open source is the future. It sets us free.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Navigating sparse tree results
  2011-01-05  0:38 Navigating sparse tree results suvayu ali
@ 2011-01-05  8:35 ` Sébastien Vauban
  2011-01-06 11:37 ` Carsten Dominik
  1 sibling, 0 replies; 6+ messages in thread
From: Sébastien Vauban @ 2011-01-05  8:35 UTC (permalink / raw)
  To: emacs-orgmode-mXXj517/zsQ

Hi suvayu,

suvayu ali wrote:
> Is there any way to move to the next match after a sparse tree
> command. Say I search for a regexp with the sparse tree command, how do
> I to move to the next highlighted match? I was hoping something like
> `next-error' or `C-s' for isearch[fn:1].

I find the idea of =next-error= to be a great one. What I currently do, is
just =C-v= (some sort of Page Down) and look at the highlighted words. But, it
is still quite easy to miss one for long blocks of text under the headlines.

Best regards,
  Seb

-- 
Sébastien Vauban


_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode-mXXj517/zsQ@public.gmane.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Navigating sparse tree results
  2011-01-05  0:38 Navigating sparse tree results suvayu ali
  2011-01-05  8:35 ` Sébastien Vauban
@ 2011-01-06 11:37 ` Carsten Dominik
  2011-01-06 16:14   ` suvayu ali
  1 sibling, 1 reply; 6+ messages in thread
From: Carsten Dominik @ 2011-01-06 11:37 UTC (permalink / raw)
  To: suvayu ali; +Cc: org-mode mailing list


On Jan 5, 2011, at 1:38 AM, suvayu ali wrote:

> Hi,
>
> Is there any way to move to the next match after a sparse tree
> command. Say I search for a regexp with the sparse tree command, how  
> do
> I to move to the next highlighted match? I was hoping something like
> `next-error' or `C-s' for isearch[fn:1].


This is a great idea.  next-error and previous-error do now
work on sparse tree results.  In a standard Emacs, these
commands are bound to

M-g n
M-g M-n
M-g p
M-g M-p

- Carsten

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Navigating sparse tree results
  2011-01-06 11:37 ` Carsten Dominik
@ 2011-01-06 16:14   ` suvayu ali
  2011-01-06 21:02     ` Carsten Dominik
  0 siblings, 1 reply; 6+ messages in thread
From: suvayu ali @ 2011-01-06 16:14 UTC (permalink / raw)
  To: Carsten Dominik; +Cc: org-mode mailing list

Hi Carsten and Seb,

On Thu, Jan 6, 2011 at 3:37 AM, Carsten Dominik
<carsten.dominik@gmail.com> wrote:
>
> On Jan 5, 2011, at 1:38 AM, suvayu ali wrote:
>
>> Hi,
>>
>> Is there any way to move to the next match after a sparse tree
>> command. Say I search for a regexp with the sparse tree command, how do
>> I to move to the next highlighted match? I was hoping something like
>> `next-error' or `C-s' for isearch[fn:1].
>
>
> This is a great idea.  next-error and previous-error do now
> work on sparse tree results.  In a standard Emacs, these
> commands are bound to
>
> M-g n
> M-g M-n
> M-g p
> M-g M-p
>

I was actually trying my hand on it after Seb's encouraging words but
you got to it faster. Thanks a lot! :)

-- 
Suvayu

Open source is the future. It sets us free.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Navigating sparse tree results
  2011-01-06 16:14   ` suvayu ali
@ 2011-01-06 21:02     ` Carsten Dominik
  2011-01-06 21:06       ` suvayu ali
  0 siblings, 1 reply; 6+ messages in thread
From: Carsten Dominik @ 2011-01-06 21:02 UTC (permalink / raw)
  To: suvayu ali; +Cc: org-mode mailing list


On Jan 6, 2011, at 5:14 PM, suvayu ali wrote:

> Hi Carsten and Seb,
>
> On Thu, Jan 6, 2011 at 3:37 AM, Carsten Dominik
> <carsten.dominik@gmail.com> wrote:
>>
>> On Jan 5, 2011, at 1:38 AM, suvayu ali wrote:
>>
>>> Hi,
>>>
>>> Is there any way to move to the next match after a sparse tree
>>> command. Say I search for a regexp with the sparse tree command,  
>>> how do
>>> I to move to the next highlighted match? I was hoping something like
>>> `next-error' or `C-s' for isearch[fn:1].
>>
>>
>> This is a great idea.  next-error and previous-error do now
>> work on sparse tree results.  In a standard Emacs, these
>> commands are bound to
>>
>> M-g n
>> M-g M-n
>> M-g p
>> M-g M-p
>>
>
> I was actually trying my hand on it after Seb's encouraging words

my apologies.  I hope you had not spent too much time.

- Carsten

> but you got to it faster. Thanks a lot! :)
>
> -- 
> Suvayu
>
> Open source is the future. It sets us free.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Navigating sparse tree results
  2011-01-06 21:02     ` Carsten Dominik
@ 2011-01-06 21:06       ` suvayu ali
  0 siblings, 0 replies; 6+ messages in thread
From: suvayu ali @ 2011-01-06 21:06 UTC (permalink / raw)
  To: Carsten Dominik; +Cc: org-mode mailing list

On Thu, Jan 6, 2011 at 1:02 PM, Carsten Dominik
<carsten.dominik@gmail.com> wrote:
>>
>> I was actually trying my hand on it after Seb's encouraging words
>
> my apologies.  I hope you had not spent too much time.

No need for apologies, just an evening. :) I am still very novice at
lisp, hope to become better so that I can contribute. :)

-- 
Suvayu

Open source is the future. It sets us free.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2011-01-06 21:09 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-05  0:38 Navigating sparse tree results suvayu ali
2011-01-05  8:35 ` Sébastien Vauban
2011-01-06 11:37 ` Carsten Dominik
2011-01-06 16:14   ` suvayu ali
2011-01-06 21:02     ` Carsten Dominik
2011-01-06 21:06       ` suvayu ali

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).