Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: dgiglio@iol.it (daniele.g)
To: info-gnus-english@gnu.org
Subject: Can I use env variables in a score file?
Date: Thu, 06 Jun 2013 11:04:12 +0200	[thread overview]
Message-ID: <87y5anr4oj.fsf@nostromo.nostromo.wy> (raw)

I'd like to make the file
,----[ all.SCORE ]
| ;; -*- mode: lisp; -*-
| (
|  ("from" ("daniele.g" +1000 nil s))
|  ("message-id"
|   ("@mother.nostromo.wy>" +9000 nil s)
|   ("@nostromo.nostromo.wy>" +9000 nil s))
|  ("references"
|   ("@nostromo\\.nostromo\\.wy>$" +8000 nil r)
|   ("@nostromo\\.nostromo\\.wy>.+@" +7000 nil r)
|   ("@nostromo\\.nostromo\\.wy>.+@nostromo\\.nostromo\\.wy>$" -7000 nil r)
|   ("@mother\\.nostromo\\.wy>$" +8000 nil r)
|   ("@mother\\.nostromo\\.wy>.+@" +7000 nil r)
|   ("@mother\\.nostromo\\.wy>.+@mother\\.nostromo\\.wy>$" -7000 nil r)
|   )
|  ((&
|    ("message-id" "@nostromo\\.nostromo.wy>" s)
|    ("references" "@nostromo\\.nostromo.wy>" s)) -7000 nil
|    (&
|     ("message-id" "@mother\\.nostromo.wy>" s)
|     ("references" "@mother\\.nostromo.wy>" s)) -7000 nil)
|  )
`----
more portable changing the string "@mother.nostromo.wy> into something
like $hostname.$domainname.

Can I do this? How?

Thanks in advance.
-- 
                     Dona i tuoi cicli di clock alla ricerca!
                     http://boinc.berkeley.edu/
                          --------------------
           This signature was automatically generated with
           Signify v1.14.  For this and other cool products,
           check out http://www.debian.org/

             reply	other threads:[~2013-06-06  9:04 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-06  9:04 daniele.g [this message]
     [not found] <mailman.1077.1370509496.22516.info-gnus-english@gnu.org>
2013-08-01 11:26 ` 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=87y5anr4oj.fsf@nostromo.nostromo.wy \
    --to=dgiglio@iol.it \
    --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).