Lars Magne Ingebrigtsen <[EMAIL PROTECTED]> writes:

>Timo Lilja <[EMAIL PROTECTED]> writes:
>
>> Nope, It didn't work for me but I modified it a bit and now it works:
>
>Could you send me a diff against the current sources?

Okey, here is the diff against the latest CVS:

Index: mail-source.el
===================================================================
RCS file: /usr/local/cvsroot/gnus/lisp/mail-source.el,v
retrieving revision 7.17
diff -u -r7.17 mail-source.el5A
--- mail-source.el      30 Apr 2006 09:44:06 -0000      7.17
+++ mail-source.el      13 May 2006 17:02:32 -0000
@@ -685,13 +685,16 @@
       (setq script (substring script 0 (match-beginning 0))
            background 0))
     (setq result
-         (call-process shell-file-name nil background nil
+         (call-process shell-file-name nil stderr nil
                        shell-command-switch script))
-    (when (and result
+    (if (and result
               (not (zerop result)))
-      (set-buffer stderr)
-      (message "Mail source error: %s" (buffer-string)))
-    (kill-buffer stderr)))
+       (progn
+         (split-window-vertically)
+         (other-window 1)
+         (switch-to-buffer stderr)
+         (message "Mail source error: %s" (buffer-string)))
+      (kill-buffer stderr))))
 
 ;;;
 ;;; Different fetchers


Just occured to me that using routines from gnus-win.el might make
this task a bit easier.

-- 
Timo Lilja

"It's a 106 miles to Chicago. We've got a full tank of gas, 
half a pack of cigarettes, it's dark, and we're wearing sunglasses."
_______________________________________________
info-gnus-english mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/info-gnus-english

Reply via email to