From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.bugs Subject: bug#2941: rmail's new handling of Babyl files is odd Date: Fri, 10 Apr 2009 13:50:42 -0400 Message-ID: References: Reply-To: Glenn Morris , 2941@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1239386687 16458 80.91.229.12 (10 Apr 2009 18:04:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 10 Apr 2009 18:04:47 +0000 (UTC) Cc: 2941@emacsbugs.donarmstrong.com To: rms@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Apr 10 20:06:04 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LsL73-0001J0-Jh for geb-bug-gnu-emacs@m.gmane.org; Fri, 10 Apr 2009 20:06:02 +0200 Original-Received: from localhost ([127.0.0.1]:43161 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LsL5e-0006Zv-Qd for geb-bug-gnu-emacs@m.gmane.org; Fri, 10 Apr 2009 14:04:34 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LsL55-0006Er-9L for bug-gnu-emacs@gnu.org; Fri, 10 Apr 2009 14:03:59 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LsL50-0006B9-2k for bug-gnu-emacs@gnu.org; Fri, 10 Apr 2009 14:03:58 -0400 Original-Received: from [199.232.76.173] (port=43694 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LsL4z-0006Az-P2 for bug-gnu-emacs@gnu.org; Fri, 10 Apr 2009 14:03:53 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:39694) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LsL4y-0003H7-RS for bug-gnu-emacs@gnu.org; Fri, 10 Apr 2009 14:03:53 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n3AI3neY027433; Fri, 10 Apr 2009 11:03:50 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n3AHt4ps024449; Fri, 10 Apr 2009 10:55:04 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Glenn Morris Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Fri, 10 Apr 2009 17:55:03 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 2941 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 2941-submit@emacsbugs.donarmstrong.com id=B2941.123938585424011 (code B ref 2941); Fri, 10 Apr 2009 17:55:03 +0000 Original-Received: (at 2941) by emacsbugs.donarmstrong.com; 10 Apr 2009 17:50:54 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n3AHoj8f023991 for <2941@emacsbugs.donarmstrong.com>; Fri, 10 Apr 2009 10:50:46 -0700 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1LsKsF-0001Nl-2I; Fri, 10 Apr 2009 13:50:43 -0400 X-Spook: mindwar Hamas 22nd SAS bank cybercash ASLET Bosnia X-Ran: Hlt_q~P?Y,.Q]c`|w.'L|jN;0vq![)aEpGAo?kdtL35nw.}4%fNc3ZVl=B3C*e$vTN6obA X-Hue: green X-Attribution: GM In-Reply-To: (Richard M. Stallman's message of "Fri, 10 Apr 2009 10:26:33 -0400") User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Fri, 10 Apr 2009 14:03:58 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:27066 Archived-At: Richard M Stallman wrote: > There is no way to ask for confirmation when saving a file. write-file-functions? It seems wrong to me that now I can end up converting a Babyl file to mbox with no prompting at all. > Editing the message should be major; I overlooked that one. > Please try the patch below. It prompts me when I abort an edit, which is inappropriate. Aborting an edit does not modify the file. If I answer "no" to the prompt, I'm stuck in the edit buffer, with no way to get back to the regular Rmail buffer. One can just kill the buffer and start again, but that is not obvious. > I decided to treat changes in labels as minor, because showing a > message clears the "unseen" attribute. Treating that as major implies > querying hen it shows an unseen message, which is typically just after > visiting the file. > > It would be possible to treat changes in "unseen" as minor > and changes in "deleted" as major, etc. You could easily distinguish user-defined labels from attributes. Or perhaps you should only treat "unseen" as minor.