From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Frederick Bartlett Newsgroups: gmane.emacs.help Subject: removing extraneous information in repeat-complex-command Date: Sat, 7 Jan 2023 13:59:00 -0500 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7031"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jan 07 22:21:22 2023 Return-path: Envelope-to: geh-help-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 1pEGd0-0001ej-6Q for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 07 Jan 2023 22:21:22 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pEGcM-0007tN-Gz; Sat, 07 Jan 2023 16:20:42 -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 1pEEPU-0007S4-4i for help-gnu-emacs@gnu.org; Sat, 07 Jan 2023 13:59:16 -0500 Original-Received: from mail-qk1-x72b.google.com ([2607:f8b0:4864:20::72b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pEEPR-0004q9-0l for help-gnu-emacs@gnu.org; Sat, 07 Jan 2023 13:59:14 -0500 Original-Received: by mail-qk1-x72b.google.com with SMTP id l1so2288015qkg.11 for ; Sat, 07 Jan 2023 10:59:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=MZKAliiZSG6S/JlsCDDENJD8vWQ/b31dFGhOPQhW07A=; b=erdegI+1whoYgIsg4aTwBWS/9ptXDgMfBoFxtJAbC6aJLMa4NlI42nkvKM3zhMW0bN ZYDDzf+BzKVnDi7UiqAPjEqQ5K3qjj6CW1UJlAGt8ERYX1Rn0xdAsE27GkcE7kvydR8Q b54lyq8suoe26ctAjIkEJopoF8pHYu/30DgFVZ3Snd6MoAhXUlBgkehpebBjFHKh5Oob YAsi78t1JFolVj6HxRq67yhSrIXUNHlSDMMETXROYFQw0zioAE+s5gOKTXHQliHhJyW6 pST1ixTb0X+OYtdvZTfSX+3zM2VoQvPmLlEjWwY9Y2JO54Q+mKaZWK+996f1prjok/7w KFxA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=MZKAliiZSG6S/JlsCDDENJD8vWQ/b31dFGhOPQhW07A=; b=SGJzcXSyyAr47reZshlst7horSCM5olrZpRMPQY37TV5TFwX9qTzygXDXGJrWq3DIv CRvg7GT+nv2J6TUJ+bbPPPnbUaPr2bu7xUZlxfyVc41L8GP7JwwsWTmDlSJyI7ug5esp KYvly1s7Atp3VW9lCGEYjAhfeDs90HYF30QaPAk6g2RnPVRN3xJj74pQFBN7pZQcf6dr r6C+LMSaslHuArkmE6AxVpKdG8LpAU1AJi/sg0vIrQ+1HUw4TfBgBcogegUxrIoMfjoF kD2qfcYXJ2am9LELmGOueODmlCTEVX0SFEwhRO3X1XF3LbU014bIyhrjv+k9VTOe+lnt Jmzg== X-Gm-Message-State: AFqh2koWTFH2JYiaDEo4i+crzTj6+Q4EM45FYMusn9tvlEfmc3JNcdmf hcQdqNduM+IaDIcZf56Nm201mIr5M2M71bSIWCC/uTPNHtOTfQ== X-Google-Smtp-Source: AMrXdXuXy7MhaqiBp097d33jyXFh0ly3LBCs375Z58Y3OhJcVZqdyR8DEa2sdG9xImWM1U5j9hR4h559nF5SWTPwaqU= X-Received: by 2002:a37:b083:0:b0:705:acf6:3662 with SMTP id z125-20020a37b083000000b00705acf63662mr266235qke.167.1673117951322; Sat, 07 Jan 2023 10:59:11 -0800 (PST) Received-SPF: pass client-ip=2607:f8b0:4864:20::72b; envelope-from=frederick.bartlett@gmail.com; helo=mail-qk1-x72b.google.com 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, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Sat, 07 Jan 2023 16:20:39 -0500 X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:142145 Archived-At: Is there a simple way to resimplify complex commands? E.g, after (query-replace "<^J/script>" "" nil nil nil nil nil) C-x ESC ESC produced (query-replace #("<^J/script>" 0 8 (syntax-table =E2=80=A6 )) "" nil nil nil nil nil) where =E2=80=A6 represents about 120k characters. in the minibuffer. I strongly prefer the former. Alternatively, if this can only be solved via a macro, I'd appreciate a clue or two. While I have written a few in the past, I'm not sure how to approach this. Thanks! Fred