From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu Newsgroups: gmane.emacs.devel Subject: Re: none Date: Wed, 13 Mar 2024 21:57:20 +0800 Message-ID: <87o7biutdr.fsf@yahoo.com> References: <867ci6thzw.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33246"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Mar 13 14:58:34 2024 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 1rkP7q-0008U9-Nh for ged-emacs-devel@m.gmane-mx.org; Wed, 13 Mar 2024 14:58:34 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rkP75-0003jX-HE; Wed, 13 Mar 2024 09:57:47 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rkP6z-0003j1-Kb for emacs-devel@gnu.org; Wed, 13 Mar 2024 09:57:41 -0400 Original-Received: from sonic305-21.consmr.mail.ne1.yahoo.com ([66.163.185.147]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rkP6v-00044R-2S for emacs-devel@gnu.org; Wed, 13 Mar 2024 09:57:39 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1710338250; bh=JzKWOI/E/mgktyu+cQ+IXvMgxcnC37tsJb6KnbHehNk=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To; b=Gv+jWfgXaQ7Yk/pnfm/jU5EwUKTcrMmu0VEW0YHup/UZ4UNyjLdXoz3N1dHZjg4y+OgaW0mw91AHnnGeeOiukh+scq7tSrHL3AEroRr86HDSl2jfvQ35rUP/LJ+gOg/A7d0uerYxb6i7B/WDdiSf5ckYrI68jO+eyMQXsBc4th8hui8OoGAj9KdvuKifXk7pz1Z/1k2GJQlvyEnV7Hx6WEv/MP387RzmglE3y4Bx5YUmVxETbnESQVrTNKm36CZi/udaL5yje7GRTrcYsdqWLbwkBa10RYFHMoBaFQkS1EGnm2xPIqSwuBCl1Bt9Gjo/2b3IvQFfOYbLg89VCDT2+Q== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1710338250; bh=dRMbXYoABl9pQRS6TaD2IRb0Wzn2tlU0K5Hu92WEXMA=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=HqsTrF6QSILLl2nLikqFWsop+/csyi8UbkinKmARK+JSwqrJAjnMC7HfRdgAnUDPsHVSU6xKqtTjFaenHeZwkAOdV5myROVkL46RjmdnwlHUicU4o8M8ZOVMq8oLT8lrDCcaT8E/yyzmNH4M6PD9GICBIfr14UPVQrbcaeg8j9+GzGWniJfe0CTC5pGWAP+3CRpYKrazLAZ+s4G1L3DVrbRdZIi7Y59gg0aOpxjF+v0O+JG4wCzypQ7DUIygWOB8pvv//hShkCBf1tpnxnOZcSxPKW6VtFS9BOpE+ogir03GMpQQKGCDiI2bujmRHkbipwyNMnT+l+MaMe53etDJNQ== X-YMail-OSG: B1t7_EYVM1lJNvfGx0BsT6qfDLtanrAFmj12NKR4Axqnh1Mb33Ol0f8Nof5Tyqe kN8wcG1k93stPDZb6i0J655P9fGpA6wGyfVojAJEBeiMhTwtIVc0W6UqXDaY2BHXY0XS7FIPVMZh qHyuDViPFUCs6r9G0lIMsvsie.01wIV9Vd.g1ye87ltE3MFuFaB9hMgzuK4L3d6zQlUKziDmJnBr zi7RhzoNyIQrymuO5AOLTgJEQK5OcneVXECBGaOKbUUy5Y5fi2nP36gThr_XxHdC7tmoLv7LQHd5 cRFlRyQcMjSIa1JNDDXBZbmr60hR.BDE.gfilMj6XhLAkPKMaJW8rGJgnracEgwD5RNuYCZCd63I nXHsJ1E7CaMxO0XUn4gFuaFUZTzR3JFm5MlrOcM44a250vRrXBSrXtsrD37KFBDKoMpF1xwMUzHM P2chMYPgOYT3Iw.Xu9yVXdL3Hnn6y0xNyQHdIaU0yX4MNg9_IAmGO.xupVDPFNvievaSmHydI0Gs lLT9uhDiVkJF6dGvk06vwqBzSxupiEYKc9fqLgWevuSvJ6Sb489i48ksUcmOlxW6PJ6ECsFV0Q74 Hfs_nZj1ciunQfyBlOThoQfrNzAhRV.7M.uqYOfVDm0x4Rr4QFcUZkFYDh5v7w5kg6itz_KdYcBn f0NWM4A6bd76gf1b8mB2Tr9gnYlxTWm4CeEIL5o5ciYP1P.wZKQizcqICvUYOUqqlCqsJIzAZwzC mvEN0SuNVBPACTH.LnwWCB9ZvyfE2cew8p14YmJu8SWSIj91tQTZ2idB_8D7Q06YJdHnTFL5VtYi TacRLLdoHRhe3l_0oPfX.GAv.mObuZ3ZDprdyvaiTY X-Sonic-MF: X-Sonic-ID: 7849c570-1c9d-4b70-89a2-405a27d52ca6 Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic305.consmr.mail.ne1.yahoo.com with HTTP; Wed, 13 Mar 2024 13:57:30 +0000 Original-Received: by hermes--production-sg3-6dc75bc8fb-xcqgp (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID a2ff7f6cbba5ad33f60f32331b578b4b; Wed, 13 Mar 2024 13:57:26 +0000 (UTC) In-Reply-To: <867ci6thzw.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 13 Mar 2024 14:48:35 +0200") X-Mailer: WebService/1.1.22129 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Received-SPF: pass client-ip=66.163.185.147; envelope-from=luangruo@yahoo.com; helo=sonic305-21.consmr.mail.ne1.yahoo.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:317035 Archived-At: Eli Zaretskii writes: > This causes the following byte-compilation warning: > > In gnus-notification-close: > gnus/gnus-notifications.el:91:36: Warning: Unused lexical argument `reason' Thanks, I'll fix this tomorrow, though you could also install the obvious change now: diff --git a/lisp/gnus/gnus-notifications.el b/lisp/gnus/gnus-notifications.el index 9ef21c91627..9c524de8ec4 100644 --- a/lisp/gnus/gnus-notifications.el +++ b/lisp/gnus/gnus-notifications.el @@ -88,7 +88,7 @@ gnus-notifications-action ;; an action of theirs) are selected (assoc-delete-all id gnus-notifications-id-to-msg)) -(defun gnus-notification-close (id reason) +(defun gnus-notification-close (id _reason) "Remove ID from the alist of notification identifiers to messages. REASON is ignored." (assoc-delete-all id gnus-notifications-id-to-msg))