Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Seth Delackner <seth@jtan.com>
Subject: Re: cache directory ':' -> '_'
Date: Tue, 23 Apr 2002 21:23:28 GMT	[thread overview]
Message-ID: <m2vgai6re8.fsf@jtan.com> (raw)
In-Reply-To: <vafr8l6iqdz.fsf@lucy.cs.uni-dortmund.de>

Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Großjohann) writes:

> Seth Delackner <seth@jtan.com> writes:
>
>> Since this home directory is shared between windows (cygwin) and unix
>> (bsd), how do I force gnus running under unix to also convert the
>> characters?  As it stands, it does not convert, causing it to maintain
>> a separate set of cache files.
>
> See the variable nnheader-file-name-translation-alist.

Kai you are my hero!  I can't believe how long it took, but I finally
have done it.  My xemacs installation, complete down to gnus, is
shared between windows and mac OS X.

The big stumbling block was getting both machines to look to
non-standard directories for files, as I finally did in the script
below.  Again, THANK YOU!

I should probably convert the windows side to also use ~/shared, but
for now it works so I'm not kicking it to see if it breaks.

(defun sd-env-mac ()
    "Generates my mac site specific variables"
    (setq sd-shared-prefix "~/shared")
    (setq gnus-home-directory "~/shared")
)
(defun sd-env-win ()
    "Generates my XEmacs/windows site specific variables"
    (setq sd-shared-prefix "~/")
)

(if (and (string-match "win32" (version)) (string-match "XEmacs" (version)))
    (sd-env-win)
    (sd-env-mac))

(defun sd-add-path (p) "add p to the load-path"
    (add-to-list 'load-path (expand-file-name p sd-shared-prefix)))

(sd-add-path "elisp/eieio")
(sd-add-path "elisp/gnus")
(sd-add-path "elisp/info")
(sd-add-path "elisp/jde")
(sd-add-path "elisp/semantic")
(sd-add-path "elisp/speedbar")


      parent reply	other threads:[~2002-04-23 21:23 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <3cxnd145.fsf@jtan.com>
     [not found] ` <m3wuuzimaf.fsf@multivac.cwru.edu>
2002-04-23  2:04   ` Seth Delackner
     [not found] ` <vafr8l6iqdz.fsf@lucy.cs.uni-dortmund.de>
2002-04-23 21:23   ` Seth Delackner [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2vgai6re8.fsf@jtan.com \
    --to=seth@jtan.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).