From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Bingo Newsgroups: gmane.emacs.devel Subject: Re: delete-selection-mode as default (WAS: Some developement questions) Date: Sat, 08 Sep 2018 14:03:46 +0530 Message-ID: <41DF4279-89F4-413A-B3BC-63E9E9E98772@gmail.com> References: <0CCFABF4-0F2B-4DAA-9C8E-11E1254A325E@gmail.com> <834lf0tptp.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1536395947 19789 195.159.176.226 (8 Sep 2018 08:39:07 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 8 Sep 2018 08:39:07 +0000 (UTC) User-Agent: K-9 Mail for Android Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Sep 08 10:39:03 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fyYlj-00055A-2W for ged-emacs-devel@m.gmane.org; Sat, 08 Sep 2018 10:39:03 +0200 Original-Received: from localhost ([::1]:41797 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fyYnp-0001C1-3W for ged-emacs-devel@m.gmane.org; Sat, 08 Sep 2018 04:41:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59475) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fyYnZ-0001BG-DC for emacs-devel@gnu.org; Sat, 08 Sep 2018 04:41:01 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fyYgw-0004lQ-P0 for emacs-devel@gnu.org; Sat, 08 Sep 2018 04:34:13 -0400 Original-Received: from mail-pg1-x531.google.com ([2607:f8b0:4864:20::531]:40363) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fyYgw-0004da-Av for emacs-devel@gnu.org; Sat, 08 Sep 2018 04:34:06 -0400 Original-Received: by mail-pg1-x531.google.com with SMTP id l63-v6so8090829pga.7 for ; Sat, 08 Sep 2018 01:34:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:user-agent:in-reply-to:references:mime-version :content-transfer-encoding:subject:cc:from:message-id; bh=6Gh64QhdDC9AFb+0EFd2GjDVShXGSELu+nYXx60W6Ok=; b=E8rc1A0aKJmH8ov0VsntjhMJmB81eXQKyx1eG/jl9Ks59Fk/UfY6NgSTyvBrjv8UdB yqGdy8uLnPEV4gAZgRe1O5bokmnJowYBoLHwzBVdTbs5Hq0H+engdcvQWqbQT71ogCbF aaDY8fp5yiwxu3kJa9g6DFZlV1a7u+ef2i2bVADhKGlCXgHL26/twK4+5WXHwwGlTWyo 7TVVJbuzK2xHwr1uKZ5GS6tCSpJvutCS0/A+etsq0sfeH/rCJIROsJ2KOdd0jfWUi1rO wJ4LrKK/+md4HzMCnOg/HC5G5Y1zMAU5WlrCpnvmD3TjUKOqQl0focMiHMGYAWG+/zGn hS/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:user-agent:in-reply-to:references :mime-version:content-transfer-encoding:subject:cc:from:message-id; bh=6Gh64QhdDC9AFb+0EFd2GjDVShXGSELu+nYXx60W6Ok=; b=YfjNT0Byu3xDHKKrMAvNoUcl3cZLrk9BGbw2gxMxF8bHH3REszUTP6HEDahSZ3EOYp /tg0l87MN0YuSlk4jLneZLPsC1D2UbOwCJr+76A3Smu2tfEN6EAd5OPygCVWjXx91NcX K0C9CBZgKkjQ6VuS1DpF3wbaTm5UkvP5E3qntOZ6hzsBfh/gL3u2belvwBz0DpJausiB fWmG5tvSDwnaoN4r4IbF9gTIaJD2Dhlac0vlEh1rdstGreAcqAwBg+B9Z63NTnWCeqca IvDdI8IIB6rcAbvSvSo0dNhSWp1fFtasyD5AG1xw02WmgWDMJHLagLVf6fTMpZ+Bh+FS 1ixQ== X-Gm-Message-State: APzg51A51d7t6Pmq+61GyaTKzuRYD/krAVXSCJZ47iSuyTLdcg+gbU31 fxtGZmNcRilOye7sFqQyogBoF+b+ X-Google-Smtp-Source: ANB0VdbAfbEBx1DELTj1HeIHuKYJHM+9zjdbNfFia4kB8gd8pAH45M/OPgAjed9z0pgpg8barjyfoQ== X-Received: by 2002:a63:2fc6:: with SMTP id v189-v6mr12284329pgv.61.1536395644015; Sat, 08 Sep 2018 01:34:04 -0700 (PDT) Original-Received: from [192.168.178.10] ([139.59.3.22]) by smtp.gmail.com with ESMTPSA id o10-v6sm19512828pfk.76.2018.09.08.01.34.02 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 08 Sep 2018 01:34:03 -0700 (PDT) In-Reply-To: <834lf0tptp.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::531 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:229485 Archived-At: Le 8 septembre 2018 12:53:46 GMT+05:30, Eli Zaretskii a = =C3=A9crit : >> Date: Sat, 08 Sep 2018 09:19:21 +0530 >> From: Bingo >>=20 >> Can we consider changing defaults only for users who don't have any >init file at all ? >>=20 >> This change may not solve many problems, due to two other features of >emacs :=20 > >What problems will such a change solve? > >Personally, I think that changing the behavior just because there's an >init file, even though that init file doesn't explicitly mention the >affected features, would be confusing=2E > >More importantly, I think the argument about the defaults, at least >for veteran Emacs users matters mainly when there is no init file >anyway=2E I mean : 1=2E When Emacs first starts, see if there is an init file=2E Various mode= rn software do so, so we would be on solid ground there=2E 2=2E If so, trust the user that he would have set delete-selection-mode as= required=2E This would avoid stepping on the toes of power users : which f= orm the majority of Emacs users=2E 3=2E If not, create an init file with these "modern" options=2E This can a= ttract the new users we want=2E Modern software create a lot of files and r= egistry entries for cache and config, no one would blame Emacs=2E > >> 1=2E Emacs undo is frustrating for most new users=2E Correcting mistake= s >with delete-selection-mode i=2Ee=2E restore >> a selection that was deleted due to a mistaken delete by >typing/pasting , will need them to use undo=2E=20 >>=20 >> 2=2E In their attempt to play with undo/redo, they might do C-y=2E Whic= h >pastes in Emacs : but it is the key for redo >> in many "modern" editors=2E This can cause more unintended deletions in >delete-selection-mode=2E > >So I guess you are saying delete-selection-mode should not be turned >on by default? If so, why do we need the change you propose? Personally, I would rather delete-selection-mode not be on by default=2E B= ut I know nothing about what is good for new users=2E If it must be turned = on, maybe people with init files can be spared ? Thanks a lot Hi Eli, clarified inline :