Gnus development mailing list
 help / color / mirror / Atom feed
From: Matt Simmons <simmonmt@acm.org>
Subject: Re: Article headers & virtual windows
Date: 01 Jan 1999 22:04:44 -0800	[thread overview]
Message-ID: <yfqlnjm43cz.fsf@acm.org> (raw)
In-Reply-To: <m3lnkm7apa.fsf@sparky.gnus.org>

>>>>> "Lars" == Lars Magne Ingebrigtsen <larsi@gnus.org> writes:

    Matt> Cool.  Thanks.  Now if only there was a
    Matt> gnus-picons-mode-hook for the picons buffer...

    Lars> I've now added a `gnus-picons-setup-hook'.

It doesn't look like my gnus-picons-setup-hook is being run.  Somebody
(my guess is that it's the window configuration stuff) is creating the
picons buffer first, thus causing everything in the else in
gnus-picons-setup-buffer to be skipped.

The only workaround I can find is to kill off the Picons buffer, and
reread (`g') the article.

      (if (get-buffer name)
	  (set-buffer name)
	(set-buffer (gnus-get-buffer-create name))
*	(buffer-disable-undo)
*	(setq buffer-read-only t)
-	(run-hooks 'gnus-picons-setup-hook)
*	(add-hook 'gnus-summary-prepare-exit-hook 'gnus-picons-kill-buffer))

While the starred lines look idempotent, and could probably be easily
pulled out of the if, the dashed line wouldn't be so easy, if possible 
at all.

Whee!  Would it be possible to let gnus-picons-setup-buffer to be run
before the window configuration stuff is done?  If that's not
possible, could you just move the starred and dashed things of the if?

Thanks

Matt

-- 
     Matt Simmons  -  simmonmt@acm.org  -  http://www.netcom.com/~simmonmt
     When your pet bird sees you reading the newspaper, does he wonder why
		you're just sitting there, staring at carpeting?


  reply	other threads:[~1999-01-02  6:04 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-12-02  2:45 Lars Magne Ingebrigtsen
1998-12-02  4:58 ` Matt Simmons
1998-12-02 17:12   ` Lars Magne Ingebrigtsen
1998-12-02 18:38     ` Hrvoje Niksic
1998-12-03  6:33     ` Matt Simmons
1998-12-03  7:34       ` Hrvoje Niksic
1998-12-05 15:49         ` Matt Simmons
1998-12-05 17:36           ` Lars Magne Ingebrigtsen
1999-01-02  6:04             ` Matt Simmons [this message]
1999-01-03 13:03               ` Lars Magne Ingebrigtsen
1998-12-03 14:31     ` Sean Doran
1998-12-02 16:57 ` Hrvoje Niksic
1998-12-02 18:27   ` Lars Magne Ingebrigtsen
1998-12-02 19:01     ` Lars Balker Rasmussen
1998-12-02 19:20       ` Lars Magne Ingebrigtsen
1998-12-02 19:13   ` Lars Magne Ingebrigtsen
1998-12-05  4:33 ` Julian Assange
1998-12-07 22:06   ` Lars Magne Ingebrigtsen

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=yfqlnjm43cz.fsf@acm.org \
    --to=simmonmt@acm.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).