From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Barry Fishman Newsgroups: gmane.emacs.devel Subject: Re: After Jan 30 update, gnus nnmh marks all messages unread when entering group Date: Tue, 16 Feb 2021 23:06:22 -0500 Message-ID: <7npn0zibi9.fsf@ecube.ecubist.org> References: <7nczx0ov5k.fsf@ecube.ecubist.org> <87k0r7smm5.fsf@gnus.org> <7nh7mbsjww.fsf@ecube.ecubist.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24462"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) To: emacs-devel@gnu.org Cancel-Lock: sha1:QwyrmpT1GJTS7IFJwKioCh9mDS0= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Feb 17 05:07:37 2021 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lCE7k-0006GQ-P4 for ged-emacs-devel@m.gmane-mx.org; Wed, 17 Feb 2021 05:07:36 +0100 Original-Received: from localhost ([::1]:35740 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lCE7j-0007xz-R6 for ged-emacs-devel@m.gmane-mx.org; Tue, 16 Feb 2021 23:07:35 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38916) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lCE6l-0007VH-N7 for emacs-devel@gnu.org; Tue, 16 Feb 2021 23:06:35 -0500 Original-Received: from ciao.gmane.io ([116.202.254.214]:51072) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lCE6j-0002I3-54 for emacs-devel@gnu.org; Tue, 16 Feb 2021 23:06:35 -0500 Original-Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1lCE6e-0004pL-24 for emacs-devel@gnu.org; Wed, 17 Feb 2021 05:06:28 +0100 X-Injected-Via-Gmane: http://gmane.org/ Received-SPF: pass client-ip=116.202.254.214; envelope-from=ged-emacs-devel@m.gmane-mx.org; helo=ciao.gmane.io X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.249, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:264976 Archived-At: On 2021-02-16 17:54:39 -05, Barry Fishman wrote: > On 2021-02-16 22:56:18 +01, Lars Ingebrigtsen wrote: >> Barry Fishman writes: >> >>> When entering a nnmh group, all the already read articles are shown. >>> This does not seem to happen with the nnimap and nntp backends that I >>> also use. >> >> You don't say what version of Emacs you're using, but I'm unable to >> reproduce this in the current Emacs 28. > > Oh... :-( > > This is on the master branch. I had thought it was simply a lexical > binding issue, since it was triggered with the gnus lexical binding > commit, and my other issues with it were fixed in updates (like the > gnus-article-browse-html-parts fix). > > However, now using an "emacs -q" and doing a simple setq gnus-select-method, > things work OK. I will have to do some bisecting of my own setup. It turns out that the problem is that I do: (setq nnmh-be-safe t) I did this because I use NMH from the command line to move and delete messages, and repack folders, and I thought it would be needed so gnus would not get confused. Was I wrong? After the update, however, with nnmh-be-safe set, gnus just decides that all the messages in the folder are unread. -- Barry Fishman