From: Dani Moncayo <dmoncayo@gmail.com>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: 18629@debbugs.gnu.org
Subject: bug#18629: 25.0.50; Yanking text on a MS-Windows console
Date: Mon, 6 Oct 2014 18:01:47 +0200 [thread overview]
Message-ID: <CAH8Pv0h9+sfZ8ER0vkDe4fpcJvuPOwmYsH4bjWkNCfEm5wW1aQ@mail.gmail.com> (raw)
In-Reply-To: <jwvd2a6ov2g.fsf-monnier+emacsbugs@gnu.org>
> Looks like you have an "old" version, then. Try updating from trunk.
My version was from a recent trunk build (2014-10-02), made from an
empty build directory (autogen.sh+configure+make). But it seems that
it is somehow corrupt. I guess I should always use the "bootstrap"
target to be sure that the build is correct...
>> The expected behavior for that, I think, is the one I observe right
>> now: C-y brings to the buffer the current contents of the system
>> clipboard.
>
> I think if you upgrade from trunk, your original problem might
> disappear, but the above desired behavior will also disappear.
Yes, It seems so. I've just built a recent trunk version, and this is
what I see:
1. Without your code below:
a. The kill ring seems to work OK for "internal" text, i.e, text
coming form Emacs itself.
b. But I can't yank text from the system clipboard.
2. With your code below: Everything seems to work fine.
> If so, please try to run the code below and tell me if it restores the
> expected behavior:
>
> (gui-method-define gui-selection-value t #'w32-get-selection-value)
> (gui-method-define gui-select-text t
> (lambda (text)
> (if gui-select-enable-clipboard
> (w32-set-clipboard-data text))))
--
Dani Moncayo
next prev parent reply other threads:[~2014-10-06 16:01 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-04 21:04 bug#18629: 25.0.50; Yanking text on a MS-Windows console Dani Moncayo
2014-10-04 22:43 ` Stefan Monnier
2014-10-05 7:54 ` Dani Moncayo
2014-10-06 1:21 ` Stefan Monnier
2014-10-06 16:01 ` Dani Moncayo [this message]
2014-10-06 17:48 ` Stefan Monnier
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=CAH8Pv0h9+sfZ8ER0vkDe4fpcJvuPOwmYsH4bjWkNCfEm5wW1aQ@mail.gmail.com \
--to=dmoncayo@gmail.com \
--cc=18629@debbugs.gnu.org \
--cc=monnier@iro.umontreal.ca \
/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).