From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.devel Subject: RE: :alnum: broken? Date: Tue, 25 Feb 2020 07:40:57 -0800 (PST) Message-ID: <24c664bd-3f50-4fac-a029-2a328e46f60c@default> References: <86wo8flqct.fsf@stephe-leake.org> <86sgj3ljf0.fsf@stephe-leake.org> <5fecc0e1-1ee2-5a89-9297-b0b9aa4a8e9c@cs.ucla.edu> <831rqli2gh.fsf@gnu.org> <87v9nx3xnr.fsf@telefonica.net> <3ee18449-8816-4cca-b22a-e0fb029637e0@default> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="94604"; mail-complaints-to="usenet@ciao.gmane.io" Cc: =?iso-8859-1?B?03NjYXIgRnVlbnRlcw==?= , emacs-devel@gnu.org To: Andreas Schwab Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Feb 25 16:41:41 2020 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1j6cL7-000OW7-8J for ged-emacs-devel@m.gmane-mx.org; Tue, 25 Feb 2020 16:41:41 +0100 Original-Received: from localhost ([::1]:59166 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j6cL6-0003S0-9i for ged-emacs-devel@m.gmane-mx.org; Tue, 25 Feb 2020 10:41:40 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33768) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j6cKV-0002NP-Kv for emacs-devel@gnu.org; Tue, 25 Feb 2020 10:41:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j6cKU-0000e2-Me for emacs-devel@gnu.org; Tue, 25 Feb 2020 10:41:03 -0500 Original-Received: from userp2120.oracle.com ([156.151.31.85]:33100) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1j6cKU-0000dX-Eo for emacs-devel@gnu.org; Tue, 25 Feb 2020 10:41:02 -0500 Original-Received: from pps.filterd (userp2120.oracle.com [127.0.0.1]) by userp2120.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 01PFd1f0007264; Tue, 25 Feb 2020 15:41:01 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=mime-version : message-id : date : from : sender : to : cc : subject : references : in-reply-to : content-type : content-transfer-encoding; s=corp-2020-01-29; bh=gZCbPXcyYeDXSFv852kJ7bqLUlUISPUknaR7DO/DRag=; b=WvWHiiNDUuOS8ctE1Coi27uPp/hUGu5bymIceZHiS+h0J4xUA09ttCGYijndXWEkCi0u siPDzVN8fD7BLrfo4KqFdAhjF/5QWIv4jKe57XjWBqvWNHdgq8RQEfFBsqTqZ+9vDRJ1 iRlRCgfwn3kMOCH1VkjdUtUvVs7VGc+s+k1oHAgvr5WzZkNHEwqJFPAmeRkGhGTutvlC Ps6ucZiVcqX7/nITyTWVkPUL1P9Moy3fu7h5PN8AgsTEO6nlSvSLi1KiBxw7se855r7s svrqr1lw5i7+Ep75wi5UWUvyq18G453S2l9ObotbcWXH1c/QlM9CrIV5TIVGlnSd/qnc WQ== Original-Received: from aserp3030.oracle.com (aserp3030.oracle.com [141.146.126.71]) by userp2120.oracle.com with ESMTP id 2yd0m1t7gh-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 25 Feb 2020 15:41:01 +0000 Original-Received: from pps.filterd (aserp3030.oracle.com [127.0.0.1]) by aserp3030.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 01PFbDFu042529; Tue, 25 Feb 2020 15:41:00 GMT Original-Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by aserp3030.oracle.com with ESMTP id 2ybdux104b-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 25 Feb 2020 15:41:00 +0000 Original-Received: from abhmp0002.oracle.com (abhmp0002.oracle.com [141.146.116.8]) by userv0121.oracle.com (8.14.4/8.13.8) with ESMTP id 01PFewM2009245; Tue, 25 Feb 2020 15:40:59 GMT In-Reply-To: X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.4966.0 (x86)] X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9541 signatures=668685 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 adultscore=0 suspectscore=0 mlxlogscore=999 malwarescore=0 mlxscore=0 spamscore=0 phishscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2001150001 definitions=main-2002250121 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9541 signatures=668685 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 lowpriorityscore=0 mlxscore=0 suspectscore=0 bulkscore=0 adultscore=0 impostorscore=0 spamscore=0 phishscore=0 clxscore=1015 priorityscore=1501 malwarescore=0 mlxlogscore=999 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2001150001 definitions=main-2002250121 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] [fuzzy] X-Received-From: 156.151.31.85 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:245068 Archived-At: > > 1. Warning during regexp input (e.g. regexp Isearch) > > would likely, itself, be quite confusing or > > annoying. >=20 > It's not unlike the error you get during input of > an incomplete or otherwise malformed regexp. Yes, I guess that could work. (I guess you, like I, are thinking about regexp Isearch, at least as one such use case.) The message should, in that case, be quite different from the incomplete/malformed message. It should essentially point out that what you've typed so far is a character class, not a character alternative. E.g. "Did you perhaps mean [[:alnum:]]?" Maybe even better might be to query the user to just continue (y or SPC) or to go to the manual node that talks about this. (And the manual should probably explicitly point out the gotcha of using a char-class outside of a char alternative. Actually, I maybe think it did, at one time, and that was removed (?).) Since different users will likely see such interactive help as more or less helpful/annoying, it should be configurable. E.g. (1) no warning, (2) on-the-fly brief reminder, (3) query to let you visit the manual or get more explanation in some other way (e.g. *Help*).