Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Kamen TOMOV <kamen@evrocom.net>
To: info-gnus-english@gnu.org
Subject: Re: `eval' in Posting Styles
Date: Mon, 12 Feb 2007 09:40:09 +0200	[thread overview]
Message-ID: <ubqjzhlie.fsf@cybuild.com> (raw)
In-Reply-To: <v98xf5vxca.fsf@marauder.physik.uni-ulm.de>

On неделя, Февруари 11 2007, Reiner Steib wrote:

> It works for me.  I have some
>   (eval (message "applying posting style for whatever"))
> expressions in my posting styles and I see the message in *Messages*.
>
> Does the following work?
>
> (setq gnus-posting-styles
>       '(("foo"
> 	 (eval (bar)))
>         ....))

Yes, that one works. I thought it needed a function symbol so was my
change.

> Maybe we should add an example in the manual near this:
>
> ,----[ (info "(gnus)Posting Styles") ]
> | If the attribute name is `eval', the form is evaluated, and the
> | result is thrown away.
> `----

An example would had been great for me.


Regards,

-- 
Камен

      reply	other threads:[~2007-02-12  7:40 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-08 10:50 Kamen TOMOV
2007-02-11  9:48 ` Reiner Steib
2007-02-12  7:40   ` Kamen TOMOV [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=ubqjzhlie.fsf@cybuild.com \
    --to=kamen@evrocom.net \
    --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).