all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: "Drew Adams" <drew.adams@oracle.com>
Cc: emacs-devel@gnu.org
Subject: Re: Tweaking t-m-m to make room for d-s-m
Date: Thu, 25 Mar 2010 22:36:46 -0400	[thread overview]
Message-ID: <jwvtys324sh.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <8D826837413D49AC968F80154D97F021@us.oracle.com> (Drew Adams's message of "Thu, 25 Mar 2010 16:56:31 -0700")

>> make C-SPC not activate the region (but let everything else
>> activate it), so that the region is only active when the user
>> really intended to activate it.
[...]
> If you think C-SPC C-SPC is too much trouble, then switch the two: Let
> C-SPC set the mark without activating the region and C-SPC C-SPC set
> mark and activate.  I could live with that, and I'll bet other
> d-s-moders could too.

That's exactly what I meant by "make C-SPC not activate the region".

> But we can do better: Let users decide individually, by adding an
> option that says whether a single or a double C-SPC activates
> the region.

I'm not interested in discussing what options we should provide: that's
a trivial issue compared to the issue of what should be the default.

>> One of the problems left with it is what to do for C-x C-x.
> Why not leave it as is?

That means it activates the region, which is a problem if the user just
wants to swap point and mark but not activate the region.

> Or if C-x C-x C-g is really too much trouble, then add an option for
> this too.

Again, options are of no help here.  We're discussing the default.

>> we'd want two commands: one that swap point and mark, and one that
>> activates the region.  Currently C-x C-x does both.
> Only if t-m-mode is on.

Did I say we're discussing the default?

>> if we don't change C-x C-x, then users who want to
>> navigate to the mark get the region activated when they 
>> didn't want it.
> Just use C-g (or whatever new key we choose for deactivation).

Emacs should first do no harm.  I.e. the region should only be activated
when the user really intended to, since it may then be deleted
by a mere DEL or a self-inserting key.

> And if someone never uses the active region, then by definition she
> never needs t-m-mode, and s?he can just turn it off.

...[mumble]....default...


        Stefan




  reply	other threads:[~2010-03-26  2:36 UTC|newest]

Thread overview: 48+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <87sk7pzqsp.fsf@ambire.localdomain>
2010-03-24 20:20 ` d-s-m default: nil Ulf Jasper
2010-03-24 20:26   ` Deniz Dogan
2010-03-25  0:24 ` d-s-m default: Nil + explanation! (was: d-s-m default) Memnon Anon
2010-03-25  4:22   ` Lennart Borgman
2010-03-25  8:24     ` d-s-m default: Nil + explanation! David Kastrup
2010-03-25 13:03       ` Lennart Borgman
2010-03-25 13:18         ` David Kastrup
2010-03-25 13:27           ` Lennart Borgman
2010-03-25 14:21             ` Davis Herring
2010-03-25 14:42               ` Lennart Borgman
2010-03-25 15:04       ` Drew Adams
2010-03-25 16:27       ` Tweaking t-m-m to make room for d-s-m Stefan Monnier
2010-03-25 17:51         ` Alan Mackenzie
2010-03-26  7:04           ` Juri Linkov
2010-03-25 23:56         ` Drew Adams
2010-03-26  2:36           ` Stefan Monnier [this message]
2010-03-26  8:28         ` mathias
2010-03-26 17:53           ` Drew Adams
2010-03-26 20:18             ` Lennart Borgman
2010-03-26 21:18               ` Drew Adams
2010-03-26 21:30                 ` Lennart Borgman
2010-03-26 22:05                   ` Christophe Poncy
2010-03-26 22:07                     ` Lennart Borgman
2010-03-26 22:23                       ` Drew Adams
2010-03-26 22:33                         ` Lennart Borgman
2010-03-26 22:44                           ` Drew Adams
2010-03-26 22:59                             ` Lennart Borgman
2010-03-26 23:15                               ` Drew Adams
2010-03-26 22:30                       ` Christophe Poncy
2010-03-26 22:13                   ` Drew Adams
2010-03-26 22:32                     ` Lennart Borgman
2010-03-26 23:11                       ` Drew Adams
2010-03-26 23:23                         ` Lennart Borgman
2010-03-26 23:35                           ` Drew Adams
2010-03-27 22:49                   ` Richard Stallman
2010-03-27 23:27                     ` Lennart Borgman
2010-03-27 23:37                       ` Deniz Dogan
2010-03-27 23:53                         ` Lennart Borgman
2010-03-28  0:28                           ` Deniz Dogan
2010-03-29 23:38                       ` Richard Stallman
2010-03-30  0:08                         ` Lennart Borgman
2010-03-30  1:16                           ` Christoph
2010-03-30  5:31                           ` Richard Stallman
2010-03-30  6:38                             ` Lennart Borgman
2010-03-30  9:47                               ` Eli Zaretskii
2010-03-30 18:17                                 ` Chad Brown
2010-03-30 19:19                           ` Lluís
2010-03-25 20:48 ` d-s-m default: t Noah Friedman

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=jwvtys324sh.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=drew.adams@oracle.com \
    --cc=emacs-devel@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.