From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Random832 Newsgroups: gmane.emacs.help Subject: Re: Replacing huge hidden selection when pasting text Date: Sun, 03 Jan 2016 00:08:59 -0500 Message-ID: References: <5da6a556-646f-42ba-9bae-f5bf4387f09e@googlegroups.com> <84da4496-944e-4192-ac09-b5bfc0992f3f@googlegroups.com> <70837df3-23f5-416b-8e0a-b9f105f7a40c@googlegroups.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1451797772 22187 80.91.229.3 (3 Jan 2016 05:09:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 3 Jan 2016 05:09:32 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Jan 03 06:09:24 2016 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aFaux-0000TI-5Z for geh-help-gnu-emacs@m.gmane.org; Sun, 03 Jan 2016 06:09:23 +0100 Original-Received: from localhost ([::1]:40494 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aFauv-0005tn-4L for geh-help-gnu-emacs@m.gmane.org; Sun, 03 Jan 2016 00:09:21 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52827) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aFauk-0005th-Ok for help-gnu-emacs@gnu.org; Sun, 03 Jan 2016 00:09:11 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aFaug-0008Id-OL for help-gnu-emacs@gnu.org; Sun, 03 Jan 2016 00:09:10 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:37168) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aFaug-0008IY-Hz for help-gnu-emacs@gnu.org; Sun, 03 Jan 2016 00:09:06 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aFaue-0000E6-Ov for help-gnu-emacs@gnu.org; Sun, 03 Jan 2016 06:09:04 +0100 Original-Received: from c-68-39-146-59.hsd1.in.comcast.net ([68.39.146.59]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 03 Jan 2016 06:09:04 +0100 Original-Received: from random832 by c-68-39-146-59.hsd1.in.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 03 Jan 2016 06:09:04 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 24 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: c-68-39-146-59.hsd1.in.comcast.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (darwin) Cancel-Lock: sha1:i6MTePNWSBpqNjEdfs4LQF77aTg= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:108594 Archived-At: Yuri Khan writes: > On Sun, Jan 3, 2016 at 6:11 AM, Alexandre Oberlin wrote: > >> Enabling delete-selection-mode and disabling transient-mark-mode is >> nothing more than what an average user unsatisfied with the default >> behavior would try at first in order to get a "Windows notepad" like >> behavior regarding selection and overwriting. > > No. A Windows Notepad–like behavior is what you get with > transient-mark-mode, shift-select-mode, delete-selection-mode and > cua-mode all enabled. A) I think his point is that the user is frustrated and so goes for whatever knobs look shiny rather than making a reasoned decision about what options are most suited to their needs. B) Transient mark mode, AIUI, doesn't actually affect users who don't explicitly set the mark in any noticeable way. Correct me if I'm wrong. C) IMO delete-selection-mode should never cause text in a non-active region to be deleted. And I can't reproduce the behavior (not that I seriously expected to, given that it's apparently intermittent.) I do have a question for Alexandre, though... has this ever happened with typed text, or only pasting/yanking?