From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nicolas Bock Newsgroups: gmane.emacs.help Subject: Re: semantic-symref-symbol returns "Wrong argument type" Date: Wed, 22 Jul 2015 13:53:12 -0600 Message-ID: References: <55AFF3CD.5000607@yandex.ru> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1437594853 21108 80.91.229.3 (22 Jul 2015 19:54:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 22 Jul 2015 19:54:13 +0000 (UTC) Cc: "help-gnu-emacs@gnu.org" To: Dmitry Gutov Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jul 22 21:54:08 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZI05e-0000x0-T0 for geh-help-gnu-emacs@m.gmane.org; Wed, 22 Jul 2015 21:54:07 +0200 Original-Received: from localhost ([::1]:37984 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZI05e-000645-2k for geh-help-gnu-emacs@m.gmane.org; Wed, 22 Jul 2015 15:54:06 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37458) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZI05U-00063p-9z for help-gnu-emacs@gnu.org; Wed, 22 Jul 2015 15:53:57 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZI05Q-0008BW-Th for help-gnu-emacs@gnu.org; Wed, 22 Jul 2015 15:53:56 -0400 Original-Received: from mail-vn0-x231.google.com ([2607:f8b0:400c:c0f::231]:34192) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZI05Q-0008BP-PM for help-gnu-emacs@gnu.org; Wed, 22 Jul 2015 15:53:52 -0400 Original-Received: by vnds125 with SMTP id s125so52330138vnd.1 for ; Wed, 22 Jul 2015 12:53:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=cnh9F/kIp3prZdPoAxqtkdX+wVSMmJwkbb609KIia4E=; b=M+ndnBZSRAHkJCDQbxHW0a+4B3fLtmggLUJgvQHqgNr0zXF6ODUTzxNrEXKNmFicFW hjBGTbDTm3X3vABDlj/9tQQNARF/W37YMbW85mYsTEL+CYPSYn0U43rcYF1q8TwS5abP hX1ATbl5NIGobt5g7HPk1+4s05TpD05LQrvn4/Jn5qu8Peuo/eWtWvnElZ++Sgafhtrg 5GsUMUSDVkw9+Ym2mQaMgDOiUHTFtJZo3aclTRhb4JuYP0xy4QfhHGxbVaS0ocfGjyAH 922o1U4v5d/+GU2ktVkgrwHfhZPMcfNAwZS/hK6z0e4ZwhZONjmnM62JrY7mENkPtn+n LUlQ== X-Received: by 10.52.90.4 with SMTP id bs4mr5353475vdb.59.1437594832259; Wed, 22 Jul 2015 12:53:52 -0700 (PDT) Original-Received: by 10.31.61.198 with HTTP; Wed, 22 Jul 2015 12:53:12 -0700 (PDT) In-Reply-To: <55AFF3CD.5000607@yandex.ru> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:400c:c0f::231 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:105918 Archived-At: Hi Dimitry, On Wed, Jul 22, 2015 at 1:49 PM, Dmitry Gutov 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: " # nil unbound unbound unbound unbound unbound #] [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)