From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#32463: 27.0.50; (logior -1) => 4611686018427387903 Date: Sat, 18 Aug 2018 21:59:49 +0300 Message-ID: <83a7pjfql6.fsf@gnu.org> References: <86mutll4w2.fsf@gmail.com> <3a6f17af-018e-cb0b-5182-cf736b3a814c@cs.ucla.edu> NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1534618753 31396 195.159.176.226 (18 Aug 2018 18:59:13 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 18 Aug 2018 18:59:13 +0000 (UTC) Cc: andrewjmoreton@gmail.com, pipcet@gmail.com, 32463@debbugs.gnu.org To: Paul Eggert Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Aug 18 20:59:08 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fr6RC-0007wy-Ob for geb-bug-gnu-emacs@m.gmane.org; Sat, 18 Aug 2018 20:59:02 +0200 Original-Received: from localhost ([::1]:40118 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fr6TJ-00055G-9m for geb-bug-gnu-emacs@m.gmane.org; Sat, 18 Aug 2018 15:01:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54910) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fr6TD-00054z-G6 for bug-gnu-emacs@gnu.org; Sat, 18 Aug 2018 15:01:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fr6T8-0006kS-Ob for bug-gnu-emacs@gnu.org; Sat, 18 Aug 2018 15:01:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:49224) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fr6T8-0006kF-K2 for bug-gnu-emacs@gnu.org; Sat, 18 Aug 2018 15:01:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fr6T8-0006es-Dd for bug-gnu-emacs@gnu.org; Sat, 18 Aug 2018 15:01:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 18 Aug 2018 19:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 32463 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 32463-submit@debbugs.gnu.org id=B32463.153461880925441 (code B ref 32463); Sat, 18 Aug 2018 19:01:02 +0000 Original-Received: (at 32463) by debbugs.gnu.org; 18 Aug 2018 19:00:09 +0000 Original-Received: from localhost ([127.0.0.1]:54242 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fr6SH-0006cG-Ct for submit@debbugs.gnu.org; Sat, 18 Aug 2018 15:00:09 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:33478) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fr6SF-0006as-PN for 32463@debbugs.gnu.org; Sat, 18 Aug 2018 15:00:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fr6S5-0005dm-OQ for 32463@debbugs.gnu.org; Sat, 18 Aug 2018 15:00:02 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:38633) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fr6S5-0005di-Kw; Sat, 18 Aug 2018 14:59:57 -0400 Original-Received: from [176.228.60.248] (port=4215 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1fr6S5-0001rw-9O; Sat, 18 Aug 2018 14:59:57 -0400 In-reply-to: <3a6f17af-018e-cb0b-5182-cf736b3a814c@cs.ucla.edu> (message from Paul Eggert on Sat, 18 Aug 2018 11:48:11 -0700) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:149574 Archived-At: > From: Paul Eggert > Date: Sat, 18 Aug 2018 11:48:11 -0700 > Cc: 32463@debbugs.gnu.org > > It would be weird for lsh to act one way for negative bignums, and a different > and incompatible way for negative fixnums. Instead, I suggest that we deprecate > lsh, as it doesn't make sense any more now that integers have unbounded size. It is IMO absurd for us to deprecate a valid and useful operation just because we added bignums. If we cannot agree on its semantics for bignums (which would surprise me), then it is better to make it not work for bignums at all than deprecate it for fixnums. > While we're deprecating it, we can make (lsh A B) signal an error if A is a > bignum and B is negative, since there's nothing we can do there that is > reasonable and is compatible with the fixnum behavior. If that's the best we can do, fine. But it doesn't require deprecating lsh while we are at it.