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 14:12:32 -0600 [thread overview]
Message-ID: <CAPMKG4B3N2R8qtrZY+7RZ03SWO+meeHW-mR2U+YJ_4gGawh2sg@mail.gmail.com> (raw)
In-Reply-To: <55AFF799.1020403@yandex.ru>
Thanks for all the pointers. I will dig a little deeper....
On Wed, Jul 22, 2015 at 2:05 PM, Dmitry Gutov <dgutov@yandex.ru> wrote:
> On 07/22/2015 10:53 PM, Nicolas Bock wrote:
>
>> 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.
>
>
> Like I said, it could use Grep, but first it wants to determine what to
> search for (the "symbol"), and that's normally the "current tag", in buffers
> supported by Semantic.
>
> Regarding Grep, though, there's no entry for Fortran in
> semantic-symref-filepattern-alist.
>
> If you're using the current master (or can install it), you could try M-x
> xref-find-regexp instead. Or M-x xref-find-references.
>
>> The backtrace unfortunately does not help me much either:
>
>
>> Debugger entered--Lisp error: (wrong-type-argument syntax-table-p nil)
>> set-syntax-table(nil)
>
>
> This is from macro-expansion of `with-syntax-table'. As you can see, the
> argument is semantic-lex-syntax-table, which is apparently nil.
>
>> semantic-ctxt-current-symbol-default(nil)
>
>
> ^ That's the function, inside which you should be looking.
prev parent reply other threads:[~2015-07-22 20:12 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
2015-07-22 20:05 ` Dmitry Gutov
2015-07-22 20:12 ` Nicolas Bock [this message]
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=CAPMKG4B3N2R8qtrZY+7RZ03SWO+meeHW-mR2U+YJ_4gGawh2sg@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.