unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Why was `transient-mark-mode' turned off for `delete-selection-mode'?
@ 2014-08-25 20:07 Drew Adams
  2014-09-04 19:50 ` Drew Adams
  2014-09-04 20:48 ` Stefan Monnier
  0 siblings, 2 replies; 13+ messages in thread
From: Drew Adams @ 2014-08-25 20:07 UTC (permalink / raw)
  To: emacs-devel

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?



^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2014-09-05 17:22 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-25 20:07 Why was `transient-mark-mode' turned off for `delete-selection-mode'? Drew Adams
2014-09-04 19:50 ` 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

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