From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#45607: 27.1; compiled replace-string breaks repeat-complex-command Date: Tue, 05 Jul 2022 18:45:37 +0200 Message-ID: <87fsjf1pam.fsf@gnus.org> References: <80o8i7676p.fsf@felesatra.moe> <87czfkir6n.fsf@gnus.org> <86r1402un1.fsf@mail.linkov.net> <87y1y79x82.fsf@gnus.org> <87v8t9y8hi.fsf@gnus.org> <87r13xy8c3.fsf@gnus.org> <871quzaagc.fsf@web.de> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21555"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: Allen Li , 45607@debbugs.gnu.org, Juri Linkov To: Michael Heerdegen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jul 05 19:06:48 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 1o8m0d-0005QB-8O for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 05 Jul 2022 19:06:47 +0200 Original-Received: from localhost ([::1]:48052 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o8m0c-0005Qc-6R for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 05 Jul 2022 13:06:46 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41144) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o8lgZ-0004pq-Nh for bug-gnu-emacs@gnu.org; Tue, 05 Jul 2022 12:46:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:57550) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o8lgY-0002VL-4B for bug-gnu-emacs@gnu.org; Tue, 05 Jul 2022 12:46:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o8lgY-00046u-3P for bug-gnu-emacs@gnu.org; Tue, 05 Jul 2022 12:46:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 05 Jul 2022 16:46:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45607 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 45607-submit@debbugs.gnu.org id=B45607.165703955315779 (code B ref 45607); Tue, 05 Jul 2022 16:46:02 +0000 Original-Received: (at 45607) by debbugs.gnu.org; 5 Jul 2022 16:45:53 +0000 Original-Received: from localhost ([127.0.0.1]:51447 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o8lgO-00046R-KS for submit@debbugs.gnu.org; Tue, 05 Jul 2022 12:45:52 -0400 Original-Received: from quimby.gnus.org ([95.216.78.240]:45758) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o8lgI-00046A-VJ for 45607@debbugs.gnu.org; Tue, 05 Jul 2022 12:45:50 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:Date:References: In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=5jfduTCiciO4lqKGqbtq7THRu9OKHQuXm/CGwBAb/k8=; b=nNQqqjnrxcRlCQM8Q7EnQi/sOR 2rzwP0tQMUhE/IhNEJIR6GTiUWNHgnYRqxV2B7Xbtl6pozvZzfk7yfvbmt4xcv+LbIz68f6fzH3xl jrCbevNzn1jh7cc/p2Dfuk9cmCWW3WM9kGY2YERMCqwTrBjCy4aFCmdzxAONJ/oniA3c=; Original-Received: from [84.212.220.105] (helo=joga) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o8lgA-0003sg-4R; Tue, 05 Jul 2022 18:45:40 +0200 In-Reply-To: <871quzaagc.fsf@web.de> (Michael Heerdegen's message of "Tue, 05 Jul 2022 16:41:23 +0200") Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAgMAAAAqbBEUAAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAADFBMVEWFem5CPDeVin// ///U816mAAAAAWJLR0QDEQxM8gAAAAd0SU1FB+YHBRAbBtVEs8IAAAF3SURBVCjPTZDBauMwEIZ/ G3tRfXJKppQ9KWUDTp7CKTW4PSlmxqQPsO8hTLaUHsP67i499Sk7lu2yP0joY0b/SD8SRIk3qI39 Z1CWNjaARfFxBtDFUbJCl2VYZKwxBVDWFpGD3fpPwKEzVdW9Ji9v2uH91lEZZ3uvPqZO48j98sUA XNcx7YcWL5dXIEfH2cC3ag7srOefZzG7jUWdx1d8m9DdZX0GCXNOjh7adQMRYV8d6MB0GkFqR3SQ voTwSk4ivRO5h9j3sSisDZDjIYAQZ+q2qO2wHCvhAeM+QiliIanwH4XTaEByXDqfvu+onEI6H4Uh TXRUfK7ue9HK79mb/gP1UajWYf4EelV1ows6nmazUAnQyNS2iAJsqA6TR2hTaegbenFMM9SUuvCN ER5kLZz3s1t/w44nqISi6YcBZE5rHtqSTG0UHsO0Evy94pRhNZ19g2inwT5uiaV4QrHR5/8YUy4+ Yb2aJbnmmu0xdCQpq3l7efsCE+abYhqQ54EAAAAldEVYdGRhdGU6Y3JlYXRlADIwMjItMDctMDVU MTY6Mjc6MDYrMDA6MDD2IVAGAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIyLTA3LTA1VDE2OjI3OjA2 KzAwOjAwh3zougAAAABJRU5ErkJggg== X-Now-Playing: Flux's _Uncarved Block_: "The Stonecutter" 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:236147 Archived-At: Michael Heerdegen writes: >> (defun replace-string (from-string to-string &optional delimited start end backward region-noncontiguous-p) >> ... >> (declare (arg start (if (use-region-p) (region-beginning))) >> (arg end (if (use-region-p) (region-end)))) >> >> and fix_command would pick them up from the symbol plist and use those >> forms instead of the value for these arguments. [...] > We only have a problem for `repeat-complex-command' usage, right? Then > the effect of a new `declare' spec should better be limited to the value > added to `command-history'. Isn't that all that fix_command does? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no