From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Yuri Khan Newsgroups: gmane.emacs.help 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 Message-ID: References: <79da6550-ceff-42d4-aaf9-991954847058@googlegroups.com> <1e74a6d4-7f3e-44ea-a54b-bc2fd0b9ef1d@googlegroups.com> <878v0gv5bu.fsf@VLAN-3434.student.uu.se> <2653af01-2119-4cbf-921b-51edbf0f83f3@googlegroups.com> <87ioziv66e.fsf@VLAN-3434.student.uu.se> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1375859558 7530 80.91.229.3 (7 Aug 2013 07:12:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 7 Aug 2013 07:12:38 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Emanuel Berg Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Aug 07 09:12:40 2013 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1V6xvE-0006gr-E3 for geh-help-gnu-emacs@m.gmane.org; Wed, 07 Aug 2013 09:12:40 +0200 Original-Received: from localhost ([::1]:53181 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V6xvD-0002mm-Ig for geh-help-gnu-emacs@m.gmane.org; Wed, 07 Aug 2013 03:12:39 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46268) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V6xv3-0002mg-GW for help-gnu-emacs@gnu.org; Wed, 07 Aug 2013 03:12:30 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V6xv0-000065-B6 for help-gnu-emacs@gnu.org; Wed, 07 Aug 2013 03:12:29 -0400 Original-Received: from mail-lb0-x234.google.com ([2a00:1450:4010:c04::234]:40526) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V6xv0-00005q-2L for help-gnu-emacs@gnu.org; Wed, 07 Aug 2013 03:12:26 -0400 Original-Received: by mail-lb0-f180.google.com with SMTP id a16so1242194lbj.11 for ; Wed, 07 Aug 2013 00:12:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=o7MoPBU8bvl+8asPfZ26kx49pKCP61HrQkcX9fFg9+c=; b=b1F/TwoqySuAfxiPoNhf6JfJmx/h6CBIjPqQEqxosoC/SPIf5qJDSWc/JiysEvbO5T 2wnYGL2kekNEzMxI/VHATcz6rz/8d3TYXvUGoSsVPB3rPlU7lM2DD6IjhzteTcv0wB7D 5Q0GziZPBhHjzgOXB350WmYjWLQXB9K/WZzXidwI0f5otpM+DQHS/WFSPIVYrG8b2IoT dOVa+ycsDgY5B13c1inz8VL9SRixp1FKxSt7d1llepyCoW9pOICJ34A560l4PgnJp+Uv Q+U1yS/JJNd6/+Z3iv+CYUHGqlDYqxUJ7w2aLvX2fvpzhOTMe/waYJqomp5SpZeprxKW KTXg== X-Received: by 10.112.51.227 with SMTP id n3mr1033049lbo.54.1375859544438; Wed, 07 Aug 2013 00:12:24 -0700 (PDT) Original-Received: by 10.114.184.5 with HTTP; Wed, 7 Aug 2013 00:12:24 -0700 (PDT) In-Reply-To: <87ioziv66e.fsf@VLAN-3434.student.uu.se> X-Google-Sender-Auth: GiORIUTJW8S0KYH4RZpuNqAq8Uw X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c04::234 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:92766 Archived-At: On Wed, Aug 7, 2013 at 4:51 AM, Emanuel Berg 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=E2=80=99ve 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=E2=80=99d 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.