BUG completion in region

Simon Brown <[email protected]> Wed, 23 Mar 2016 19:13:23 +0000
Newsgroups gmane.emacs.cedet
Message-ID <1458760403.3290662.557852074.14BAA21E@webmail.messagingengine.com>
This is a multi-part message in MIME format.

--_----------=_145876040332906620
Content-Transfer-Encoding: 7bit
Content-Type: text/plain

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?

Simon

--_----------=_145876040332906620
Content-Disposition: attachment; filename="cedetBug.c"
Content-Id: <1458759874.3288791.168faf68eb5ad31c7b9a0a2f5369d40cd47ed607.429678B8@content.messagingengine.com>
Content-Transfer-Encoding: base64
Content-Type: text/x-csrc; name="cedetBug.c"

dHlwZWRlZiBzdHJ1Y3QgbXlTdHVjdF90eXBlIHsNCglpbnQgYmxhbTsNCglp
bnQgYmxpbTsNCn0gbXlTdHJ1Y3Q7DQoNCmludCBteVN0cnVjdEFkZCAobXlT
dHJ1Y3QqIEEsIG15U3RydWN0KiBCLCBteVN0cnVjdCogdGhlUmVzdWx0KQ0K
ew0KICAvLyBEb2VzIFNvbWV0aGluZw0KfQ0KDQoNCmludCBtYWluIChpbnQg
YXJnYywgY2hhciogYXJndltdKQ0Kew0KICBteVN0cnVjdCB0aGVTdHJ1Y3Q7
DQogIHRoZVN0cnVjdCA9IG15Uw0KfQ0K

--_----------=_145876040332906620
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------------------------
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
--_----------=_145876040332906620
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Cedet-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cedet-devel

--_----------=_145876040332906620--