unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "Göktuğ Kayaalp" <self@gkayaalp.com>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: 29550@debbugs.gnu.org, schwab@linux-m68k.org, stefan@marxist.se
Subject: bug#29550: 27.0.50; `not-modified' should be disabled by default
Date: Fri, 04 Oct 2019 21:38:32 +0300	[thread overview]
Message-ID: <ygm4l0omk47.fsf@gkayaalp.com> (raw)
In-Reply-To: <87pnjjpgda.fsf@gnus.org> (message from Lars Ingebrigtsen on Sun, 29 Sep 2019 12:05:21 +0200)

On 2019-09-29 12:05 +02, Lars Ingebrigtsen <larsi@gnus.org> wrote:
> Andreas Schwab <schwab@linux-m68k.org> 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’s 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’s case, you could just alias it to something like ‘emacsq’
or ‘emacs-Q’.

-- 
İ. Göktuğ Kayaalp	<https://www.gkayaalp.com/>
			 024C 30DD 597D 142B 49AC
			 40EB 465C D949 B101 2427





  reply	other threads:[~2019-10-04 18:38 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-03 23:19 bug#29550: 27.0.50; `not-modified' should be disabled by default Göktuğ Kayaalp
2017-12-04  3:37 ` Eli Zaretskii
2017-12-04 17:58   ` Glenn Morris
2017-12-05 10:06     ` Göktuğ Kayaalp
2018-04-15 19:06     ` Lars Ingebrigtsen
2017-12-05  9:49   ` Göktuğ Kayaalp
2019-09-29  0:06 ` Stefan Kangas
2019-09-29  7:20   ` Eli Zaretskii
2019-09-29  7:35     ` Stefan Kangas
2019-09-29  7:59       ` Eli Zaretskii
2019-09-29  8:01     ` Lars Ingebrigtsen
2019-09-29  8:28       ` Eli Zaretskii
2019-09-29  8:58       ` Andreas Schwab
2019-09-29 10:05         ` Lars Ingebrigtsen
2019-10-04 18:38           ` Göktuğ Kayaalp [this message]
2019-10-04 19:40             ` Eli Zaretskii
2020-08-10 14:02               ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ygm4l0omk47.fsf@gkayaalp.com \
    --to=self@gkayaalp.com \
    --cc=29550@debbugs.gnu.org \
    --cc=larsi@gnus.org \
    --cc=schwab@linux-m68k.org \
    --cc=stefan@marxist.se \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).