all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Dani Moncayo <dmoncayo@gmail.com>
Cc: 18629@debbugs.gnu.org
Subject: bug#18629: 25.0.50; Yanking text on a MS-Windows console
Date: Sun, 05 Oct 2014 21:21:02 -0400	[thread overview]
Message-ID: <jwvd2a6ov2g.fsf-monnier+emacsbugs@gnu.org> (raw)
In-Reply-To: <CAH8Pv0j+gyACzZWHGyJeGZLA1Mko74L3mEYhs+X+F5f8qbBozA@mail.gmail.com> (Dani Moncayo's message of "Sun, 5 Oct 2014 09:54:42 +0200")

> gui-selection-value seems to be undefined at that point, therefore I
> cannot "trace-function" on it.

Looks like you have an "old" version, then.  Try updating from trunk.

> 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.

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))))


-- Stefan





  reply	other threads:[~2014-10-06  1:21 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 [this message]
2014-10-06 16:01       ` Dani Moncayo
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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwvd2a6ov2g.fsf-monnier+emacsbugs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=18629@debbugs.gnu.org \
    --cc=dmoncayo@gmail.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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.