Re: .syntax file syntax changed since 4.5.4x?

2003-01-28 Thread Pavel Roskin
Hello!

  I'm porting my .syntax hilite files from AMC (uses syntax code from 4.5.4x)
  and found that the /nn number codes has gone. I've never understood their
  purpose but all my syntax files contains them after each color code.

They are gone precisely for that reason - because they serve no purpose
for mc.  The color after the slash is for cooledit.  The color before the
slash is for mcedit.

I only left the colors for cooledit when they had names, e.g. Orange.  In
this case I knew that the choice of the color was intentional.  Numbers
like 24 were often wrong, so I removed them.

The syntax didn't change, I just didn't want to force everybody to provide
the colors for Cooledit just because everybody is doing it.  If you care
about Cooledit, the separate color set is welcome, as long as you use
meaningful color names and you have tested the ruleset with Cooledit.

If you don't care about Cooledit, then please don't pretend that you do.
If you haven't tested the ruleset with Cooledit, then please remove the
numbers.

 After some more RTFM i've found opposite things written.

It's fixed now.  Thank you.

-- 
Regards,
Pavel Roskin
___
Mc-devel mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/mc-devel



An old patch

2003-01-28 Thread Attila Feher (LMF)
Hi All,

Finally I was able to find the MC headquarters! :-)

I use an ancient mc (version so old it is unimportant) on Solaris.  Ages ago I have 
patched its sources to have a (for me) very useful added feature.  That is: you can 
tell in the menu/extension file, if a prompt can be left empty:

8
m   Run make with no pars, output to makeout
TARGET=%{.Enter parameters}
dtterm -geometry 184x67+0+0 -title Make -e wwmake $TARGET 
8



This is an example of the use of it: my Makefile handler.  Please observe the . 
immediately after the opening curly brace!  It is very convenient.  I just press F2-m 
and then an enter to start make for the default target.

Now - of course - I absolutely do not remember what I have changed.  But I can diff to 
the original sources to tell.  I do not remember if I did the same change for the 
extension file or not - of course it would be helpful there as well.

Why do I write?  I would like to get this change into the official version.  I have 
tried to compile it here - but it want glibc and other stuff I do not have - and I do 
not have time now to download and build everything.  Especialy because I have to 
configure things with an awful lot of changes due to our restricted environment (and 
ancient compilers).

My question: could anyone add this simple change to the current code or help me to do 
it?  I am absolutely not familiar with sourceforge and CVS. :-(  I better be, but I am 
not.

Please mail me directly!

Attila
___
Mc-devel mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/mc-devel