From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.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#34502: Ask yourself, am I generating a NEW .overview file? Date: Sun, 17 Feb 2019 03:26:37 +0800 Message-ID: <8736onzg9e.fsf@jidanni.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="124073"; mail-complaints-to="usenet@blaine.gmane.org" To: 34502@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Feb 16 20:32:22 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.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gv5hE-000W3g-Dm for geb-bug-gnu-emacs@m.gmane.org; Sat, 16 Feb 2019 20:32:21 +0100 Original-Received: from localhost ([127.0.0.1]:60160 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gv5hD-0004Q4-2x for geb-bug-gnu-emacs@m.gmane.org; Sat, 16 Feb 2019 14:32:19 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:50320) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gv5h3-0004O1-9Y for bug-gnu-emacs@gnu.org; Sat, 16 Feb 2019 14:32:10 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gv5gz-0005Zq-Is for bug-gnu-emacs@gnu.org; Sat, 16 Feb 2019 14:32:07 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:51247) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gv5gx-0005YZ-LZ for bug-gnu-emacs@gnu.org; Sat, 16 Feb 2019 14:32:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gv5gw-0001lm-HZ; Sat, 16 Feb 2019 14:32:02 -0500 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, bugs@gnus.org Resent-Date: Sat, 16 Feb 2019 19:32:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 34502 X-GNU-PR-Package: emacs,gnus X-Debbugs-Original-To: submit@debbugs.gnu.org (The Gnus Bugfixing Girls + Boys) Original-Received: via spool by submit@debbugs.gnu.org id=B.15503455136785 (code B ref -1); Sat, 16 Feb 2019 19:32:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 16 Feb 2019 19:31:53 +0000 Original-Received: from localhost ([127.0.0.1]:50526 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gv5gm-0001lL-Vu for submit@debbugs.gnu.org; Sat, 16 Feb 2019 14:31:53 -0500 Original-Received: from eastern.maple.relay.mailchannels.net ([23.83.214.55]:9887) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gv5gk-0001lC-8B for submit@debbugs.gnu.org; Sat, 16 Feb 2019 14:31:51 -0500 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 A0DA4429CF for ; Sat, 16 Feb 2019 19:31:48 +0000 (UTC) Original-Received: from pdx1-sub0-mail-a15.g.dreamhost.com (unknown [100.96.26.166]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 61A63430A9 for ; Sat, 16 Feb 2019 19:31:48 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jidanni@jidanni.org Original-Received: from pdx1-sub0-mail-a15.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.16.2); Sat, 16 Feb 2019 19:31:48 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jidanni@jidanni.org X-MailChannels-Auth-Id: dreamhost X-Little-Skirt: 1259ea9f22f12158_1550345508490_3747947332 X-MC-Loop-Signature: 1550345508490:2136511102 X-MC-Ingress-Time: 1550345508489 Original-Received: from pdx1-sub0-mail-a15.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a15.g.dreamhost.com (Postfix) with ESMTP id 2212B80021 for ; Sat, 16 Feb 2019 11:31:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jidanni.org; h=from:to :subject:date:message-id:mime-version:content-type :content-transfer-encoding; s=jidanni.org; bh=qNfQfYpDFaAPLovFAY ak29ignu4=; b=llUhEUxBl1+esVw1H6DKuP9PJIG9PiZW5ipxVBEW2EUiJx6Z4j COV7uHg+TFeWAgfMJxfSZu7jJb9TSA6rHzSffAdQlzsjtU/rMPrjzbzC+9kWFRk4 RNdUXZzrp41vYyC7/C81TphADosD/4g1cAGZYlEVo/fcTV0OSQzhYGfok= Original-Received: from jidanni.org (114-41-29-30.dynamic-ip.hinet.net [114.41.29.30]) (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-a15.g.dreamhost.com (Postfix) with ESMTPSA id 70A8E8003C for ; Sat, 16 Feb 2019 11:31:47 -0800 (PST) X-DH-BACKEND: pdx1-sub0-mail-a15 X-VR-OUT-STATUS: OK X-VR-OUT-SCORE: 0 X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedtledruddtledguddvlecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucggtfgfnhhsuhgsshgtrhhisggvpdfftffgtefojffquffvnecuuegrihhlohhuthemuceftddtnecunecujfgurhephffvufffkfggtgfgsehtkeertddttdejnecuhfhrohhmpejnnjjnucffrghnucflrggtohgsshhonhcuoehjihgurghnnhhisehjihgurghnnhhirdhorhhgqeenucfkphepuddugedrgedurddvledrfedtnecurfgrrhgrmhepmhhouggvpehsmhhtphdphhgvlhhopehjihgurghnnhhirdhorhhgpdhinhgvthepuddugedrgedurddvledrfedtpdhrvghtuhhrnhdqphgrthhhpeeprehuthhfqdekreeureehiehmpfehnfhiheehsgevkeerpecuffgrnhculfgrtghosghsohhnuceojhhiuggrnhhnihesjhhiuggrnhhnihdrohhrgheqpdhmrghilhhfrhhomhepjhhiuggrnhhnihesjhhiuggrnhhnihdrohhrghdpnhhrtghpthhtohepshhusghmihhtseguvggssghughhsrdhgnhhurdhorhhgnecuvehluhhsthgvrhfuihiivgeptd 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:155458 Archived-At: nnml bug: 1. exit emacs 2. remove an .overview file. (Say it was corrupted. Or mom didn't like it, whatever. State secrets, you know.) 3. start emacs and gnus. etc. All is OK. 1. exit emacs 2. remove an .overview file. 3. send yourself a mail 4. start emacs and gnus... upon entering the group, the new overview file is generated only *containing only that new mail*. The user is shocked to see all his other mail is "lost forever" there is the *Summary* buffer. Workaroud: first "you should regenerate them by entering the server buffer using =E2=80=98= ^=E2=80=99, and then =E2=80=98g=E2=80=99 on the appropriate mail server (e.g., nnml) to cause regeneration." So, bug: when gnus regenerates overview files on its own, if it finds a new mail, it only uses that, not noticing all the existing mails. It first needs to ask itself: "am I, ho-hum, appending to an existing .ov= erview file, or gosh-once-in-a-lifetime fresh generating it for the first time?"= So it should look first, if it finds no .overview file, it had better regenerate it first before incorporating any new mail! Thanks! What's worse about this bug is gnus will work great for days, months, wit= h no .overview file for that group. Until one fateful day, when the user receives a new mail. And "KABAM", all his messages except that new mail are suddenly gone. No ESC 99999 RET entering the group will retrieve them back into the *Summary* buffer etc. Sure, you could say it is his own "fault" for removing the .overview file without asking grandma, and (seemingly) losing all his mails is proper "punishment" for the crime, case closed. But you could simply always check first: does the .overview file I am about to cheerily append to exist in the first place? Gnus v5.13 GNU Emacs 26.1 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.24.4) of 2019-02-03, modified by Debian