From: Jake C. <co...@pp...> - 2003-11-28 13:27:36
|
>>>>> "MS" == Martin Stjernholm <ma...@ly...> writes: MS> In an earlier mail (as a response to Jake Colman; you probably haven't MS> seen it unless you're subscribed to the cc-mode-help mailing list), I MS> claimed that your patch didn't solve the issue with the missing MS> semicolon at the end of those macros. But it does - I stand corrected. MS> Still, to answer Jakes question if something like it could be added to MS> CC Mode to cope with such macros: Your change only fixes the analysis MS> in the special case when the macro is in a class block. To fix MS> something generic that also works with the font locking is a lot more MS> work. >> /.../ and the only solution I could think of was to define this >> qt-keyword syntactic symbol. But maybe I missed something... MS> The intention is that you'd write a custom lineup function to fit your MS> situation. That's also fairly upgrade safe. MS> However, as said above your patch also compensates for the missing MS> semicolons that affect the indentation of the following line. That MS> would be awkward to accomplish with lineup functions, so you'd have to MS> patch c-guess-basic-syntax a bit anyway. So where does all this leave us? Will you be applying his patch to fix the semicolon issue? Will you be modifying the base code to support the writing of a custom lineup function? Or, best idea for me, will you be writing the new custom lineup function to make this all work for everyone's benefit? After all, there are quite a few XEmacs/Qt developers out there! :-) -- Jake Colman Principia Partners LLC Phone: (201) 209-2467 Harborside Financial Center Fax: (201) 946-0320 902 Plaza Two E-mail: co...@pp... Jersey City, NJ 07311 www.principiapartners.com |