Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* Changing ~/Mail and ~/News
@ 2008-05-09 22:20 Paulo Matos
  2008-05-10  6:19 ` Michal Nazarewicz
  0 siblings, 1 reply; 3+ messages in thread
From: Paulo Matos @ 2008-05-09 22:20 UTC (permalink / raw)
  To: info-gnus-english

Hello all,

Reading from the manual this doesnt seem a trivial task because there
seems to be many variables that set subdirectories of ~/Mail and ~/
News so you just have to reset them all.

Has anyone done this? If yes, can you please post all the variables
you need to set to change them to ~/Common/Mail and ~/Common/News?

Cheers,

Paulo Matos

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

* Re: Changing ~/Mail and ~/News
  2008-05-09 22:20 Changing ~/Mail and ~/News Paulo Matos
@ 2008-05-10  6:19 ` Michal Nazarewicz
  2008-05-11 13:00   ` Paulo Jorge de O. C. de Matos
  0 siblings, 1 reply; 3+ messages in thread
From: Michal Nazarewicz @ 2008-05-10  6:19 UTC (permalink / raw)
  To: info-gnus-english

Paulo Matos <pocmatos@gmail.com> writes:
> Reading from the manual this doesnt seem a trivial task because there
> seems to be many variables that set subdirectories of ~/Mail and ~/
> News so you just have to reset them all.
>
> Has anyone done this? If yes, can you please post all the variables
> you need to set to change them to ~/Common/Mail and ~/Common/News?

#v+
(setq
 gnus-home-directory        (expand-file-name "~/.gnus")
 message-directory          (concat gnus-home-directory "/Mail")
 message-directory          (concat gnus-home-directory "/Mail")
 nndraft-directory          (concat gnus-home-directory "/drafts")
 gnus-startup-file          (concat gnus-home-directory "/newsrc"))
#v-

Works for me.

-- 
Best regards,                                         _     _
 .o. | Liege of Serenly Enlightened Majesty of      o' \,=./ `o
 ..o | Computer Science,  Michal "mina86" Nazarewicz   (o o)
 ooo +--<mina86*tlen.pl>--<jid:mina86*jabber.org>--ooO--(_)--Ooo--

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

* Re: Changing ~/Mail and ~/News
  2008-05-10  6:19 ` Michal Nazarewicz
@ 2008-05-11 13:00   ` Paulo Jorge de O. C. de Matos
  0 siblings, 0 replies; 3+ messages in thread
From: Paulo Jorge de O. C. de Matos @ 2008-05-11 13:00 UTC (permalink / raw)
  To: info-gnus-english

Michal Nazarewicz <mina86@tlen.pl> writes:

> Paulo Matos <pocmatos@gmail.com> writes:
>> Reading from the manual this doesnt seem a trivial task because there
>> seems to be many variables that set subdirectories of ~/Mail and ~/
>> News so you just have to reset them all.
>>
>> Has anyone done this? If yes, can you please post all the variables
>> you need to set to change them to ~/Common/Mail and ~/Common/News?
>
> #v+
> (setq
>  gnus-home-directory        (expand-file-name "~/.gnus")
>  message-directory          (concat gnus-home-directory "/Mail")
>  message-directory          (concat gnus-home-directory "/Mail")
>  nndraft-directory          (concat gnus-home-directory "/drafts")
>  gnus-startup-file          (concat gnus-home-directory "/newsrc"))
> #v-
>

Great! :) Thanks a lot for the code. I thought it was a bit more
complicated.

Cheers,

-- 
Paulo Jorge Matos - pocm at soton.ac.uk
http://www.personal.soton.ac.uk/pocm
PhD Student @ ECS
University of Southampton, UK

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

end of thread, other threads:[~2008-05-11 13:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-05-09 22:20 Changing ~/Mail and ~/News Paulo Matos
2008-05-10  6:19 ` Michal Nazarewicz
2008-05-11 13:00   ` Paulo Jorge de O. C. de Matos

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