Gnus development mailing list
 help / color / mirror / Atom feed
* Specifying location of .newsrc, News & Mail directories etc.
@ 2010-09-24  9:09 Gary
  2010-09-24  9:43 ` Steinar Bang
  2010-09-24  9:56 ` David Edmondson
  0 siblings, 2 replies; 4+ messages in thread
From: Gary @ 2010-09-24  9:09 UTC (permalink / raw)
  To: ding

It being gnus, I'm sure it's possible, but how?

What I am trying to do is ensure that if I use cygwin emacs' gnus or the
WinNT emacs' gnus, I always use the same emacs files. The typical
.gnus.el and so on are no problem, but I don't know how to specify the
location of all the support files, draft directories, and so on.

I see
,----[ gnus-directory variable help ]
| gnus-directory is a variable defined in `gnus.el'.
| Its value is "~/News/"
| 
| Documentation:
| *Directory variable from which all other Gnus file variables are derived.
| 
| Note that Gnus is mostly loaded when the `.gnus.el' file is read.
| This means that other directory variables that are initialized from
| this variable won't be set properly if you set this variable in `.gnus.el'.
| Set this variable in `.emacs' instead.
`----

but does that cover everything? For example .newsrc, .newsrc.eld (any
others?) are above that directory - are they covered?

-- 
Gary        Please do NOT send me 'courtesy' replies off-list.
GNU Emacs 23.2.1
emacsclient 23.2
1.7.7(0.230/5/3) 2010-08-31 09:58 Cygwin




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

* Re: Specifying location of .newsrc, News & Mail directories etc.
  2010-09-24  9:09 Specifying location of .newsrc, News & Mail directories etc Gary
@ 2010-09-24  9:43 ` Steinar Bang
  2010-09-24  9:56 ` David Edmondson
  1 sibling, 0 replies; 4+ messages in thread
From: Steinar Bang @ 2010-09-24  9:43 UTC (permalink / raw)
  To: ding

>>>>> Gary <gnus@garydjones.name>:

> It being gnus, I'm sure it's possible, but how?
> What I am trying to do is ensure that if I use cygwin emacs' gnus or the
> WinNT emacs' gnus, I always use the same emacs files. The typical
> .gnus.el and so on are no problem, but I don't know how to specify the
> location of all the support files, draft directories, and so on.

Try putting HOME as an enviroment variable.  Then they should both work
relative off that as "~".  Setting HOME short circuits the heuristics
used by NT emacs for determining "~", I think...?




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

* Re: Specifying location of .newsrc, News & Mail directories etc.
  2010-09-24  9:09 Specifying location of .newsrc, News & Mail directories etc Gary
  2010-09-24  9:43 ` Steinar Bang
@ 2010-09-24  9:56 ` David Edmondson
  2010-09-24 13:26   ` Gary
  1 sibling, 1 reply; 4+ messages in thread
From: David Edmondson @ 2010-09-24  9:56 UTC (permalink / raw)
  To: ding

* gnus@garydjones.name [2010-09-24 Fri 10:09]
> It being gnus, I'm sure it's possible, but how?

I have:

(setq
 ; keep things out of my home directory
 message-directory "~/v/Mail/"
 gnus-directory "~/v/News/"
 gnus-cache-directory "~/v/cache"
 ; don't abuse .newsrc
 gnus-startup-file (expand-file-name "~/v/newsrc")
 gnus-kill-files-directory "~/u/lib/gnus"
 )

dme.
-- 
David Edmondson, http://dme.org



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

* Re: Specifying location of .newsrc, News & Mail directories etc.
  2010-09-24  9:56 ` David Edmondson
@ 2010-09-24 13:26   ` Gary
  0 siblings, 0 replies; 4+ messages in thread
From: Gary @ 2010-09-24 13:26 UTC (permalink / raw)
  To: ding

David Edmondson wrote:
> I have:
>
> (setq
>  ; keep things out of my home directory
>  message-directory "~/v/Mail/"
>  gnus-directory "~/v/News/"
>  gnus-cache-directory "~/v/cache"
>  ; don't abuse .newsrc
>  gnus-startup-file (expand-file-name "~/v/newsrc")
>  gnus-kill-files-directory "~/u/lib/gnus"
>  )

Thanks. It seems fine now, apart from another problem related to my sig
generation, but that's not your problem :)

-- 
Gary        Please do NOT send me 'courtesy' replies off-list.
GNU Emacs 23.2.1
emacsclient 23.2
1.7.7(0.230/5/3) 2010-08-31 09:58 Cygwin




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

end of thread, other threads:[~2010-09-24 13:26 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-09-24  9:09 Specifying location of .newsrc, News & Mail directories etc Gary
2010-09-24  9:43 ` Steinar Bang
2010-09-24  9:56 ` David Edmondson
2010-09-24 13:26   ` Gary

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