[Pkg-mc-devel] Bug#484759: removed syntax files cause error messages when opening files in mcedi

tech at mediaforest.net tech at mediaforest.net
Tue Jun 10 07:08:39 UTC 2008


Hello

Here's the result of dpkg -L mc |grep "/syntax/"
> $ dpkg -L mc |grep "/syntax/"
> /usr/share/mc/syntax/Syntax
> /usr/share/mc/syntax/ada95.syntax
> /usr/share/mc/syntax/aspx.syntax
> /usr/share/mc/syntax/assembler.syntax
> /usr/share/mc/syntax/c.syntax
> /usr/share/mc/syntax/changelog.syntax
> /usr/share/mc/syntax/cs.syntax
> /usr/share/mc/syntax/css.syntax
> /usr/share/mc/syntax/d.syntax
> /usr/share/mc/syntax/diff.syntax
> /usr/share/mc/syntax/dos.syntax
> /usr/share/mc/syntax/eiffel.syntax
> /usr/share/mc/syntax/fortran.syntax
> /usr/share/mc/syntax/html.syntax
> /usr/share/mc/syntax/idl.syntax
> /usr/share/mc/syntax/java.syntax
> /usr/share/mc/syntax/js.syntax
> /usr/share/mc/syntax/latex.syntax
> /usr/share/mc/syntax/lisp.syntax
> /usr/share/mc/syntax/lsm.syntax
> /usr/share/mc/syntax/lua.syntax
> /usr/share/mc/syntax/m4.syntax
> /usr/share/mc/syntax/mail.syntax
> /usr/share/mc/syntax/makefile.syntax
> /usr/share/mc/syntax/ml.syntax
> /usr/share/mc/syntax/nroff.syntax
> /usr/share/mc/syntax/octave.syntax
> /usr/share/mc/syntax/pascal.syntax
> /usr/share/mc/syntax/perl.syntax
> /usr/share/mc/syntax/php.syntax
> /usr/share/mc/syntax/po.syntax
> /usr/share/mc/syntax/povray.syntax
> /usr/share/mc/syntax/python.syntax
> /usr/share/mc/syntax/ruby.syntax
> /usr/share/mc/syntax/sh.syntax
> /usr/share/mc/syntax/smalltalk.syntax
> /usr/share/mc/syntax/slang.syntax
> /usr/share/mc/syntax/spec.syntax
> /usr/share/mc/syntax/sql.syntax
> /usr/share/mc/syntax/swig.syntax
> /usr/share/mc/syntax/syntax.syntax
> /usr/share/mc/syntax/tcl.syntax
> /usr/share/mc/syntax/texinfo.syntax
> /usr/share/mc/syntax/unknown.syntax
> /usr/share/mc/syntax/xml.syntax

but i had already checked here : http://packages.debian.org/lenny/i386/mc/filelist and compared to 
http://packages.debian.org/etch/i386/mc/filelist before saying some files were missing in the last release.

 >>/home/user/.mc/cedit/Syntax
> this file is definitivly not from mc but created by hand from you
The files ~/.mc/cedit/Syntax appearing in users home directory seems to be copies of /usr/share/mc/syntax/Syntax.
As this file isn't present in every users home, I think it might be created the first time one user run mcedit.

the line 120 of my file ~/.mc/cedit/Syntax is : "include debian-sources-list.syntax"
it's why, as the file /usr/share/mc/syntax/debian-sources-list.syntax isn't in the last release, this causes an error.

I have found a workaround : I copied the missing syntax files from another box running debian etch.















More information about the Pkg-mc-devel mailing list