Gnus development mailing list
 help / color / mirror / Atom feed
* Separating news and mail stuff completely?
@ 1996-12-29 20:52 Kai Grossjohann
  1996-12-30 15:23 ` Rich Pieri
  0 siblings, 1 reply; 2+ messages in thread
From: Kai Grossjohann @ 1996-12-29 20:52 UTC (permalink / raw)


Hi there,

I wish you all the best for this time of year (and for the next year).

I vaguely recall somebody having talked about two separate news/mail
environments in Gnus in different directories.  I'm trying to do
something similar: separate the news (NNTP) and mail (nnml) stuff as
completely as possible.  Currently, I use a somewhat standard setup
which means that Gnus stores all kinds of things (in particular,
marks) in .newsrc.eld which is shared between news and mail groups.
I'd like to separate the storage of marks for news groups and for mail
groups into different files.  Is that possible?  From a cursory look
at .newsrc.eld, it seems that I want to split gnus-newsrc-alist,
mostly.

tia,
kai
-- 
I wonder why nobody don't like me,
or is it de fact dat I'm ugly? -- Harry Belafonte


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Separating news and mail stuff completely?
  1996-12-29 20:52 Separating news and mail stuff completely? Kai Grossjohann
@ 1996-12-30 15:23 ` Rich Pieri
  0 siblings, 0 replies; 2+ messages in thread
From: Rich Pieri @ 1996-12-30 15:23 UTC (permalink / raw)


-----BEGIN PGP SIGNED MESSAGE-----

>>>>> "KG" == Kai Grossjohann
>>>>> <grossjohann@charly.informatik.uni-dortmund.de> writes:

KG> I vaguely recall somebody having talked about two separate news/mail
KG> environments in Gnus in different directories.  I'm trying to do
KG> something similar: separate the news (NNTP) and mail (nnml) stuff as
KG> completely as possible.

Can be done quite easilly, actually; I have been doing it all along.
The trick is to maintain separate .newsrc files (.newsrc for mail,
.newsrc-server for news), and use "correct" values for
gnus-select-method.  I use a set of foo-gnus functions to Do The Right
Thing for me (rat:gnus is just a wrapper which does a bit of other
housekeeping for me):

(defun mail-gnus ()
  (interactive)
  (setq gnus-select-method '(nnml ""))
  (rat:gnus t))
(defun ccs-gnus ()
  (interactive)
  (setq gnus-select-method '(nntp "news.ccs.neu.edu"))
  (rat:gnus nil))

To "convert" an existing setup, I think the easiest thing to do is to
copy .newsrc and .newsrc.eld to .newsrc-server and .newsrc-server.eld.
Then start Gnus with each value of gnus-select-menthod and delete the
groups you don't want.  This is a lot easier than editing a .eld file by
hand.

-----BEGIN PGP SIGNATURE-----
Version: 2.6.3a
Charset: noconv

iQCVAwUBMsfeW56VRH7BJMxHAQFf6wP/foWoXCIKFv47GqhYo+S91LB/EvNRNnVO
TFDIhbxMgAdKgI3Q9OjoDc9V4AR5xFarYxB+prAJPj8BLCFWD2p17IAJtLLEq5se
xWwCi9ZL40xYwK0JveOTtncZe8Owg6yplg9wYo4kcTh/LP3ocqIIziyyth3WDP2p
iy5OQAZsFSQ=
=b42k
-----END PGP SIGNATURE-----
-- 
Rich Pieri <rich.pieri@prescienttech.com> | Do not taunt Happy Fun Ball.
Prescient Technologies, Inc.              | 
A Stone & Webster Company                 | 
I speak for myself, not PTI or SWEC       | 


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1996-12-30 15:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-12-29 20:52 Separating news and mail stuff completely? Kai Grossjohann
1996-12-30 15:23 ` Rich Pieri

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).