Re: Paste text from terminal to xemacs

2018-02-08 Thread Stefan Monnier
> I'm using XEmacs 21.4.24 and gnome-terminal 3.26.2 in sid. And I can't copy
> a text from the terminal and paste it into XEmacs. I have tried marking the
> text and then middle button; Shift-Ctrl-C and then right-button to get the
> 'paste' option; and some other combinations of these. Nothing works.

I'm not sure I understand your setup (is your emacs running inside the
gnome-terminal?  From where to where are you copy&pasting?).

But at least you can copy&paste from/to (non-X)Emacs running in
a terminal by installing the `xclip` package via `M-x list-packages`
and enabling `xclip-mode`.  This of course also requires the `xclip`
executable to be installed, but after that C-y and C-w "just work".


Stefan



Re: Paste text from terminal to xemacs

2018-02-08 Thread songbird
Victor Munoz wrote:
> songbird wrote:
...
>>   xclip?
>
> It does help! Didn't know that. Combining it with inserting shell command
> ouput ('xclip -o" in this case) in xemacs, does exactly what I need. Thanks
> for the workaround!

  y.w.  glad it worked.  :)


  songbird



Re: Paste text from terminal to xemacs

2018-02-07 Thread Victor Munoz
>
> - Forwarded message from songbird  -
>
> Date: Wed, 7 Feb 2018 15:56:23 -0500
> From: songbird 
> To: debian-user@lists.debian.org
> Subject: Re: Fwd: Mail delivery failed: returning message to sender
>
> Victor Munoz wrote:
>
> >  Hello.
> >
> > I'm using XEmacs 21.4.24 and gnome-terminal 3.26.2 in sid. And I can't
> copy
> > a text from the terminal and paste it into XEmacs. I have tried marking
> the
> > text and then middle button; Shift-Ctrl-C and then right-button to get
> the
> > 'paste' option; and some other combinations of these. Nothing works.
> ...
> > Any ideas I should try?
>
>   xclip?
>

It does help! Didn't know that. Combining it with inserting shell command
ouput ('xclip -o" in this case) in xemacs, does exactly what I need. Thanks
for the workaround!

Victor