From: Kevin Rodgers <ihs_4664@yahoo.com>
Subject: Re: [EPeterson@mcdonaldbradley.com: Kill ring leak in winemacs macros]
Date: Thu, 18 Aug 2005 10:56:33 -0600 [thread overview]
Message-ID: <de2ek5$kkv$1@sea.gmane.org> (raw)
In-Reply-To: <41237.128.165.123.83.1124209899.squirrel@webmail.lanl.gov>
Stuart D. Herring wrote:
> What kind of keyboard macro could communicate asynchronously with another
> program, via the clipboard or otherwise? Something like that would seem
> to require real Lisp anyway. Moreover, this whole change would be
> optional (customizable), so the user of any such macro could turn off
that
> option (maybe even temporarily and within the macro to make it
> self-contained). So I don't think this change can hurt anything.
>
> ...I realize, reading the previous paragraph, that this answers the
> question of which implementation to pursue. The obvious value of a macro
> that temporarily enables (or disables) clipboard communication means that
> the customize option should be checked within the macro, not in
> execute-kbd-macro.
I think you mean it should be checked while defining a macro, as well as
when executing one, because the first time a macro is executed is when
it is defined -- right?
In that case, start-kbd-macro should also respect the proposed new
option (by setting the interprogram-*-function variables) and
end-kbd-macro should restore them (which means start-kbd-macro would
need to save their original values). But that can't be done with simple
let bindings, as it can in execute-kbd-macro.
> One point, remains, though: Richard said he wanted the kill-ring
> re-synchronized with the external world at the end of a keyboard macro
> that desynched them; I guess that would have to go in execute-kbd-macro.
> But what should happen if both Emacs and the window system have new text
> at that point (where no ordering exists between them)?
Where did he say that?
--
Kevin Rodgers
next prev parent reply other threads:[~2005-08-18 16:56 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-08-03 19:10 [EPeterson@mcdonaldbradley.com: Kill ring leak in winemacs macros] Richard M. Stallman
2005-08-03 19:27 ` Stuart D. Herring
2005-08-03 19:52 ` Lennart Borgman
2005-08-03 20:59 ` Stuart D. Herring
2005-08-03 21:41 ` Lennart Borgman
2005-08-04 3:55 ` Eli Zaretskii
2005-08-04 7:25 ` Lennart Borgman
2005-08-03 23:12 ` Kevin Rodgers
2005-08-04 15:34 ` Stuart D. Herring
2005-08-16 15:07 ` Stuart D. Herring
2005-08-16 16:10 ` Jason Rumney
2005-08-16 16:19 ` Jason Rumney
2005-08-17 6:24 ` Richard M. Stallman
2005-08-18 16:43 ` Kevin Rodgers
2005-08-18 21:15 ` Jason Rumney
2005-08-18 22:17 ` Stuart D. Herring
2005-08-16 16:31 ` Stuart D. Herring
2005-08-16 21:38 ` Jason Rumney
2005-08-18 16:57 ` Kevin Rodgers
2005-08-18 16:56 ` Kevin Rodgers [this message]
2005-08-18 17:52 ` Stuart D. Herring
2005-08-04 12:48 ` Richard M. Stallman
[not found] ` <E1E0f9R-0003Pk-NJ@fencepost.gnu.org>
2005-08-04 14:19 ` Lennart Borgman
2005-08-04 15:20 ` Juanma Barranquero
2005-08-05 11:59 ` Richard M. Stallman
2005-08-05 12:43 ` Juanma Barranquero
2005-08-06 6:27 ` Richard M. Stallman
2005-08-05 13:48 ` defadvice in Emacs code (was: " Lennart Borgman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='de2ek5$kkv$1@sea.gmane.org' \
--to=ihs_4664@yahoo.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).