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: Fri, 06 Nov 2020 09:21:50 -0800 Message-ID: <87wnyy5rkh.fsf@ericabrahamsen.net> References: <20201106162239.1E8ECC20DCB@raman-glaptop.localdomain> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5376"; 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 Fri Nov 06 18:22:52 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 1kb5Rs-0001IH-Kc for ged-emacs-devel@m.gmane-mx.org; Fri, 06 Nov 2020 18:22:52 +0100 Original-Received: from localhost ([::1]:58250 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kb5Rr-0002g6-My for ged-emacs-devel@m.gmane-mx.org; Fri, 06 Nov 2020 12:22:51 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37428) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kb5Qz-00027A-1B for emacs-devel@gnu.org; Fri, 06 Nov 2020 12:21:57 -0500 Original-Received: from ericabrahamsen.net ([52.70.2.18]:57184 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 1kb5Qw-0004am-ND for emacs-devel@gnu.org; Fri, 06 Nov 2020 12:21:56 -0500 Original-Received: from localhost (c-73-254-86-141.hsd1.wa.comcast.net [73.254.86.141]) (Authenticated sender: eric@ericabrahamsen.net) by mail.ericabrahamsen.net (Postfix) with ESMTPSA id 76643FA16F; Fri, 6 Nov 2020 17:21:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericabrahamsen.net; s=mail; t=1604683312; bh=NK0U4yRma28H4zTuztpB3PJC0aXS3zxQupiqSQacxvc=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=keOo9stCMYIlpPP4HzXuIvPUvVoXkm9snsQO7ekLbt4z2BEsXgeZVmt4Zd6J9YnCY mA3sCuCotB+izKao07dllZ6VlEdz5RJkzRx9jxZ+gwXT6+ONU3kYYayfJ0+aRipl9+ oEfo8c7pzaocZhqgfmgI7EkfM78EsjQjUzYuqA3g= In-Reply-To: <20201106162239.1E8ECC20DCB@raman-glaptop.localdomain> (T. V. Raman's message of "Fri, 6 Nov 2020 08:22:39 -0800 (PST)") 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/06 11:01:54 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:258835 Archived-At: "T.V Raman" writes: > I use gnus-group-read-ephemeral-search-group to search GMail via imap, > see details in this blog article: > https://emacspeak.blogspot.com/2020/09/searching-gmail-from-gnus.html > > About 8 weeks or so, that function > gnus-group-read-ephemeral-search-group was declared obsolete but its > replacement was supposed to be backward compatible and everything > worked until about 2 days ago --- or from memory I updated/rebuilt > emacs yesterday and it's broken today. > > Broken: How, > > Now, when I invoke the afore-mentioned function > I get an additional prompt after supplying the query and calling it > with the imap-search spec it expects. A quick look in git logs didn't > show anything suspicious, other than the file was changed with > comments to the effect that that function is obsolete. Yes, this function has changed in the past couple of days, as nnir.el has been obsoleted. I'm guessing you're calling `gnus-gorup-read-ephemeral-search-group' with a spec that contains an `nnir-search-spec' key? That key is now called `gnus-search-spec'. I can provide better backwards compatibility by continuing to check for the `nnir-search-spec' and `nnir-group-spec' keys, I guess I didn't think people would be using that function programmatically in this way. Would you be willing to show me exactly how you're calling this function? I can be more certain about providing backwards compatibility that way, and might be able to suggest some alterations. Sorry for the roadbump, Eric