all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Tim X <timx@nospam.dev.null>
To: help-gnu-emacs@gnu.org
Subject: Re: Copy things out of Emacs
Date: Wed, 23 May 2007 14:47:08 +1000	[thread overview]
Message-ID: <877ir0cfjn.fsf@lion.rapttech.com.au> (raw)
In-Reply-To: mailman.1020.1179864472.32220.help-gnu-emacs@gnu.org

Leo <sdl.web@gmail.com> writes:

> ----- Tim X (2007-05-19) wrote:-----
>
>>> And this does not work at all with xterm-mouse-mode enabled.
>>>
>>
>> It does for me as long as you hold down the shift key while making the
>> selection. I just verified this. What I did
>>
>> 1. started an xterm
>> 2. ran emacs -nw
>> 3. M-x xterm-mouse-mode
>> 4. while holding down the shift key, holding down button 1 on the mouse, select
>> text to paste.
>> 5. Switched to another application (I tried another xterm and firefox) and hit
>> the middle mouse button. The text I had selected from the emacs screen was
>> pasted into the xterm and into the url box for firefox. 
>
> Is there something similar to `x-select-enable-clipboard' that works in
> terminal?

Don't know as I rarely use an xterm to run emacs. 

Seeing a number of posts from you regarding functionality you want from emacs
running in an xterm, I have to ask why do you want to run emacs in an xterm?
Is it simply to get aliased fonts or something?

I'm only wondering because all the things your having problems with simply go
away if you run natively under X, plus you get multiple frames and some other
nice features. 

I suspect you will always have some problems because your essentially workinig
against the system rather than with it. If you feel it is necessary to do this
because of some advantage you get doing it that way, thats fine. 

The point is that running emacs under an xterm means your running a version
oriented towards a basic text oriented console, such as the Linux virtual
consoles or a vt100 type console. In this environment, things are modeled on a
single window, non-graphics type iinteraction where it is assumed that on the
whole, you run a single application at a time and either exit or suspend that
app to run something else - in short, the 'old' environment we had before X or
with early MS DOS. Modes like xterm-mouse-mode etc are add ons that attempt to
provide support for things like using the mouse on menus etc. To some extent
they are a hack rather than part of the base design and therefore will always
be less feature rich and rpone to unexpected behavior.

It is possible that if we understood why you want to run in an xterm, we may be
able to find better solutions under a native X version that would provide the
same/similar benefits to what you get running within an xterm, but with all the
emacs built-in support for working in a graphical environment like X. 

Tim
> -- 
> Leo <sdl.web AT gmail.com>                         (GPG Key: 9283AA3F)
>
>
>

-- 
tcross (at) rapttech dot com dot au

  parent reply	other threads:[~2007-05-23  4:47 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.831.1179525659.32220.help-gnu-emacs@gnu.org>
2007-05-18 22:37 ` Copy things out of Emacs poppyer
2007-05-18 23:36   ` Leo
2007-05-19  4:30   ` Tim X
2007-05-19  7:13     ` Leo
     [not found]     ` <mailman.851.1179558915.32220.help-gnu-emacs@gnu.org>
2007-05-19  8:07       ` Tim X
2007-05-22 20:06         ` Leo
2007-05-22 21:09           ` Peter Dyballa
2007-05-23 22:37             ` Xavier Maillard
2007-05-23 22:59               ` Peter Dyballa
2007-05-24 21:45                 ` Xavier Maillard
     [not found]           ` <mailman.1031.1179868194.32220.help-gnu-emacs@gnu.org>
2007-05-22 21:17             ` poppyer
2007-05-23  4:55               ` Tim X
     [not found]         ` <mailman.1020.1179864472.32220.help-gnu-emacs@gnu.org>
2007-05-23  4:47           ` Tim X [this message]
2007-05-23 17:29             ` Leo
2007-05-23 22:36               ` Xavier Maillard
     [not found]             ` <mailman.1094.1179941717.32220.help-gnu-emacs@gnu.org>
2007-05-24  9:07               ` Tim X
2007-05-24 10:09                 ` Leo
2007-05-24 21:45                 ` Xavier Maillard
     [not found]                 ` <mailman.1199.1180044455.32220.help-gnu-emacs@gnu.org>
2007-05-25  5:08                   ` Tim X
2007-05-18 21:58 Leo
2007-05-22  4:38 ` Xavier Maillard
2007-05-22 23:49 ` John Steele Scott (t-tec)

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=877ir0cfjn.fsf@lion.rapttech.com.au \
    --to=timx@nospam.dev.null \
    --cc=help-gnu-emacs@gnu.org \
    /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.