Gnus development mailing list
 help / color / mirror / Atom feed
From: Lars Magne Ingebrigtsen <larsi@gnus.org>
Subject: Re: Showing dormants when entering mail group?
Date: 19 Mar 1998 13:37:58 +0100	[thread overview]
Message-ID: <m3n2emhn4p.fsf@sparky.gnus.org> (raw)
In-Reply-To: 's message of "15 Mar 1998 00:03:38 +0200"

<jari.aalto@poboxes.com> writes:

> (if (not (string-match "nntp" group)) ;Show dormants
> (gnus-summary-limit-include-dormant))
> 
> Into gnus-summary-prepare-hook function, but it rolled suicide
> (infinite recursive call). Yow, I thought 
> gnus-summary-prepare-hook runs only after summary was created and
> that any additional formatting commands would be placed in that hook.

It does, and they should.  However,
`gnus-summary-limit-include-dormant' is not a command for doing
"additional formatting" -- it's a function that prepares the summary
buffer.  Which explains the infloop.

Bind `gnus-summary-prepare-hook' to nil before calling any functions
that call that hook from that hook.  If you knowwhaddImean.

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


      parent reply	other threads:[~1998-03-19 12:37 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-03-14 22:03 jari.aalto
1998-03-15  2:51 ` SL Baur
1998-03-15 10:26   ` jari.aalto
1998-03-15 18:41   ` Per Abrahamsen
1998-03-15 20:50     ` jari.aalto
1998-03-15 21:24       ` Hallvard B Furuseth
1998-03-15 23:09     ` Hrvoje Niksic
1998-03-16  7:08       ` Yair Friedman
1998-03-16  8:07     ` SL Baur
1998-03-16 16:00       ` Per Abrahamsen
1998-03-15 19:39 ` Hallvard B Furuseth
1998-03-15 23:14 ` Justin Sheehy
1998-03-16  4:13 ` Wes Hardaker
1998-03-19 12:37 ` 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=m3n2emhn4p.fsf@sparky.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).