Gnus development mailing list
 help / color / mirror / Atom feed
From: Kai.Grossjohann@CS.Uni-Dortmund.DE
Subject: Re: how to turn off smileys
Date: 12 May 1999 21:30:27 +0200	[thread overview]
Message-ID: <vafogjqozl8.fsf@petty.cs.uni-dortmund.de> (raw)
In-Reply-To: Bud Rogers's message of "12 May 1999 10:38:50 -0500"

Bud Rogers <budr@sirinet.net> writes:

  > Would it work to put that line in Group Parameters to change the behaviour
  > on a per-group basis?

No, it's the wrong syntax for group parameters.  Maybe putting
(gnus-treat-display-smileys nil) in there (without the setq) will do
the trick, but I don't know for sure.  Might be worth a try, though.

If that doesn't work, you could add stuff to your
gnus-summary-mode-hook to set the variable:

(defun my-set-gnus-treat-display-smileys ()
  (cond ((string-match "foo.*bar" gnus-newsgroup-name)
         (setq gnus-treat-display-smileys t))
        ((string-match "foo" gnus-newsgroup-name)
         (setq gnus-treat-display-smileys nil))
        (t
         (setq gnus-treat-display-smileys nil))))
(add-hook 'gnus-summary-mode-hook 'my-set-gnus-treat-display-smileys)

Yes, the function could be written more succinctly, but the above is a
general template which can be extended nicely.  The code is
untested; I hope it works anyway.

kai
-- 
Abort this operation?   [Abort]  [Cancel]


      reply	other threads:[~1999-05-12 19:30 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-05-12 14:59 Bud Rogers
1999-05-12 15:05 ` Lee Willis
1999-05-12 15:38   ` Bud Rogers
1999-05-12 19:30     ` Kai.Grossjohann [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=vafogjqozl8.fsf@petty.cs.uni-dortmund.de \
    --to=kai.grossjohann@cs.uni-dortmund.de \
    /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).