From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eric Abrahamsen Newsgroups: gmane.emacs.bugs Subject: bug#46047: 28.0.50; Namazu-based mail searching not working anymore Date: Mon, 17 May 2021 11:53:27 -0700 Message-ID: <87o8d9xkd4.fsf@ericabrahamsen.net> References: <87pn1wnsv0.fsf@physik.rwth-aachen.de> <878s8j7do6.fsf@ericabrahamsen.net> <875z3ntnl3.fsf@physik.rwth-aachen.de> <87v9bn5miq.fsf@ericabrahamsen.net> <87k0s35ly6.fsf@ericabrahamsen.net> <87zh0xjpif.fsf@physik.rwth-aachen.de> <87sg67k03h.fsf@ericabrahamsen.net> <87k0rdfl3n.fsf@physik.rwth-aachen.de> <87a6s9z4t1.fsf@physik.rwth-aachen.de> <87sg2w3s3u.fsf@physik.rwth-aachen.de> <87fsymwq0x.fsf@ericabrahamsen.net> <87eee6qxba.fsf@physik.rwth-aachen.de> <87im3iz5v1.fsf@ericabrahamsen.net> <87pmxpdhjb.fsf@physik.rwth-aachen.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1323"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) To: 46047@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon May 17 21:28:05 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1liiuK-0000A3-C8 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 17 May 2021 21:28:04 +0200 Original-Received: from localhost ([::1]:37988 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1liiuJ-00069f-A7 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 17 May 2021 15:28:03 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44076) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1liiNO-0006Cx-4W for bug-gnu-emacs@gnu.org; Mon, 17 May 2021 14:54:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:42253) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1liiNN-0002P8-Rb for bug-gnu-emacs@gnu.org; Mon, 17 May 2021 14:54:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1liiNN-0008IW-P7 for bug-gnu-emacs@gnu.org; Mon, 17 May 2021 14:54:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eric Abrahamsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 17 May 2021 18:54:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46047 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.162127762531872 (code B ref -1); Mon, 17 May 2021 18:54:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 17 May 2021 18:53:45 +0000 Original-Received: from localhost ([127.0.0.1]:53799 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1liiN7-0008I0-1D for submit@debbugs.gnu.org; Mon, 17 May 2021 14:53:45 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:52776) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1liiN1-0008Ho-RQ for submit@debbugs.gnu.org; Mon, 17 May 2021 14:53:43 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43998) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1liiN0-0005lL-Ua for bug-gnu-emacs@gnu.org; Mon, 17 May 2021 14:53:39 -0400 Original-Received: from ericabrahamsen.net ([52.70.2.18]:52834 helo=mail.ericabrahamsen.net) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1liiMz-000294-7Q for bug-gnu-emacs@gnu.org; Mon, 17 May 2021 14:53:38 -0400 Original-Received: from localhost (c-71-197-184-122.hsd1.wa.comcast.net [71.197.184.122]) (Authenticated sender: eric@ericabrahamsen.net) by mail.ericabrahamsen.net (Postfix) with ESMTPSA id B4D7CFA02E for ; Mon, 17 May 2021 18:53:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericabrahamsen.net; s=mail; t=1621277609; bh=HdNaGsLALOea3115JwGKqUY4atRzr55J73I0uIGQWBU=; h=From:To:Subject:References:Date:In-Reply-To:From; b=W6h9LgtKKZoYx8MCpVv8PKLW20GWoh9CTden2QPK+uwYG560G/hewxJC7GADhVgFK KgQ/LqFTPDpQECO2y5BP99qMa3ILV/DdXNSyvTdB1rIYv/ZhfnW/S+thRBSa/k+S3D yPros+AZ+sth+odl7HyW4NPaQXAyBwpLa35mUUQ0= In-Reply-To: <87pmxpdhjb.fsf@physik.rwth-aachen.de> (Torsten Bronger's message of "Mon, 17 May 2021 08:02:32 +0200") Received-SPF: pass client-ip=52.70.2.18; envelope-from=eric@ericabrahamsen.net; helo=mail.ericabrahamsen.net X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:206741 Archived-At: Torsten Bronger writes: > Hall=C3=B6chen! > > Eric Abrahamsen writes: > >> [...] >> >> I'm assuming you've also got `gnus-search-namazu-raw-queries-p' >> set to t, otherwise you would have hit an error earlier than this. > > No, but I did now. Oh, maybe you just had `gnus-search-use-parsed-queries' set to nil. One way or another, the query must not be getting parsed. But that's fine! >> [...] >> >> Earlier in the day I pushed a change to Emacs master to use >> `condition-case-unless-debug' in `nnselect-run'. If you're in the >> habit of running a recent Emacs, would you pull from source and >> rebuild, then `toggle-debug-on-error' and run this search again, >> posting the backtrace? > > Debugger entered--Lisp error: (wrong-type-argument stringp nil) > file-readable-p(nil) This just means that when namazu returns its search results, this function fails to find a filename. In other words, the (match-string 4) returns nil. (cl-defmethod gnus-search-indexed-extract ((_engine gnus-search-namazu)) "Extract a single message result for Namazu. Namazu provides a little more information, for instance a score." (when (re-search-forward "^\\([0-9,]+\\.\\).*\\((score: \\([0-9]+\\)\\))\n\\([^ ]+\\)" nil t) (forward-line 1) (list (match-string 4) (match-string 3)))) Using the example results that you send me (the bash script) the file names are found correctly. Is there a way you can find and show me the filename that isn't being found by this regexp? I assume it's a filename that doesn't start with a digit. I'm not sure where this regexp came from, originally.