unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / 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: Tue, 06 Aug 2013 23:51:53 +0200	[thread overview]
Message-ID: <87ioziv66e.fsf@VLAN-3434.student.uu.se> (raw)
In-Reply-To: 2653af01-2119-4cbf-921b-51edbf0f83f3@googlegroups.com

Chris Seberino <cseberino@gmail.com> writes:

> I did read what you said and I did file it in my the back of my
> mind for future consideration.  However, dropping (cua-mode t)
> into .emacs was a 2 second fix for now that I can do while I
> consider evaluating your suggestion of completely revamping my
> mouse usage.  That will take a little more time.

Well, there are two things to this.

The mouse vs. keyboard is one thing. (I've said so much about that
perhaps it is enough.)

The cua vs. all the Emacs killing and yanking shortcuts is the
other thing.

But they are actually related! With the mouse, you tend to make a
selection. With the cua keys, you *only operate on selections*
(made by the mouse, or the keyboard - doesn't matter) - and this
is the huge limitation compared to the Emacs KY-keys - because
those operate on regions, too, but the also operate on point, and
the text around it.

Bottom line - with the KY-keys, you can kill and yank *without* a
region, or anything at all, actually:

kill-word
backward-kill-word
kill-line (with variation)
kill-sentence
etc.

This is why they are better - because when you have mastered them,
you get everything cua does, *and more*.

Also, they are good because they more or less mirror the
cursor/point navigation commands. They make you think in chunks of
text units, and not in a long string of chars... So, everything
comes at once, intuitively: the muscle memory, or "finger habits",
as some call it.

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


  reply	other threads:[~2013-08-06 21:51 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
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 [this message]
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

  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=87ioziv66e.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.
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).