GNU bug report logs - #8685
semanticdb-find-translate-path-default: Wrong type argument: stringp, nil

Previous Next

Package: emacs;

Reported by: sss <tom.smith <at> 163.com>

Date: Tue, 17 May 2011 16:54:01 UTC

Severity: normal

Merged with 10343

Found in version 24.0.92

Fixed in version 24.0.95

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 8685 in the body.
You can then email your comments to 8685 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#8685; Package emacs. (Tue, 17 May 2011 16:54:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to sss <tom.smith <at> 163.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Tue, 17 May 2011 16:54:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: sss <tom.smith <at> 163.com>
To: bug-gnu-emacs <at> gnu.org
Subject: semanticdb-find-translate-path-default: Wrong type argument:
	stringp, nil
Date: Wed, 18 May 2011 00:07:27 +0800 (CST)
[Message part 1 (text/plain, inline)]
When I type 'C-c , J' (semantic-ia-fast-jump) in a buffer (c-mode, with file tree.def from GCC source tree), I get the following message.

semanticdb-find-translate-path-default: Wrong type argument: stringp, nil

if the buffer has fundamental-mode:

semantic-ctxt-current-symbol-default: Wrong type argument: syntax-table-p, nil

similar reports:

http://lists.gnu.org/archive/html/bug-gnu-emacs/2010-07/msg00541.html
http://sourceforge.net/mailarchive/forum.php?thread_name=4C118357.9010105%40siege-engine.com&forum_name=cedet-semantic
[Message part 2 (text/html, inline)]

Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#8685; Package emacs. (Tue, 17 May 2011 18:18:01 GMT) Full text and rfc822 format available.

Message #8 received at 8685 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: sss <tom.smith <at> 163.com>
Cc: 8685 <at> debbugs.gnu.org
Subject: Re: bug#8685: semanticdb-find-translate-path-default: Wrong type
	argument: stringp, nil
Date: Tue, 17 May 2011 15:16:59 -0300
> When I type 'C-c , J' (semantic-ia-fast-jump) in a buffer (c-mode, with file
> tree.def from GCC source tree), I get the following message.

> semanticdb-find-translate-path-default: Wrong type argument: stringp, nil

> if the buffer has fundamental-mode:

> semantic-ctxt-current-symbol-default: Wrong type argument: syntax-table-p, nil

With which version of Emacs and/or CEDET?


        Stefan




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#8685; Package emacs. (Thu, 19 May 2011 03:09:02 GMT) Full text and rfc822 format available.

Message #11 received at 8685 <at> debbugs.gnu.org (full text, mbox):

From: sss <tom.smith <at> 163.com>
To: eric <at> siege-engine.com, 8685 <at> debbugs.gnu.org
Subject: Fw:Re:Re: bug#8685: semanticdb-find-translate-path-default: Wrong
	type argument: stringp, nil
Date: Thu, 19 May 2011 11:08:44 +0800 (CST)
[Message part 1 (text/plain, inline)]
 
 
 
-------- Forwarding messages --------
From: sss <tom.smith <at> 163.com>
Date: 2011-05-19 05:53:39
To: "Stefan Monnier" <monnier <at> iro.umontreal.ca>
Subject: Re:Re: bug#8685: semanticdb-find-translate-path-default: Wrong type argument: stringp, nil





At 2011-05-18 08:37:08,"Stefan Monnier" <monnier <at> iro.umontreal.ca> wrote:

>>>>>> When I type 'C-c , J' (semantic-ia-fast-jump) in a buffer (c-mode,
>>>>>> with file tree.def from GCC source tree), I get the
>>>>>> following message.
>>>> sorry, it's semantic-complete-jump.
>>> Can you give a concise recipe starting from "emacs -Q"?
>> emacs -Q
>> C-x C-f tree.def
>> semantic-mode
>> C-c , J
>> got message:
>> semanticdb-find-translate-path-default: Wrong type argument: stringp, nil
>
>Hmm... I just tried on Emacs's src/regex.c file and can't reproduce
>this problem.  Does it happen for any/most C-mode files?

no, 

maybe some special c files with complex marco definition, such as *.def file in gcc.

e.g. gimple.def sent as attachments.

>
>Can you try "rm -rf ~/.emacs.d/semanticdb" to make sure the bug is not
>in some corrupted file in there?
>
>>>>> With which version of Emacs and/or CEDET?
>>>> emacs trunk, almost newest revision (timestamp: Tue 2011-05-17
>>>> 14:47:55 +0200)
>>> Can you reproduce the problem with Emacs-23.3?
>> same with emacs trunk
>> I also try emacs-23.2.1 built by gentoo.
>> 'C-c , j' works, but 'C-c , J' does not work, even after 'C-c , j'
>
>So the problem is not new in Emacs-24?  Then I'll let Eric take over
>from here: it doesn't seem to be due to my lexical-scoping patches.
>
>
>        Stefan



[Message part 2 (text/html, inline)]
[gimple.def (application/octet-stream, attachment)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#8685; Package emacs. (Thu, 15 Mar 2012 22:13:02 GMT) Full text and rfc822 format available.

Message #14 received at 8685 <at> debbugs.gnu.org (full text, mbox):

From: David Engster <deng <at> randomsample.de>
To: sss <tom.smith <at> 163.com>
Cc: 8685 <at> debbugs.gnu.org, Stefan Monnier <monnier <at> iro.umontreal.ca>,
	eric <at> siege-engine.com
Subject: Re: Fw:Re:Re: bug#8685: semanticdb-find-translate-path-default: Wrong
	type argument: stringp, nil
Date: Thu, 15 Mar 2012 22:42:02 +0100
sss writes:
> At 2011-05-18 08:37:08,"Stefan Monnier" <monnier <at> iro.umontreal.ca> wrote:
>
>>>>>>> When I type 'C-c , J' (semantic-ia-fast-jump) in a buffer (c-mode,
>>>>>>> with file tree.def from GCC source tree), I get the
>>>>>>> following message.
>>>>> sorry, it's semantic-complete-jump.
>>>> Can you give a concise recipe starting from "emacs -Q"?
>>> emacs -Q
>>> C-x C-f tree.def
>>> semantic-mode
>>> C-c , J
>>> got message:
>>> semanticdb-find-translate-path-default: Wrong type argument: stringp, nil
>>
>>Hmm... I just tried on Emacs's src/regex.c file and can't reproduce
>>this problem.  Does it happen for any/most C-mode files?
>
> no, 
>
> maybe some special c files with complex marco definition, such as *.def file in gcc.
>
> e.g. gimple.def sent as attachments.

This seems to be the same issue as #10343, which I've recently fixed in
Emacs trunk. Could you please test again with latest Emacs from bzr?

-David




Forcibly Merged 8685 10343. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Tue, 27 Mar 2012 00:46:01 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 24 Apr 2012 11:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 13 years and 55 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.