From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?utf-8?Q?Daniel_Mart=C3=ADn?= Newsgroups: gmane.emacs.help Subject: Re: help-mode-finish obsolete? Date: Sun, 29 May 2022 21:39:06 +0200 Message-ID: References: <87sfou8gur.fsf@dataswamp.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="24052"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (darwin) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sun May 29 21:40:08 2022 Return-path: Envelope-to: geh-help-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 1nvOlk-00064c-04 for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 29 May 2022 21:40:08 +0200 Original-Received: from localhost ([::1]:40988 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nvOlh-00052L-Qp for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 29 May 2022 15:40:05 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35632) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nvOkv-000525-CI for help-gnu-emacs@gnu.org; Sun, 29 May 2022 15:39:17 -0400 Original-Received: from sonic307-54.consmr.mail.ir2.yahoo.com ([87.248.110.31]:34791) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nvOkr-0001rq-I8 for help-gnu-emacs@gnu.org; Sun, 29 May 2022 15:39:16 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.es; s=s2048; t=1653853149; bh=WXJIlfS8wswC94/uBb8YNIT3tyJ3zB32ePa+cf3dQLk=; h=From:To:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=P2R+2YNB1Rc/shk8J4jSV4XUkKOFx2uBzHpNNZxBCQkf6RYy1+T+HVgZzS75Gq3y0A03CpAPHdX0RaKnR4q5gPR1nH8cmDHqajjHew3nA/zjO5di6n85YrI3T5zAZtWJRlMvzhv06YLcGZv8tmxihZG31eG/io2TnIVQb1kr0YMSXnimOMLlGmNU1id04FQtBV+iOd16b/mXYunpFb2Y169liHkbfQ3ydZq4L/D9LkbSJ8daZV/df6ajkQ2dTTKu6opS8e+D6VqILw+fNA9hxrJAbLSavqEWgYOwc99tOFAjI8X44Bv9q3ZULl6ssxsys+jx7YfON1QAouuz0+nM3Q== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1653853150; bh=Urmj01XOgcubr9+2GSfxyr61OHEIpoaGMtZFblF1VHC=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=B7UYtuCTRENsVKUkETujv4cfGRJPFJiP64M7JaKcuRz9zuvnSmWkT3cvbCR4Ke3t8AYC1dbKpJzGYE6P6DV7X4/Z3KQTwEW//HcwLQZzS/V97FdKz5MF0gieEO/JK3jE2GO254oHbzJEidpozted26OQeL/xC5ATcZgui2d9pHtqLWWB4dN09kR8n+Yhtc4smD5Pv1lhqYZ9sTWt7V64m3GQnbXmNJewy5v93LZ7Qb9tPdaE81eT3OVonBLzCVeq3l44p+it/MlgQyy4FKSuJ42wRQX5JK0ForB8PCy/KgpdGA5WPqAUZsw0tPFaSVSOUM+qqg+VQePwHGhEw3Hq5Q== X-YMail-OSG: fZQLGKUVM1nmqPc5uLKtzB4Hf353Reprh4HZA7hfmKBYQNNUgNPDKy7ctGMM4Nm lgSEB3ryTeHtBRuXL6ZV5fJaMheeT_r6B.0Ef8WIdDz_9Uhdujm_3K6G8d.fHxlC3TrRcYbQEZ7z DZkyQjPe8aqslLyhIlEcDY3dufWwOXfunFJBOEr._B1Sss1IF5Ot2e1ZjlHcgIKVTuM2rSClNIQc Lx7R6Jr9hX5UueGvbHnHnTWfLSUcTPo0Tpi2LyRUTsMKilNEX._PZRHvqhjF4XnyvUOEY5cPhOiQ TjWIzgXnq4pSKpHKOQ8dgPqKxzL4uB5s10a69F2i572iTozFoxjn8tvtECRT0Ki.WIEBNnrIFNnt Snvt2oUDRHKzWwAILLeyiJ7IaoOQw6KUXaHufBZiHCn5bY2Mq.Sx60CBtgyVX7U_uud42F.6zmcL WsP_hi97D1YkGfzxZprd4_99AqsOXAavQ.p.CX9otXjRD98OTdJERf3bKqhyYmJCHDOA.sEXla5O LTHq0AlebFx4YwWTjoh0hAkcF_ipj2YJ97JI6SLfHH6jdQ0q4dVPA7l31Vj2XO8sPtZfwP4FMvFV NhlSEQRI9D5TIMuG_ylDRaJq0YPcII6TGzv_IiM0JJIX0h37417qIx0bZAB3qkRd9Bp8LQRbk04y BXLU75zsYaYIz6NwoDvyT3xNi5Yrth.YER_T3oV.mjk..pFDDowhZbQvR2xQbnzYOh7wDilDVEX6 7znGtdgcWOABKyKIXBLNN13B0DqBdLGWaALbEMhu31POOHTvJa.JFbPgMRDPBsjOQR_EMxRj8TYM HWgasAh7src0ZvxwQnh0b83ENauwASfJajzUpd_TMR X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic307.consmr.mail.ir2.yahoo.com with HTTP; Sun, 29 May 2022 19:39:09 +0000 Original-Received: by hermes--canary-production-ir2-6c7595c778-tcd7b (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID faa89806f73c9c61fce3df153fe250e3; Sun, 29 May 2022 19:39:07 +0000 (UTC) In-Reply-To: <87sfou8gur.fsf@dataswamp.org> (Emanuel Berg's message of "Sat, 28 May 2022 05:40:28 +0200") X-Mailer: WebService/1.1.20225 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Received-SPF: pass client-ip=87.248.110.31; envelope-from=mardani29@yahoo.es; helo=sonic307-54.consmr.mail.ir2.yahoo.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 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_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:137461 Archived-At: Emanuel Berg writes: > This function is obsolete since 29.1. > > So how do you do this then? > > (defun help-mode-finish-after () > (forward-button 1) ) > (advice-add #'help-mode-finish :after #'help-mode-finish-after) > > https://dataswamp.org/~incal/emacs-init/help-incal.el I see that the deprecated functions help-mode-setup and help-mode-finish are still called from with-output-to-temp-buffer, which is not updated yet. I'd report that as a bug, suggesting that the deprecation message should also explain what's the preferred API to use.