From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Gutov 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:21:43 +0200 Message-ID: <03fc7766-3d3a-394b-e08c-53eb136d40a6@gutov.dev> References: <020a72b2-b896-4ecf-abab-111a6c1c9eac@medialab.sissa.it> <83cywfuwta.fsf@gnu.org> <83r0ktu4s7.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39938"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Cc: 67124@debbugs.gnu.org To: Eli Zaretskii , Gabriele Nicolardi Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Nov 13 15:22:36 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 1r2Xpj-000A6j-0W for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 13 Nov 2023 15:22:35 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r2XpV-0002yd-Tv; Mon, 13 Nov 2023 09:22:21 -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 1r2XpU-0002yU-FK for bug-gnu-emacs@gnu.org; Mon, 13 Nov 2023 09:22:20 -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 1r2XpU-0006YH-6o for bug-gnu-emacs@gnu.org; Mon, 13 Nov 2023 09:22:20 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1r2Xq9-0000Wn-Nj for bug-gnu-emacs@gnu.org; Mon, 13 Nov 2023 09:23:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 13 Nov 2023 14:23: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.16998853561992 (code B ref 67124); Mon, 13 Nov 2023 14:23:01 +0000 Original-Received: (at 67124) by debbugs.gnu.org; 13 Nov 2023 14:22:36 +0000 Original-Received: from localhost ([127.0.0.1]:57744 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r2Xpk-0000W4-51 for submit@debbugs.gnu.org; Mon, 13 Nov 2023 09:22:36 -0500 Original-Received: from wout2-smtp.messagingengine.com ([64.147.123.25]:33545) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r2Xpi-0000Vr-P3 for 67124@debbugs.gnu.org; Mon, 13 Nov 2023 09:22:35 -0500 Original-Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id 63329320051E; Mon, 13 Nov 2023 09:21:47 -0500 (EST) Original-Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Mon, 13 Nov 2023 09:21:47 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gutov.dev; h=cc :cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to; s=fm2; t= 1699885306; x=1699971706; bh=o+VdtPh0YEZuiz/kRzGBhjPQOvNEfIh2nau kpBMt2QQ=; b=ko6mwzzEhUH2RdMTCqlhMkEFHYbNnf/ViEqUcjMSje1o7CPv9pN 1zD4R+a6JvuC2IKoXl9rqKqZFfu9v3NmWtz8RNzWTSloJKoCfod+2eeww43vihrK IBvuuysDj4WHjLaDxUU/dk/nXb5JQtd98mbjPaoAwosPicI+u+z45VMAzPpZyzZ6 xblf5GmRw1xR/Jma8YD+va4Ti9HgnHaKcxirRZPgc635N/h67bYxB6vUGx7h2zHU h0yWXTPn+NsbwkPFnwogHU922msgHg9JHyHb4qE07QGfP/04wi7sQZwFd6X9EvoK nHNSybJp2+HHeaw0KCxRm6mxpsR5WPanKZg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t= 1699885306; x=1699971706; bh=o+VdtPh0YEZuiz/kRzGBhjPQOvNEfIh2nau kpBMt2QQ=; b=dkK6o5oIerUrZpYRSXLknRq2ZknEkG9f8UakSCi21RmZPEpHd8h lqM+Da/2myf48o/L1WQDeEs8p+FvPxK62b0oCmcc9bnOHGA5/r18CiOZtVdhRCjn XwiE/IWgV/UyB+rAsiQ3ubZDwfE/NephjXgXxGVTGWi75UgoPibNDPRMZj1QJoVd HEBnf4Vf5c5BmR4CwafgPS9kbL2deSRBCG7LuJkr/Ap1e7zSXAtGo/cxcpaggytc XXGiF2rJl+ZShc7bkUOBBRl6PrE4T4DDPnvT685XszWrQHc6mVO1mnvW3j9nH8rw ySUPy6g3QwC8bf3gfBxs+lwRFxd6YcnUwzw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrudeftddgieduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepkfffgggfuffvvehfhfgjtgfgsehtjeertddtfeejnecuhfhrohhmpeffmhhi thhrhicuifhuthhovhcuoegumhhithhrhiesghhuthhovhdruggvvheqnecuggftrfgrth htvghrnhepiefgteevheevveffheeltdeukeeiieekueefgedugfefgefhudelgfefveel vdevnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepug hmihhtrhihsehguhhtohhvrdguvghv X-ME-Proxy: Feedback-ID: i0e71465a:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 13 Nov 2023 09:21:45 -0500 (EST) Content-Language: en-US In-Reply-To: <83r0ktu4s7.fsf@gnu.org> 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:274263 Archived-At: 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. This kind of solution requires a certain level of understanding of the code in question, and might be quite brittle otherwise (breaking other features for the same users). Not for the faint of heart, I'd say.