>>>>> Gabor Z. Papp wrote: > Thanks, seems like ok. Thank you for verifying it. > Only one problem left, earlier with the code below I was able to > mark more articles and pipe them one by one in batch: > (defun gzp-pipe-spam (&optional n) > (interactive "P") > (let* ( (pipe (format "cat | /path/to/cmd")) > ) > (save-excursion > (dolist (article (gnus-summary-work-articles n)) > (gnus-summary-goto-subject article) > (gnus-summary-show-raw-article) > (gnus-summary-save-in-pipe :decode nil) > (gnus-summary-save-in-pipe pipe) > (gnus-summary-show-article) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ Isn't it unnecessary? > ))) > (gnus-summary-expand-window)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ That's a good idea. > The current code does only one article even I mark more. > I can't fix it, could someone help? :-) Ok. Could you try this one?