🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.epoch.misc
Article #1294

Re: cut-and-paste in epoch

#1294
From: Warner Losh
Date: Wed, 01 Jul 1992 18:24
26 lines
1562 bytes
In article <6517@charon.cwi.nl> rekers@cwi.nl (Jan Rekers) writes:
>In article <1992Jun30.220838.26563@cbfsb.cb.att.com>, swu@att.com (Chi-Sharn Wu) writes:
>|> Is there anyway to let the cursor automatically point to the end of where
>|> I just paste ?  Just like in xterm,  moving the curosr to the end of pasted
>|> place with  pressing mouse-left-button.

>I posted a request for the same thing and I received the following peice of code
>from a kind soul. Put it in your .emacs file, or load it from your .emacs
>file.
[...]
>      (mouse::set-point arg)
[...]
>      (goto-char (car arg))
[...]

If you don't want the cursor to move, like xterm, then remove these
two lines.  This appears to do the trick for me.  It causes the
function posted to paste into the buffer you clicked on at the point
rather than the location of the click, and leave the cursor at the
end.

Warner
-- 
Warner Losh		imp@Solbourne.COM
"I think we'd get fewer weird bug reports if we stopped selling our
 software off planet."  sm at shorty's
Technical Details
Message-ID: <Bqq34L.656@solbourne.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!stan!imp
References: <1992Jun30.220838.26563@cbfsb.cb.att.com> <6517@charon.cwi.nl>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fc7ee,1331f4eb1f741446
X-Google-Attributes: gidfc7ee,public
X-Google-ArrivalTime: 1992-07-01 06:05:28 PST
Newsgroups: gnu.epoch.misc
Path: arc1-ca.pugleaf.net!sparky!uunet!stan!imp
From: imp@solbourne.com (Warner Losh)
Subject: Re: cut-and-paste in epoch
Message-ID: <Bqq34L.656@solbourne.com>
Organization: Solbourne, User Interface Group
References: <1992Jun30.220838.26563@cbfsb.cb.att.com> <6517@charon.cwi.nl>
Date: Wed, 1 Jul 1992 18:24:20 GMT
Lines: 26