all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Alan Mackenzie <acm@muc.de>
To: Chad Brown <yandros@MIT.EDU>
Cc: Emacs-Devel devel <emacs-devel@gnu.org>
Subject: Re: C-d deleting region considered harmful
Date: Sun, 19 Sep 2010 19:14:16 +0000	[thread overview]
Message-ID: <20100919191416.GB7283@muc.de> (raw)
In-Reply-To: <D5A594DC-4BC9-44CE-9BC7-E2BA47F9327D@mit.edu>

'afternoon, Chad,

On Sun, Sep 19, 2010 at 11:00:50AM -0700, Chad Brown wrote:
> Question for the people who dislike transient-mark-mode and it's
> related behaviors:

> Do you find yourself making an unwanted `highlighted region' using any
> other method than C-xC-x?  The potential candidates that come to mind
> are `C-space and movement', shift-selection, and mouse-sweep.

No, never.  I disabled transient-mark-mode a split microsecond after it
was thrust upon me.  I think most hackers who "dislike" this will have
done likewise.  By the way, "dislike" doesn't come close to how I regard
transient-mark-mode; visceral revulsion is closer to the mark and point.

I still occasionally get this ghastly effect (e.g. when I start emacs -Q
for some testing reason).  Sometime I'll get around to hacking my copy of
the place where this default is set.

> I used to dislike transient-mark-mode (back when it was called
> zmacs-region and I was using Epoch), and disabled it along with most
> of the `chrome', but at one point I intentionally tried working with
> all of the bells and whistles and found it helpful except when I was
> using C-xC-x often when editing code.  I spend more time editing text
> these days, and much less hoping around with C-xC-x, so I just live
> with the occasional distraction, but perhaps a way to invert the ARG
> of exchange-point-and-mark would let more emacs hackers enjoy the
> benefits of t-m-m without being annoyed by the spurious flashing/C-g.

I'm sure t-m-m could be made nicer.  For a start, it's a bumbling
conflation of three things which ought to be independently setable,
namely (i) Highligting of the region; (ii) a form of narrowing to the
region; (iii) disablement of some region commands.

In fact, if I could disable (i), that intrusive dark blue obliteration of
my font-lock and hi-lock highlighting, I might even get to try t-m-m.
But then, many of the config variables are so badly named
("transient-mark-mode" ought to be "transient-region-highlighting" since
the mark is no longer transient by default - all region commands are by
default executable) it would put me off even just setting these newspeak
variables.

BTW, I vote for C-d keeping its "do one thing and do it well" binding of
`delete-char', even though I might have disqualified myself from voting.
When I have to use inferior software I detest that software marking
regions without my consent and thereby forcing my right hand away from
the home position to remove this frivolous marking on pain of losing the
entire region.

In fact, I think I predicted the current confusion when the decision to
make t-m-m a default was taken.

> *Chad

-- 
Alan Mackenzie (Nuremberg, Germany).



  parent reply	other threads:[~2010-09-19 19:14 UTC|newest]

Thread overview: 133+ 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                         ` C-x C-x (was: C-d deleting region considered harmful) Andrew W. Nosenko
2010-09-21  1:06                           ` 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 [this message]
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
  -- strict thread matches above, loose matches on Subject: below --
2010-09-18 11:55 dhruva
2010-09-18 14:22 ` Miles Bader
2010-09-18 15:18 ` Drew Adams
2010-09-18 17:48 ` David Kastrup
2010-09-18 19:24   ` Drew Adams

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=20100919191416.GB7283@muc.de \
    --to=acm@muc.de \
    --cc=emacs-devel@gnu.org \
    --cc=yandros@MIT.EDU \
    /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.