From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?G=C3=B6ktu=C4=9F?= Kayaalp Newsgroups: gmane.emacs.bugs Subject: bug#29550: 27.0.50; `not-modified' should be disabled by default Date: Fri, 04 Oct 2019 21:38:32 +0300 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="164296"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 29550@debbugs.gnu.org, schwab@linux-m68k.org, stefan@marxist.se To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Oct 04 20:39:14 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iGSTx-000gcM-4H for geb-bug-gnu-emacs@m.gmane.org; Fri, 04 Oct 2019 20:39:13 +0200 Original-Received: from localhost ([::1]:51056 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iGSTv-0001qk-Le for geb-bug-gnu-emacs@m.gmane.org; Fri, 04 Oct 2019 14:39:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34776) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iGSTo-0001qW-VH for bug-gnu-emacs@gnu.org; Fri, 04 Oct 2019 14:39:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iGSTn-0000EL-NJ for bug-gnu-emacs@gnu.org; Fri, 04 Oct 2019 14:39:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:34639) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iGSTm-0000Dc-1y for bug-gnu-emacs@gnu.org; Fri, 04 Oct 2019 14:39:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iGSTl-0007O1-Ty for bug-gnu-emacs@gnu.org; Fri, 04 Oct 2019 14:39:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?G=C3=B6ktu=C4=9F?= Kayaalp Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 04 Oct 2019 18:39:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 29550 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 29550-submit@debbugs.gnu.org id=B29550.157021432628371 (code B ref 29550); Fri, 04 Oct 2019 18:39:01 +0000 Original-Received: (at 29550) by debbugs.gnu.org; 4 Oct 2019 18:38:46 +0000 Original-Received: from localhost ([127.0.0.1]:43460 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iGSTW-0007NU-1R for submit@debbugs.gnu.org; Fri, 04 Oct 2019 14:38:46 -0400 Original-Received: from relay3-d.mail.gandi.net ([217.70.183.195]:42085) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iGSTS-0007NJ-Kn for 29550@debbugs.gnu.org; Fri, 04 Oct 2019 14:38:43 -0400 X-Originating-IP: 46.154.39.248 Original-Received: from localhost (unknown [46.154.39.248]) (Authenticated sender: self@gkayaalp.com) by relay3-d.mail.gandi.net (Postfix) with ESMTPSA id CE8BB60002; Fri, 4 Oct 2019 18:38:39 +0000 (UTC) In-Reply-To: <87pnjjpgda.fsf@gnus.org> (message from Lars Ingebrigtsen on Sun, 29 Sep 2019 12:05:21 +0200) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:168338 Archived-At: On 2019-09-29 12:05 +02, Lars Ingebrigtsen wrote: > Andreas Schwab writes: >> How about adding a command that reenables all disabled commands? > That's possible, but I was also wondering whether there should be an > "emacs -Q-but-not-so-much" (or whatever) switch to Emacs, or a standard > common-maintainer-things.el file one could load. > > But that's probably an endless rabbit hole to go down into, so I think > we should just settle on saying "-l my-maintainer-things.el" > individually for whatever we think is too annoying to deal with when > testing with -Q. Or, a flag like --maintainer-mode that enables all commands _and_ implies -Q and "-l $EMACS_MAINTAINER_RC" if found? Frankly, I see no reason this issue is controversial: the command has caused data loss for multiple people; accidental data loss and data corruption is the worst thing that can happen to you in personal computing, and accidentally hitting M-~ causes accidental data loss/corruption in a very confusing way. "(emacs) Disabling" states: > The purpose of disabling a command is to prevent users from executing > it by accident; we do this for commands that might be confusing to the > uninitiated. In this light, it=E2=80=99s rather obvious what to do: protect users by disabling this command. The sole argument for keeping it enabled is essentially the convenience of a single person. Also, something like this emacs -Q -e "(enable-command 'not-modified)" works for Eli=E2=80=99s case, you could just alias it to something like =E2= =80=98emacsq=E2=80=99 or =E2=80=98emacs-Q=E2=80=99. --=20 =C4=B0. G=C3=B6ktu=C4=9F Kayaalp 024C 30DD 597D 142B 49AC 40EB 465C D949 B101 2427