>>>>> "Mirko" == Mirko Vukovic <[EMAIL PROTECTED]> writes:
>>
>> ---------- 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..
Mirko> Well, I am wondering where exactly the problem lies. I
Mirko> played a bit more with file-name-directory on my Emacs
Mirko> (22.1.1 on windows XP). And in general, it seems that if the
Mirko> argument of file name ends with a slash, the whole argument
Mirko> is returned, otherwise, the part up to the last slash:
Mirko> (file-name-directory "d:/projects/") gives "d:/projects/"
Mirko> where projects is a valid directory, and
Mirko> (file-name-directory "d:/projects") gives "d:/"
Mirko> file-name-directory does not seem to care whether the path is
Mirko> an existent one or not. Trying (fine-name-directory
Mirko> "d:/bar") gives "d:/" even though bar is a non-existent
Mirko> directory (there is a directory foo) and trying
Mirko> (fine-name-directory "d:/bar/") gives "d:/bar"
Thierry> Did you try (file-name-directory "d:\bar\") ?
>>
>> -- John Sullivan Emacs Planner Maintainer
>> http://www.wjsullivan.net/PlannerMode.html GPG Key: AE8600B6
Mirko> Thanks,
Mirko> Mirko
Mirko> _______________________________________________
Mirko> Planner-el-discuss mailing list [email protected]
Mirko> https://mail.gna.org/listinfo/planner-el-discuss
--
A + Thierry
pubkey: http://pgp.mit.edu/
_______________________________________________
Planner-el-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/planner-el-discuss