From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#56641: Deprecate `lsh` Date: Wed, 20 Jul 2022 11:20:14 +0800 Message-ID: <877d48bhch.fsf@yahoo.com> References: <83zgh5mcqk.fsf@gnu.org> <52FF0BFF-F19C-4ABA-82BE-8FE3277B726D@acm.org> <83lespm50p.fsf@gnu.org> <87cze0bmn6.fsf@yahoo.com> <83bktkmrwx.fsf@gnu.org> Reply-To: Po Lu Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15520"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux) Cc: mattiase@acm.org, stefankangas@gmail.com, 56641@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jul 20 05:21:14 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 1oE0Gv-0003sP-Sy for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 20 Jul 2022 05:21:13 +0200 Original-Received: from localhost ([::1]:46128 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oE0Gu-00035i-Q2 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 19 Jul 2022 23:21:12 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56632) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oE0Gk-00035M-AZ for bug-gnu-emacs@gnu.org; Tue, 19 Jul 2022 23:21:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:57742) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oE0Gk-00074U-1l for bug-gnu-emacs@gnu.org; Tue, 19 Jul 2022 23:21:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oE0Gj-0005I3-TU for bug-gnu-emacs@gnu.org; Tue, 19 Jul 2022 23:21:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Po Lu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 20 Jul 2022 03:21:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56641 X-GNU-PR-Package: emacs Original-Received: via spool by 56641-submit@debbugs.gnu.org id=B56641.165828723220279 (code B ref 56641); Wed, 20 Jul 2022 03:21:01 +0000 Original-Received: (at 56641) by debbugs.gnu.org; 20 Jul 2022 03:20:32 +0000 Original-Received: from localhost ([127.0.0.1]:55501 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oE0GG-0005H0-Bw for submit@debbugs.gnu.org; Tue, 19 Jul 2022 23:20:32 -0400 Original-Received: from sonic312-25.consmr.mail.ne1.yahoo.com ([66.163.191.206]:34323) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oE0GF-0005Ge-1P for 56641@debbugs.gnu.org; Tue, 19 Jul 2022 23:20:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1658287224; bh=+uSZS4EP1lIEycjxZIJvG5wlc0pjBXKLhAsRhMRqiwk=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=Ir34VhPnBJbXEbt8EezyFy4Qz3O+EcTDgNgRmXQx3KMZlds+EjH21K7B9NeZEE1+r9FN4/vjcEabGwT12z1ixro/FP2CTzaL+EYuUBe5MtCnES3WDRaYWixgoSyZN/3nCFYEjb6fygxLPx6xrDA+NKO2jkeueGfECt1d2hXlQsNzJh96Rcgu4oBzBPPYTXyyczMuaSFmhXaDDfCCK6kfqc9DYYU8ksXZcMP2eCifG8s7TV90Y8nzCXZ5yPDm/ApaecwcrYvfJq5HIMyRKdzkweoApn0DFFfi7eyUPqH+/k5uYifmLo+nI0/ph8y80scosI8gN1PhDEB7dXZs2YObnA== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1658287224; bh=I0msy59SZbY60LRAqOrdxn61tlgG/vLaHeKYvZkASWH=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=HPmKYoLAWMd6M1OVAzd3ydZhaRLvJt5Zm0ycIl5wYg31V/C6IynAotMFkmgsV8BdkpBgB1Rf5zlbCW3j5ht/sTR38P7ZSs+/9pXms87T5mM+Mpv8JD+Jn5+i6eUsrYDBDHU3QUH1cEfXxuV//a+v/IN9ATtlb8SNf56pSa/khghribAItDi9JD7mYFuyzsPRNBggFe+/aDYxHPwvqlA0Pv8FAU3xyVzY73njplL0alt5p9rGQjrL+ftaDjz1TbQYJ4rCV2mY6kfzaDyrMRjTOL1UP/puRawv2zN3n12AcuxVm0VyGcZmeIspOnh2dGLkKzADgEmGltoHpEa/pc27Ig== X-YMail-OSG: DJ6vwfAVM1lYTwCA0DyHQQCMO15xOTM3UOu7tfZsyeLHt0RKCOwC9x4cC3jygrR 5peqIMtqP.y84TVacw_zWAi2o6q4MNo27gmM1Fzoco3BllPCvPIkuD8Z0c0StHg3cEFRWd35zbhg RSpxDGtoTJ516UJEurMDvUI7IS2w.B3wojF3kr8fKP.ERc093Zy1ALk.53x6GvEmSQ3YbH2LkzMe lpCP5ieMSEF0v1WR1mGj1nKI5p5sN5HliPw9g7CYuA0jpw3KZjQlGDktpZiE7YmgFJv8n0JVWrT7 QFmRlQEkDJW1IZK8uKsCutU8Cb0x7RWu0vV1NsCXmSrkVhPJrHoZWSCsh8kYsUkgELZJgfB6XnxU aTjXnuv4T.U7TYr4Jh9eDgeNtBz8TYjaWcGg9EKpFJQj3Ewpfo9aBYRewGbxm1lh.ab.MNVP6EeR BRmXRHEv_6oIU13Rd0QnuNQE3AildFczLcjdKHRMXo0WjAlec4q7xgyAHGiSKVc3vKFGZABGwz35 W2AzqunE9E6fBp7.znLpVTkNMLek7.fRA4JvtfH5UiIY.oYvqfaAGmOeO3eOn19jicCoMpOUWfEa 8aJ508OGQRicCSWsLzyatP9sFuVgB94rsN1ItS13Sli23HYBbx.WQuny4mXuQrqrF12UBSItCk5j 4zQVspCdzTf_BjJfJkwIcog87lK.TNQhdY4P2cnDO39BwbIq_xSq4Ql7CAuKt7O.9g_8AN0ZJZGz 9acKEoNgWp.Ne_AQvLGEg3wI9k1t50DDftxfNHVdJyj1TlAs7g6x7pAwTQwRI9uFp9dkoq98j4C. GXs1jkg1hc6xDiZG9hD7hi5nI9AKeeN99_wNjdpN95 X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic312.consmr.mail.ne1.yahoo.com with HTTP; Wed, 20 Jul 2022 03:20:24 +0000 Original-Received: by hermes--canary-production-sg3-67975bbd4b-qg7qj (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 01fa8975c9da8c79da798fa499f13727; Wed, 20 Jul 2022 03:20:20 +0000 (UTC) In-Reply-To: <83bktkmrwx.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 20 Jul 2022 05:36:30 +0300") X-Mailer: WebService/1.1.20407 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo 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:237474 Archived-At: Eli Zaretskii writes: > If it's rare enough (as it should be), I don't see the annoyance. Am > I missing something? It might be rare, but there's nothing wrong with using lsh for its intended purpose, which is handling negative numbers correctly in several different situations. Byte-compiler warnings are supposed to point out problems. Using lsh is not a problem, using lsh incorrectly is, so it should not issue warnings for all uses of lsh.