From mboxrd@z Thu Jan 1 00:00:00 1970 From: Allen Li Subject: Bug: agenda text search with buffer restriction fails [9.1.5 (9.1.5-1-gb3ddb0-elpaplus @ /home/ionasal/.emacs.d/elpa/org-plus-contrib-20171225/)] Date: Sat, 30 Dec 2017 03:38:41 -0800 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47669) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eVFTQ-0008Ql-HM for emacs-orgmode@gnu.org; Sat, 30 Dec 2017 06:38:45 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eVFTP-0008PI-H1 for emacs-orgmode@gnu.org; Sat, 30 Dec 2017 06:38:44 -0500 Received: from mail-qt0-x230.google.com ([2607:f8b0:400d:c0d::230]:34050) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eVFTP-0008O5-C3 for emacs-orgmode@gnu.org; Sat, 30 Dec 2017 06:38:43 -0500 Received: by mail-qt0-x230.google.com with SMTP id 33so56635948qtv.1 for ; Sat, 30 Dec 2017 03:38:43 -0800 (PST) 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" To: emacs-orgmode@gnu.org Doing a text agenda search with org-agenda-text-search-extra-files set to (agenda-archives) and with a buffer restriction results in an error: Debugger entered--Lisp error: (wrong-type-argument stringp agenda-archives) file-exists-p(agenda-archives) #[(a b) "\302 !\205 \302 !\205 \303 \"\207" [a b file-exists-p file-equal-p] 3]("/tmp/tmp.org" agenda-archives) cl--position("/tmp/tmp.org" (agenda-archives) 0 1) cl--delete-duplicates(("/tmp/tmp.org" agenda-archives) (:test #[(a b) "\302 !\205 \302 !\205 \303 \"\207" [a b file-exists-p file-equal-p] 3]) t) cl-remove-duplicates(("/tmp/tmp.org" agenda-archives) :test #[(a b) "\302 !\205 \302 !\205 \303 \"\207" [a b file-exists-p file-equal-p] 3]) org-search-view(nil) funcall-interactively(org-search-view nil) call-interactively(org-search-view) org-agenda(nil) funcall-interactively(org-agenda nil) call-interactively(org-agenda nil nil) command-execute(org-agenda) Emacs : GNU Emacs 25.3.1 (x86_64-pc-linux-gnu, GTK+ Version 3.22.26) of 2017-12-04 Package: Org mode version 9.1.5 (9.1.5-1-gb3ddb0-elpaplus @ /home/ionasal/.emacs.d/elpa/org-plus-contrib-20171225/)