Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Tassilo Horn <tsdh@gnu.org>
To: info-gnus-english@gnu.org
Subject: Re: Location of .gnus init file
Date: Wed, 11 Feb 2015 08:07:23 +0100	[thread overview]
Message-ID: <878ug53p04.fsf@gnu.org> (raw)
In-Reply-To: <m3fvae9nd7.fsf@nihilo.net>

btraven <btraven@nihilo.net> writes:

> Okay now I think I know what's going on but I had to move my .gnus out
> of gnus-init-file directory because something in it was causing pop3
> retrieval of about 11000 kb of something (probably all my news
> server's headers each time I invoked gnus. Now in .emacs in
> custom-set-variabel paragraph I have this:
>
> ....
>  '(gnus-article-sort-functions (quote ((not gnus-article-sort-by-date))))
>  '(gnus-check-new-newsgroups nil)
>  '(gnus-default-directory "c:\\emacs\\gnus")
>  '(gnus-directory "c:\\gnus/News/")
>  '(gnus-dribble-directory "c:\\emacs\\gnus")
>  '(gnus-home-directory "c:\\emacs")
>  '(gnus-read-active-file nil)
>  '(gnus-save-all-headers nil)
>  '(gnus-select-method (quote (nntp "news.newsguy.com")))
>  '(gnus-thread-sort-functions (quote ((not gnus-thread-sort-by-date))))
> ....
>
> I assume I can eventually move all these to my .gnus by stripping tic
> to left of open paren and inserting setq to right, correct?

No, not all.  The directory `gnus-*-directory' variables have to be set
*before* gnus loads, so these should stay in your ~/.emacs (either in
the customize section or as setqs).  But the others can move to your
~/.gnus.el.

BTW, the docs say that you should always have
`gnus-article-sort-by-number' in your `gnus-article-sort-functions' as a
fallback (first entry).  So you probably want to go with:

  (setq gnus-article-sort-functions
        '((not gnus-article-sort-by-number)
          (not gnus-article-sort-by-date)))

as I've written in my other mail.

> After screwing things up I now have on the last line of *Group* buffer
> U   0:*gnu.emacs.gnus in unbolded font. How do I normalize that group
> so that it is bolded font and with the number of all messages?

Did you try hitting `M-g' on the group?

Bye,
Tassilo



  reply	other threads:[~2015-02-11  7:07 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.19522.1423412112.1147.info-gnus-english@gnu.org>
2015-02-09  3:53 ` Ed C.
2015-02-09  4:45   ` Ed C.
2015-02-09  9:29     ` Tassilo Horn
2015-02-09  9:26   ` Tassilo Horn
2015-02-16 21:44   ` Rainer Thiel
     [not found] ` <mailman.19569.1423474015.1147.info-gnus-english@gnu.org>
2015-02-10  6:49   ` B. T. Raven
2015-02-10  7:18     ` Tassilo Horn
2015-02-10  8:33   ` btraven
2015-02-11  7:07     ` Tassilo Horn [this message]
2015-02-07 22:43 Rainer Thiel

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=878ug53p04.fsf@gnu.org \
    --to=tsdh@gnu.org \
    --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).