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: Tue, 05 Dec 2017 08:27:48 -0500 Message-ID: <87609lgv8r.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> <878tehhlwo.fsf@users.sourceforge.net> <3a58fdaf-10c0-42e6-8c74-753ce24b969e@default> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1512480536 18167 195.159.176.226 (5 Dec 2017 13:28:56 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 5 Dec 2017 13:28:56 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.90 (gnu/linux) Cc: 24914@debbugs.gnu.org To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Dec 05 14:28:50 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 1eMDHA-0004BC-Sc for geb-bug-gnu-emacs@m.gmane.org; Tue, 05 Dec 2017 14:28:45 +0100 Original-Received: from localhost ([::1]:48717 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eMDHI-0007v0-4X for geb-bug-gnu-emacs@m.gmane.org; Tue, 05 Dec 2017 08:28:52 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45752) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eMDGX-0007Z2-Ns for bug-gnu-emacs@gnu.org; Tue, 05 Dec 2017 08:28:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eMDGU-0006i2-K4 for bug-gnu-emacs@gnu.org; Tue, 05 Dec 2017 08:28:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:37870) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eMDGU-0006hv-GM for bug-gnu-emacs@gnu.org; Tue, 05 Dec 2017 08:28:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eMDGU-0007hO-49 for bug-gnu-emacs@gnu.org; Tue, 05 Dec 2017 08:28: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: Tue, 05 Dec 2017 13:28:02 +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.151248047929585 (code B ref 24914); Tue, 05 Dec 2017 13:28:02 +0000 Original-Received: (at 24914) by debbugs.gnu.org; 5 Dec 2017 13:27:59 +0000 Original-Received: from localhost ([127.0.0.1]:46551 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eMDGQ-0007h7-QV for submit@debbugs.gnu.org; Tue, 05 Dec 2017 08:27:59 -0500 Original-Received: from mail-it0-f48.google.com ([209.85.214.48]:39089) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eMDGO-0007gt-Ke for 24914@debbugs.gnu.org; Tue, 05 Dec 2017 08:27:56 -0500 Original-Received: by mail-it0-f48.google.com with SMTP id 68so1436366ite.4 for <24914@debbugs.gnu.org>; Tue, 05 Dec 2017 05:27:56 -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=zsldws2n5GjXiNnmlwOVk4sjn7i9Ovh4RbGNHcOowtc=; b=iJtI6JYjmyTJhuRctRD5q0S9BnGlXx70Hw9lpNtspdoebBRILwyFNSE2auH3sZK1cN fPvXcHOFJEn1HQfgZ4QBDd/Bb8wJjrdGYZFmN/HNrojCCcvQDUPh9UBeUk1VKtHP38g4 J8MUswq5C6TPtXrVnb+aN/sT0BaNitUGOLVJJfZC+IJ56F4p3DBt4dhZCP+Lq5DJHEkY JXHfU+Da1LF50c0EsY6r3Fw9Jo08W6367ghTgrM7PKH8H+U5e46eyq6Iemn4i3gGrKPf AdrBvD8p3PQlt/f1IHfmtheSYzna8pxnuQ0yI8VX04j6mDX1Rqbp5nnb3MNtzhXH1Soh rtDg== 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=zsldws2n5GjXiNnmlwOVk4sjn7i9Ovh4RbGNHcOowtc=; b=IpcUcbB3PMg+DZmaKYp0W4m1NHth0PScYwU/2M1vOWrc5+Th7wLBh5lxuujK6b6DFD q1ff3NK6ERZo2bqQXnKxPaYR36Ht1hvBp3ehNjH33laXbxn0VS97TRnAIlp7csWce/35 C0xxKkrF2ZrqozBe0/+nGlBbiLBTI9QjeCKzbkr6bqrPDtRfM04EvOrsSwqKAi6PGlC3 JjJcv+Tw/Q7kAN51whTfcaiFJ2gwjAWurTfAdnd50zHxmcm3HuLZ87Ti0pkxx0d4Vmt8 2tQX0RbvsWaqPauyTmJfnoOBKctT5rwoiIxymhGi8vXhv7Nq0I4QN/7bXzXAbn2FZGtn gDhg== X-Gm-Message-State: AKGB3mKFlvvYqPABCv7jW2ReJ5I/C28QqvjRcySSwXouqQ0k3tZdtptA Igwo359VFV+Xa8E/4ivI490K1A== X-Google-Smtp-Source: AGs4zMbDAig3aHYdQak7TT7orjGgwUMDCmB4C7P0yoAbrCvn5E6MXKvmNa9ezXLgllkey5Oryklu6Q== X-Received: by 10.107.46.92 with SMTP id i89mr14054932ioo.8.1512480470610; Tue, 05 Dec 2017 05:27:50 -0800 (PST) Original-Received: from zebian ([45.2.119.34]) by smtp.googlemail.com with ESMTPSA id v19sm226787ite.4.2017.12.05.05.27.48 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 05 Dec 2017 05:27:49 -0800 (PST) In-Reply-To: <3a58fdaf-10c0-42e6-8c74-753ce24b969e@default> (Drew Adams's message of "Mon, 4 Dec 2017 20:52:50 -0800 (PST)") 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:140726 Archived-At: Drew Adams writes: > Clearly someone made a decision about "Trailing backslash", > for instance, and it's a very good decision IMO. That's a > more useful "the-pattern-is-incomplete" message than just > saying "incomplete input". Right, but I can't see why the same shouldn't apply to "Unmatched \\{" and all the others. > We are not the first to consider the list of error > conditions and what to do about this one or that one. > That doesn't imply that the judgment made previously is > the best one. It does suggest perhaps consulting those > who might have made it, or the larger emacs-devel community. That code seems to have been there since 1992 "Initial revision", so it's not clear what, if any, considerations were made. > See above. Isearch is incremental: you don't just enter > a complete regexp once and for all (as in `grep', for > instance. If Emacs jumps the gun with a premature "error" > msg, that can be annoying, no? We already get an "error" message, it says "incomplete". The question is why shouldn't it instead say *why* it's incomplete. > Adding the behavior you propose as an option shouldn't > hurt. It hurts, because it adds yet another option, which makes a user's job of going through them and deciding which ones make sense that much harder (yes, just this particular addded option won't make much difference, but still). >There might be people there more familiar with different use cases or >who know more about the history of why the current behavior is as it >is. I hope so.