From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "David J. Biesack" Newsgroups: gmane.emacs.bugs Subject: bug#4448: 23.1; unrmail fails if buffer has mixed line endings (patch) Date: Thu, 17 Sep 2009 08:58:10 -0400 Message-ID: References: <837hvyyfkd.fsf@gnu.org> <83zl8uwrx3.fsf@gnu.org> Reply-To: "David J. Biesack" , 4448@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1253192965 16651 80.91.229.12 (17 Sep 2009 13:09:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 17 Sep 2009 13:09:25 +0000 (UTC) Cc: 4448@emacsbugs.donarmstrong.com To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Sep 17 15:09:17 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 1MoGjc-0004nF-DQ for geb-bug-gnu-emacs@m.gmane.org; Thu, 17 Sep 2009 15:09:16 +0200 Original-Received: from localhost ([127.0.0.1]:40810 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MoGjb-0004Sm-Ge for geb-bug-gnu-emacs@m.gmane.org; Thu, 17 Sep 2009 09:09:15 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MoGhZ-0003QM-Um for bug-gnu-emacs@gnu.org; Thu, 17 Sep 2009 09:07:09 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MoGhV-0003O6-8R for bug-gnu-emacs@gnu.org; Thu, 17 Sep 2009 09:07:09 -0400 Original-Received: from [199.232.76.173] (port=43621 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MoGhU-0003Ns-W1 for bug-gnu-emacs@gnu.org; Thu, 17 Sep 2009 09:07:05 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:53662) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MoGhU-0000wB-Ox for bug-gnu-emacs@gnu.org; Thu, 17 Sep 2009 09:07:05 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n8HD71tg016398; Thu, 17 Sep 2009 06:07:01 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n8HD54SY015476; Thu, 17 Sep 2009 06:05:04 -0700 Resent-Date: Thu, 17 Sep 2009 06:05:04 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: "David J. Biesack" Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Thu, 17 Sep 2009 13:05:04 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 4448 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 4448-submit@emacsbugs.donarmstrong.com id=B4448.125319230014466 (code B ref 4448); Thu, 17 Sep 2009 13:05:04 +0000 Original-Received: (at 4448) by emacsbugs.donarmstrong.com; 17 Sep 2009 12:58:20 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from mercav16.na.sas.com (mercav16.na.sas.com [149.173.6.153]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n8HCwIBS014463 for <4448@emacsbugs.donarmstrong.com>; Thu, 17 Sep 2009 05:58:19 -0700 X-TM-IMSS-Message-ID: <0e5b60aa00027bfa@mercav16.na.sas.com> Original-Received: from d16922.us.sas.com ([10.40.12.239]) by mercav16.na.sas.com ([10.19.9.246]) with ESMTP (TREND IMSS SMTP Service 7.0) id 0e5b60aa00027bfa ; Thu, 17 Sep 2009 08:58:10 -0400 In-reply-to: <83zl8uwrx3.fsf@gnu.org> (message from Eli Zaretskii on Wed, 16 Sep 2009 23:33:44 +0300) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Thu, 17 Sep 2009 09:07:09 -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:31164 Archived-At: > Date: Wed, 16 Sep 2009 23:33:44 +0300 > From: Eli Zaretskii > CC: <4448@emacsbugs.donarmstrong.com> > > > If you have to modify the code to detect the situation and generate an more meaningful error message, there should be clear instructions on how to fix it.... which is still not very friendly. > > Run it through dos2unix or "flip -u", or even find-file-literally in > Emacs, then remove all ^M characters and save. Yes, I know how to convert; I have an elisp function named ^m that does this, but it's an annoyance and it is unknown how many other users will encounter this. Again, I assert that if Emacs created rmail files with ^m in them, then Emacs should repair them, especially if Emacs forces mbox conversion. -- David J. Biesack, SAS SAS Campus Dr. Cary, NC 27513 www.sas.com (919) 531-7771