From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: =?utf-8?Q?G=C3=B6ktu=C4=9F_Kayaalp?= Newsgroups: gmane.emacs.help Subject: Rmail does not mark buffer modified when unread message is shown Date: Sun, 06 May 2018 00:02:47 +0300 Message-ID: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1525554076 16736 195.159.176.226 (5 May 2018 21:01:16 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 5 May 2018 21:01:16 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat May 05 23:01:12 2018 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fF4Ip-0004DZ-Gx for geh-help-gnu-emacs@m.gmane.org; Sat, 05 May 2018 23:01:11 +0200 Original-Received: from localhost ([::1]:39958 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fF4Kw-0003EG-Fh for geh-help-gnu-emacs@m.gmane.org; Sat, 05 May 2018 17:03:22 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57262) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fF4KW-0003E6-GQ for help-gnu-emacs@gnu.org; Sat, 05 May 2018 17:02:57 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fF4KS-0004Mu-Jc for help-gnu-emacs@gnu.org; Sat, 05 May 2018 17:02:56 -0400 Original-Received: from relay5-d.mail.gandi.net ([217.70.183.197]:43775) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fF4KS-0004FW-D5 for help-gnu-emacs@gnu.org; Sat, 05 May 2018 17:02:52 -0400 X-Originating-IP: 176.217.159.224 Original-Received: from alpha.alpha (unknown [176.217.159.224]) (Authenticated sender: self@gkayaalp.com) by relay5-d.mail.gandi.net (Postfix) with ESMTPSA id 4E8401C0004 for ; Sat, 5 May 2018 23:02:49 +0200 (CEST) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 217.70.183.197 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:116654 Archived-At: I'm considering a switch to Rmail from Gnus. I've converted my nnml boxes to mboxes using a couple python scripts [1], and am fetching new mail via mpop. My Rmail configuraiton is found below. When browsing the Rmail buffer, after viewing unseen messages, the buffer is not marked modified, and neither =E2=80=98s=E2=80=99 nor =E2=80=98C-x C-s=E2=80=99 sav= e anythign. When I look at the Rmail header in the mbox itself, I see that the unseen attribute is not changed, it is always U (understandably given I can't save the buffer). The only way to actually preserve the changes is to manually toggle the buffer modified bit and hitting =E2=80=98s=E2=80=99. What is go= ing wrong? BTW I've narrowed the problem down to the last two ifs in =E2=80=98rmail-set-attribute=E2=80=99, the then branch of the outer one is = executed for a reason that IDK. And I've used Rmail with mpop before without problems. Rmail config: gk-mail-home is a path to a directory. (setf rmail-primary-inbox-list (list (getenv "MAIL") (expand-file-name "inbox" gk-mail-home)) rmail-secondary-file-directory gk-mail-home rmail-file-name (expand-file-name "current" gk-mail-home)) [1] nnml2mbox.py and splitmbox.py here: https://github.com/cadadr/configuration/tree/master/bin Thanks in advance! --=20 =C4=B0. G=C3=B6ktu=C4=9F Kayaalp 024C 30DD 597D 142B 49AC 40EB 465C D949 B101 2427