From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alexandre Oberlin Newsgroups: gmane.emacs.help Subject: Re: Replacing huge hidden selection when pasting text Date: Thu, 24 Dec 2015 14:27:24 +0100 Message-ID: References: <5da6a556-646f-42ba-9bae-f5bf4387f09e@googlegroups.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1450963663 32204 80.91.229.3 (24 Dec 2015 13:27:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 24 Dec 2015 13:27:43 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Drew Adams Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Dec 24 14:27:40 2015 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 1aC5vf-0007Tn-La for geh-help-gnu-emacs@m.gmane.org; Thu, 24 Dec 2015 14:27:39 +0100 Original-Received: from localhost ([::1]:60134 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aC5ve-0005lw-O0 for geh-help-gnu-emacs@m.gmane.org; Thu, 24 Dec 2015 08:27:38 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43879) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aC5vT-0005le-4F for help-gnu-emacs@gnu.org; Thu, 24 Dec 2015 08:27:28 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aC5vR-0000Mg-Sm for help-gnu-emacs@gnu.org; Thu, 24 Dec 2015 08:27:27 -0500 Original-Received: from mail-ig0-x22d.google.com ([2607:f8b0:4001:c05::22d]:34210) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aC5vR-0000MX-Ml for help-gnu-emacs@gnu.org; Thu, 24 Dec 2015 08:27:25 -0500 Original-Received: by mail-ig0-x22d.google.com with SMTP id m11so82759737igk.1 for ; Thu, 24 Dec 2015 05:27:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=6vzKifAB5rmhyd66fLnTPh6lz57hffK4P0YUnjW0szo=; b=hkqIdAnn+LKk1N3qgDV7BOam21b0ay5Lb2dtagiz2NTYjufPdTI4ZposknJoi34tEv DEINMOdNPn1VZa17b1aqr6VjYeYACI2rfN2G1e4m/WD9BBDjNaFvCFlkbDT94izdKNfM Q4GDFWKir4ZFH4ihs17PwXhnhEfxFRF1P6q+dioRV0bocKNqor3c3koLJCy87byCIDo3 EKiLkigDei+ak9X78WY4kIvLWgGtWX7CuiODzp7Wj6VBI4GrhAk+SG0cTVi3OCy1w3Ub 05sU9BrkDbu0X+op+FYvoi6jLjpys9v77EAWKEEDm4hlfeSbvfQjlpFnlec8mi7leSsR uFCA== X-Received: by 10.50.55.4 with SMTP id n4mr36698185igp.37.1450963644813; Thu, 24 Dec 2015 05:27:24 -0800 (PST) Original-Received: by 10.50.222.133 with HTTP; Thu, 24 Dec 2015 05:27:24 -0800 (PST) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:4001:c05::22d X-Content-Filtered-By: Mailman/MimeDel 2.1.14 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:108460 Archived-At: Hello, Thanks Drew for your understanding. I don=E2=80=99t think I lost much data = this time because I automatically perform the awfully outdated rcs (hopefully nobody tries to "maintain" rcs to make it behave like a Microsoft application!) and also have some backup strategy. This time I simply lost about two hours, but I am still under this threat and might have other files corrupted without having noticed. > But if you can describe what you did in more detail it would help. No problem: C-y C-x C-s No prompt, no auto-saved copy, no warning whatsoever: farewell! What is still worse is that this does not even happen consistently (only say 50% of the times). The behavior is affected by repeatedly setting the mark (C-space). Just reading the help for such a simple command as (set-mark-command ARG) is a mere piece of fun. Don=E2=80=99t Emacs developers/maintainers understand that an editor is to be USED by USERS, not constantly modified and absurdly complicated by people trying to show up their skills? I use GNU Emacs in several contexts: 1. Standard Debian 8 installation 2. Ubuntu 14.04 LTS Live with persistence 3. Cygwin on Windows 7 and Windows 8.1 I use the same .emacs for all contexts. For several years now I=E2=80=99ve = not been able to get a safe, stable and sufficiently convenient behavior anymore, especially relative to clipboard and accented characters. On 24 December 2015 at 02:37, Drew Adams wrote: > > I have stopped hoping that the current maintainers of Emacs still have = an > > ounce of common sense. How on Earth can it be possible (and quite easy) > to > > allow replacing a huge hidden selection when pasting text without any > > warning ? I have lost large amounts of data with this incredibly stupid > > behavior. There isn't even a warning when saving a file which has shrun= k > a > > lot, like there once was. How can I DEFINITELY avoid overwriting an > > invisible selection in all versions of Emacs? > > I can tell you are upset, and I would be too, no doubt. But if you > can describe what you did in more detail it would help. > > At the very least it might help others avoid the same gotcha that > apparently bit you. This is a user help list, and most people > reading it and contributing to it are users, like you. > > If you can provide a step-by-step recipe to describe what you did > and what happened, that can also serve as a bug report or enhancement > request, which you can post using `M-x report-emacs-bug'. > > HTH. >