From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Glenn Linderman Newsgroups: gmane.emacs.bugs Subject: bug#32581: 24.4; make recover-file a prompt instead of a warning Date: Fri, 12 Jul 2019 20:48:26 -0700 Message-ID: <81bd4ae4-60de-7a64-24e6-d6e43c89c13f@g.nevcal.com> References: <4cb978b3-9453-29c5-4757-4ef804bf5c54@g.nevcal.com> <87sgrazmc0.fsf@mouse.gnus.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="------------C5366F2179B85241ED90C797" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="110324"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 Cc: 32581@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jul 13 05:49: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 1hm925-000SX5-RX for geb-bug-gnu-emacs@m.gmane.org; Sat, 13 Jul 2019 05:49:09 +0200 Original-Received: from localhost ([::1]:53562 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hm923-000188-V3 for geb-bug-gnu-emacs@m.gmane.org; Fri, 12 Jul 2019 23:49:07 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56612) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hm920-000169-1U for bug-gnu-emacs@gnu.org; Fri, 12 Jul 2019 23:49:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hm91y-000460-Pq for bug-gnu-emacs@gnu.org; Fri, 12 Jul 2019 23:49:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:60681) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hm91y-00045g-L4 for bug-gnu-emacs@gnu.org; Fri, 12 Jul 2019 23:49:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hm91y-0003VI-Fu for bug-gnu-emacs@gnu.org; Fri, 12 Jul 2019 23:49:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Glenn Linderman Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 13 Jul 2019 03:49: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.156298972113437 (code B ref 32581); Sat, 13 Jul 2019 03:49:02 +0000 Original-Received: (at 32581) by debbugs.gnu.org; 13 Jul 2019 03:48:41 +0000 Original-Received: from localhost ([127.0.0.1]:41269 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hm91c-0003Ue-PP for submit@debbugs.gnu.org; Fri, 12 Jul 2019 23:48:41 -0400 Original-Received: from dragonfly.birch.relay.mailchannels.net ([23.83.209.51]:33355) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hm91b-0003UW-G2 for 32581@debbugs.gnu.org; Fri, 12 Jul 2019 23:48:40 -0400 X-Sender-Id: interserver|x-authuser|email@ywawy.com Original-Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 9DA863418C5; Sat, 13 Jul 2019 03:48:37 +0000 (UTC) Original-Received: from webhosting2025.is.cc (100-96-11-126.trex.outbound.svc.cluster.local [100.96.11.126]) (Authenticated sender: interserver) by relay.mailchannels.net (Postfix) with ESMTPA id 623B4341342; Sat, 13 Jul 2019 03:48:36 +0000 (UTC) X-Sender-Id: interserver|x-authuser|email@ywawy.com Original-Received: from webhosting2025.is.cc ([TEMPUNAVAIL]. [64.20.52.82]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.17.3); Sat, 13 Jul 2019 03:48:37 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: interserver|x-authuser|email@ywawy.com X-MailChannels-Auth-Id: interserver X-Befitting-Macabre: 5e258a67629ba61d_1562989717375_474773998 X-MC-Loop-Signature: 1562989717374:124094612 X-MC-Ingress-Time: 1562989717374 Original-Received: from [71.94.8.251] (port=64790 helo=[192.168.43.252]) by webhosting2025.is.cc with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.92) (envelope-from ) id 1hm91P-003Ah3-DB; Fri, 12 Jul 2019 23:48:29 -0400 In-Reply-To: <87sgrazmc0.fsf@mouse.gnus.org> Content-Language: en-US X-OutGoing-Spam-Status: No, score=-1.0 X-AuthUser: email@ywawy.com 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:162843 Archived-At: This is a multi-part message in MIME format. --------------C5366F2179B85241ED90C797 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit On 7/12/2019 7:42 PM, Lars Ingebrigtsen wrote: > Glenn Linderman writes: > >> I have emacs open a certain large file at boot-time startup, because >> the Python mode takes so long to parse it. So I guess I forgot to save >> last night, did a windows shutdown, and this morning my work wasn't >> there... but while emacs probably gave the warning, it was probably >> wiped out by the next warning from the Python mode, and I don't sit >> there and watch my computer boot up. So by the time I noticed stuff >> from last night was missing, the recover file had been rewritten with >> the new edits. > If I understand you correctly (and I may not), you're saying that when > you open a Python file that has an auto-saved file, then Emacs says that > an auto-saved file exists... and then Python mode issues a message that > overwrites that message? > > What is that Python-mode message? > 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." And I find the following line in my .emacs file: (add-to-list 'load-path "d:/my/py/emacs/python-mode.el-6.1.1") --------------C5366F2179B85241ED90C797 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit
On 7/12/2019 7:42 PM, Lars Ingebrigtsen wrote:
Glenn Linderman <v+python@g.nevcal.com> writes:

I have emacs open a certain large file at boot-time startup, because
the Python mode takes so long to parse it. So I guess I forgot to save
last night, did a windows shutdown, and this morning my work wasn't
there... but while emacs probably gave the warning, it was probably
wiped out by the next warning from the Python mode, and I don't sit
there and watch my computer boot up.  So by the time I noticed stuff
from last night was missing, the recover file had been rewritten with
the new edits.
If I understand you correctly (and I may not), you're saying that when
you open a Python file that has an auto-saved file, then Emacs says that
an auto-saved file exists...  and then Python mode issues a message that
overwrites that message?

What is that Python-mode message?


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."

And I find the following line in my .emacs file:

(add-to-list 'load-path "d:/my/py/emacs/python-mode.el-6.1.1")
--------------C5366F2179B85241ED90C797--