From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson Newsgroups: gmane.emacs.bugs Subject: bug#43884: Give explanation choice when asking about reverting buffers Date: Sat, 10 Oct 2020 00:04:41 +0800 Message-ID: <87lfgfo06e.5.fsf@jidanni.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1673"; mail-complaints-to="usenet@ciao.gmane.io" To: 43884@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Oct 09 18:15:41 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kQv3P-000Aed-O0 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 09 Oct 2020 18:15:36 +0200 Original-Received: from localhost ([::1]:56636 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kQv3O-0003GP-MI for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 09 Oct 2020 12:15:34 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59740) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kQutE-0007EF-Oq for bug-gnu-emacs@gnu.org; Fri, 09 Oct 2020 12:05:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:52783) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kQutC-0001Ye-2Q for bug-gnu-emacs@gnu.org; Fri, 09 Oct 2020 12:05:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kQutB-0008Vr-ST for bug-gnu-emacs@gnu.org; Fri, 09 Oct 2020 12:05:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 09 Oct 2020 16:05:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 43884 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.160225949732706 (code B ref -1); Fri, 09 Oct 2020 16:05:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 9 Oct 2020 16:04:57 +0000 Original-Received: from localhost ([127.0.0.1]:36096 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kQut6-0008VS-Rw for submit@debbugs.gnu.org; Fri, 09 Oct 2020 12:04:57 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:42856) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kQut4-0008VJ-1U for submit@debbugs.gnu.org; Fri, 09 Oct 2020 12:04:55 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59712) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kQut3-0006w4-Rx for bug-gnu-emacs@gnu.org; Fri, 09 Oct 2020 12:04:53 -0400 Original-Received: from lavender.maple.relay.mailchannels.net ([23.83.214.99]:34963) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kQut1-0001WB-GK for bug-gnu-emacs@gnu.org; Fri, 09 Oct 2020 12:04:53 -0400 X-Sender-Id: dreamhost|x-authsender|jidanni@jidanni.org Original-Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id EE59D361E6F for ; Fri, 9 Oct 2020 16:04:48 +0000 (UTC) Original-Received: from pdx1-sub0-mail-a90.g.dreamhost.com (100-96-5-167.trex.outbound.svc.cluster.local [100.96.5.167]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 215F8361ECE for ; Fri, 9 Oct 2020 16:04:48 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jidanni@jidanni.org Original-Received: from pdx1-sub0-mail-a90.g.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.18.10); Fri, 09 Oct 2020 16:04:48 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jidanni@jidanni.org X-MailChannels-Auth-Id: dreamhost X-Suffer-Name: 2361c4af05d1de76_1602259488386_1088285166 X-MC-Loop-Signature: 1602259488386:811518983 X-MC-Ingress-Time: 1602259488386 Original-Received: from pdx1-sub0-mail-a90.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a90.g.dreamhost.com (Postfix) with ESMTP id 39E6D7F1C7 for ; Fri, 9 Oct 2020 09:04:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jidanni.org; h=from:to :subject:date:message-id:mime-version:content-type; s= jidanni.org; bh=wMXJCEbcCw9+1mD32WAusP/0c2Q=; b=LwVShUnnzU+GsTKT 6jw+1EdXo5KZK5c2oLXMsG4oF+N7KMbYJEUfDI+Px0xzq0Hy2tBkokNW+cjDAPta Ip+bSjwEUosvVEoaiattbIPmVhMP4RaG7uxUDfQM78e7A6SqtfF3UMmmpuHgX2dl WW/oC4btbaAo+8p1+MBb8U/SBFM= Original-Received: from jidanni.org (1-170-81-50.dynamic-ip.hinet.net [1.170.81.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: jidanni@jidanni.org) by pdx1-sub0-mail-a90.g.dreamhost.com (Postfix) with ESMTPSA id 45B8A7F188 for ; Fri, 9 Oct 2020 09:04:46 -0700 (PDT) X-DH-BACKEND: pdx1-sub0-mail-a90 X-VR-OUT-STATUS: OK X-VR-OUT-SCORE: 0 X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedujedrhedugdelkecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucggtfgfnhhsuhgsshgtrhhisggvpdfftffgtefojffquffvnecuuegrihhlohhuthemuceftddtnecunecujfgurhephffvufffkfggtgesthdtredttddtjeenucfhrhhomhepnjjnnjcuffgrnhculfgrtghosghsohhnuceojhhiuggrnhhnihesjhhiuggrnhhnihdrohhrgheqnecuggftrfgrthhtvghrnheptefghfeffeehudelteeftedvueduleffueeivdegvdetleejtedvudevtddttefgnecuffhomhgrihhnpehgnhhurdhorhhgnecukfhppedurddujedtrdekuddrhedtnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmohguvgepshhmthhppdhhvghlohepjhhiuggrnhhnihdrohhrghdpihhnvghtpedurddujedtrdekuddrhedtpdhrvghtuhhrnhdqphgrthhhpeeprehuthhfqdekreeureehiehmpfehnfhiheehsgevkeerpecuffgrnhculfgrtghosghsohhnuceojhhiuggrnhhnihesjhhiuggrnhhnihdrohhrgheqpdhmrghilhhfrhhomhepjhhiuggrnhhnihesjhhiuggrnhhnihdr ohhrghdpnhhrtghpthhtohepsghughdqghhnuhdqvghmrggtshesghhnuhdrohhrgh Received-SPF: pass client-ip=23.83.214.99; envelope-from=jidanni@jidanni.org; helo=lavender.maple.relay.mailchannels.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/10/09 12:04:49 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:190170 Archived-At: Revert buffer from file /cf/updates/TABZ? (yes or no) ? Sounds serious. How about adding a "?" option that would tell the user what that means: Revert buffer from file /cf/updates/TABZ? (yes or no or ?) ? So if he hits "?" a *Help* buffer would appear telling him the serious consequences of each of the two choices. After looking at http://www.gnu.org/software/emacs/manual/html_node/emacs/Reverting.html we see the message should say "Yes: Throw away the changes you made in the buffer and replace them with the saved version of the file from disk."