From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#67124: 26.3; query-replace Arg out of range with comma option (at end-buffer) Date: Mon, 13 Nov 2023 16:38:25 +0200 Message-ID: <83jzqlu3a6.fsf@gnu.org> References: <020a72b2-b896-4ecf-abab-111a6c1c9eac@medialab.sissa.it> <83cywfuwta.fsf@gnu.org> <83r0ktu4s7.fsf@gnu.org> <03fc7766-3d3a-394b-e08c-53eb136d40a6@gutov.dev> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18682"; mail-complaints-to="usenet@ciao.gmane.io" Cc: gabriele@medialab.sissa.it, 67124@debbugs.gnu.org To: Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Nov 13 15:40:30 2023 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 1r2Y74-0004dc-7V for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 13 Nov 2023 15:40:30 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r2Y63-0006O1-Kx; Mon, 13 Nov 2023 09:39:27 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r2Y5x-0006IV-0Y for bug-gnu-emacs@gnu.org; Mon, 13 Nov 2023 09:39:21 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1r2Y5w-0001o4-Or for bug-gnu-emacs@gnu.org; Mon, 13 Nov 2023 09:39:20 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1r2Y6b-0000xc-Rt for bug-gnu-emacs@gnu.org; Mon, 13 Nov 2023 09:40: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, 13 Nov 2023 14:40:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67124 X-GNU-PR-Package: emacs Original-Received: via spool by 67124-submit@debbugs.gnu.org id=B67124.16998863763651 (code B ref 67124); Mon, 13 Nov 2023 14:40:01 +0000 Original-Received: (at 67124) by debbugs.gnu.org; 13 Nov 2023 14:39:36 +0000 Original-Received: from localhost ([127.0.0.1]:57763 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r2Y6C-0000wp-2Z for submit@debbugs.gnu.org; Mon, 13 Nov 2023 09:39:36 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36864) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r2Y69-0000wb-JX for 67124@debbugs.gnu.org; Mon, 13 Nov 2023 09:39:34 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r2Y5L-0001ec-RN; Mon, 13 Nov 2023 09:38:44 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=9geWroEwC+PuWazJ7npv41rS5LGRvR/KnogLdZIjuh4=; b=KgakBX/SjeCa wNIDpwrAawKlusJUKltGJwcPJEMQTFA7jYUxVcGQfCOEoHD/2tI9rQe9PXBlwyjMhfSzMP3wuDnJf 5FeaIX+GWDZViMW3elP4HeA2zWq8KXprOOMkbWz0qLd3ZQqSSDOnROPf9DUwP5idD2Czw/zybCg4T 0FJCWlqqLVd966vPrTVPmKAJ82CxTdgI4NJ/m7xyhwDpnvSc3MZJgHx3WylhvDv04wy4u48jQ9ZUi 5YaHQJa8FaC2Cgqj1sShHOYwJ0acjFMl0+dQMKDF/r7kfiPaIq6scabEDOLailk5t5jcBMegLFJWx wGGNyeAzn4rsNBh6ZUtE+A==; In-Reply-To: <03fc7766-3d3a-394b-e08c-53eb136d40a6@gutov.dev> (message from Dmitry Gutov on Mon, 13 Nov 2023 16:21:43 +0200) 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:274265 Archived-At: > Date: Mon, 13 Nov 2023 16:21:43 +0200 > Cc: 67124@debbugs.gnu.org > From: Dmitry Gutov > > On 13/11/2023 16:06, Eli Zaretskii wrote: > > [Please use Reply All to reply, so that the bug tracker is CC'ed.] > >> Date: Sun, 12 Nov 2023 23:44:43 +0100 > >> From: Gabriele Nicolardi > >> > >> I tested the patch on the MWE I sent to you. Thanks! > >> > >> Now I'm not sure what I should do. I write elisp code used by a production team. We use Emacs to > >> format LaTeX documents of scientific papers. I don't control which version of Emacs my > >> collaborators use. Do you have any suggestions? > > I guess either wait for the next Emacs release or build your own > > Emacs? > > I haven't examined the exact problem, but in such cases some people also > either have workarounds in their own code, or supply "advices" for the > core functions that work around the problem there. Then maybe a simple replacement for the offending function, defined in an init file, would also be a possible solution?