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#24914: 24.5; isearch-regexp: wrong error message Date: Fri, 08 Dec 2017 16:35:07 +0200 Message-ID: <83bmj9wan8.fsf@gnu.org> References: <7c208ac0-8aa2-4db8-a38d-760f91c50500@default> <87h8t7ix7m.fsf@users.sourceforge.net> <87d13visrh.fsf@users.sourceforge.net> <87shcrgg8g.fsf@users.sourceforge.net> <87h8t6gegl.fsf@users.sourceforge.net> <83wp1xwnx1.fsf@gnu.org> <874lp1fipx.fsf@users.sourceforge.net> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1512743770 10429 195.159.176.226 (8 Dec 2017 14:36:10 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 8 Dec 2017 14:36:10 +0000 (UTC) Cc: 24914@debbugs.gnu.org To: Noam Postavsky Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Dec 08 15:36:06 2017 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 1eNJky-0002Xs-TT for geb-bug-gnu-emacs@m.gmane.org; Fri, 08 Dec 2017 15:36:05 +0100 Original-Received: from localhost ([::1]:37559 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eNJl6-0003IC-4a for geb-bug-gnu-emacs@m.gmane.org; Fri, 08 Dec 2017 09:36:12 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45828) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eNJkz-0003Gu-5p for bug-gnu-emacs@gnu.org; Fri, 08 Dec 2017 09:36:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eNJkw-0002QX-18 for bug-gnu-emacs@gnu.org; Fri, 08 Dec 2017 09:36:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:42872) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eNJkv-0002QS-UJ for bug-gnu-emacs@gnu.org; Fri, 08 Dec 2017 09:36:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eNJkv-0000Eh-OZ for bug-gnu-emacs@gnu.org; Fri, 08 Dec 2017 09:36:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 08 Dec 2017 14:36:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24914 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed patch Original-Received: via spool by 24914-submit@debbugs.gnu.org id=B24914.1512743740880 (code B ref 24914); Fri, 08 Dec 2017 14:36:01 +0000 Original-Received: (at 24914) by debbugs.gnu.org; 8 Dec 2017 14:35:40 +0000 Original-Received: from localhost ([127.0.0.1]:51553 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eNJkZ-0000E7-QO for submit@debbugs.gnu.org; Fri, 08 Dec 2017 09:35:40 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:54614) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eNJkW-0000Dt-Ua for 24914@debbugs.gnu.org; Fri, 08 Dec 2017 09:35:38 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eNJkO-0001k1-N2 for 24914@debbugs.gnu.org; Fri, 08 Dec 2017 09:35:31 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:39610) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eNJkO-0001jn-K6; Fri, 08 Dec 2017 09:35:28 -0500 Original-Received: from [176.228.60.248] (port=3178 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1eNJkN-0006ti-UQ; Fri, 08 Dec 2017 09:35:28 -0500 In-reply-to: <874lp1fipx.fsf@users.sourceforge.net> (message from Noam Postavsky on Fri, 08 Dec 2017 08:32:42 -0500) 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:140814 Archived-At: > From: Noam Postavsky > Cc: drew.adams@oracle.com, 24914@debbugs.gnu.org > Date: Fri, 08 Dec 2017 08:32:42 -0500 > > >> So changing to 2^31 as the max should be fine, right? > > > > Or maybe just INT_MAX? > > I thought it would be easier to document the limit if it's fixed across > all machines. Otherwise we would have to say something like "For both > forms, m and n, if specified, may be no larger than INT_MAX, which is > usually 2**31 - 1, but could be 2**63 - 1 depending on the compiler used > for building Emacs". Isn't int 32 bit wide everywhere? And anyway, since the bitmap is stored in an int, isn't INT_MAX TRT? But I'm not a language expert enough to argue; feel free to use your form if you think it's better.