From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dan Jacobson Newsgroups: gmane.emacs.bugs Subject: bug#72282: History entries shouldn't have the exact region hardwired in Date: Thu, 25 Jul 2024 07:22:08 +0800 Message-ID: <87o76m1ilb.1.fsf@jidanni.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3431"; mail-complaints-to="usenet@ciao.gmane.io" To: 72282@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jul 25 01:23:33 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 1sWlKV-0000lb-IJ for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 25 Jul 2024 01:23:32 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sWlK4-0003lj-Mr; Wed, 24 Jul 2024 19:23:04 -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 1sWlK2-0003l9-R0 for bug-gnu-emacs@gnu.org; Wed, 24 Jul 2024 19:23:02 -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 1sWlJw-0002Sd-8f for bug-gnu-emacs@gnu.org; Wed, 24 Jul 2024 19:23:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sWlK2-0000q6-Bt for bug-gnu-emacs@gnu.org; Wed, 24 Jul 2024 19:23:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Dan Jacobson Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 24 Jul 2024 23:23:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 72282 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.17218633523167 (code B ref -1); Wed, 24 Jul 2024 23:23:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 24 Jul 2024 23:22:32 +0000 Original-Received: from localhost ([127.0.0.1]:34672 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sWlJX-0000p1-NT for submit@debbugs.gnu.org; Wed, 24 Jul 2024 19:22:32 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:51792) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sWlJV-0000os-BX for submit@debbugs.gnu.org; Wed, 24 Jul 2024 19:22: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 1sWlJO-0003i4-Ds for bug-gnu-emacs@gnu.org; Wed, 24 Jul 2024 19:22:22 -0400 Original-Received: from iguana.tulip.relay.mailchannels.net ([23.83.218.253]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sWlJK-00026p-Gs for bug-gnu-emacs@gnu.org; Wed, 24 Jul 2024 19:22:20 -0400 X-Sender-Id: dreamhost|x-authsender|jidanni@jidanni.org Original-Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 5355E84676D for ; Wed, 24 Jul 2024 23:22:14 +0000 (UTC) Original-Received: from pdx1-sub0-mail-a271.dreamhost.com (unknown [127.0.0.6]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id D155F84668C for ; Wed, 24 Jul 2024 23:22:13 +0000 (UTC) ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1721863334; a=rsa-sha256; cv=none; b=3Dt6vOqab+wggjvXAaGp+WKXanM26efq7CRSbrNLfppyy0DxhxYdUpT+tVXucOTWkcunNZ lKCsEvhtCC9vG8NO3RSBHSLul/PloaeWvLweRk88XnTdQm9C0B0lCHshFXfraAQM5i5wYH 0naIhhIVH0hw+qapGws2+9rOQwdAZzVsi9XO0zQTESiDgTVF6Qzohwvswi3OKOD2hj4l8Z wFErOr9G3CjFAGBhYfbCcWoLbnnJTlRdVfKALUaRNVIfZJ/M+kAT2meQ6uSb417Aw1+xYJ 11VreO5TKJd2LjPe9U4OBf5vQGjPIiYq0gvqTZbYJ+nDYqam0qL0Stf5iCHfQA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1721863334; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: dkim-signature; bh=aH2lbxoeT3ZmxbafFZK9Lla/6sN+67FK0PamZinzmKM=; b=Z2t6luIffjCEyEkwrtef0FmSrdZU+ZEOM+4ViqzdcZGB6r0QC1crS+fi3L7/RXJDRjmaIe PnhvPIfhICncvxeVa6mIaqyLRUgTYUrrEnbPQ4PP2W2vG1U6cQ7WJ+yTupGnwgWTX87W/L fvKMxxG/iXUW7xoMYvlegn2p+k4y3bZmH6g2a3p4CrjDI/U/dX/pXUSigGba5EXkeBY4B3 nYD4mWT0RCtIQQLYeaK5fNWb1VW9XT8h8701UBNUnOroesOEZBW6MrcVoV9WnRj58NCuse O5iqt1ssRCEUy5A1wVa80EtuovQXJm4mLlaAuBt7vHQN6q/JAvza4iZp0rlHYw== ARC-Authentication-Results: i=1; rspamd-7684d565db-7l2sh; auth=pass smtp.auth=dreamhost smtp.mailfrom=jidanni@jidanni.org X-Sender-Id: dreamhost|x-authsender|jidanni@jidanni.org X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jidanni@jidanni.org X-MailChannels-Auth-Id: dreamhost X-Illegal-Plucky: 50faa187379ffcaf_1721863334246_1384316712 X-MC-Loop-Signature: 1721863334246:2933450059 X-MC-Ingress-Time: 1721863334246 Original-Received: from pdx1-sub0-mail-a271.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384) by 100.121.165.217 (trex/7.0.2); Wed, 24 Jul 2024 23:22:14 +0000 Original-Received: from jidanni.org (1-165-171-232.dynamic-ip.hinet.net [1.165.171.232]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: jidanni@jidanni.org) by pdx1-sub0-mail-a271.dreamhost.com (Postfix) with ESMTPSA id 4WTqmP4wxCzBQ for ; Wed, 24 Jul 2024 16:22:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jidanni.org; s=dreamhost; t=1721863333; bh=aH2lbxoeT3ZmxbafFZK9Lla/6sN+67FK0PamZinzmKM=; h=From:To:Subject:Date:Content-Type; b=Ufzw9bTmL3EZoRe9dsXQ7Tj1ePRSSkPsvDYEnToFB4d+z4j9lc2XjVTHzZueFVD67 rW57mUSIcbeMO7T/jNEDVvajqm2hlZ6gwW5iJUAdcJcjzhPMTTVxk/MQKfK2wzkWSJ pkGC/AFHBIA/bdjf05sKHfuP/kTJTyvvMRho9wXhjBfUCauRawk5tLtRQroa7vpMPj TtYDLqPZUbd5F8OCvohnMfHapMWI50Ykv2+of6iKO5nErno8dAd8P7qTTZIVm0us3B r1KZSib7ylutsajT9rOrE3mE5UVyGNf0GrxqG3cnYzEsUKpc9IacpDBd+6p06Cj6Kl 1HwN1Wp2YkUbw== Original-Received: from jidanni by jidanni.org with local (Exim 4.98) (envelope-from ) id 1sWlJB-000000000O2-1wNa for bug-gnu-emacs@gnu.org; Thu, 25 Jul 2024 07:22:09 +0800 Received-SPF: pass client-ip=23.83.218.253; envelope-from=jidanni@jidanni.org; helo=iguana.tulip.relay.mailchannels.net X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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:289259 Archived-At: (repeat-complex-command) is great, except when used after (shell-command-on-region) in which case we will be repeating (shell-command-on-region 2234 2892 ...) instead of just (shell-command-on-region REGION-START REGION-END ...) in other words the previous exact region is hardwired into the history. Yes, you might say well then just do `M-| RET`. Well that's harder to type than ``, ``, `C-x M-:` or `C-x M-ESC`, which are the bindings of repeat-complex-command. So maybe for all history items, they shouldn't have the exact region hardwired in.