Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: reader@newsguy.com
To: info-gnus-english@gnu.org
Subject: gnus-parameters
Date: Sun, 16 Dec 2007 11:34:14 -0600	[thread overview]
Message-ID: <87y7bu4k89.fsf@newsguy.com> (raw)

I don't know if `gnus-visible-headers' is something that can even be
delt with in `gnus-parameters' but what I have below is definitely NOT
the way to do it.  Since I don't understand/know the basic principles
of elisp... I'm just monkeying around with the parens hoping to get it
right. 

The forumulation below can be evaluated without error but gnus cannot
function with that evaluated...  Basic things like opening/closing a
group are broken by it... and give errors like (wrapped for mail):

   gnus-group-fast-parameter: Wrong type argument: \
      stringp, gnus-visible-headers


 (setq gnus-parameters
       '(("[Ss]pam[0-9]*$\\|_ex$"
          (total-expire . t)
          (expiry-wait . 18))
         (gnus-visible-headers
           ("\.bk$"
            ("^X-Spam-Report:.*_FARAWAY_")))))

Can someone tell me first off if `gnus-visible-headers' is something
that can be handled in `gnus-parameters'.  

The manual talks about it and mentions that `visible' doesn't work.
So I wasn't sure if that would include `gnus-VISIBLE-headers'.

From gnus manual:
 
     Group parameters can be set via the `gnus-parameters' variable
     too.  But some variables, such as `visible', have no effect (For
     this case see `gnus-permanently-visible-groups' as an
     alternative.). [...]

Just scanning thru various related things in the manual I couldn't
tell if `gnus-visible-headers' should work in a gnus-parameters
setting. But just going by the name of it `gnus-visible-headers' seems
like it would be considered a `gnus-parameter'

If `gnus-visible-headers' can be set for a list of groups matching a
regex in gnus-parameters maybe someone can show an example of what the
syntax would look like.

I do have `gnus-visible-headers' set globally and not sure if that
would somehow interfere. (Wrapped for mail)

(setq gnus-visible-headers 
         "^From:\\|
         ^Subject:\\|
         ^To:\\|
         ^Date:\\|
         ^Message-ID:\\|
         ^X-Spam-Status:\\|
         ^X-HP[rm].*:\\|
         ^Newsgroups:\\|
         ^Keywords:\\|
         ^Gnus-Warning:")

             reply	other threads:[~2007-12-16 17:34 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-16 17:34 reader [this message]
2007-12-16 18:53 ` gnus-parameters Reiner Steib
2007-12-16 22:40   ` gnus-parameters reader
     [not found]   ` <mailman.5077.1197844885.18990.info-gnus-english@gnu.org>
2007-12-17 21:10     ` gnus-parameters Adam Sjøgren
  -- strict thread matches above, loose matches on Subject: below --
2002-09-30 13:37 gnus-parameters Boris Daix

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=87y7bu4k89.fsf@newsguy.com \
    --to=reader@newsguy.com \
    --cc=info-gnus-english@gnu.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).