Gnus development mailing list
 help / color / mirror / Atom feed
From: letters@hotpop.com (Jari Aalto+mail.emacs)
Subject: [patch] Add more tracing (nnmail-plit-fancy)
Date: Sat, 10 Aug 2002 14:23:56 +0300	[thread overview]
Message-ID: <vg6j2bzn.fsf@blue.sea.net> (raw)


    Asking tracing (B T) does not show anything if using ":"
    function split. Here is patch to add more tracing.

Index: nnmail.el
===================================================================
RCS file: /usr/local/cvsroot/gnus/lisp/nnmail.el,v
retrieving revision 6.47
diff -u -IId: -u -b -w -r6.47 nnmail.el
--- nnmail.el	2002/07/21 09:07:21	6.47
+++ nnmail.el	2002/08/10 11:45:35
@@ -1048,7 +1048,8 @@
 			   '("bogus"))
 		     (error
 		      (nnheader-message
-		       5 "Error in `nnmail-split-methods'; using `bogus' mail group")
+		       5 "Error in `nnmail-split-methods'; using `bogus' mail group [%s]"
+		       (prin1-to-string funcall))
 		      (sit-for 1)
 		      '("bogus")))))
 	      (setq split (gnus-remove-duplicates split))
@@ -1271,6 +1272,8 @@
 
      ;; Builtin : operation.
      ((eq (car split) ':)
+      (when nnmail-split-tracing
+	(push split nnmail-split-trace))
       (nnmail-split-it (save-excursion (eval (cdr split)))))
 
      ;; Builtin ! operation.
Index: ChangeLog
===================================================================
RCS file: /usr/local/cvsroot/gnus/lisp/ChangeLog,v
retrieving revision 6.1470
diff -u -IId: -u -b -w -r6.1470 ChangeLog
--- ChangeLog	2002/08/09 20:51:47	6.1470
+++ ChangeLog	2002/08/10 11:45:43
@@ -1,3 +1,8 @@
+2002-08-10  Jari Aalto  <jari.aalto@poboxes.com>
+
+	* nnmail.el (nnmail-split-it): Added tracing to
+	`:' split rule
+
 2002-08-09  Simon Josefsson  <jas@extundo.com>
 
 	* message.el (message-canlock-password): Set




-- 
http://tiny-tools.sourceforge.net/
Swatch  @time http://www.ryanthiessen.com/swatch/resources.htm
Convert @time http://www.mir.com.my/iTime/itime.htm




             reply	other threads:[~2002-08-10 11:23 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-08-10 11:23 Jari Aalto+mail.emacs [this message]
2002-12-29 23:22 ` Lars Magne Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=vg6j2bzn.fsf@blue.sea.net \
    --to=letters@hotpop.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).