Gnus development mailing list
 help / color / mirror / Atom feed
From: Simon Josefsson <jas@extundo.com>
Cc: ding@gnus.org
Subject: Re: error entering cvs gnus
Date: Sun, 19 Aug 2001 02:11:46 +0200	[thread overview]
Message-ID: <iluvgjk9ad9.fsf@barbar.josefsson.org> (raw)
In-Reply-To: <m2ofpd0vzx.fsf@tuba.localdomain> (Laura Conrad's message of "18 Aug 2001 19:49:22 -0400")

Laura Conrad <lconrad@laymusic.org> writes:

> When I try to enter the cvs gnus that I upped this afternoon, I get:
>
> Signaling: (file-error "Creating directory" "file exists" "/home/lconrad/Mail/world/old")
>   make-directory-internal("/home/lconrad/Mail/world/old")
>   make-directory("/home/lconrad/Mail/world/old/" t)
>   gnus-make-directory("/home/lconrad/Mail/world/old/")

I don't get this, `gnus-make-directory' should only create the
directory if it does not already exist:

(defun gnus-make-directory (directory)
  "Make DIRECTORY (and all its parents) if it doesn't exist."
  (require 'nnmail)
  (let ((file-name-coding-system nnmail-pathname-coding-system))
    (when (and directory
	       (not (file-exists-p directory)))
      (make-directory directory t)))
  t)

Is there something wrong with `file-exists-p' in your setup?  NFS?
Does `(file-exists-p "/home/lconrad/Mail/world/old/")' really evaluate
to nil?  The directory exists, right?

Maybe `file-directory-p' should be used instead?



  reply	other threads:[~2001-08-19  0:11 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-08-18 23:49 Laura Conrad
2001-08-19  0:11 ` Simon Josefsson [this message]
2001-08-19  0:48   ` Laura Conrad
2001-08-19  8:58     ` Simon Josefsson
2001-08-19 11:22       ` Laura Conrad
2001-08-19 12:00         ` Simon Josefsson

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=iluvgjk9ad9.fsf@barbar.josefsson.org \
    --to=jas@extundo.com \
    --cc=ding@gnus.org \
    /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).