>
> ---------- Forwarded message ----------
> From: John Sullivan <[EMAIL PROTECTED]>
> To: Discussion <[email protected]>
> Date: Thu, 13 Sep 2007 17:12:47 -0400
> Subject: Re: [Planner-el-discuss] Intermittent planner/muse problems (John 
> Sullivan)
> "Mirko Vukovic" <[EMAIL PROTECTED]> writes:
>
> >> ---------- Forwarded message ----------
> >> From: John Sullivan <[EMAIL PROTECTED]>
> >> To: Discussion <[email protected]>
> >> Date: Thu, 13 Sep 2007 00:19:44 -0400
> >> Subject: Re: [Planner-el-discuss] Intermittent planner/muse problems
> >> "Mirko Vukovic" <[EMAIL PROTECTED]> writes:
> >
> >> Try evaluating (file-name-directory "~/.plans") and see what happens.
> >>
> > To add to my previous reply:
> >
> > (file-name-directory "~/.plans") gives "~/"
>
> This seems to be a problem, right? Not related to muse or planner..

Well, I am wondering where exactly the problem lies.  I played a
bit more with file-name-directory on my Emacs (22.1.1 on windows
XP).  And in general, it seems that if the argument of file name
ends with a slash, the whole argument is returned, otherwise, the
part up to the last slash:

(file-name-directory "d:/projects/")  gives "d:/projects/"

where projects is a valid directory, and

(file-name-directory "d:/projects")  gives "d:/"

file-name-directory does not seem to care whether the path is an
existent one or not.  Trying
(fine-name-directory "d:/bar") gives "d:/"
even though bar is a non-existent directory (there is a directory foo)
and trying
(fine-name-directory "d:/bar/") gives "d:/bar"


>
> --
> John Sullivan
> Emacs Planner Maintainer
> http://www.wjsullivan.net/PlannerMode.html
> GPG Key: AE8600B6

Thanks,

Mirko

_______________________________________________
Planner-el-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/planner-el-discuss

Reply via email to