6 May 2004 10:44
RE: ECB question....
Berndl, Klaus <klaus.berndl <at> sdm.de>
2004-05-06 08:44:55 GMT
2004-05-06 08:44:55 GMT
Hi Javier, Eric, david: Oviedo, Javier wrote: > Hello Klaus. I've run come across an interesting scenario that I > thought you could help me with. > > We have an internal programming language that is a pseudo C type of > language. Very similar but not the same. In any case, since they are > so similar, I have the associated file type set to open the buffer in > c-mode. Now the problem...since file is not really in true C syntax, > semantic displays most of the file in the > semantic-unmatched-syntax-face. This is very annoying to look at.(Continue reading)Yes, i can imagine
> > I've gone through the manual looking for a way to disable this on a > file by file basis. So far I've only found a way to disable the > semantic parsing on a mode basis using > ecb-non-semantic-exclude-modes. I tried using a defalias of c-mode > and adding that defalias to the excluded modes, but that didn't > work...given that defalias will return c-mode. `ecb-non-semantic-exclude-modes' is not for excluding modes from being parsed by semantic - its for exckluding modes by being parsed by imenu or etags when no semantic-parser exists for this modes. Currently there is no way in ECB to exclude modes from being parsed by semantic if for such a mode a semantic- parser exists. And AFAIK there is also no customizable way to exclude files from being parsed by semantic when a parser for this
Yes, i can imagine
>
> I've gone through the manual looking for a way to disable this on a
> file by file basis. So far I've only found a way to disable the
> semantic parsing on a mode basis using
> ecb-non-semantic-exclude-modes. I tried using a defalias of c-mode
> and adding that defalias to the excluded modes, but that didn't
> work...given that defalias will return c-mode.
`ecb-non-semantic-exclude-modes' is not for excluding modes from
being parsed by semantic - its for exckluding modes by being
parsed by imenu or etags when no semantic-parser exists for
this modes. Currently there is no way in ECB to exclude modes
from being parsed by semantic if for such a mode a semantic-
parser exists. And AFAIK there is also no customizable way to
exclude files from being parsed by semantic when a parser for this
RSS Feed