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: Mon, 04 Dec 2017 17:18:08 +0200 Message-ID: <83a7yyzfm7.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> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1512400764 21454 195.159.176.226 (4 Dec 2017 15:19:24 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 4 Dec 2017 15:19:24 +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 Mon Dec 04 16:19:20 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 1eLsWc-0005J7-Ud for geb-bug-gnu-emacs@m.gmane.org; Mon, 04 Dec 2017 16:19:19 +0100 Original-Received: from localhost ([::1]:43667 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eLsWj-00019T-U7 for geb-bug-gnu-emacs@m.gmane.org; Mon, 04 Dec 2017 10:19:26 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52472) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eLsWR-00013G-VU for bug-gnu-emacs@gnu.org; Mon, 04 Dec 2017 10:19:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eLsWM-0004bd-3H for bug-gnu-emacs@gnu.org; Mon, 04 Dec 2017 10:19:07 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:36934) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eLsWL-0004bZ-Vs for bug-gnu-emacs@gnu.org; Mon, 04 Dec 2017 10:19:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eLsWL-0001MT-Q8 for bug-gnu-emacs@gnu.org; Mon, 04 Dec 2017 10:19: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: Mon, 04 Dec 2017 15:19: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 Original-Received: via spool by 24914-submit@debbugs.gnu.org id=B24914.15124007105195 (code B ref 24914); Mon, 04 Dec 2017 15:19:01 +0000 Original-Received: (at 24914) by debbugs.gnu.org; 4 Dec 2017 15:18:30 +0000 Original-Received: from localhost ([127.0.0.1]:45615 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eLsVq-0001Lj-AJ for submit@debbugs.gnu.org; Mon, 04 Dec 2017 10:18:30 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:32834) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eLsVp-0001LW-2j for 24914@debbugs.gnu.org; Mon, 04 Dec 2017 10:18:29 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eLsVf-0004Db-U4 for 24914@debbugs.gnu.org; Mon, 04 Dec 2017 10:18:24 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:55922) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eLsVf-0004DW-Qb; Mon, 04 Dec 2017 10:18:19 -0500 Original-Received: from [176.228.60.248] (port=4220 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1eLsVf-0004ZP-5t; Mon, 04 Dec 2017 10:18:19 -0500 In-reply-to: <87shcrgg8g.fsf@users.sourceforge.net> (message from Noam Postavsky on Mon, 04 Dec 2017 01:27:27 -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:140678 Archived-At: > From: Noam Postavsky > Date: Mon, 04 Dec 2017 01:27:27 -0500 > Cc: 24914@debbugs.gnu.org > > Drew Adams writes: > > >> It's not a limit in Lisp, but in regex.c. > > > > We can't use something larger there? > > Hmm, right, actually I see in regex.h: > > /* If sizeof(int) == 2, then ((1 << 15) - 1) overflows. */ > #define RE_DUP_MAX (0x7fff) > > Does Emacs even support 16 bit platforms? 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.