all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Emanuel Berg <embe8573@student.uu.se>
To: help-gnu-emacs@gnu.org
Subject: Re: Tried to bind Ctrl-c and to kill-ring-save (i.e. copy) and it *sometimes* doesn't work with mouse!?!? Very confusing
Date: Sun, 04 Aug 2013 16:00:21 +0200	[thread overview]
Message-ID: <87li4heetm.fsf@VLAN-3434.student.uu.se> (raw)
In-Reply-To: 79da6550-ceff-42d4-aaf9-991954847058@googlegroups.com

Chris Seberino <cseberino@gmail.com> writes:

> (global-set-key (kbd "C-c") 'kill-ring-save)
>
> My goal is be able to highlight regions with the mouse and use
> C-c to copy that region for pasting later somewhere else...
>
> It seems to be very flaky.  It seems to *sometimes* work and
> sometimes not when I highlight a region with the mouse.

You already got the answer, `M-x cua-mode' to get those shortcuts.

But, those are inferior to the Emacs arsenal of killing and
yanking shortcuts: kill a region, a line, a word, a word
backwards, killing but not erasing, etc.

The best thing to do is *not* using cua - that way, you have no
choice but to use the faster, more precise, and more ergonomic
Emacs shortcuts. And those will come to you virtually instantly.

Also, it is best to drop mouse use entirely, for the same (and
other) reasons. If you want to highlight a region, you can use M-h
(repeatedly, if needed), or you can use C-SPC to set the mark, and
then move the cursor with, for example, C-n/p.

-- 
Emanuel Berg - programmer (hire me! CV below)
computer projects: http://user.it.uu.se/~embe8573
internet activity: http://home.student.uu.se/embe8573


  parent reply	other threads:[~2013-08-04 14:00 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-03 20:46 Tried to bind Ctrl-c and to kill-ring-save (i.e. copy) and it *sometimes* doesn't work with mouse!?!? Very confusing Chris Seberino
2013-08-03 21:28 ` Drew Adams
2013-08-04 14:00 ` Emanuel Berg [this message]
2013-08-04 17:15   ` Drew Adams
2013-08-05 20:37     ` Bob Proulx
     [not found]     ` <mailman.2575.1375735073.12400.help-gnu-emacs@gnu.org>
2013-08-05 22:28       ` Emanuel Berg
2013-08-05 23:32       ` Emanuel Berg
     [not found]   ` <mailman.2479.1375636581.12400.help-gnu-emacs@gnu.org>
2013-08-05  9:05     ` Emanuel Berg
2013-08-05 12:06       ` Emanuel Berg
2013-08-05 14:32         ` Rustom Mody
2013-08-05 16:02           ` Stefan Monnier
     [not found]           ` <mailman.2542.1375718596.12400.help-gnu-emacs@gnu.org>
2013-08-05 16:09             ` Rustom Mody
2013-08-05 18:15           ` Emanuel Berg
     [not found] ` <mailman.2461.1375565325.12400.help-gnu-emacs@gnu.org>
2013-08-04 20:02   ` Chris Seberino
2013-08-05  4:25     ` Rustom Mody
2013-08-05  9:45     ` Emanuel Berg
2013-08-06  2:53       ` Chris Seberino
2013-08-06 21:51         ` Emanuel Berg
2013-08-07  7:12           ` Yuri Khan
     [not found]           ` <mailman.2634.1375859551.12400.help-gnu-emacs@gnu.org>
2013-08-07 11:27             ` Emanuel Berg
2013-08-07 15:49               ` Yuri Khan
     [not found]               ` <mailman.2643.1375890595.12400.help-gnu-emacs@gnu.org>
2013-08-08 10:30                 ` Emanuel Berg
2013-08-09  5:02                   ` Chris Seberino
2013-08-09 15:08                     ` Emanuel Berg

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=87li4heetm.fsf@VLAN-3434.student.uu.se \
    --to=embe8573@student.uu.se \
    --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.