public inbox for cygwin-xfree@sourceware.org
help / color / mirror / Atom feed
* Paste from xterm to Emacs no longer works
@ 2013-04-03 11:35 Fredrik Staxeng
  2013-04-03 11:54 ` Csaba Raduly
  0 siblings, 1 reply; 5+ messages in thread
From: Fredrik Staxeng @ 2013-04-03 11:35 UTC (permalink / raw)
  To: cygwin-xfree

How do I get it to work again? 

-- 
Fredrik Stax\"ang | rot13: sfgk@hcqngr.hh.fr
This is all you need to know about vi: ESC : q ! RET


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://x.cygwin.com/docs/
FAQ:                   http://x.cygwin.com/docs/faq/


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Paste from xterm to Emacs no longer works
  2013-04-03 11:35 Paste from xterm to Emacs no longer works Fredrik Staxeng
@ 2013-04-03 11:54 ` Csaba Raduly
  2013-04-03 12:31   ` Ken Brown
  2013-04-03 12:34   ` Fredrik Staxeng
  0 siblings, 2 replies; 5+ messages in thread
From: Csaba Raduly @ 2013-04-03 11:54 UTC (permalink / raw)
  To: cygwin-xfree, fstx+u

Hi Fredrik,
You need to give a bit more detail than "It doesn't work".

http://www.chiark.greenend.org.uk/~sgtatham/bugs.html#respect

Start here:
> Problem reports:       http://cygwin.com/problems.html

Csaba
--
GCS a+ e++ d- C++ ULS$ L+$ !E- W++ P+++$ w++$ tv+ b++ DI D++ 5++
The Tao of math: The numbers you can count are not the real numbers.
Life is complex, with real and imaginary parts.
"Ok, it boots. Which means it must be bug-free and perfect. " -- Linus Torvalds
"People disagree with me. I just ignore them." -- Linus Torvalds

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://x.cygwin.com/docs/
FAQ:                   http://x.cygwin.com/docs/faq/


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Paste from xterm to Emacs no longer works
  2013-04-03 11:54 ` Csaba Raduly
@ 2013-04-03 12:31   ` Ken Brown
  2013-04-06 18:49     ` Fredrik Staxeng
  2013-04-03 12:34   ` Fredrik Staxeng
  1 sibling, 1 reply; 5+ messages in thread
From: Ken Brown @ 2013-04-03 12:31 UTC (permalink / raw)
  To: cygwin-xfree

On 4/3/2013 7:54 AM, Csaba Raduly wrote:
> Hi Fredrik,
> You need to give a bit more detail than "It doesn't work".
>
> http://www.chiark.greenend.org.uk/~sgtatham/bugs.html#respect
>
> Start here:
>> Problem reports:       http://cygwin.com/problems.html

Right.

In addition, the OP should give a recipe for reproducing the problem 
starting with `emacs -Q'.

While waiting for this, I'll make a wild guess that his problem is 
related to the selection changes that started with emacs-24.1.  Browse 
the NEWS file (`C-h n') and search for "Selection changes".

Ken

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://x.cygwin.com/docs/
FAQ:                   http://x.cygwin.com/docs/faq/


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Paste from xterm to Emacs no longer works
  2013-04-03 11:54 ` Csaba Raduly
  2013-04-03 12:31   ` Ken Brown
@ 2013-04-03 12:34   ` Fredrik Staxeng
  1 sibling, 0 replies; 5+ messages in thread
From: Fredrik Staxeng @ 2013-04-03 12:34 UTC (permalink / raw)
  To: cygwin-xfree


This works for me:

(global-set-key [mouse-3]  'mouse-yank-primary)



-- 
Fredrik Stax\"ang | rot13: sfgk@hcqngr.hh.fr
This is all you need to know about vi: ESC : q ! RET


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://x.cygwin.com/docs/
FAQ:                   http://x.cygwin.com/docs/faq/


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Paste from xterm to Emacs no longer works
  2013-04-03 12:31   ` Ken Brown
@ 2013-04-06 18:49     ` Fredrik Staxeng
  0 siblings, 0 replies; 5+ messages in thread
From: Fredrik Staxeng @ 2013-04-06 18:49 UTC (permalink / raw)
  To: cygwin-xfree

Ken Brown <kbrown@cornell.edu> writes:

>While waiting for this, I'll make a wild guess that his problem is
>related to the selection changes that started with emacs-24.1.  Browse
>the NEWS file (`C-h n') and search for "Selection changes".

Thank you for trying to help.

I found that when I googled, but I did not find it helpful at
first. I think the following is incomplete.

*** `x-select-enable-primary' now defaults to nil.
Thus, commands that kill text or copy it to the kill-ring (such as
M-w, C-w, and C-k) also use the clipboard---not the primary selection.

I think that x-select-enable-primary also affects C-y.

I tried to paste with the scroll wheel, but apparently that generated
mouse-4, not mouse-2. But I really want to paste with the right mouse
button.

In .emacs:
   (global-set-key [mouse-3] 'mouse-yank-primary)

In .Xdefaults:

XTerm*VT100.Translations: #override \
  <Key>BackSpace: string(0x7f) \n\
  ~Shift ~Ctrl ~Meta <Btn1Up>:     select-end(PRIMARY, CLIPBOARD)  \n\
  ~Shift ~Ctrl ~Meta <Btn3Down>:    ignore()  \n\
  ~Shift ~Ctrl ~Meta <Btn3Up>:      insert-selection(PRIMARY, CLIPBOARD)


(When I first tried to post this, I got the backspace invokes help
problem. I put in the fix for that also) 

-- 
Fredrik Stax\"ang | rot13: sfgk@hcqngr.hh.fr
This is all you need to know about vi: ESC : q ! RET


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://x.cygwin.com/docs/
FAQ:                   http://x.cygwin.com/docs/faq/


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-04-06 18:49 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-04-03 11:35 Paste from xterm to Emacs no longer works Fredrik Staxeng
2013-04-03 11:54 ` Csaba Raduly
2013-04-03 12:31   ` Ken Brown
2013-04-06 18:49     ` Fredrik Staxeng
2013-04-03 12:34   ` Fredrik Staxeng

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