Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* Move Mail/ and News/ from ~/ ?
@ 2014-09-23  4:48 Brady Trainor
  2014-09-23  6:48 ` Rainer M Krug
  0 siblings, 1 reply; 5+ messages in thread
From: Brady Trainor @ 2014-09-23  4:48 UTC (permalink / raw)
  To: info-gnus-english



I am considering moving my Gnus setup to a partition I share between
OSes. In this way, tick marks, subscribed folders etc will be easier to
keep in sync.

So for instance, I hope the following will have the desired effect. 

--8<---------------cut here---------------start------------->8---
(setq gnus-init-file "/e/.gnus")
(setq gnus-startup-file "/e/.newsrc")
(setq gnus-dribble-directory "/e/")
--8<---------------cut here---------------end--------------->8---

In fact, it seems this can all be done at once with

--8<---------------cut here---------------start------------->8---
(setq gnus-home-directory "/e/")
--8<---------------cut here---------------end--------------->8---

But to deal with `~/Mail/` and `~/News/`, I'm not sure the most
convenient way. It appears that so many variables may point to it, that
it may be easier to simply symlink these two. 

I have considered these other variables (I got most of this from word
search in Gnus help node), but I'm unsure that they would have the
desired and complete effect. 

--8<---------------cut here---------------start------------->8---
nnml-directory
mail-source-directory

gnus-article-save-directory
gnus-kill-files-directory
gnus-directory
--8<---------------cut here---------------end--------------->8---


Thank you, 
Brady



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

* Re: Move Mail/ and News/ from ~/ ?
  2014-09-23  4:48 Move Mail/ and News/ from ~/ ? Brady Trainor
@ 2014-09-23  6:48 ` Rainer M Krug
  2014-09-23  7:23   ` Brady Trainor
  0 siblings, 1 reply; 5+ messages in thread
From: Rainer M Krug @ 2014-09-23  6:48 UTC (permalink / raw)
  To: Brady Trainor; +Cc: info-gnus-english


[-- Attachment #1.1: Type: text/plain, Size: 1516 bytes --]

Brady Trainor <algebrat@uw.edu> writes:

> I am considering moving my Gnus setup to a partition I share between
> OSes. In this way, tick marks, subscribed folders etc will be easier to
> keep in sync.
>
> So for instance, I hope the following will have the desired effect. 
>
> (setq gnus-init-file "/e/.gnus")
> (setq gnus-startup-file "/e/.newsrc")
> (setq gnus-dribble-directory "/e/")
>
> In fact, it seems this can all be done at once with
>
> (setq gnus-home-directory "/e/")
>
> But to deal with `~/Mail/` and `~/News/`, I'm not sure the most
> convenient way. It appears that so many variables may point to it, that
> it may be easier to simply symlink these two. 

I have

--8<---------------cut here---------------start------------->8---
(setq gnus-home-directory    "~/.gnus.d/"
      gnus-init-file	     "~/.gnus.d/gnus.el"
      message-directory	     (expand-file-name "Mail/" gnus-home-directory))
--8<---------------cut here---------------end--------------->8---

in my emacs.el file and all gnus related files are in this directory.

Cheers,

Rainer

>
> I have considered these other variables (I got most of this from word
> search in Gnus help node), but I'm unsure that they would have the
> desired and complete effect. 
>
> nnml-directory
> mail-source-directory
>
> gnus-article-save-directory
> gnus-kill-files-directory
> gnus-directory
>
>
> Thank you, 
> Brady
>
>

-- 
Rainer M. Krug
email: Rainer<at>krugs<dot>de
PGP: 0x0F52F982

[-- Attachment #1.2: Type: application/pgp-signature, Size: 494 bytes --]



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

* Re: Move Mail/ and News/ from ~/ ?
  2014-09-23  6:48 ` Rainer M Krug
@ 2014-09-23  7:23   ` Brady Trainor
  2014-09-23  7:41     ` Rainer M Krug
  0 siblings, 1 reply; 5+ messages in thread
From: Brady Trainor @ 2014-09-23  7:23 UTC (permalink / raw)
  To: info-gnus-english

Rainer M Krug <Rainer@krugs.de> writes:

> Brady Trainor <algebrat@uw.edu> writes:
>
>> But to deal with `~/Mail/` and `~/News/`,...
>
> I have
>
> (setq gnus-home-directory    "~/.gnus.d/"
>       gnus-init-file	     "~/.gnus.d/gnus.el"
>       message-directory	     (expand-file-name "Mail/" gnus-home-directory))
>
> in my emacs.el file and all gnus related files are in this directory.

Ah, this looks like the right thing to do. But so do you not have an
nntp setup? There is no `News` directory for you, in `~` or `Mail`? 


Brady



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

* Re: Move Mail/ and News/ from ~/ ?
  2014-09-23  7:23   ` Brady Trainor
@ 2014-09-23  7:41     ` Rainer M Krug
  2014-09-23 16:58       ` Brady Trainor
  0 siblings, 1 reply; 5+ messages in thread
From: Rainer M Krug @ 2014-09-23  7:41 UTC (permalink / raw)
  To: Brady Trainor; +Cc: info-gnus-english


[-- Attachment #1.1: Type: text/plain, Size: 1708 bytes --]

Brady Trainor <algebrat@uw.edu> writes:

> Rainer M Krug <Rainer@krugs.de> writes:
>
>> Brady Trainor <algebrat@uw.edu> writes:
>>
>>> But to deal with `~/Mail/` and `~/News/`,...
>>
>> I have
>>
>> (setq gnus-home-directory    "~/.gnus.d/"
>>       gnus-init-file	     "~/.gnus.d/gnus.el"
>>       message-directory	     (expand-file-name "Mail/" gnus-home-directory))
>>
>> in my emacs.el file and all gnus related files are in this directory.
>
> Ah, this looks like the right thing to do. But so do you not have an
> nntp setup? There is no `News` directory for you, in `~` or `Mail`? 

I have the following in my ~/.gnus.d directory:

,----
| 09:38:42 ~/.gnus.d$ ll
| total 37032
| drwxr-xr-x   10 rainerkrug  staff   340B Sep 23 09:19 .
| drwxr-xr-x+ 168 rainerkrug  staff   5.6K Sep 23 09:36 ..
| -rw-r--r--@   1 rainerkrug  staff   6.0K Sep 11 10:49 .DS_Store
| -rw-r--r--    1 rainerkrug  staff    18M Sep 23 09:19 .gnus.registry.eioio
| -rw-r--r--    1 rainerkrug  staff   2.0K Sep 23 09:19 .newsrc
| -rw-r--r--    1 rainerkrug  staff   207K Sep 23 09:19 .newsrc.eld
| -rw-r--r--    1 rainerkrug  staff   2.0K Sep 11 10:49 .newsrc~
| drwxrwxr-x    7 rainerkrug  staff   238B Jul 22 11:28 Mail
| drwxr-xr-x    5 rainerkrug  staff   170B Apr 11 15:47 News
| -rw-r--r--    1 rainerkrug  staff    12K Sep 11 11:07 gnus.el
`----

Yes, I have one (gmane):

,----
|   (setq gnus-select-method 
|         '(nntp "news.gmane.org"
|                (nntp-open-connection-function nntp-open-tls-stream)
|                (nntp-port-number 563)))
`----

Cheers,

Rainer

>
>
> Brady
>
>

-- 
Rainer M. Krug
email: Rainer<at>krugs<dot>de
PGP: 0x0F52F982

[-- Attachment #1.2: Type: application/pgp-signature, Size: 494 bytes --]



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

* Re: Move Mail/ and News/ from ~/ ?
  2014-09-23  7:41     ` Rainer M Krug
@ 2014-09-23 16:58       ` Brady Trainor
  0 siblings, 0 replies; 5+ messages in thread
From: Brady Trainor @ 2014-09-23 16:58 UTC (permalink / raw)
  To: info-gnus-english

Rainer M Krug <Rainer@krugs.de> writes:

> Brady Trainor <algebrat@uw.edu> writes:
>
>> Rainer M Krug <Rainer@krugs.de> writes:
>>
>>> Brady Trainor <algebrat@uw.edu> writes:
>>>
>>>> But to deal with `~/Mail/` and `~/News/`,...
>>>
>>> I have
>>>
>>> (setq gnus-home-directory    "~/.gnus.d/"
>>>       gnus-init-file	     "~/.gnus.d/gnus.el"
>>>       message-directory	     (expand-file-name "Mail/" gnus-home-directory))
>>>
>>> in my emacs.el file and all gnus related files are in this directory.
>>
>> Ah, this looks like the right thing to do. But so do you not have an
>> nntp setup? There is no `News` directory for you, in `~` or `Mail`? 
>
>
> I have the following in my ~/.gnus.d directory:
>
> | drwxrwxr-x    7 rainerkrug  staff   238B Jul 22 11:28 Mail
> | drwxr-xr-x    5 rainerkrug  staff   170B Apr 11 15:47 News


Perfect! Thank you for the settings! 

(I think gnus-home-directory sets everything I was asking about /except/
for Mail/, that is, it will also set News/. Perhaps the documentation on
gnus-home-directory is a little ambiguous, but then, better to leave it
up in the air a little, than to be wrong if some change is made in the
future of the-one-true-email-client.)


Brady



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

end of thread, other threads:[~2014-09-23 16:58 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-09-23  4:48 Move Mail/ and News/ from ~/ ? Brady Trainor
2014-09-23  6:48 ` Rainer M Krug
2014-09-23  7:23   ` Brady Trainor
2014-09-23  7:41     ` Rainer M Krug
2014-09-23 16:58       ` Brady Trainor

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