unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Andrew W. Nosenko" <andrew.w.nosenko@gmail.com>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: Emacs-Devel devel <emacs-devel@gnu.org>
Subject: Re: C-x C-x (was: C-d deleting region considered harmful)
Date: Tue, 21 Sep 2010 03:28:50 +0300	[thread overview]
Message-ID: <AANLkTikL9kE0Mt3GhXX2uB9xA41ifNn2wuCx6nCksZtE@mail.gmail.com> (raw)
In-Reply-To: <jwv4odk137x.fsf-monnier+emacs@gnu.org>

On Tue, Sep 21, 2010 at 01:09, Stefan Monnier <monnier@iro.umontreal.ca> wrote:
> So, I think we agree that we should change the active-region deletion so
> it only happens for `delete' and not for C-d.
> Good.  We're just waiting for someone to cobble up
> a corresponding patch.

Very please to excuse me, but may be it need to stop decoupling
aliases into surprisingly different functionality?

I always used to C-d and "del" key as aliases under Emacs.  And want
to continue the same.  Just because keyboards are different.  Full
sized pc keyboard is one thing with the one distances between keys and
good separated navigation block.  Netbook keyboard is absolutely
another thing with absolutely different key sizes and different
physical keys placement.  I was (and is) very exited by these [as I
think] intentionally provided aliases that greatly improve usability.
And please, don't ruin it!

And for clearness: it's not about whether delete-char should to delete
active region (if any).  Anyway I can to turn such feature on or off
through customize or init.el.  It's about decoupling/breaking of very
useful aliases, which allows to feel comfortable under variety of
highly different keyboards.

>
> Now for the spinoff thread that keeps spinning off other ones: I'd be
> willing to decouple C-x C-x from "(re)activate the region", but then we
> need to find some other way to reactivate the region.
> Suggestions welcome.  Of course there's C-u C-x C-x, but I don't find it
> very appealing (just like C-u C-x C-x doesn't sound too appealing to
> people who currently want to exchange-mark-and-point without activating
> the region).

About stop activating region by C-x C-x.  I'm (of course) unable to
speak for anyone who uses t-m-m, but for me C-x C-x, same as C-x C-x
C-x C-x is intentionally thing for activating region.  And usual goal
is to send this region to the external filter (as in C-x C-x C-u M-|).
 Just depending on goals I want to start review or editing of results
from top or from bottom and therefore use 2 or 4 C-x.  And it is
simple and logical: exchange point and mark and activate region, just
repeated twice if need (thanks to "activate" instead of "toggle"
semantics).  Now it may be transformed to exchange and some when
latter activate.  What if I hit C-x yet another 2 times?  Continue to
activate region?  Start to toggle?  Start to toggle every 2nd (even)
pair of C-x and do nothing on every 1st (odd) pair of C-x?  Something
another?

Again, please excuse me, I have no intention to insult anyone
personally or as group.  I just argue that here are many things.  And
logical consistence is not the least of them.  Just because decreases
learning curve (in short term) and keeps productivity in the long
term.  And it is just from user's point of view, without counting the
Emacs developers convenience and time (any inconsistency produces
exceptional cases, any exceptional case produces special control flow
branch, any (especially irrational) branch is the source for errors or
at least brain resources eater).

-- 
Andrew W. Nosenko <andrew.w.nosenko@gmail.com>



  parent reply	other threads:[~2010-09-21  0:28 UTC|newest]

Thread overview: 128+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-18  1:49 C-d deleting region considered harmful Miles Bader
2010-09-18  3:06 ` Miles Bader
2010-09-18 14:53   ` Drew Adams
2010-09-18  8:34 ` Stefan Monnier
2010-09-18 15:00   ` Drew Adams
2010-09-18 19:22   ` Chong Yidong
2010-09-20 16:11     ` Chong Yidong
2010-09-18  9:24 ` Eli Zaretskii
2010-09-18  9:45   ` David Kastrup
2010-09-18 10:06     ` Eli Zaretskii
2010-09-18 10:15       ` Eli Zaretskii
2010-09-18 12:02         ` Sebastian Rose
2010-09-18 15:26           ` Drew Adams
2010-09-18 16:14           ` Christoph
2010-09-18 16:20             ` Eli Zaretskii
2010-09-18 16:25               ` Christoph
2010-09-18 19:41                 ` Sebastian Rose
2010-09-18 19:45                   ` Christoph
2010-09-19 14:17                     ` Sebastian Rose
2010-09-19 14:23                       ` Christoph
2010-09-19 14:46                         ` Sebastian Rose
2010-09-19 21:02                           ` Christoph
2010-09-19 21:28                             ` Eli Zaretskii
2010-09-19 23:26                               ` Christoph
2010-09-20  6:52                                 ` David Kastrup
2010-09-19 21:39                             ` Sebastian Rose
2010-09-19 23:39                               ` David De La Harpe Golden
2010-09-19 23:46                               ` Christoph
2010-09-18 15:15       ` Drew Adams
2010-09-18 14:21   ` Miles Bader
2010-09-18 15:05   ` Drew Adams
2010-09-18 16:04     ` Stefan Monnier
2010-09-18 18:44       ` Drew Adams
2010-09-18 18:53         ` Miles Bader
2010-09-18 19:11         ` Drew Adams
2010-09-20  0:16       ` Richard Stallman
2010-09-20  0:22         ` Lennart Borgman
2010-09-20  3:10           ` Drew Adams
2010-09-20 11:51             ` Lennart Borgman
2010-09-20  7:56           ` Bastien
2010-09-20 10:43             ` Eli Zaretskii
2010-09-20 11:21               ` Bastien
2010-09-20 11:34                 ` Eli Zaretskii
2010-09-20 12:07                   ` David Kastrup
2010-09-20 12:35                     ` Deniz Dogan
2010-09-20 12:37                       ` David Kastrup
2010-09-20 12:56                         ` Eli Zaretskii
2010-09-20 12:55                     ` Eli Zaretskii
2010-09-22  0:56             ` Richard Stallman
2010-09-22  5:11               ` Miles Bader
2010-09-23  0:58                 ` Richard Stallman
2010-09-20  1:24         ` Miles Bader
2010-09-21  0:56           ` Richard Stallman
2010-09-21  1:01             ` Lennart Borgman
2010-09-21  7:51               ` David Kastrup
2010-09-21  8:19                 ` PJ Weisberg
2010-09-21  1:30             ` Miles Bader
2010-09-21  1:47               ` Leo
2010-09-21  2:42                 ` Miles Bader
2010-09-18 16:47     ` Christoph
2010-09-18 18:44       ` Drew Adams
2010-09-18 18:50         ` Lars Magne Ingebrigtsen
2010-09-18 19:13           ` Drew Adams
2010-09-18 19:16             ` Lars Magne Ingebrigtsen
2010-09-18 19:39               ` Drew Adams
2010-09-19  6:31               ` David Kastrup
2010-09-19 11:07                 ` Lars Magne Ingebrigtsen
2010-09-19 11:23                   ` David Kastrup
2010-09-18 20:42             ` Sebastian Rose
2010-09-18 20:22       ` Sebastian Rose
2010-09-18 14:29 ` Drew Adams
2010-09-18 15:07   ` Bastien
2010-09-18 15:52 ` Christoph
2010-09-18 18:40   ` Miles Bader
2010-09-18 18:47     ` Lars Magne Ingebrigtsen
2010-09-18 19:09       ` Miles Bader
2010-09-18 21:18       ` Eli Zaretskii
2010-09-19 14:00         ` Christoph
2010-09-19 14:07           ` Lars Magne Ingebrigtsen
2010-09-19 18:00             ` Chad Brown
2010-09-19 18:21               ` Wojciech Meyer
2010-09-19 18:24                 ` Lars Magne Ingebrigtsen
2010-09-19 20:06                   ` Should C-x C-x activate the region? [was: C-d deleting region considered harmful] Drew Adams
2010-09-19 20:37                     ` David Reitter
2010-09-21  0:55                       ` Richard Stallman
2010-09-20  1:21                   ` C-d deleting region considered harmful Miles Bader
2010-09-20  6:59                     ` David Kastrup
2010-09-20 13:43                       ` Drew Adams
2010-09-20 16:02                       ` Miles Bader
2010-09-20  7:12                     ` Lars Magne Ingebrigtsen
2010-09-20  7:20                       ` David Kastrup
2010-09-20 16:34                     ` Chad Brown
2010-09-20 22:09                       ` C-x C-x (was: C-d deleting region considered harmful) Stefan Monnier
2010-09-20 22:46                         ` Chad Brown
2010-09-21  0:17                         ` C-x C-x Chong Yidong
2010-09-21 20:52                           ` Johan Bockgård
2010-09-21  0:28                         ` Andrew W. Nosenko [this message]
2010-09-21  1:06                           ` C-x C-x (was: C-d deleting region considered harmful) Andrew W. Nosenko
2010-09-21  7:49                           ` C-x C-x David Kastrup
2010-09-21  9:22                             ` Andrew W. Nosenko
2010-09-21  9:40                               ` David Kastrup
2010-09-24 23:59                                 ` Andrew W. Nosenko
2010-09-21  7:25                         ` C-x C-x (was: C-d deleting region considered harmful) Thierry Volpiatto
2010-09-21  1:03                       ` C-d deleting region considered harmful Miles Bader
2010-09-21 19:12                         ` Chad Brown
2010-09-19 18:59               ` Eli Zaretskii
2010-09-19 19:14               ` Alan Mackenzie
2010-09-19 21:27               ` Sebastian Rose
2010-09-19 14:12           ` Eli Zaretskii
2010-09-19 21:11             ` Christoph
2010-09-21  6:29           ` Stephen J. Turnbull
2010-09-21  8:04             ` David Kastrup
2010-09-21  8:23             ` Leo
2010-09-21  8:52               ` Deniz Dogan
2010-09-21  9:20                 ` Leo
2010-09-21  9:56                 ` Stephen J. Turnbull
2010-09-18 20:23     ` Christoph
2010-09-19  6:28       ` David Kastrup
2010-09-19 12:40         ` Drew Adams
2010-09-19 13:38           ` Christoph
2010-09-19 14:06           ` Eli Zaretskii
2010-09-19 19:18             ` David Kastrup
2010-09-19 19:58               ` Eli Zaretskii
2010-09-22  9:31                 ` Eli Zaretskii
2010-09-19 13:55       ` Sebastian Rose
2010-09-19 14:23         ` Christoph
2010-09-18 18:44   ` Drew Adams
2010-09-19  1:05 ` 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=AANLkTikL9kE0Mt3GhXX2uB9xA41ifNn2wuCx6nCksZtE@mail.gmail.com \
    --to=andrew.w.nosenko@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /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).