From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#17394: [External] : bug#17394: 24.4.50; enhancement request: split `next-error-function' functionality in two Date: Tue, 25 Jan 2022 16:17:31 +0000 Message-ID: References: <1257238c-02c2-48f6-a4f1-c53674f87734@default> <87y4xbfn45.fsf@lifelogs.com> <87sftbvqhr.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37222"; mail-complaints-to="usenet@ciao.gmane.io" To: Lars Ingebrigtsen , "17394@debbugs.gnu.org" <17394@debbugs.gnu.org> Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jan 25 17:53:46 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1nCP4j-0009UV-Qp for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 25 Jan 2022 17:53:45 +0100 Original-Received: from localhost ([::1]:54512 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nCP4i-0008Kq-Cc for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 25 Jan 2022 11:53:44 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:33370) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nCOWA-0004xJ-Ec for bug-gnu-emacs@gnu.org; Tue, 25 Jan 2022 11:18:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:56975) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nCOWA-0002fD-37 for bug-gnu-emacs@gnu.org; Tue, 25 Jan 2022 11:18:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nCOW9-0000DF-NQ for bug-gnu-emacs@gnu.org; Tue, 25 Jan 2022 11:18:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 25 Jan 2022 16:18:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 17394 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: wontfix Original-Received: via spool by 17394-submit@debbugs.gnu.org id=B17394.1643127463783 (code B ref 17394); Tue, 25 Jan 2022 16:18:01 +0000 Original-Received: (at 17394) by debbugs.gnu.org; 25 Jan 2022 16:17:43 +0000 Original-Received: from localhost ([127.0.0.1]:49878 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nCOVq-0000CX-NB for submit@debbugs.gnu.org; Tue, 25 Jan 2022 11:17:43 -0500 Original-Received: from mx0a-00069f02.pphosted.com ([205.220.165.32]:12186) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nCOVl-0000CM-RT for 17394@debbugs.gnu.org; Tue, 25 Jan 2022 11:17:41 -0500 Original-Received: from pps.filterd (m0246617.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 20PG50SV029546; Tue, 25 Jan 2022 16:17:36 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : subject : date : message-id : references : in-reply-to : content-type : content-transfer-encoding : mime-version; s=corp-2021-07-09; bh=c/8u60PtQJxcVNnwe4uNJMEBJZsBnbRBwBIaqHXHGoM=; b=JtDjf9ic3HCuLZSjCOD5n1BtBFTMhY5+x4e1wz03a4WwKjq3pCu1xcBgJEI1HiN0BH9+ y+bAxIEcCNIvsstOP/Lq2XT7PEmRkLa61ctKhrT/bHQktk947F5qXGBns1rmV6K8e07O 4pu2L6FGfM6/+YIkg64jrYyY4A2GSCMcGaJCDtmlk5iiy8WRDhIYxLNok5RF2W0m4M6X /F6guST+/cKPGghwBB/59IdETAwVZ/lUwE+C38It0A81k7hKeQ4VLqKv+tja2njX1KbN xQoqNfDHC+w6RxPOw6WPPYO2XD0eAdwHe1APXzl8v389bDjCyI9GDzQn52xwb+wEYyR0 +g== Original-Received: from aserp3020.oracle.com (aserp3020.oracle.com [141.146.126.70]) by mx0b-00069f02.pphosted.com with ESMTP id 3dsy7aujw3-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 25 Jan 2022 16:17:35 +0000 Original-Received: from pps.filterd (aserp3020.oracle.com [127.0.0.1]) by aserp3020.oracle.com (8.16.1.2/8.16.1.2) with SMTP id 20PGAl0T117467; Tue, 25 Jan 2022 16:17:34 GMT Original-Received: from nam04-dm6-obe.outbound.protection.outlook.com (mail-dm6nam08lp2044.outbound.protection.outlook.com [104.47.73.44]) by aserp3020.oracle.com with ESMTP id 3dtax6t0r6-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 25 Jan 2022 16:17:34 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=XqAsr1nQx1b+SQYr3rHEMPvx22RoOgoXEaHGfuqP0JCtUxKm9Ymq/RCGLjCf5L1jWAyWgEAe3GKn/VydL7DOlKxuP2pGor2FBq+NsWGHNjY743mLf49x2IgVGNl2i25bvMMUNcTzuqLtpoHrsLHJyDCH+8pFGsTxAVqdoIMMshoNzrD9rtHYCjcy/7YKCqrQQVSjVUDB7JI8vT42FpHIf5DkyLvkm4XvcC3xKV8CF9fUJwFfek8K3Df3QEFBcDPXK/bpdaYdcR2cZgRgy5TGCVPd8YCCV+s2mle/JPh5ekbBr3zL1lvk0TuLBEjqjCKjHmsMncdKgrCFFw2bUphOGg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=c/8u60PtQJxcVNnwe4uNJMEBJZsBnbRBwBIaqHXHGoM=; b=lenHx4HhLeEinkwLjcNOcBi6B50O73QAoI9VGcV0la1IK8Kw6ghWgpqFgEWxkuHnDB02LuzTQgFxe2gsaVRsajs8KS/0rf3Fyx499bpzgminExfair4ehqxVypK9Rkdt5NoG3M0kyYPXEg3NJYrKzFW/xTJ5rP9WzZjbuTs808vCL/QK0dRhlBZuVgd/Tk7QQ0d8tz0VoCJrNC++N9/z8u1tTjrhD0P+bo4EmLNs6cQx36IXRaU5fE0k4nu6rpF38RiSqN5Fz3gpK4bRK7QOAeNSa2S0J00L2bfL753X3FCvYVd1Zt+wt+h1OQjG1Y/WqAPAuwjL0XFQ/W8345NKxQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=c/8u60PtQJxcVNnwe4uNJMEBJZsBnbRBwBIaqHXHGoM=; b=iijSw45ehROSSytu17HybPeDFXbBuV0ddxUIlr1hpd738adXGSSbljfMjCNpoNjmi0a7NEP4R2rhbdpOmqUXoe9T91rzoGXGTNUsuJvX5ijJg5bngNdlZOYuzePg9vsbwtD0IzEbjW7F+xaKxhCBM97aKKIFmk7XPzRr5Ad50ho= Original-Received: from SJ0PR10MB5488.namprd10.prod.outlook.com (2603:10b6:a03:37e::19) by BN6PR10MB1987.namprd10.prod.outlook.com (2603:10b6:404:103::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4930.15; Tue, 25 Jan 2022 16:17:31 +0000 Original-Received: from SJ0PR10MB5488.namprd10.prod.outlook.com ([fe80::99a4:696f:5f30:36b3]) by SJ0PR10MB5488.namprd10.prod.outlook.com ([fe80::99a4:696f:5f30:36b3%6]) with mapi id 15.20.4930.015; Tue, 25 Jan 2022 16:17:31 +0000 Thread-Topic: [External] : bug#17394: 24.4.50; enhancement request: split `next-error-function' functionality in two Thread-Index: AQHYEf/4RavUyWhW9kmXQkdJOChw1axz6CUg In-Reply-To: <87sftbvqhr.fsf@gnus.org> Accept-Language: en-US Content-Language: en-US x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 3f5fba36-4881-49a7-eefb-08d9e01e3095 x-ms-traffictypediagnostic: BN6PR10MB1987:EE_ x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8882; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: xSJvX37paT7y2M1jHMm/WUsXlIHFfuuOED4MsmVxVtddvXQwvvlSyvpOs9iiqRCV10A+V883Dp3GNtA+UcSvy/JsQXkFd4MI3XD0ZepgWu9080QglQyNXgwT14mkOyiyvpmq5ltnFGYPWM6puJ607Ro1qsp+J2qMm6dK3KvBg0H0cuNhgCMLGeRbBVs1zyZyu7zwWTl2c9+p1+lVBbo00v+EwJKWltlUWRffgFm+yCURTEJcFDpQLLdCYHxtJwuEIi38zfsUtGqOLyOqAwa6ACVgKM5iAzUu28BIRBhPgLm3+myJXGTJ8uqynZQ4cII2F3UMDEThSy1kPnxCMXOJyrqOBtqWHeCkDodkyaEaHhWaO2UHN5pjyvG8dVJ0kZiIKefNfpi4fmY73D2UGnmsqsrQdoJ1wFHHVQoesQnt0sidnmdtIHd0NP85KZpliGTXpodl+Bb6uHgjEmk/74Y8lW1x5ieqgaxY/WEMqP4qUcYwPg+ZQc8bb4jZY4gWIutXtQWluAzJhti2CKLocPn07YB3RQfns/h8mNd8Yp88hkIbBXNrrnWdjaoHyQ5CmX+jAQNC55Y2WGkELmGBPGbeLrrkmYldqCPfhNiyPKTAezSDwGxdB1ObSd5TKHLpqH9B7nAkCRZfqTa/r95dBShStCGtnRfOxsIUo0Pgwm2RdvsgJGtSjsd+JrGKXy+vZ7sF7EXrrTJy98+o0WNYn7QuPJF7uQo6mUAPo9wLB3cptLM= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SJ0PR10MB5488.namprd10.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(366004)(86362001)(83380400001)(8676002)(8936002)(4744005)(38070700005)(122000001)(38100700002)(5660300002)(64756008)(66446008)(110136005)(2906002)(508600001)(44832011)(33656002)(9686003)(7696005)(6506007)(52536014)(55016003)(316002)(26005)(76116006)(71200400001)(186003)(66556008)(66946007)(66476007)(81973001)(20210929001); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: 1SyEVrdPEplw/pXmeCghnA2V9d2+8pP4iau7Yuae2A3I+swMZFVdTIt+VX/OlqhbjHYmxGzCnexdJxfshwDtgdqyqci42caP3vZDGxHsWbzaFyes1FxCb0gDnWyyQ97wV7Xj0uiCx8wSWXB8ycYhpgH1En2Ja8gESiiCaa/ULOHvkKyW72wvpInDEBEuZAfwfnG4upxGCqDoKzhs9l2aW3O9zib+GWmNNntKe9eqi6r5bqk6lG1XksxjXzXcbir3uydWvqGXBSpxsNZPxVcEueww0aPah7FOTLGJvF2v7KC/SSPqPN5OTrptg/s6VzQ7sSI7MA6QndWrPa+y/tBkgK5Q7+x8TtFqXxxrlb7Ecv8zfkKk8fwkVxOOJTVHyjf4Pr/7wI5/NHwdh7jlfHsgkQrPupPMr1qLPvMccSAxgzzXDQlhRd3nRCZTAxEjSYmGPlMwjPA9dnNojWPDKcNYQbicK+lXsv8lw8PxxstY6CHIjtiiZJC+sYNY3QvD6goLvA5ajMNB27A+EKxxQ/kpjvCreDKE758n2qMNxgkYSjj1atgLyhl6UIyKwmyr6jzasPHWsgs7K7IgYRGHBK4SOMqx9vyfRnU+ODH0IEM0+3oY+o7MW69GTDtBZI5XagXXmfJkgckNF8NfhXBc5xGX2yngHb3z0e+V+lcnyGLIt+IKGKESESV682hLnRn2dV13lZM2UjmDQ+VI02IS3yGNTzEFFTvrwz0IxoY9bNDBWxX32CsKx/PyjUYgzI DZFr5xnWHBoDusUOQFotRYBU5NcIFEKUDOCE6YePc7tk9zkErrsCBln3RQR8r1C3r+vXDKFml519V39lXHi7Xhee0WR8vV5C66 X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SJ0PR10MB5488.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 3f5fba36-4881-49a7-eefb-08d9e01e3095 X-MS-Exchange-CrossTenant-originalarrivaltime: 25 Jan 2022 16:17:31.7627 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: De94OS7EwPhzyxmWrRMCfbaGqGV6WPXl+Y98YGS+KbCV9PisAjJJBq756IbfJwKBeIj+L7hV3o7k/o6kG22W9g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR10MB1987 X-Proofpoint-Virus-Version: vendor=nai engine=6300 definitions=10238 signatures=668683 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 malwarescore=0 bulkscore=0 mlxscore=0 phishscore=0 suspectscore=0 spamscore=0 mlxlogscore=817 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2201110000 definitions=main-2201250104 X-Proofpoint-GUID: IF1jYQ5yO2AtfXCSRFvfgG4a3hzRUcXv X-Proofpoint-ORIG-GUID: IF1jYQ5yO2AtfXCSRFvfgG4a3hzRUcXv X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:225201 Archived-At: > Ted Zlatanov writes: >=20 > > This may work for some modes but not others. The `next-error' facility > > is opaque to the caller because each mode has to decide what makes sens= e > > in terms of locations and motion to them. So I think trying to expose > > more of the internals and formalize them would limit the ways in which > > it can be useful. >=20 > Skimming this thread, I agree, so I'm closing this bug report. This is _really_ too bad. This has nothing whatsoever to do with any "internals". There's no difficulty in providing a means for a mode to offer Lisp access to the locations, and there's no problem in letting a mode not do that. Not every mode needs to offer this usability. This enhancement would provide an important, useful feature. It's sad that you don't see that, but I expect that in another decade or two Emacs will provide this, or similar.