From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eduardo Ochs Newsgroups: gmane.emacs.help Subject: Re: Redisplay inside keyboard macros Date: Tue, 8 Feb 2022 18:00:11 -0300 Message-ID: References: <83czjxwbjm.fsf@gnu.org> <6202c76b.1c69fb81.56b06.2c5d@mx.google.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3283"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs To: Bruno Barbier Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Tue Feb 08 22:13:17 2022 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 1nHXnY-0000fs-S5 for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 08 Feb 2022 22:13:16 +0100 Original-Received: from localhost ([::1]:50110 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nHXnX-000261-TC for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 08 Feb 2022 16:13:15 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:51298) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nHXdJ-0001gc-Na for help-gnu-emacs@gnu.org; Tue, 08 Feb 2022 16:02:41 -0500 Original-Received: from [2607:f8b0:4864:20::62d] (port=43567 helo=mail-pl1-x62d.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nHXdF-00068X-K8; Tue, 08 Feb 2022 16:02:41 -0500 Original-Received: by mail-pl1-x62d.google.com with SMTP id u12so387781plq.10; Tue, 08 Feb 2022 13:00:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=jpg+sm7NXtUvjRXW2hMMYblsUYynmcLnr9Dw+VTtFkg=; b=TVEil7DN/1jELLufF17ZmqsB3lPzI7CKwPXxKgVtzhriOTSYHcMnAo0RymW6qPoGXq SP1AvrIC+3IAXUbjk6T6PUDcAzK8oImb3zE5l8ojwdham+j+Ui8gd/fW9vGK464HWDHX ylJnV5jfxcY82R9lLdVLTKuDGZiybZ43MtgtU1SEIq0F5mYNynghsK2gogcy9tGN6LQM WdAGKw69fgxMD9GtPFsI6uRp3jareJHYobAMCP7DOPYxXN84PAK1BwiGyzFc117S8Ip0 HR/G5NVKISOgv19dwaWHr3bC+Re1U9MPkzbeR+IPxgi3MkVFz1tK818rYmaAQCAm174p kHLA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=jpg+sm7NXtUvjRXW2hMMYblsUYynmcLnr9Dw+VTtFkg=; b=Fup0gT89oLFvjbM/iUvkvlmTjFTJrQvcQMQ2lFq6hi7hWRTFemfwBTnchn+olpGQ+h y+0wJJYSWUfDweI2b8y7ypFUgIjl8mJ3VViXUyhHs2hWvU+uZLh59O9LGHrtW9L92h1T OMHnZqUjoPy2gvl7P2sHNPoIta/6dtDmH7cwH+6Qtzp1HR8O2sEWhg2zF8aosA4LYkTL d8yQjNgcMYMnYNzon9m+W0b8cWzya08WTmqE+glkrssiq23zTmCBbd5/MsRJ3Ythe/ms gLPz5YZpr7a0bFwHmNtX0bOJjURURtGTeU9fTCixySxbxs5PlOCPGHBjs02R6R7Iu0tQ WAzg== X-Gm-Message-State: AOAM533QJbGzuWUCB/5xH/ZFMVMJO4mwIwrg5GPxOYDaFWLLDAP8g2Nb OuSBp6peHp1Osqm9XmY4msX46uByqbgwEbPyWHI= X-Google-Smtp-Source: ABdhPJwpCfbudkXT1YIDpWfqjENXaq7ruR3GPzDIXReQuSyb/ymVdMNxDQP+r6hLfQuqcSU8YIswnQcK6iDlfFK7rTY= X-Received: by 2002:a17:90b:1bc3:: with SMTP id oa3mr2165274pjb.17.1644354023089; Tue, 08 Feb 2022 13:00:23 -0800 (PST) In-Reply-To: <6202c76b.1c69fb81.56b06.2c5d@mx.google.com> X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::62d (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::62d; envelope-from=eduardoochs@gmail.com; helo=mail-pl1-x62d.google.com X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 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, PDS_HP_HELO_NORDNS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action 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" Xref: news.gmane.io gmane.emacs.help:135850 Archived-At: On Tue, 8 Feb 2022 at 17:39, Bruno Barbier wrote: > > In my case, some macros didn't replay correctly, because redisplay > wasn't done (like editing org mode links). > > It's probably unsafe and unreliable, but, using a post-command-hook, > I've managed to force redisplays anyway. Macros are way slower than > before, but they now replay correctly. > > Eduardo, your 'eek' function just works fine in my emacs, using > just the (sleep-for 1) definition. I can cleanup and share my hack if > you're interested. > > Bruno. Hi Bruno! I'm interested! Please share! =) [[]], Eduardo