From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Noam Postavsky Newsgroups: gmane.emacs.bugs Subject: bug#24914: 24.5; isearch-regexp: wrong error message Date: Fri, 08 Dec 2017 08:32:42 -0500 Message-ID: <874lp1fipx.fsf@users.sourceforge.net> 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> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1512739992 12149 195.159.176.226 (8 Dec 2017 13:33:12 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 8 Dec 2017 13:33:12 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.90 (gnu/linux) Cc: 24914@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Dec 08 14:33:08 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 1eNIm3-0002z7-FV for geb-bug-gnu-emacs@m.gmane.org; Fri, 08 Dec 2017 14:33:07 +0100 Original-Received: from localhost ([::1]:37270 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eNIm9-0001DE-8x for geb-bug-gnu-emacs@m.gmane.org; Fri, 08 Dec 2017 08:33:13 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57688) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eNIm3-0001D7-7O for bug-gnu-emacs@gnu.org; Fri, 08 Dec 2017 08:33:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eNIly-0001GO-A5 for bug-gnu-emacs@gnu.org; Fri, 08 Dec 2017 08:33:07 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:42799) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eNIly-0001GC-6G for bug-gnu-emacs@gnu.org; Fri, 08 Dec 2017 08:33:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eNIly-0007D0-09 for bug-gnu-emacs@gnu.org; Fri, 08 Dec 2017 08:33:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Noam Postavsky Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 08 Dec 2017 13:33: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.151273997327697 (code B ref 24914); Fri, 08 Dec 2017 13:33:01 +0000 Original-Received: (at 24914) by debbugs.gnu.org; 8 Dec 2017 13:32:53 +0000 Original-Received: from localhost ([127.0.0.1]:51480 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eNIlp-0007Ce-1V for submit@debbugs.gnu.org; Fri, 08 Dec 2017 08:32:53 -0500 Original-Received: from mail-it0-f46.google.com ([209.85.214.46]:41273) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eNIln-0007CR-OE for 24914@debbugs.gnu.org; Fri, 08 Dec 2017 08:32:51 -0500 Original-Received: by mail-it0-f46.google.com with SMTP id x28so4882367ita.0 for <24914@debbugs.gnu.org>; Fri, 08 Dec 2017 05:32:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=qpYUC7GxKvlz/mcc3JK1F2XpcpHMl2X2mOx4Uxc+d20=; b=tlLSYlOoPSEvehHAiEjJtN0rIVS50QCGmqyVYqP7BmfvIYk1jhFeRdHsy8vOJQqHSn /GHXURQ3UVdBPHAYhtvMqsuMiCSEvaaC+UVSKXsqkhbGztaGORZEjYTwXxuytF72vyha MB7xsUdDpUvR5FT4+KAJGhD33UbjNJTqzjB0puWGgTIAEWe4FkYIshAHL+YXgXICA4xF lLOKieWuS+VAD0rpCgRhfa7p4dfmZWOtR0MWUQHln2o5UP/Bu7S1nRp44DahQ74yjWO+ wD4wACSMh2E3GhR6NJiRcPuj+aqI4KeEFOjwOP/+WtrN408Wy8312kydm1yRsxh7vLcn fH8Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:references:date :in-reply-to:message-id:user-agent:mime-version; bh=qpYUC7GxKvlz/mcc3JK1F2XpcpHMl2X2mOx4Uxc+d20=; b=KsQS1/GST2Q5i9kZX+MiyLTB2JaGTs4tpMfcHSuFzZidPff0dXSxUqNd7x91XCf9EF lXB0PUg1tB128waWnd/qLaNYuWjtSdRjyTeSl0PAVJmk3l2ssr36xaGYfJCXXXa1bCTv p/EB0fPufBy8gTozw4TuKkcLSOfOBCkd75UU+8zHo0bHIOqQ3RelHzYH86Z9zxxvD5Nh cGamFzOjPloHMzk2S82fiIrubaR/bfy45o9BQKQwpJVpHQEM60u0fvRGSWXQc/yEJ5Ih AfzJV18xYQcb5pj6raH2evGBqOiWR0WZ7/wPNPCMe3NmkpgTjfPapetKvb9VKNz8QzRj Vlsg== X-Gm-Message-State: AKGB3mLgr9pVn30qE8H/uO3rnEhA3qreX0qh1voKGR0zLd/cdaF9I6Jc LfHifTKTOQabGp9pPhfMBsXQqA== X-Google-Smtp-Source: ACJfBov5kSSlp157FAUUcvCjWp3pNHA5m1qH2xxBNp5cQfwbEgDp8PLQFdyExIcLiu0Za7UzreFVsA== X-Received: by 10.107.143.198 with SMTP id r189mr2740927iod.45.1512739965619; Fri, 08 Dec 2017 05:32:45 -0800 (PST) Original-Received: from zebian ([45.2.119.34]) by smtp.googlemail.com with ESMTPSA id 131sm133409itf.25.2017.12.08.05.32.43 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 08 Dec 2017 05:32:44 -0800 (PST) In-Reply-To: <83wp1xwnx1.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 08 Dec 2017 11:48:26 +0200") 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:140811 Archived-At: Eli Zaretskii writes: >> From: Noam Postavsky >> Date: Mon, 04 Dec 2017 20:18:02 -0500 >> Cc: 24914@debbugs.gnu.org >> >> > Emacs never did (the MS-DOS port of Emacs runs in i386 32-bit >> > protected mode on top of a 16-bit OS). But regex.c did, at some very >> > distant past, to support the 16-bit MS compiler, or at least it tried >> > to. >> >> 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".