Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Julien Barnier <barnier@iresco.fr.invalidaddress>
Subject: [Newbie] .gnu syntax problem
Date: 24 Sep 2002 16:14:41 +0200	[thread overview]
Message-ID: <un0q7zd7y.fsf@iresco.fr> (raw)

Hi to everybody,

I tried to modify an example of .gnus file to my needs, but everything
doesn't work. In particular, the following piece of code doesn't do
what I wanted him to do (ie not to show threads in mail groups, but
showing them in newsgroups) :

(add-hook 'gnus-summary-mode-hook
	  (lambda ()
	    (if (gnus-news-group-p gnus-newsgroup-name)
		(progn
		  (setq gnus-thread-sort-functions '(gnus-thread-sort-by-date))
		  (setq gnus-summary-toggle-threads 2)
		  (setq gnus-thread-hide-subtree t)
		  (setq gnus-suppress-duplicates t)
		  (setq gnus-auto-select-first nil))
	      (progn
		(setq gnus-thread-hide-subtree nil)
		(setq gnus-summary-toggle-threads nil)
		(setq gnus-article-sort-functions '(gnus-article-sort-by-date))))))

I am sure it is a very dummy mistake, but I thank you in advance for
any answer.

Julien


                 reply	other threads:[~2002-09-24 14:14 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=un0q7zd7y.fsf@iresco.fr \
    --to=barnier@iresco.fr.invalidaddress \
    /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).