Re: BUG completion in region
Mandar Mitra <[email protected]> Thu, 24 Mar 2016 12:25:02 +0530
| Newsgroups | gmane.emacs.cedet |
|---|---|
| Message-ID | <[email protected]> |
Simon Brown wrote (Wed, Mar 23, 2016 at 07:13:23PM +0000): > Hello, > > With latest cedet (4b41ea6) There seems to be an interaction problem > with code completion. In the attached file if you try to complete line > 15 with C-M-i you get an error: > > completion-in-region: Assertion failed: (<= start (point)), #<marker at > 228 in /home/smb/Desktop/Cedet Bug/cedetBug.c>, 66 > > I use company mode for completion and when this happens the point jumps > to the start of line 6 which is annoying. If I switch to built in cedet > the problem goes away. I don't know if this is a cedet bug or if it > belongs elsewhere. It was reported to the company mode project here: > https://github.com/company-mode/company-mode/issues/419 > > So it's been present for some months. Any suggestions on how to debug > it? I've observed a possibly related problem, but didn't know where to report it / how to debug it. I have "." and ">" bound to a variant of semantic-complete-self-insert for completion of struct fields. When I type "x." or "x->" a menu of possible fields comes up, but on selecting one of them, point jumps to the structure definition instead of filling in the field name. I can't even go back where I was with C-u C-SPC. ------------------------------------------------------------------------------ Transform Data into Opportunity. Accelerate data analysis in your applications with Intel Data Analytics Acceleration Library. Click to learn more. http://pubads.g.doubleclick.net/gampad/clk?id=278785351&iu=/4140