* Copy/paste between console and emacs
@ 2015-05-11 14:45 jonetsu
2015-05-11 15:12 ` Stefan Monnier
2015-05-11 21:02 ` Bob Proulx
0 siblings, 2 replies; 5+ messages in thread
From: jonetsu @ 2015-05-11 14:45 UTC (permalink / raw)
To: help-gnu-emacs
Hello,
In 24.4.1, after selecting text in a console window (kconsole), the only way to paste it in emacs is to use the mouse. In previous emacs version, I used to use Shift-Ins. Now Shift-ins only works for texte selected inside emacs (and between emacs instances). So I've been doing it the 'new way' for some time although today, I decided to finally ask if it is possible to use Shift-ins for any kind of pasting, not only within emacs :)
Thanks.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Copy/paste between console and emacs
2015-05-11 14:45 Copy/paste between console and emacs jonetsu
@ 2015-05-11 15:12 ` Stefan Monnier
2015-05-11 18:15 ` Jude DaShiell
2015-05-11 21:02 ` Bob Proulx
1 sibling, 1 reply; 5+ messages in thread
From: Stefan Monnier @ 2015-05-11 15:12 UTC (permalink / raw)
To: help-gnu-emacs
> In 24.4.1, after selecting text in a console window (kconsole), the only
> way to paste it in emacs is to use the mouse. In previous emacs version,
> I used to use Shift-Ins. Now Shift-ins only works for texte selected inside
> emacs (and between emacs instances). So I've been doing it the 'new way'
> for some time although today, I decided to finally ask if it is possible to
> use Shift-ins for any kind of pasting, not only within emacs :)
I think you want to set select-enable-primary to t.
Stefan
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Copy/paste between console and emacs
2015-05-11 15:12 ` Stefan Monnier
@ 2015-05-11 18:15 ` Jude DaShiell
0 siblings, 0 replies; 5+ messages in thread
From: Jude DaShiell @ 2015-05-11 18:15 UTC (permalink / raw)
To: Stefan Monnier; +Cc: help-gnu-emacs
[-- Attachment #1: Type: TEXT/PLAIN, Size: 822 bytes --]
For those of us using speakup, speakup has its own cut and paste utilities
that can cut and paste text anywhere we can put our cursor. I don't use a
mouse so this is helpful.
-- Twitter: JudeDaShiell
On Mon, 11 May 2015, Stefan Monnier wrote:
>> In 24.4.1, after selecting text in a console window (kconsole), the only
>> way to paste it in emacs is to use the mouse. In previous emacs version,
>> I used to use Shift-Ins. Now Shift-ins only works for texte selected inside
>> emacs (and between emacs instances). So I've been doing it the 'new way'
>> for some time although today, I decided to finally ask if it is possible to
>> use Shift-ins for any kind of pasting, not only within emacs :)
>
> I think you want to set select-enable-primary to t.
>
>
> Stefan
>
>
>
>
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Copy/paste between console and emacs
2015-05-11 14:45 Copy/paste between console and emacs jonetsu
2015-05-11 15:12 ` Stefan Monnier
@ 2015-05-11 21:02 ` Bob Proulx
1 sibling, 0 replies; 5+ messages in thread
From: Bob Proulx @ 2015-05-11 21:02 UTC (permalink / raw)
To: help-gnu-emacs
jonetsu wrote:
> In 24.4.1, after selecting text in a console window (kconsole),
> the only way to paste it in emacs is to use the mouse. In previous
> emacs version, I used to use Shift-Ins. Now Shift-ins only works
> for texte selected inside emacs (and between emacs instances). So
> I've been doing it the 'new way' for some time although today, I
> decided to finally ask if it is possible to use Shift-ins for any
> kind of pasting, not only within emacs :)
This comes up periodically in the mailing list. Some people feel
strongly one way. Others feel strongly the other way. Note that it
has deep personal preferences involved as do most user interface
decisions.
I set the following according to my preferences.
(setq select-active-regions nil) ; default is nil in 23, t in 24
(setq mouse-drag-copy-region t) ; default is t in 23, nil in 24
(setq x-select-enable-primary t) ; default is nil in 23, t in 24
(setq x-select-enable-clipboard nil) ; default is nil in 23, t in 24
(setq x-select-enable-clipboard-manager nil) ; new in 24, default is t
You probably want x-select-enable-primary in particular. See the
documentation for the set to determine what you like and don't like.
Bob
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Copy/paste between console and emacs
[not found] <mailman.2765.1431355457.904.help-gnu-emacs@gnu.org>
@ 2015-05-11 21:23 ` Emanuel Berg
0 siblings, 0 replies; 5+ messages in thread
From: Emanuel Berg @ 2015-05-11 21:23 UTC (permalink / raw)
To: help-gnu-emacs
jonetsu <jonetsu@teksavvy.com> writes:
> In 24.4.1, after selecting text in a console window
> (kconsole), the only way to paste it in emacs is to
> use the mouse. In previous emacs version, I used to
> use Shift-Ins. Now Shift-ins only works for texte
> selected inside emacs (and between emacs
> instances). So I've been doing it the 'new way' for
> some time although today, I decided to finally ask
> if it is possible to use Shift-ins for any kind of
> pasting, not only within emacs :)
If this isn't a config issue as has been suggested you
can always check what function the mouse click
triggers. If it is an Emacs function just bind it to
whatever key you wish.
However if this is an window system or desktop issue
there are still many ideas that come to mind, so tell
us again if you don't get it to work.
--
underground experts united
http://user.it.uu.se/~embe8573
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2015-05-11 21:23 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-11 14:45 Copy/paste between console and emacs jonetsu
2015-05-11 15:12 ` Stefan Monnier
2015-05-11 18:15 ` Jude DaShiell
2015-05-11 21:02 ` Bob Proulx
[not found] <mailman.2765.1431355457.904.help-gnu-emacs@gnu.org>
2015-05-11 21:23 ` Emanuel Berg
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).