Gnus development mailing list
 help / color / mirror / Atom feed
From: Lars Magne Ingebrigtsen <larsi@gnus.org>
Subject: Re: Why `set-buffer summary' before `gnus-score-load-file'
Date: Sun, 29 Dec 2002 17:44:46 +0100	[thread overview]
Message-ID: <m3isxc22rl.fsf@quimbies.gnus.org> (raw)
In-Reply-To: <87r8fpc4yc.fsf@ID-56226.news.dfncis.de>

Micha Wiedenmann <mw-u1@gmx.de> writes:

> I want to use gnus-score-functions everywhere (eg in the *Group*
> Buffer). Thus it not necessarily exists a summary-buffer. But in
> `gnus-score.el' I often find code with (set-buffer gnus-summary-buffer)
> in front of a score function. 
>
> | (set-buffer gnus-summary-buffer)
> | (gnus-score-load-file ...
>
> | (set-buffer gnus-summary-buffer)
> | (gnus-summary-score-entry
>
> Why is this important, is it important?

Many of the scoring functions do their work in other buffers, but
need to access variables that are buffer-local to the summary buffer. 

> What should I do if there is no summary-buffer?

Then it probably won't work.

-- 
(domestic pets only, the antidote for overdose, milk.)
   larsi@gnus.org * Lars Magne Ingebrigtsen



      reply	other threads:[~2002-12-29 16:44 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-20 10:52 Micha Wiedenmann
2002-12-29 16:44 ` Lars Magne Ingebrigtsen [this message]

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=m3isxc22rl.fsf@quimbies.gnus.org \
    --to=larsi@gnus.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).