From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#25303: 24.5; `write-region' enhancement request for MUSTBENEW parameter Date: Sun, 28 Jul 2019 11:52:46 +0200 Message-ID: References: <9621f30d-6310-47d0-a85c-b8260fc1cf50@default> <87sgqrkb51.fsf@mouse.gnus.org> <3257e031-78dc-483b-98f9-77c54dfcc836@default> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="187170"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: 25303@debbugs.gnu.org To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jul 28 11:53: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 1hrfrd-000mZe-Dl for geb-bug-gnu-emacs@m.gmane.org; Sun, 28 Jul 2019 11:53:13 +0200 Original-Received: from localhost ([::1]:44286 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hrfrc-0001YE-H1 for geb-bug-gnu-emacs@m.gmane.org; Sun, 28 Jul 2019 05:53:12 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47038) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hrfrY-0001Y5-Hh for bug-gnu-emacs@gnu.org; Sun, 28 Jul 2019 05:53:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hrfrW-00045R-IK for bug-gnu-emacs@gnu.org; Sun, 28 Jul 2019 05:53:08 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:36932) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hrfrR-0003xP-Nk for bug-gnu-emacs@gnu.org; Sun, 28 Jul 2019 05:53:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hrfrR-0002p4-LD for bug-gnu-emacs@gnu.org; Sun, 28 Jul 2019 05:53:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 28 Jul 2019 09:53:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 25303 X-GNU-PR-Package: emacs Original-Received: via spool by 25303-submit@debbugs.gnu.org id=B25303.156430757210817 (code B ref 25303); Sun, 28 Jul 2019 09:53:01 +0000 Original-Received: (at 25303) by debbugs.gnu.org; 28 Jul 2019 09:52:52 +0000 Original-Received: from localhost ([127.0.0.1]:45750 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hrfrH-0002oP-Lp for submit@debbugs.gnu.org; Sun, 28 Jul 2019 05:52:51 -0400 Original-Received: from quimby.gnus.org ([80.91.231.51]:53052) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hrfrF-0002oH-Ks for 25303@debbugs.gnu.org; Sun, 28 Jul 2019 05:52:50 -0400 Original-Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=stories) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hrfrC-0002le-KG; Sun, 28 Jul 2019 11:52:48 +0200 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEUFAQE1GiULBgfm29Rd e7qBlcVaZ5hTQksa/fTYAAACXElEQVQ4jW3STXObMBAGYFm/wFIcdEXbxFzbUROfyazxueXrDObj apGA/n5XMmk9qdfjsfCjdyUEzN3UPNRDXw5hzG5huRmzDhGHAUfEjD7oL0MFoD8W/FJsnbK/Cx1m d+HUYfp0D9oO26d/y67QIzaIl132D8qCvqwvUSFud6cVCizLsig9VDvM4o+3K2RLeS2CdJedWJcG ODrR/4VpHlLetaF7pey8wrGArmu53xp1rwNURw+1xk7q4xRaENBvPXtokiIDXcC1t5A02wVok+oU 62oFKyjgU6yRuyKNVS09jABQGpu8G8OcjHCC/S9B8RpHRW2EyAmsmnsJUaoJ0hlPLhqFMwQS5gxg PwGBeMTKPlfzowdI+gpAWZ8wRYe9W8b3AKoYgSvhIf/Z+UNR5xXehI5k8lia8yud1hjWNkxHRQtK 0R4MAb0Wo5ABNvtikkrRNunqhaDZsoeQ+BhBait8whh6t5oL9yMmFgugtQ0Js2B2kpsAunGcIsL5 zZuhw0GrsEY0Sg0TqPGaIJAi3EfiJs0lwLXV4QOHCZYApQQea2H9tPKwDM5y5cH1wm6kcs7fbk6D xjLtj131Sm5ACOcTTgtlRczpRthSuyaRQigPsQYhxdb3Yuowt5G0yXJ+MS+ME2jJITc0XC6zpfM9 v9I0Rs9WC4AHGm7EVgmZqPxgzJbmAYUgIYhjxjno5QohIhnkLBRnG5f/MOayAocHtlai59qY3wGA DuKZWq2kpTHfWVjEp9hNJT0BgzjmAfzinwR+PfCpb+z/4rRLbe6Ar/ev8LmT2X3t8rkY/AHMjv4U xAw6pwAAAABJRU5ErkJggg== In-Reply-To: <3257e031-78dc-483b-98f9-77c54dfcc836@default> (Drew Adams's message of "Sat, 27 Jul 2019 10:02:49 -0700 (PDT)") 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:163935 Archived-At: Drew Adams writes: >> > If parameter MUSTBENEW is not `excl' and is non-nil then the user is >> > prompted to confirm overwriting. The enhancement would be that if >> > the value is a string then use that as the confirmation prompt. >> > >> > The would allow for more specific prompting, such as saying something >> > more than that the file exists - something that can help the user decide >> > whether to overwrite. >> >> I think that does make some sense, but do you have a specific scenario >> in mind? What kind of prompt would help the user more than the >> standard prompt here? > > I might have had a specific scenario in mind when > I filed the request 3 years ago, but if so it's > forgotten by now. ;-) Especially since there's > no real workaround to realize the requested > behavior easily. OK; closing this bug report. If somebody has a specific need for this, they'll open a new bug report. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no