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.devel Subject: Re: gnus-group-read-ephemeral-search-group -- Something Changed? Date: Sun, 08 Nov 2020 16:41:17 -0800 Message-ID: <87v9efxsya.fsf@ericabrahamsen.net> References: <20201106162239.1E8ECC20DCB@raman-glaptop.localdomain> <87wnyy5rkh.fsf@ericabrahamsen.net> <87k0uy5oe6.fsf@ericabrahamsen.net> <87blg8d2iu.fsf@ericabrahamsen.net> <87a6vsbh4q.fsf@ericabrahamsen.net> <87eel3zsfq.fsf@ericabrahamsen.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26579"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: emacs-devel@gnu.org To: "T.V Raman" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Nov 09 01:42:34 2020 Return-path: Envelope-to: ged-emacs-devel@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 1kbvGS-0006or-Vz for ged-emacs-devel@m.gmane-mx.org; Mon, 09 Nov 2020 01:42:32 +0100 Original-Received: from localhost ([::1]:50972 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kbvGR-0001Ce-Rn for ged-emacs-devel@m.gmane-mx.org; Sun, 08 Nov 2020 19:42:31 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54294) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kbvFK-0000lc-Mh for emacs-devel@gnu.org; Sun, 08 Nov 2020 19:41:22 -0500 Original-Received: from ericabrahamsen.net ([52.70.2.18]:37374 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 1kbvFI-00085e-Nc for emacs-devel@gnu.org; Sun, 08 Nov 2020 19:41:22 -0500 Original-Received: from localhost (24-113-150-48.wavecable.com [24.113.150.48]) (Authenticated sender: eric@ericabrahamsen.net) by mail.ericabrahamsen.net (Postfix) with ESMTPSA id E846EFA0AE; Mon, 9 Nov 2020 00:41:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericabrahamsen.net; s=mail; t=1604882479; bh=WoTGia1Y2Nj1P1N50FOqR6N6r8VB9bafPs+nrCo3cKM=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=yirJ+yUbGiFwaYfcxc1veYs5EBp1fzn6rGNNH1wNUW040P8uD4k19ewmD5CGEG8nV BG6nO4aClEaTZ8z4n3kiJMUPd99NtlmAInkkACrZmt/E5o0U03SRwKCURFRT1XDEl8 AmgU+HmsmNNuDbn/VlABS5YSz2XZUCw8p3JujmWs= In-Reply-To: (T. V. Raman's message of "Sun, 08 Nov 2020 09:43:11 -0800") Received-SPF: pass client-ip=52.70.2.18; envelope-from=eric@ericabrahamsen.net; helo=mail.ericabrahamsen.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/11/08 19:41:19 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] 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: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:258932 Archived-At: "T.V Raman" writes: > at this point, I'm unable to get it work --- also, if you have a gmail > account, it should be relatively easy to try my solution to gmail search Okay, I've checked the emacspeak code, and tried to make sure everything works. gnus-search now avoids parsing search queries when they come via an 'nnir-query-spec key. Your code passes the query in as: `(nnir-specs (nnir-query-spec (query ,q))) I'm not sure how this works with Emacs 27, as nnir expects the query to be a cons cell (ie, (query . ,q)) not a two-element list. But I guess it must be working! I've added an extra check in gnus-search to catch this case. I hope everything's working now. Eric