From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Joseph Turner via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#72704: 29.4; repunctuate-sentences ignores NO-QUERY Date: Sun, 18 Aug 2024 21:48:26 -0700 Message-ID: <87r0alazj9.fsf@breatheoutbreathe.in> References: Reply-To: Joseph Turner Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30073"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 72704@debbugs.gnu.org To: Brian Green Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Aug 19 06:49:46 2024 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 1sfuKv-0007ia-Fl for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 19 Aug 2024 06:49:45 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sfuKg-0001Vq-6s; Mon, 19 Aug 2024 00:49:30 -0400 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 1sfuKX-0001Uf-NP for bug-gnu-emacs@gnu.org; Mon, 19 Aug 2024 00:49:21 -0400 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 1sfuKX-0007ei-Ec for bug-gnu-emacs@gnu.org; Mon, 19 Aug 2024 00:49:21 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=I2/peJYGfUE8EEWCaYRiNeZAlj9qJ1TTvQWNPlWQbLo=; b=aIutzLj6TeiqhrWQ4zofb71id9/wOyuzGbRaUFf6EZ13NiVS/Yqg010dPk+9pK5wERRYUeBSVioAXhl3Jd/qR6XHBV3cj+ZGYaM/CqZAh8yMhX7jroZlqns7Xp0NnXbcMlvh0K0tB5tlRb7jdwHjfK4MCM4z+WNmVe7eRuuvX0QuuQsvVwUsUcJ8c+ls05LbWLBac0O9qkYdnMi6nRYU9A5SvdKKhVeuTFVIvlVCNfTSlU4tWCQE+RYWBNKwsgMQ9HSeYBoYMT4kaEXIeDVp8QdXrm/OXBUwDc9gaOE5H20/ASq59TVM5qHnLuwGSGF3/1GyUWZjlbgMoEx1oDeskA==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sfuLC-0006kL-B9 for bug-gnu-emacs@gnu.org; Mon, 19 Aug 2024 00:50:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Joseph Turner Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 19 Aug 2024 04:50:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72704 X-GNU-PR-Package: emacs Original-Received: via spool by 72704-submit@debbugs.gnu.org id=B72704.172404299925915 (code B ref 72704); Mon, 19 Aug 2024 04:50:02 +0000 Original-Received: (at 72704) by debbugs.gnu.org; 19 Aug 2024 04:49:59 +0000 Original-Received: from localhost ([127.0.0.1]:57333 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sfuL9-0006jv-Hq for submit@debbugs.gnu.org; Mon, 19 Aug 2024 00:49:59 -0400 Original-Received: from out-182.mta1.migadu.com ([95.215.58.182]:28970) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sfuL5-0006ja-BL for 72704@debbugs.gnu.org; Mon, 19 Aug 2024 00:49:57 -0400 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=breatheoutbreathe.in; s=key1; t=1724042914; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=I2/peJYGfUE8EEWCaYRiNeZAlj9qJ1TTvQWNPlWQbLo=; b=hdrs/jtdgpMo0fBtqmKacEtGosJcpvmdLeK4sYy62N/8S2wvBHW8RM8Bfq3mrQE4rEpOPn IbdefHnOAdqVWTya4vWuQhrxUx+vZkmZIV64/+8tF5227JW8+g3W+vr2fUZ5Iqvjlu1e/m 8OOeZyfcMVrWRF5DqOkOSIt0qKEuzI8= In-Reply-To: (Brian Green's message of "Sun, 18 Aug 2024 13:14:39 -0700") X-Migadu-Flow: FLOW_OUT 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:290367 Archived-At: Brian Green writes: > 1. Visit any buffer containing text with sentences separated by one > space instead of two. > 2. "C-u M-x repunctuate-sentences" > > Expected: "repunctuate-sentences" should repunctuate all sentences such > that they end with two spaces, without querying the user. > > Actual: "repunctuate-sentences" enters the query-replace-regexp > interface, as if "C-u" had not been pressed. NO-QUERY does take effect if you evaluate the function noninteractively: (repunctuate-sentences t (point-min) (point-max)) To my reading, the docstring of repunctuate-sentences does not imply that the prefix argument should have any effect interactively. I think this is a simple, reasonable feature request. What do others think? Best, Joseph