From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Heerdegen Newsgroups: gmane.emacs.help Subject: Re: Replacing huge hidden selection when pasting text Date: Thu, 14 Jan 2016 17:36:35 +0100 Message-ID: <87si20glt8.fsf@web.de> 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 1452789453 13993 80.91.229.3 (14 Jan 2016 16:37:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 14 Jan 2016 16:37:33 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Jan 14 17:37:15 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 1aJktc-0001zM-JZ for geh-help-gnu-emacs@m.gmane.org; Thu, 14 Jan 2016 17:37:12 +0100 Original-Received: from localhost ([::1]:43650 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aJktc-00083O-2T for geh-help-gnu-emacs@m.gmane.org; Thu, 14 Jan 2016 11:37:12 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41553) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aJktP-00083H-4C for help-gnu-emacs@gnu.org; Thu, 14 Jan 2016 11:36:59 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aJktK-0007gr-5p for help-gnu-emacs@gnu.org; Thu, 14 Jan 2016 11:36:59 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:43928) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aJktJ-0007gl-US for help-gnu-emacs@gnu.org; Thu, 14 Jan 2016 11:36:54 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aJktI-0001hm-BV for help-gnu-emacs@gnu.org; Thu, 14 Jan 2016 17:36:52 +0100 Original-Received: from dslb-092-077-162-209.092.077.pools.vodafone-ip.de ([92.77.162.209]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 14 Jan 2016 17:36:52 +0100 Original-Received: from michael_heerdegen by dslb-092-077-162-209.092.077.pools.vodafone-ip.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 14 Jan 2016 17:36:52 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 34 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: dslb-092-077-162-209.092.077.pools.vodafone-ip.de User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) Cancel-Lock: sha1:IocwbniCQCBo6FB6aZSLcllr2tc= 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:108734 Archived-At: "Alexandre Oberlin" writes: > To get an invisible region while transient-mark-mode is OFF (that is > "(transient-mark-mode -1)" in .emacs): > 1. Open a file > 2. Type CTRL+SPACE ONCE > 3. Move the cursor with an arrow key > 4. Type CTRL+W > The invisible region gets killed, whatever the value of > delete-selection-mode. > > To get an invisible region while transient-mark-mode is ON (that is > "(transient-mark-mode +1)" in .emacs): > 1. Open a file > 2. Type CTRL+SPACE TWICE > 3. Move the cursor with an arrow key > 4. Type CTRL+W > The invisible region gets killed, whatever the value of > delete-selection-mode. That's normal, I think: C-w always kills, no matter whether the region is active or not. > As already repeated, the behavior with pasting is NOT > consistent. There seems to be one state where it overwrites, and > another state where it doesn’t, while in both states > transient-mark-mode is OFF and delete-selection-mode is ON. I am not > aware of any way to reliably change from one state to the other. That's bad, still, a bug report would be good to have. Michael.