From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matt Lundin Subject: [PATCH] Fix inclusion of agenda-archives in search view. Date: Wed, 14 Jul 2010 19:40:59 -0400 Message-ID: <87pqypd3t4.fsf@fastmail.fm> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from [140.186.70.92] (port=42982 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OZBYp-00010c-53 for emacs-orgmode@gnu.org; Wed, 14 Jul 2010 19:40:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OZBYn-0001XS-TD for emacs-orgmode@gnu.org; Wed, 14 Jul 2010 19:40:18 -0400 Received: from out1.smtp.messagingengine.com ([66.111.4.25]:44585) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OZBYn-0001XJ-PB for emacs-orgmode@gnu.org; Wed, 14 Jul 2010 19:40:17 -0400 Received: from archdesk (adsl-99-19-46-110.dsl.klmzmi.sbcglobal.net [99.19.46.110]) by mail.messagingengine.com (Postfix) with ESMTPSA id 9147E21754 for ; Wed, 14 Jul 2010 19:40:16 -0400 (EDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Org Mode * org-agenda.el (org-search-view): Fixed inclusion of agenda-archives in org-agenda-text-search-extra-files. org-search-view lacked a local binding for org-agenda-text-search-extra-files. Thus when pop was called on the variable, the agenda-archives symbol was removed and subsequent searches failed to include the archives. --- lisp/org-agenda.el | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el index 191ee52..f65ceb8 100644 --- a/lisp/org-agenda.el +++ b/lisp/org-agenda.el @@ -3444,6 +3444,7 @@ in `org-agenda-text-search-extra-files'." 'mouse-face 'highlight 'help-echo (format "mouse-2 or RET jump to location"))) (full-words org-agenda-search-view-force-full-words) + (org-agenda-text-search-extra-files org-agenda-text-search-extra-files) regexp rtn rtnall files file pos marker category tags c neg re boolean ee txt beg end words regexps+ regexps- hdl-only buffer beg1 str) -- 1.7.1.1