schema-dir points to wrong location

Bug #258097 reported by joesmoe10
4
Affects Status Importance Assigned to Milestone
nXhtml
Fix Released
Medium
lborgman

Bug Description

the schema-dir variable tries to point to /usr/share/emacs/23.0.60/lisp/nxml/schema

This directory doesn't exist. I think the directory it should be pointing to is /usr/share/emacs/23.0.60/site-lisp/nxml-mode/schema

As a workaround, I simply copied the directory where nxhtml thought it should be.

Revision history for this message
lborgman (lennart-borgman) wrote :

Thanks for the report, joe.

I am a bit puzzled by this.

- Can you please tell me when your checkout of Emacs 23 (not yet released) from the CVS sources where made?
- Do you have a directory /usr/share/emacs/23.0.60/etc/schema/?

Changed in nxhtml:
assignee: nobody → lennart-borgman
importance: Undecided → Medium
Changed in nxhtml:
status: New → In Progress
Revision history for this message
lborgman (lennart-borgman) wrote :

Since you have lisp/nxml it should be the first let that catch schema-dir. I do not understand why this does not work.

- What is exec-directory?
- And if you evaluate (expand-file-name "../etc/schema" exec-directory)

Revision history for this message
joesmoe10 (joesmoe10) wrote : Re: [Bug 258097] Re: schema-dir points to wrong location

Here ya go.

- Can you please tell me when your checkout of Emacs 23 (not yet released)
from the CVS sources where made?
I installed emacs-snapshot from the Ubuntu repositories so I don't know when
the checkout was.

- Do you have a directory /usr/share/emacs/23.0.60/etc/schema/?
I don't have the /usr/share/emacs/23.0.60/etc/schema directory I only have
/usr/share/emacs/23.0.60/
The only directory I have is i486-linux-gnu, I don't have the etc directory.

- And if you evaluate (expand-file-name "../etc/schema" exec-directory)
"/usr/lib/emacs/23.0.60/etc/schema"

On Fri, Aug 15, 2008 at 8:07 AM, lborgman <email address hidden> wrote:

> Since you have lisp/nxml it should be the first let that catch schema-
> dir. I do not understand why this does not work.
>
> - What is exec-directory?
> - And if you evaluate (expand-file-name "../etc/schema" exec-directory)
>
> --
> schema-dir points to wrong location
> https://bugs.launchpad.net/bugs/258097
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in nXhtml for Emacs: In Progress
>
> Bug description:
> the schema-dir variable tries to point to
> /usr/share/emacs/23.0.60/lisp/nxml/schema
>
> This directory doesn't exist. I think the directory it should be pointing
> to is /usr/share/emacs/23.0.60/site-lisp/nxml-mode/schema
>
> As a workaround, I simply copied the directory where nxhtml thought it
> should be.
>

Revision history for this message
lborgman (lennart-borgman) wrote :

I wonder when your Emacs was checked out from the CVS development sources. Can you please tell me the output from

   M-x version

Revision history for this message
lborgman (lennart-borgman) wrote :

This bug is fixed in version 1.44 of nXhtml

Changed in nxhtml:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.