From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Karl Fogel Newsgroups: gmane.emacs.devel,gmane.emacs.gnus.general Subject: Re: [PATCH] Better error reporting in Gnus splitting. Date: Wed, 19 Jul 2006 10:27:49 -0500 Message-ID: <87r70hiphm.fsf@floss.red-bean.com> References: <87d5c2jwy2.fsf@floss.red-bean.com> Reply-To: kfogel@red-bean.com NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1153330619 12126 80.91.229.2 (19 Jul 2006 17:36:59 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 19 Jul 2006 17:36:59 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jul 19 19:36:57 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1G3FyZ-0002cZ-Fu for ged-emacs-devel@m.gmane.org; Wed, 19 Jul 2006 19:36:47 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1G3FyY-0002F6-Va for ged-emacs-devel@m.gmane.org; Wed, 19 Jul 2006 13:36:46 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1G3FyO-0002En-Fj for emacs-devel@gnu.org; Wed, 19 Jul 2006 13:36:36 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1G3FyL-0002Dh-Di for emacs-devel@gnu.org; Wed, 19 Jul 2006 13:36:35 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1G3FyL-0002De-5n for emacs-devel@gnu.org; Wed, 19 Jul 2006 13:36:33 -0400 Original-Received: from [66.146.193.61] (helo=sanpietro.red-bean.com) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1G3FyL-0006DC-Kg for emacs-devel@gnu.org; Wed, 19 Jul 2006 13:36:33 -0400 Original-Received: from localhost ([127.0.0.1]:60717 helo=floss.red-bean.com) by sanpietro.red-bean.com with esmtp (Exim 4.62) (envelope-from ) id 1G3FyH-000865-A3; Wed, 19 Jul 2006 12:36:29 -0500 Original-To: Gnus Emacs: don't try this at home, kids. In-Reply-To: (Reiner Steib's message of "Wed, 19 Jul 2006 10:14:50 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:57344 gmane.emacs.gnus.general:63482 Archived-At: Reiner Steib writes: > On Wed, Jul 19 2006, Karl Fogel wrote: > >> Any objections if I commit this patch? > > I don't see a problem with it. Anyone? > >> Without this patch, when splitting encounters an error (say, an >> invalid regular expression) in the nnmail-split-fancy list, then the >> user is simply told that there is an error, but is given no details >> about the error's nature. The mail gets split into the 'bogus' mail >> group, and the user has no idea why. >> >> With this patch, the user is informed about the general nature of the >> error and may then be able to track it down. (The error report could >> theoretically be even more informative than this, but I didn't want to >> make a large change.) > > Would you like to post this version too? Oh, I don't have that version -- I just traced far enough in the code to know that it's possible. Unfortunately, I don't have time to write it right now, hence this smaller patch (which is likely to be a subset of the larger one anyway). -Karl