all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: emacs-devel@gnu.org
Subject: Why was `transient-mark-mode' turned off for `delete-selection-mode'?
Date: Mon, 25 Aug 2014 13:07:40 -0700 (PDT)	[thread overview]
Message-ID: <60d75d3a-d04c-4394-800b-60b65fafdb11@default> (raw)

I came across this item in NEWS:

** Delete Selection mode can now be used without Transient Mark mode.

"Can now be"?  That sounds positive, as if we are adding some new
possibility that is useful.  Are we?

Why would we do this - what is the use case?  Why should
`delete-selection-mode' no longer enable transient-mark-mode'?

Have we had requests from users who turn off `transient-mark-mode',
asking to be able to use `delete-selection-mode' without seeing
the selection?

I've searched a bit for a discussion about this, in emacs-devel and
in the bug list, but I didn't find anything related.  I searched around
the time of the change, which was apparently made on 2013-12-11, with
this commit:
http://bzr.savannah.gnu.org/lh/emacs/trunk/revision/115459

Stefan Monnier2013-12-11 14:42:34
Revision ID: monnier@iro.umontreal.ca-20131211144234-evm5nwt04uoggorp
* lisp/delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
(delete-selection-helper): Make sure yank starts at the top of the
deleted region.
(minibuffer-keyboard-quit): Use region-active-p.

So far, this change doesn't sound like a very good idea to me, but I
would like to know more about it, in particular the rationale for it.  

Delete selection mode has always been about providing similar
delete/replace-the-selection behavior to what is prevalent outside
Emacs. Why would we now divorce this behavior from highlighting of
the selection?



             reply	other threads:[~2014-08-25 20:07 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-25 20:07 Drew Adams [this message]
2014-09-04 19:50 ` Why was `transient-mark-mode' turned off for `delete-selection-mode'? Drew Adams
2014-09-04 20:48 ` Stefan Monnier
2014-09-04 21:15   ` Drew Adams
2014-09-04 21:31     ` Stefan Monnier
2014-09-04 21:44       ` Drew Adams
2014-09-05  1:00         ` Stefan Monnier
2014-09-05  3:01         ` Drew Adams
2014-09-05  7:03           ` David Kastrup
2014-09-05 16:01             ` Drew Adams
2014-09-05 16:14               ` David Kastrup
2014-09-05 17:04                 ` Drew Adams
2014-09-05 17:22                   ` David Kastrup

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=60d75d3a-d04c-4394-800b-60b65fafdb11@default \
    --to=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.