* Re: Change location of .newsrc.eld file?
[not found] <mailman.11918.1414129521.1147.info-gnus-english@gnu.org>
@ 2014-10-24 13:21 ` Ted Zlatanov
0 siblings, 0 replies; 5+ messages in thread
From: Ted Zlatanov @ 2014-10-24 13:21 UTC (permalink / raw)
To: info-gnus-english
On Fri, 24 Oct 2014 15:44:57 +1000 "Paul W. Rankin" <hello@paulwrankin.com> wrote:
PWR> Can I customize the path of the .newsrc.eld file? I'd like to store it
PWR> inside another folder that I can sync to Dropbox.
PWR> Caveat: without altering the paths of the ~/News and ~/Mail directories,
PWR> if possible?
I use:
(let ((f "~/Dropbox/newsrc"))
(if (file-exists-p (concat f ".eld"))
(setq gnus-startup-file f)
(message "Dropbox newsrc is not present")
(sit-for 2)))
Ted
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Change location of .newsrc.eld file?
2014-10-24 13:49 ` Andy Moreton
@ 2014-10-24 14:51 ` Paul W. Rankin
0 siblings, 0 replies; 5+ messages in thread
From: Paul W. Rankin @ 2014-10-24 14:51 UTC (permalink / raw)
To: info-gnus-english
Andy Moreton <andrewjmoreton@gmail.com> writes:
> Yes - do this from before starting gnus:
>
> (setq gnus-startup-file "/path/to/dir/.newsrc")
>
> This sets the path for ".newsrc" (if you use it) and ".newsrc.eld".
Thanks, this is what I was looking for. Didn't realise the var affects
both files (in my defence, the doc only mentions the former).
--
Paul W. Rankin
http://www.paulwrankin.com
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Change location of .newsrc.eld file?
2014-10-24 5:44 Paul W. Rankin
2014-10-24 7:39 ` Alexander Baier
@ 2014-10-24 13:49 ` Andy Moreton
2014-10-24 14:51 ` Paul W. Rankin
1 sibling, 1 reply; 5+ messages in thread
From: Andy Moreton @ 2014-10-24 13:49 UTC (permalink / raw)
To: info-gnus-english
On Fri 24 Oct 2014, Paul W. Rankin wrote:
> Can I customize the path of the .newsrc.eld file? I'd like to store it
> inside another folder that I can sync to Dropbox.
>
> Caveat: without altering the paths of the ~/News and ~/Mail directories,
> if possible?
Yes - do this from before starting gnus:
(setq gnus-startup-file "/path/to/dir/.newsrc")
This sets the path for ".newsrc" (if you use it) and ".newsrc.eld".
HTH,
AndyM
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Change location of .newsrc.eld file?
2014-10-24 5:44 Paul W. Rankin
@ 2014-10-24 7:39 ` Alexander Baier
2014-10-24 13:49 ` Andy Moreton
1 sibling, 0 replies; 5+ messages in thread
From: Alexander Baier @ 2014-10-24 7:39 UTC (permalink / raw)
To: Paul W. Rankin; +Cc: info-gnus-english
On 2014-10-24 07:44 Paul W. Rankin wrote:
> Can I customize the path of the .newsrc.eld file? I'd like to store it
> inside another folder that I can sync to Dropbox.
>
> Caveat: without altering the paths of the ~/News and ~/Mail directories,
> if possible?
Not an answer to your question, but maybe a valid workaround: Did you
try using a symlink?
HTH,
--
Alexander Baier
^ permalink raw reply [flat|nested] 5+ messages in thread
* Change location of .newsrc.eld file?
@ 2014-10-24 5:44 Paul W. Rankin
2014-10-24 7:39 ` Alexander Baier
2014-10-24 13:49 ` Andy Moreton
0 siblings, 2 replies; 5+ messages in thread
From: Paul W. Rankin @ 2014-10-24 5:44 UTC (permalink / raw)
To: info-gnus-english
Can I customize the path of the .newsrc.eld file? I'd like to store it
inside another folder that I can sync to Dropbox.
Caveat: without altering the paths of the ~/News and ~/Mail directories,
if possible?
--
Paul W. Rankin
http://www.paulwrankin.com
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2014-10-24 14:51 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <mailman.11918.1414129521.1147.info-gnus-english@gnu.org>
2014-10-24 13:21 ` Change location of .newsrc.eld file? Ted Zlatanov
2014-10-24 5:44 Paul W. Rankin
2014-10-24 7:39 ` Alexander Baier
2014-10-24 13:49 ` Andy Moreton
2014-10-24 14:51 ` Paul W. Rankin
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).