From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Andreas =?UTF-8?Q?R=C3=B6hler?= Newsgroups: gmane.emacs.bugs Subject: bug#32581: 24.4; make recover-file a prompt instead of a warning Date: Sat, 13 Jul 2019 18:26:00 +0200 Message-ID: <6738fac4-f893-001c-2e40-cc4f241007d1@easy-emacs.de> References: <4cb978b3-9453-29c5-4757-4ef804bf5c54@g.nevcal.com> <87sgrazmc0.fsf@mouse.gnus.org> <81bd4ae4-60de-7a64-24e6-d6e43c89c13f@g.nevcal.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="261131"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Mozilla/5.0 (X11; Linux i686; rv:60.0) Gecko/20100101 Thunderbird/60.7.2 To: 32581@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jul 13 18:25:10 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 1hmKph-0015by-Ek for geb-bug-gnu-emacs@m.gmane.org; Sat, 13 Jul 2019 18:25:09 +0200 Original-Received: from localhost ([::1]:57256 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hmKpf-0007z0-Tu for geb-bug-gnu-emacs@m.gmane.org; Sat, 13 Jul 2019 12:25:07 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49793) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hmKpc-0007yt-Us for bug-gnu-emacs@gnu.org; Sat, 13 Jul 2019 12:25:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hmKpb-0007wZ-KL for bug-gnu-emacs@gnu.org; Sat, 13 Jul 2019 12:25:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:34435) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hmKpa-0007w3-Kf for bug-gnu-emacs@gnu.org; Sat, 13 Jul 2019 12:25:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hmKpa-0001mB-FG for bug-gnu-emacs@gnu.org; Sat, 13 Jul 2019 12:25:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Andreas =?UTF-8?Q?R=C3=B6hler?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 13 Jul 2019 16:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 32581 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.15630350586771 (code B ref -1); Sat, 13 Jul 2019 16:25:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 13 Jul 2019 16:24:18 +0000 Original-Received: from localhost ([127.0.0.1]:43256 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hmKor-0001l9-Qs for submit@debbugs.gnu.org; Sat, 13 Jul 2019 12:24:18 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:37587) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hmKop-0001l0-Oo for submit@debbugs.gnu.org; Sat, 13 Jul 2019 12:24:16 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49576) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hmKoo-0007ty-Ir for bug-gnu-emacs@gnu.org; Sat, 13 Jul 2019 12:24:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hmKon-0007NE-Da for bug-gnu-emacs@gnu.org; Sat, 13 Jul 2019 12:24:14 -0400 Original-Received: from mout.kundenserver.de ([212.227.17.13]:46469) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hmKon-0007GA-3U for bug-gnu-emacs@gnu.org; Sat, 13 Jul 2019 12:24:13 -0400 Original-Received: from [192.168.178.39] ([88.130.49.12]) by mrelayeu.kundenserver.de (mreue107 [212.227.15.183]) with ESMTPSA (Nemesis) id 1MXHBo-1hy0k62MPe-00Yhzw for ; Sat, 13 Jul 2019 18:24:04 +0200 In-Reply-To: Content-Language: en-US X-Provags-ID: V03:K1:TxKzUMVkrWT9BIWc1i31kbSQr324/kpva+sZ0Nd1Y1PnF8AbCTo 85pHJ4grX//3zz+1W/Spf1ot6VS7y+FlWeSeNhGMUWDgRDc7L6P11ku2jO6ND/Gap44YNll +5UW8W2ydyaf/V2k/NBZFnLgl7dNEXfJmc1hIHZW0L32auNxlsVAZ2VxUTfHWYe1lgXbLv0 X1s8iPXvqLD0kZNIbPXtw== X-UI-Out-Filterresults: notjunk:1;V03:K0:dVcaANCBurw=:TP3RWT2bM7jhPOsxBfA7OX L5Hol+ZlLaxYtNcoN3LBOrQClFRI8o2VH/bYbpKjnKQC5iWC9fjpfMIxJZ6NdLU13fRcPBGdf G30U1f366rztQKQISI6SSiLnJ7oXFa0YMc2XJSJyr84T5+JYVQq/f5sfm3oRlQTxFBcKGZ0Oo poo9rVn6jpBSRp1KqbAjqgyDU1hHMDfxr6bX3Z7qRouOY8nfqDYjqedLODFEO0j1+Hq7HIhNs MmabEyWOs2/k4/g3EXls48RMeRLn4jP6/+/M6DsLkEw1FN31YyxOfaWXgSnqfe08u1IvJEtK3 haW+v/vsVxPERRLK1CPO1EXMLv479EBKRGo5B2dtJxSkDQtQMi8CX4CoiGbwPZq9L4fWHOhHd 3zlx/TXLqTdl4cweQNSBvbDgYdNRMT45y6Oq6cw/4Nbf01koY160fwCiRF1a6rxH7A35HamzD Ugk3Rrp5iktY6IBKe1dgmp/0AaIdks7zsauLwA60pI1ex/l8jBYQIkN3aFQF+TZPBDNvwTTRq u3cweDtCnuvrUHOXpDlM0j0RLE/9QxTSVDA2A496nejRBkYE6XAEHIaDmaXk/UO1B5L/40DN8 QRRQaB0fGzi8JoTAA7DvWttbdAfLY/vyFyC2JHIv2ddJfnvO7pmc0XM27GS9D44N/1np3vXcC e7PSPK8uNs4Rk0su8Jj/t1lE32QAedNHbFF5U4++vemsybK0FFC7sA6R8vCfsGn5PSRZWDZYW 8p9XKqI1aafmn1eZaYSPyra732QEmJRLqW532ccsaIC9RRQMI2qWjt1iadxJfyi2APo27bPk X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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:162919 Archived-At: On 13.07.19 15:35, Lars Ingebrigtsen wrote: > Glenn Linderman writes: > >> I think you understood correctly. I'm not sure what version of which >> Python-mode I have, but could probably figure it out somehow (I love emacs, >> because it has extensions, but I'm not real good at writing or understanding >> elisp: I use other people's extensions, mostly, and a bit of cut-n-paste >> programming for a few more customizations). >> >> Probably the following message, that I get every time I open the file. >> >> "Warning: no abbrev-file found, customize `abbrev-file-name' in order to make >> mode-specific abbrevs work." > Right. Some modes are chatty at startup and hides warnings you're > interested in. > > It's perfectly valid to not want to load an autosaved file, and making > Emacs prompt would be an inconvenience, in my opinion. > > Perhaps Emacs should treat auto-saved files a bit more like what it does > with files that have changed? I.e., if you try to edit a file with an > auto-save file, it should prompt you something like "foo has auto save > data; really edit the buffer?" or something? > > Would that make sense? > Hi, python-mode.el developer here. As for the abbrev-file-name, assume that's a general warning from Emacs. Looking for the value of abbrev-file-name and creating a file of that name if not existing should silence that warning. Also auto-save issue seems not mode-related. BTW bug-reports are welcome at https://gitlab.com/python-mode-devs/python-mode/issues Best, Andreas