unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Micah Cowan <micah@cowan.name>
Subject: Re: cut, copy, & paste with scroll mouse
Date: 30 Oct 2003 11:44:51 -0800	[thread overview]
Message-ID: <m3he1q33yk.fsf@localhost.localdomain> (raw)
In-Reply-To: mailman.2809.1067522773.21628.help-gnu-emacs@gnu.org

Kevin Dziulko <dziulko@klaatu.canisius.edu> writes:

> Hello
> 
> I have a Microsoft IntelliMouse with a scroll wheel in the middle.  I am 
> using GNU Emacs 21.2.1 on MS Windows 2000.
> 
> I have (global-unset-key [mouse-2]) in my .emacs so that wheel does only 
> scrolling and nothing else. (Otherwise it would paste when clicked)

Personally, I leave it set and just scroll the weel if I want to
scroll, and click it if I want to paste.

> I am not familiar with X windows methods and operations. So, how do I cut, 
> copy, and paste using the mouse?  Do I have to configure scroll mouse in a 
> certain way?  Does it matter that I have pc-selection-mode turned on?

Well, the mouse-based copy/paste is standard for X, but the other
techniques are pretty much unique to Emacs.

You obviously should still be able to place a region of text in
the kill-buffer simply by selecting it with the mouse. You can do
this either by clicking-and-dragging mouse-1, or you can click
with mouse-1, and then click at the end of the region to be
copied with mouse-2. Without using the mouse, you can also use
C-SPC to set the "mark" to the current "point" (where the text
cursor is), and then once you have "point" where you want it, you
can use C-w to "cut" (in Emacs it's "kill") the region, or if you
only want to "copy" it, use M-w. Pasting can be done without the
mouse with C-y, which inserts the last-killed thing at point.
There are other very interesting things about how the kill-ring
works: I'm pretty sure they're covered in the Emacs Tutorial
(type "C-h t").

HTH.

-- 
Micah J. Cowan
micah@cowan.name

       reply	other threads:[~2003-10-30 19:44 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.2809.1067522773.21628.help-gnu-emacs@gnu.org>
2003-10-30 19:44 ` Micah Cowan [this message]
2003-10-31  0:13   ` cut, copy, & paste with scroll mouse Ian Zimmerman
2003-10-31  7:36     ` Micah Cowan
2003-10-31 19:56       ` Jason Rumney
2003-10-31 13:34   ` Kevin Dziulko
2003-10-30 13:56 Kevin Dziulko

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m3he1q33yk.fsf@localhost.localdomain \
    --to=micah@cowan.name \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).