Re[1]: [CEDET-devel] C-c , j completion
Brought to you by:
zappo
From: Eric M. L. <er...@si...> - 2004-12-15 15:38:17
|
>>> Kai Grossjohann <ka...@em...> seems to think that: >When I type C-c , j foo and then TAB, I will see things like [0 of 2 >matches] and then [1 of 2 matches]. While starting to count from zero >is normal computerese, it does look somewhat out of place in this >context to me. [ ... ] I have a guess. The location is semantic-complete.el, line 1343. I would guess we need to increment the first number displayed by 1 for display purposes only. Do you concur? >>> Kai Grossjohann <ka...@em...> seems to think that: >If there are tags foo and fooBar in the current buffer, then C-c , j >foo RET does not work. Instead, I have to C-c , j foo TAB TAB RET, >where the number of TAB varies depending on the relative positions of >foo and fooBar in the buffer. > >WIBNI C-c , j foo RET would directly jump to foo if it is unambiguous? [ ... ] Hi, You have bumped into a code segment for handling situations where several methods/variables have the same name. I thought I had implemented the case of CR and a direct match, but this may be a new case I hadn't tried out yet. In case you feel brave before I get to it, see semantic-complete.el, line 349. I suspect we need to add something that detects the complete uniqueness of the string. Eric -- Eric Ludlam: za...@gn..., er...@si... Home: http://www.ludlam.net Siege: www.siege-engine.com Emacs: http://cedet.sourceforge.net GNU: www.gnu.org |