all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: Emanuel Berg <embe8573@student.uu.se>, 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, 4 Aug 2013 10:15:54 -0700 (PDT)	[thread overview]
Message-ID: <55f997e0-831c-45b3-923c-a5143b7507a3@default> (raw)
In-Reply-To: <87li4heetm.fsf@VLAN-3434.student.uu.se>

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

There you go again.  That's silly  (and irrelevant to the OP question).

It is not "best" to *not* use the mouse to select text, just as it is
not "best" to *use* the mouse to select text.

For some selection use cases, nothing beats the Emacs mouse (which is
not your grandmother's mouse, BTW).  For other use cases, keyboard
selection can be better.

The examples you gave (`M-h' and `C-SPC' + `C-n'...) are not great
arguments for preferring the keyboard to select arbitrary text or even
an arbitrary sexp or a set of contiguous lines.

A better example for your argument might be `C-M-@', but that still
depends on the cursor already being where you want to start the
selection, which is often the case but not always so.  When it is not,
you need to first move it there.

Still, one can reasonably compare (a) repeating `C-M-@' to select
sibling sexps, forward (there is no backward in this case), to (b)
double-clicking the first sexp to select and then clicking `mouse-3' at
the start of a sibling sexp to include (whether the last one in the
series or not and, if not, whether forward or backward - you can extend
the selection by sexps in either direction).

The real point, however, is that it is not necessarily the "best" idea
to advise newbies to adopt your particular preferences as the "best"
way to use Emacs.  It is one thing to say "I prefer XYZ" or "I do it
this way".  It is another thing to preach your way as The One True Way.

All of Emacs might be The One True Way ;-).  But in itself Emacs is
many different ways.  And that's the point of Emacs.

It is extensible and customizable, and its very definition and
features, even out-of-the-box, are themselves the result of extension
and customization by many different people with different preferences,
different ways of working and playing, and different purposes.

Above all editors and programming tools, Emacs offers multiple ways to
skin a cat.  There is no "best" way for everyone and all contexts, and
there is no practical limit to what you can do or how you can interact
with Emacs.

That is the first lesson that Emacs itself teaches.



  reply	other threads:[~2013-08-04 17:15 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 [this message]
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=55f997e0-831c-45b3-923c-a5143b7507a3@default \
    --to=drew.adams@oracle.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.