> ---------- Forwarded message ----------
> From: Michael Olson <[EMAIL PROTECTED]>
> To: [email protected]
> Date: Thu, 11 Oct 2007 09:43:57 -0400
> Subject: Re: [Planner-el-discuss] Planner not recognizing planner-directory
> "Mirko Vukovic" <[EMAIL PROTECTED]> writes:
>
> > I recently had a similar problem and found two unrelated reasons for it:
> >
> > 1) I had to specify my planner directory as "~/.plans/"  in 
> > muse-project-alist:
> >       ("WikiPlanner"
> >        ("~/.plans/"
> >         :default "TaskPool.muse"
> >         :major-mode planner-mode
> >         :visit-link planner-visit-link
> >         :base "planner-html" :path "~/public_html/Plans/"))
> >   Note the trailing slash in the directory settings.
> > 2) Somehow, my old muse-project-alist ended up in the
> > (custom-set-variables ... )section at the end of the .emacs file.  So
> > even though I was setting explicitly the planner directory somewhere
> > in the middle of the .emacs file, that was being overwritten at the
> > end of the .emacs file.
>
> Hmm.  I'll have to look into the trailing slash issue in Muse.  Are you
> both using Windows?
>
> --
>        Michael Olson -- FSF Associate Member #652     |
>  http://mwolson.org/ -- Jabber: mwolson_at_hcoop.net  |  /` |\ | | |
>             Sysadmin -- Hobbies: Lisp, GP2X, HCoop    | |_] | \| |_|
> Projects: Emacs, Muse, ERC, EMMS, ErBot, DVC, Planner |
>

I am on windows.

I asked the question on gnu.emacs.help on the desired behavior of
(file-name-directory ...) which was related to my problem.  The
designed behavior of this function is to strip away the file from the
string and return the directory portion.  It does not check for file
or directory existence.  So, if the argument does not end with a
slash, the string before the slash is stripped away as the file name.

Mirko

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

Reply via email to