🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.help
Article #188746

Re: no \ in line continuations

#188746
From: Dave Sill
Date: Mon, 01 Jul 1991 14:54
22 lines
1719 bytes
In article <15069@ulysses.att.com>, rxga@ulysses.att.com (Rick Greer) writes:
>I'd like to use the mouse on my terminal to sweep out portions 
>of an EMACS window for pasting into some other window.

If your terminal is an X terminal, try:

(define-key mouse-map x-button-left 'x-mouse-set-point)
(define-key mouse-map x-button-left-up 'x-cut-text)

Then the cut is a true Emacs "copy region to cut buffer" as well as
an Emacs copy-region-as-kill.  So you can use the same maneuver to
copy text for use within Emacs as well as outside of Emacs.

This works differently than the default X Emacs mouse binding.  You
can still move point with the left button, but to copy text you click
at one end and drag to the other, rather than click with the right
button.  I think it's more intuitive.

-- 
Dave Sill (de5@ornl.gov)	  Tug on anything in nature and you will find
Martin Marietta Energy Systems    it connected to everything else.
Workstation Support                                             --John Muir
Technical Details
Message-ID: <1991Jul1.145429.21692@cs.utk.edu>
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!caen!sol.ctr.columbia.edu!emory!utkcs2!ornl.gov!de5
References: <15069@ulysses.att.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 103b8b,709ace9eba59f815
X-Google-Attributes: gid103b8b,public
X-Google-ArrivalTime: 1991-07-01 08:23:47 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!caen!sol.ctr.columbia.edu!emory!utkcs2!ornl.gov!de5
From: de5@ornl.gov (Dave Sill)
Newsgroups: gnu.emacs.help
Subject: Re: no \ in line continuations
Keywords: emacs continuations
Message-ID: <1991Jul1.145429.21692@cs.utk.edu>
Date: 1 Jul 91 14:54:29 GMT
References: <15069@ulysses.att.com>
Sender: usenet@cs.utk.edu (USENET News Poster)
Reply-To: Dave Sill <de5@ornl.gov>
Organization: Oak Ridge National Laboratory
Lines: 22