unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Alex Schroeder <alex@emacswiki.org>
Subject: Re: Marking with the mouse
Date: Wed, 10 Sep 2003 21:35:53 +0200	[thread overview]
Message-ID: <87ad9cl9ly.fsf@emacswiki.org> (raw)
In-Reply-To: <y5oextjxrz.fsf@xpc14.ast.cam.ac.uk> (Glenn Morris's message of "Wed, 10 Sep 2003 01:24:32 +0100")

Glenn Morris <gmorris+emacs@ast.cam.ac.uk> writes:

> FWIW, I dislike t-m-m, and I mark text with the mouse not
> infrequently. I think this new behaviour would irritate me in the same
> way t-m-m does. So the usual reaction: by all means change the
> default, but I would like it if there could be an option to restore
> the old behaviour.

I agree with Glenn.  But then again, perhaps I did not understand the
problem.  Here is what I often do.

1. transient-mark-mode is nil

2. I mark a chunk of text using one of the following methods with the
   mouse from time to time:

   a. double click on a word
   b. drag with mouse-1
   c. click with mouse-1 and click with mouse-3

3. I then either

   a. delete (double-click mouse-3)
   b. paste (mouse-2 elsewhere)
   c. click somewhere again using mouse-1 to make sure that the
      position is correct, and then paste (using mouse-2 or C-y).

In the first two cases, the highlighting stays, in the third case
highlighting disappears as click around or use movement commands and
to find the correct place where I want to paste.

During that time, I don't want the area I marked in phase 2 to remain
active as in transient-mark-mode, because I heard that it might affect
searches, replacements, etc.  So the highlighting -- instead of
helping me -- is worrying me.  If you are suggesting that
highlighting should persist in 3c, then it should be configurable (or
not be implemented in the first place).

If you know what I mean, look at how the internal editor of the
Midnight Commander (mcedit) works.  F3 to start marking, F3 to end
marking.  And then the region stays active until you do some some
clicks and I always forget what it is -- two more F3? -- and the
hilighting doesn't go away.  Annoying.

Alex.
-- 
http://www.emacswiki.org/alex/
There is no substitute for experience.

  reply	other threads:[~2003-09-10 19:35 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-09 14:24 Recent compilation-mode misbehavior David Abrahams
2003-09-09 18:20 ` Karl Eichwalder
2003-09-09 20:38 ` Marking with the mouse Stefan Monnier
2003-09-10  0:14   ` Miles Bader
2003-09-11 13:16     ` Richard Stallman
2003-09-10  0:24   ` Glenn Morris
2003-09-10 19:35     ` Alex Schroeder [this message]
2003-09-10 23:33       ` Kevin Rodgers
2003-09-11  1:30         ` Miles Bader
2003-09-11 16:31       ` Stefan Monnier
2003-09-11 13:16     ` Richard Stallman
2003-09-11 13:50       ` Glenn Morris
2003-09-11 13:15   ` Richard Stallman
2003-09-11 20:41     ` Stefan Monnier
2003-09-12 21:06       ` Richard Stallman

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=87ad9cl9ly.fsf@emacswiki.org \
    --to=alex@emacswiki.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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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