all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Yuri Khan <yuri.v.khan@gmail.com>
To: Emanuel Berg <embe8573@student.uu.se>
Cc: 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: Wed, 7 Aug 2013 14:12:24 +0700	[thread overview]
Message-ID: <CAP_d_8UNJWd6DuPu5pAXU_NWz-nZAZ_=RLzUkfhj8YDsTrqzEw@mail.gmail.com> (raw)
In-Reply-To: <87ioziv66e.fsf@VLAN-3434.student.uu.se>

On Wed, Aug 7, 2013 at 4:51 AM, Emanuel Berg <embe8573@student.uu.se> wrote:

> 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.

Not really.

In CUA, selection mirrors navigation: you hold down Shift, all
navigation keys become selection keys. Shift+Left/Right for
characters, Shift+Ctrl+Left/Right for words, Shift+Up/Down for lines,
Shift+PgUp/PgDn for pages. After you’ve selected a region, you can
delete it, cut it, overwrite it (with a character or with a pasted
fragment), or search-and-replace it. This is the Object-Verb order or
the OOP interface.

In classic Emacs, killing bindings are vastly different from
navigation bindings:

C-b/f vs DEL/C-d (characters)
M-b/f vs M-DEL/M-d (words)
C-p/n vs ??/?? (lines; closest is C-S-DEL but different)
C-a/e vs ??/C-k (to start/end of line)
M-a/e vs M-k (sentence)
C-M-b/f vs C-M-k (sexp)
C-M-p/n vs ?? (list)

If anything, the navigation bindings mirror themselves (with modifier
key expanding the scope), and killing keys mirror themselves. This is,
I’d say, Adverb-Verb order. Or a variant of command-line interface
(but different because in CLI adverbs (option switches) come after the
verb).

Some people are more used to one word order, others to another.



  reply	other threads:[~2013-08-07  7:12 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
2013-08-07  7:12           ` Yuri Khan [this message]
     [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='CAP_d_8UNJWd6DuPu5pAXU_NWz-nZAZ_=RLzUkfhj8YDsTrqzEw@mail.gmail.com' \
    --to=yuri.v.khan@gmail.com \
    --cc=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.