Gnus development mailing list
 help / color / mirror / Atom feed
From: "Peter Münster" <pmlists@free.fr>
To: ding@gnus.org
Subject: Re: Custom group or topic parameters
Date: Tue, 13 May 2014 16:02:42 +0200	[thread overview]
Message-ID: <877g5phj3x.fsf@micropit.roche-blanche.homenet.org> (raw)
In-Reply-To: <87bnv1yfd9.fsf@mailbox.org>

On Tue, May 13 2014, Alexander Baier wrote:

> Group Parameters for group "org.group.example":
> 
> #+BEGIN_SRC emacs-lisp
>   ((subscribed . t)
>    (to-list . "foo@example-list.org")
>    (lang . "en_GB"))
> #+END_SRC 

(defvar my-language "my-default-language")
(make-variable-buffer-local 'my-language)

(setq gnus-parameters
      '(("org.group.example"
         (subscribed . t)
         (to-list . "foo@example-list.org")
         (my-language "en_GB"))))           ; Without the dot here!


> #+BEGIN_SRC emacs-lisp
>   (ispell-change-dictionary (gnus-get-group-param 'lang))
> #+END_SRC

(ispell-change-dictionary my-language)


Or check out this page: http://www.emacswiki.org/emacs/AutoDictionaryMode

-- 
           Peter




  reply	other threads:[~2014-05-13 14:02 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-13 13:31 Alexander Baier
2014-05-13 14:02 ` Peter Münster [this message]
2014-05-13 14:18   ` Alexander Baier
2014-05-13 14:50     ` Peter Münster
2014-05-14 21:32       ` Alexander Baier

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=877g5phj3x.fsf@micropit.roche-blanche.homenet.org \
    --to=pmlists@free.fr \
    --cc=ding@gnus.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).