From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Newsgroups: gmane.emacs.bugs Subject: bug#56641: Deprecate `lsh` Date: Tue, 19 Jul 2022 15:38:29 +0200 Message-ID: Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6917"; mail-complaints-to="usenet@ciao.gmane.io" To: 56641@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jul 19 15:39:44 2022 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 1oDnRu-0001Ws-6Z for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 19 Jul 2022 15:39:42 +0200 Original-Received: from localhost ([::1]:60328 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oDnRs-0003UZ-Mr for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 19 Jul 2022 09:39:40 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44998) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oDnRG-0003PK-Ka for bug-gnu-emacs@gnu.org; Tue, 19 Jul 2022 09:39:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:55378) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oDnRG-0008MQ-B0 for bug-gnu-emacs@gnu.org; Tue, 19 Jul 2022 09:39:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oDnRG-0006b8-0J for bug-gnu-emacs@gnu.org; Tue, 19 Jul 2022 09:39:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 19 Jul 2022 13:39:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 56641 X-GNU-PR-Package: emacs X-Debbugs-Original-To: Emacs Bug Report Original-Received: via spool by submit@debbugs.gnu.org id=B.165823793925352 (code B ref -1); Tue, 19 Jul 2022 13:39:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 19 Jul 2022 13:38:59 +0000 Original-Received: from localhost ([127.0.0.1]:53137 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oDnRD-0006ap-0e for submit@debbugs.gnu.org; Tue, 19 Jul 2022 09:38:59 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:47240) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oDnR8-0006af-FN for submit@debbugs.gnu.org; Tue, 19 Jul 2022 09:38:58 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44994) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oDnR7-0003Bq-Tf for bug-gnu-emacs@gnu.org; Tue, 19 Jul 2022 09:38:54 -0400 Original-Received: from mail1461c50.megamailservers.eu ([91.136.14.61]:45046 helo=mail267c50.megamailservers.eu) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oDnR5-0008KP-2x for bug-gnu-emacs@gnu.org; Tue, 19 Jul 2022 09:38:53 -0400 X-Authenticated-User: mattiase@bredband.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=megamailservers.eu; s=maildub; t=1658237912; bh=PLzqJMsdMWmNKMriJFgC5+4q4SW5x3PnY+v4rxJ1Yz8=; h=From:Subject:Date:To:From; b=dVlGlfDZkEmii54AvUMSmzid9uaWlLxHC9+TJuqNzbG4aDxpojTrZN4clc0z6bOvN VARt13ujEOuCfev2nMigzzoSXdx9DUW9SRtyr4QYr5rwuwrPiyekjXMLgu4ZSHK6lv zq5GefXrBaSnJi2nkIhLJo8hPHe8/3CZ3l0MNbP0= Feedback-ID: mattiase@acm.or Original-Received: from smtpclient.apple (c188-150.188-179.bredband.tele2.se [188.150.188.179] (may be forged)) (authenticated bits=0) by mail267c50.megamailservers.eu (8.14.9/8.13.1) with ESMTP id 26JDcUT1044749 for ; Tue, 19 Jul 2022 13:38:32 +0000 X-Mailer: Apple Mail (2.3654.120.0.1.13) X-CTCH-RefID: str=0001.0A782F21.62D6B3D8.005C, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0 X-CTCH-VOD: Unknown X-CTCH-Spam: Unknown X-CTCH-Score: 0.000 X-CTCH-Flags: 0 X-CTCH-ScoreCust: 0.000 X-Origin-Country: SE Received-SPF: softfail client-ip=91.136.14.61; envelope-from=mattiase@acm.org; helo=mail267c50.megamailservers.eu X-Spam_score_int: -11 X-Spam_score: -1.2 X-Spam_bar: - X-Spam_report: (-1.2 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, SPF_HELO_NONE=0.001, SPF_SOFTFAIL=0.665, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no 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:237436 Archived-At: The function `lsh` works almost like `ash` but is much slower, cannot be = constant-folded by the compiler, and above all has confusing semantics = for historical reasons. Using `lsh` instead of `ash` is always a = mistake. For these reasons we should deprecate `lsh`. It is not important to = remove it as soon as possible, but to dissuade people from accidentally = using it in their code.