Gnus development mailing list
 help / color / mirror / Atom feed
From: Katsumi Yamaoka <yamaoka@jpl.org>
Subject: Re: spam.el and missing functions
Date: Thu, 17 Oct 2002 18:24:30 +0900	[thread overview]
Message-ID: <yotllm4xju41.fsf@jpl.org> (raw)
In-Reply-To: <m3y9999elt.fsf@heechee.beld.net>

[-- Attachment #1: Type: text/plain, Size: 258 bytes --]

Hi,

>>>>> In <m3y9999elt.fsf@heechee.beld.net>
>>>>>	Ted Zlatanov <tzz@lifelogs.com> wrote:

> (summary: BBDB problems fixed, I need help with locate-file and
> display-message-or-buffer)

Here's a replacement for display-message-or-buffer.  How about it?


[-- Attachment #2: Type: application/emacs-lisp, Size: 439 bytes --]

[-- Attachment #3: Type: text/plain, Size: 1 bytes --]



[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #4: Type: text/x-patch, Size: 509 bytes --]

--- spam.el~	2002-10-14 21:52:48 +0000
+++ spam.el	2002-10-17 09:22:50 +0000
@@ -469,9 +469,7 @@
     (spam-bogofilter-articles nil "-v" (list (gnus-summary-article-number)))
     (save-excursion
       (set-buffer spam-output-buffer-name)
-      (unless (= (point-min) (point-max))
-	(display-message-or-buffer (current-buffer)
-				   spam-output-buffer-name)))))
+      (spam-display-buffer-contents))))
 
 (defun spam-bogofilter-register-routine ()
   (when (and spam-use-bogofilter spam-bogofilter-path)

  parent reply	other threads:[~2002-10-17  9:24 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-08 12:21 Katsumi Yamaoka
2002-10-08 14:42 ` Ted Zlatanov
2002-10-08 23:38   ` Jesper Harder
2002-10-08 23:57     ` François Pinard
2002-10-09  1:35       ` Jesper Harder
2002-10-09 14:54     ` Ted Zlatanov
2002-10-09  1:02   ` Katsumi Yamaoka
2002-10-09 14:53     ` Ted Zlatanov
2002-10-09 23:09       ` Alex Schroeder
2002-10-17  9:24   ` Katsumi Yamaoka [this message]
2002-10-18  1:31     ` Ted Zlatanov
2002-10-18  1:47       ` Katsumi Yamaoka

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=yotllm4xju41.fsf@jpl.org \
    --to=yamaoka@jpl.org \
    /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).