all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: nljlistbox2@gmail.com (N. Jackson)
To: help-gnu-emacs@gnu.org
Subject: Re: How to set up Emacs as a mail client (with mail saved/filed on an IMAP server)
Date: Thu, 30 Jan 2014 21:06:13 -0400	[thread overview]
Message-ID: <8761p1gdtm.fsf@moondust.localdomain> (raw)
In-Reply-To: 87d2jfy0qb.fsf@moondust.localdomain

Following up, for completeness, on my own post:

> The only real inconvenience remaining is that when I configure
> variables for Gnus the values are global, and I don't see yet how to
> restrict their scope to a particular server or group or retrieval
> method.

I have now found the solution to this as well. :)

Not that it was hidden; it was lying about in plain sight, I just failed
to recognise it at first. It is "Group Parameters", of course. ("Of
course" now that I know what it's called.)  One uses it to override
global Gnus settings (including display settings) for a specific Group
or Groups (specified by name using a regular expression).

For more information, from within Gnus: C-c TAB i Group Parameters RET.

So I now have the following in my .gnus.el and it does exactly what I
want:

(setq gnus-parameters
    ; Settings for all IMAP groups (could be more discerning, but this
    ; works just fine for now):
    '(("nnimap*"
        (gnus-large-newsgroup 6000) ; Suppress prompts for now.
        (display . all) ; Show previously-read mail too.
        (gnus-show-threads nil) ; Don't organise by threads.
        ; Sort chronologically with newest at top:
        (gnus-article-sort-functions '((not gnus-article-sort-by-date)))
      )
     )
)

(The (gnus-large-newsgroup 6000) is only in there temporarily, to prevent
Gnus from deciding that it better ask me how many headers to download,
there being rather a lot. Normally the Gnus global default threshold of
200 would be more than ample -- I rarely keep more that 50 mails in my
inbox at one time, but, because I haven't had an easily usable mail set
up for a few months, my main inbox is rather full of stuff that needs
filing and I was getting annoyed by the prompts every time I opened it!)

There are also Topic Parameters, but I didn't get in to those yet!


  parent reply	other threads:[~2014-01-31  1:06 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-24  4:35 How to set up Emacs as a mail client (with mail saved/filed on an IMAP server) nljlistbox2
2014-01-24  7:43 ` Tassilo Horn
2014-01-24  7:52 ` Loris Bennett
2014-01-26  1:45   ` N. Jackson
2014-01-26 11:20     ` James Freer
     [not found]     ` <mailman.12835.1390735249.10748.help-gnu-emacs@gnu.org>
2014-01-26 16:01       ` Gnus "suite" (was: Re: How to set up Emacs as a mail client (with mail saved/filed on an IMAP server)) Emanuel Berg
2014-01-31  2:09       ` How to set up Emacs as a mail client (with mail saved/filed on an IMAP server) N. Jackson
2014-01-31  2:49         ` William G Gardella
2014-01-31  1:06     ` N. Jackson [this message]
     [not found] ` <mailman.12672.1390549403.10748.help-gnu-emacs@gnu.org>
2014-01-26  1:24   ` N. Jackson

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=8761p1gdtm.fsf@moondust.localdomain \
    --to=nljlistbox2@gmail.com \
    --cc=help-gnu-emacs@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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.