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#32581: 24.4; make recover-file a prompt instead of a warning Date: Sun, 14 Jul 2019 14:50:46 +0200 Message-ID: References: <4cb978b3-9453-29c5-4757-4ef804bf5c54@g.nevcal.com> <87sgrazmc0.fsf@mouse.gnus.org> <81bd4ae4-60de-7a64-24e6-d6e43c89c13f@g.nevcal.com> <7128dbb2-de2c-45e2-2cd6-fd55bc8bb6ab@g.nevcal.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="107439"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: 32581@debbugs.gnu.org To: Glenn Linderman Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jul 14 14:51:17 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 1hmdyE-000Rdi-G7 for geb-bug-gnu-emacs@m.gmane.org; Sun, 14 Jul 2019 14:51:14 +0200 Original-Received: from localhost ([::1]:60334 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hmdy6-0002WK-Qg for geb-bug-gnu-emacs@m.gmane.org; Sun, 14 Jul 2019 08:51:06 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53986) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hmdy4-0002WD-Ca for bug-gnu-emacs@gnu.org; Sun, 14 Jul 2019 08:51:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hmdy2-0001Cd-TL for bug-gnu-emacs@gnu.org; Sun, 14 Jul 2019 08:51:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:35152) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hmdy2-0001C1-GU for bug-gnu-emacs@gnu.org; Sun, 14 Jul 2019 08:51:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hmdy2-0001oq-CZ for bug-gnu-emacs@gnu.org; Sun, 14 Jul 2019 08:51:02 -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, 14 Jul 2019 12:51:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 32581 X-GNU-PR-Package: emacs Original-Received: via spool by 32581-submit@debbugs.gnu.org id=B32581.15631086546978 (code B ref 32581); Sun, 14 Jul 2019 12:51:02 +0000 Original-Received: (at 32581) by debbugs.gnu.org; 14 Jul 2019 12:50:54 +0000 Original-Received: from localhost ([127.0.0.1]:43973 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hmdxt-0001oU-PQ for submit@debbugs.gnu.org; Sun, 14 Jul 2019 08:50:54 -0400 Original-Received: from quimby.gnus.org ([80.91.231.51]:51332) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hmdxr-0001oL-OG for 32581@debbugs.gnu.org; Sun, 14 Jul 2019 08:50:52 -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 1hmdxm-0002Ih-V8; Sun, 14 Jul 2019 14:50:49 +0200 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAElBMVEXc2t729vkiHR+9sreO dn/q6u5/N+tPAAACWElEQVQ4jV3TzZKbMAwAYBHjO56E+45x70pk7tRS7zhE7/8qlQmbpWUyOfiz /CPJAF5VH5HR9zHeQxiIHCJ5eEPixW8ldgaLA6IGNq7PKX95la/ZgB3NM36gLJwL4fdS2BlsXp9c KPnXC8OG3oBci3jNesmpT7OuXbj+Rocz093gOWt5TP0kvt7DFYVoYereEXLhXpKvXRhW0NXXMTRY lC8L5tTVGj7fDitnWoTCuFY9wbZcEfokc1AH3Rm+tOomdB/tyifwtpR6nwlWYv4fAFZBRyIngMsC q8MtIuUsc/2Bh13ZQS9MkjOeoKC2WxXqf+VMn6XIoK5YSagACdcw7vtAkojqyNvGfwbb3oewXxJi jGxhFTIHdE6sJOMHiMnrwuuMTpbjwA2SCKFbyA69Frn/QIxWg8uU6fpnKGU+Q+TuNl3Fy1DicloK tYZrugqzK5HrNyzWKHaU2A2ZucTpgMywQyg85CVbfPd9c4M2qaTxIZLKB9Ay3+ARl76I5PQ+FtiO 1r7VG/BWZOoTHhFWOqc4G0gmQfiAjTtvXXsp0lLgE9UDMuXZcnqLIsJYZa/VCNnSYZsYiJWWfoAI iWYN9WULCUHYYVSwlNtPtb7aOPoxGYzagBnb63nZDFvpNoFF7ED2Fi0kS9utPhmOiGwTiXWVVkio D7b+1QZtIpLaUdtS3pLtRz0i0Po02bhdb4gWpTu0edaOCfbnfUv/gBUugWvwTNYwo+4poVysvhO0 zz8msiLUPbvl6IcW4qOgfyfxGN4F/Wb/em6ftxBcDHzYk3iCKBBTu3iDv5httvTR+ZAeAAAAAElF TkSuQmCC In-Reply-To: <7128dbb2-de2c-45e2-2cd6-fd55bc8bb6ab@g.nevcal.com> (Glenn Linderman's message of "Sat, 13 Jul 2019 19:10:56 -0700") 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:162976 Archived-At: Glenn Linderman writes: > This is a very interesting idea. It is only when you go to edit that > you would lose the auto-save file, so that would be a "last-chance" to > retrieve your data, and you would be interacting with the file at that > point anyway, so a forced interaction would be less intrusive than at > load time. Yes, I think that warning about the auto-saved file when you try to edit the new file has possibilities... I'm wondering whether there would be any adverse effects somehow. Emacs has a number of things that warn about editing files -- that it's changed on disk, or that another Emacs process has the file locked, and now checking for auto-saved files in the same area would perhaps add unforeseen complications. But perhaps we should just try and see what it feels like in practice. > My thought was more along the lines of some sort of message priority, where > informational messages like the abbrev-file-name warning could not override a > more important message... Of course, everyone thinks there message is most > important, so that might be difficult to enforce or rank. We do have a very primitive sort of message priority -- i.e., we have some things that are so bad that we pop up the *Warnings* buffer. But I think that's too intrusive for auto-saved files. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no