emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Bug: Agenda Org-mode searches are limited by buffer narrowing [6.33trans (release_6.33c.18.ga606)]
@ 2009-11-18 17:33 Bernt Hansen
  2009-11-19 13:27 ` Carsten Dominik
  0 siblings, 1 reply; 3+ messages in thread
From: Bernt Hansen @ 2009-11-18 17:33 UTC (permalink / raw)
  To: emacs-orgmode


Remember to cover the basics, that is, what you expected to happen and
what in fact did happen.  You don't know how to make a good report?  See

     http://orgmode.org/manual/Feedback.html#Feedback

Your bug report will be posted to the Org-mode mailing list.
------------------------------------------------------------------------

The org-agenda multi-occur search command (C-c a /) does not return
results on buffers that are currently narrowed if the search would
normally match outside the narrowed region.  This prevents possible
matches from being displayed.

Narrowing should probably be disabled during searches so it's possible
to find all of the occurrences.

I'm working in file A, and have it narrowed to subtree.  I get
interrupted and move to file B, then I want to add details to a
project I know exists and I use the agenda search to find it ... but
it's in file A outside the narrowed region and no results are
returned.  I forgot file A was narrowed but I don't think this should
affect the search results.

I think the agenda restriction lock should be the only thing that
affects agenda search results.

-Bernt

Emacs  : GNU Emacs 22.2.1 (i486-pc-linux-gnu, GTK+ Version 2.12.11)
 of 2008-11-09 on raven, modified by Debian
Package: Org-mode version 6.33trans (release_6.33c.18.ga606)

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

* Re: Bug: Agenda Org-mode searches are limited by buffer narrowing [6.33trans (release_6.33c.18.ga606)]
  2009-11-18 17:33 Bug: Agenda Org-mode searches are limited by buffer narrowing [6.33trans (release_6.33c.18.ga606)] Bernt Hansen
@ 2009-11-19 13:27 ` Carsten Dominik
  2009-11-19 14:11   ` Bernt Hansen
  0 siblings, 1 reply; 3+ messages in thread
From: Carsten Dominik @ 2009-11-19 13:27 UTC (permalink / raw)
  To: Bernt Hansen; +Cc: emacs-orgmode


On Nov 18, 2009, at 6:33 PM, Bernt Hansen wrote:

>
> Remember to cover the basics, that is, what you expected to happen and
> what in fact did happen.  You don't know how to make a good report?   
> See
>
>     http://orgmode.org/manual/Feedback.html#Feedback
>
> Your bug report will be posted to the Org-mode mailing list.
> ------------------------------------------------------------------------
>
> The org-agenda multi-occur search command (C-c a /) does not return
> results on buffers that are currently narrowed if the search would
> normally match outside the narrowed region.  This prevents possible
> matches from being displayed.
>
> Narrowing should probably be disabled during searches so it's possible
> to find all of the occurrences.
>
> I'm working in file A, and have it narrowed to subtree.  I get
> interrupted and move to file B, then I want to add details to a
> project I know exists and I use the agenda search to find it ... but
> it's in file A outside the narrowed region and no results are
> returned.  I forgot file A was narrowed but I don't think this should
> affect the search results.
>
> I think the agenda restriction lock should be the only thing that
> affects agenda search results.

This is already the case I believe.

But multi-occur uses a separate Emacs function, so I need to do
extra work to widen these buffers.

This should now work, thank you for your report.

- Carsten

>
> -Bernt
>
> Emacs  : GNU Emacs 22.2.1 (i486-pc-linux-gnu, GTK+ Version 2.12.11)
> of 2008-11-09 on raven, modified by Debian
> Package: Org-mode version 6.33trans (release_6.33c.18.ga606)
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

- Carsten

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

* Re: Bug: Agenda Org-mode searches are limited by buffer narrowing [6.33trans (release_6.33c.18.ga606)]
  2009-11-19 13:27 ` Carsten Dominik
@ 2009-11-19 14:11   ` Bernt Hansen
  0 siblings, 0 replies; 3+ messages in thread
From: Bernt Hansen @ 2009-11-19 14:11 UTC (permalink / raw)
  To: Carsten Dominik; +Cc: emacs-orgmode

Carsten Dominik <carsten.dominik@gmail.com> writes:

> On Nov 18, 2009, at 6:33 PM, Bernt Hansen wrote:
>
>>
>> I think the agenda restriction lock should be the only thing that
>> affects agenda search results.
>
> This is already the case I believe.
>
> But multi-occur uses a separate Emacs function, so I need to do
> extra work to widen these buffers.
>
> This should now work, thank you for your report.

Thanks for the fix.  It works great :)

-Bernt

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

end of thread, other threads:[~2009-11-19 14:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-18 17:33 Bug: Agenda Org-mode searches are limited by buffer narrowing [6.33trans (release_6.33c.18.ga606)] Bernt Hansen
2009-11-19 13:27 ` Carsten Dominik
2009-11-19 14:11   ` Bernt Hansen

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