From: Nicolas Bock <nicolasbock@gmail.com>
To: Dmitry Gutov <dgutov@yandex.ru>
Cc: "help-gnu-emacs@gnu.org" <help-gnu-emacs@gnu.org>
Subject: Re: semantic-symref-symbol returns "Wrong argument type"
Date: Wed, 22 Jul 2015 13:53:12 -0600 [thread overview]
Message-ID: <CAPMKG4CzxoLaVKKicTg1bY-yXfW9h-hGQHZZ2hmy0Y5LL-Tn+g@mail.gmail.com> (raw)
In-Reply-To: <55AFF3CD.5000607@yandex.ru>
Hi Dimitry,
On Wed, Jul 22, 2015 at 1:49 PM, Dmitry Gutov <dgutov@yandex.ru> wrote:
> On 07/22/2015 10:34 PM, Nicolas Bock wrote:
>
>> I enabled semtantic-mode and opened a Fortran source file. When I run
>> semantic-symref-symbol I get the following in the status line:
>>
>> Wrong type argument: syntax-table-p, nil
>
>
> It seems Semantic doesn't support Fortran. As such, it can't determine the
> "current symbol", and the search for symbols won't work.
>
That's what I suspected, but what I don't understand is why it doesn't
use 'grep' as a fallback. That should be language agnostic, I would
think.
>> The same sequence of steps works for a C source file. What does this
>> error message tell me?
>
>
> Make it wanted you to M-x toggle-debug-on-error, and fix the error all by
> yourself. Filing a bug is also an adequate reaction.
The backtrace unfortunately does not help me much either:
Debugger entered--Lisp error: (wrong-type-argument syntax-table-p nil)
set-syntax-table(nil)
semantic-ctxt-current-symbol-default(nil)
semantic-ctxt-current-symbol()
semantic-ctxt-current-thing()
semantic-complete-default-to-tag(nil)
semantic-complete-read-tag-engine([object
semantic-collector-project-brutish "Symrefs for: " #<buffer
solvers_mod.F90> nil unbound unbound unbound unbound unbound #<buffer
solvers_mod.F90>] [object
semantic-displayor-traditional-with-focus-highlight "simple" nil
unbound unbound] "Symrefs for: " nil nil nil)
semantic-complete-read-tag-project("Symrefs for: ")
(semantic-tag-name (semantic-complete-read-tag-project "Symrefs for: "))
(list (semantic-tag-name (semantic-complete-read-tag-project
"Symrefs for: ")))
call-interactively(semantic-symref-symbol nil nil)
command-execute(semantic-symref-symbol)
next prev parent reply other threads:[~2015-07-22 19:53 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-22 19:34 semantic-symref-symbol returns "Wrong argument type" Nicolas Bock
2015-07-22 19:49 ` Dmitry Gutov
2015-07-22 19:53 ` Nicolas Bock [this message]
2015-07-22 20:05 ` Dmitry Gutov
2015-07-22 20:12 ` Nicolas Bock
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAPMKG4CzxoLaVKKicTg1bY-yXfW9h-hGQHZZ2hmy0Y5LL-Tn+g@mail.gmail.com \
--to=nicolasbock@gmail.com \
--cc=dgutov@yandex.ru \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.