From: lupe@ukw.uucp (Lupe Christoph)
Newsgroups: gnu.epoch.misc
Subject: Re: Epoch cut+paste questions
Date: 10 Apr 92 06:15:29 GMT
Distribution: gnu
Organization: cic

jonas@ericad.ericsson.SE (Jonas Jaernestroem TG/HK) writes:


>   Christopher Love writes:
>   >Selecting a region with the mouse implicitly puts the region on the
>   >kill ring.  It is redundant to repeat this manually.

>   Somebody wrote:
>   What if I want to select something with the mouse, cut it, and paste it
>   somewhere? I will get the selected text twice. Is there any way around
>   this behaviour? Right now, I'm use keyboard commands.

I'm the "somebody". Let me expand a bit to allow you to compare:

I'm using Epoch 4.0p0; this is epoch::version: Epoch 4.0 Patchlevel 0.
It is running on a SPARCstation IPC, with SunOS 4.1.2, no patches (yet
;-).  I do the following (I have my own, modified mouse.el, but for
this I had disabled loading it):

	- Click on the 'C' in "Christopher", above.
	- Click right on the space after "Christopher".
	* "Christopher" gets underlined.
	- Hit C-w.
	* "Christopher" disappears (to the kill ring).
	- Hit C-y.
	* "ChristopherChristopher" appears.

>I cannot reproduce this. Killing the region "again" explicitly with C-w
>creates a new entry on the kill-ring, *not* appended to the previous entry.

Can you please supply information on your Epoch version and the
platform it is running on?

>    Marc Andreessen writes:
>    I too think it is counter-intuitive for mouse selection to put the
>    region on the kill ring as it's currently doing.  Select with mouse
>    then C-w then C-y is a fairly common sequence of operations for me.

>I've hard to see whats so wrong about putting selected region on the
>kill-ring.  Doing that seems to me to be a harmless thing in case you
>dont do any subsequent yanking, and very convenient if you *do*
>subsequent yank/copy.  

It is counter-intuitive on Open Windows. You have to hit the "Copy" or
the "Cut" keys to put something marked with the mouse on the
clipboard. Then you retrieve it with the "Paste" key.  This behaviour
was inherited from SunView. Normal X (and I believe, Motif) use the
primary selection for pasting, and the mouse for "pasting".  I have
changed the mouse keys to the Open Windows settings (Select, Extend,
Menu (well, it's not used right now).

>Cut/paste is plain and one of the most frequent actions. I think epoch
>should support doing that using *only* the mouse buttons.  Much of the
>thrill is gone if cut/paste would require one hand on the mouse and the
>other hand fiddling around with good old C-w/M-w. Of course its wise to
>retain a certain continuity with "traditional" emacs, but dont let that
>stop you from implementing new and more convenient schemes.

As I said above, this is not the problem. The problem is that Epoch
behaves differently from the other tools I'm using, and I want it to
behave the same.

-- 
| ...!unido!ukw!lupe  (German EUNet, "bang")     |  Disclaimer:            |
| lupe@ukw.UUCP       (German EUNet, domain)     |  As I am self-employed, |
| suninfo!alanya!lupe (Sun Germany)              |  this *is* the opinion  |
| Res non sunt complicanda praeter necessitatem. |  of my employer.        |
Newsgroups: gnu.epoch.misc