* [patch] Add more tracing (nnmail-plit-fancy)
@ 2002-08-10 11:23 Jari Aalto+mail.emacs
2002-12-29 23:22 ` Lars Magne Ingebrigtsen
0 siblings, 1 reply; 2+ messages in thread
From: Jari Aalto+mail.emacs @ 2002-08-10 11:23 UTC (permalink / 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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [patch] Add more tracing (nnmail-plit-fancy)
2002-08-10 11:23 [patch] Add more tracing (nnmail-plit-fancy) Jari Aalto+mail.emacs
@ 2002-12-29 23:22 ` Lars Magne Ingebrigtsen
0 siblings, 0 replies; 2+ messages in thread
From: Lars Magne Ingebrigtsen @ 2002-12-29 23:22 UTC (permalink / raw)
letters@hotpop.com (Jari Aalto+mail.emacs) writes:
> Asking tracing (B T) does not show anything if using ":"
> function split. Here is patch to add more tracing.
Thanks for the patch; I've applied it to Oort Gnus v0.08 (i. e., CVS).
--
(domestic pets only, the antidote for overdose, milk.)
larsi@gnus.org * Lars Magne Ingebrigtsen
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-12-29 23:22 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-08-10 11:23 [patch] Add more tracing (nnmail-plit-fancy) Jari Aalto+mail.emacs
2002-12-29 23:22 ` Lars Magne Ingebrigtsen
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).