From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 25 11:05:56 2012 Received: (at submit) by debbugs.gnu.org; 25 Jul 2012 15:05:56 +0000 Received: from localhost ([127.0.0.1]:39175 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Su39w-0006Ta-2D for submit@debbugs.gnu.org; Wed, 25 Jul 2012 11:05:56 -0400 Received: from eggs.gnu.org ([208.118.235.92]:49143) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Su39u-0006TU-NZ for submit@debbugs.gnu.org; Wed, 25 Jul 2012 11:05:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Su33I-0005E5-WB for submit@debbugs.gnu.org; Wed, 25 Jul 2012 10:59:08 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:55968) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Su33I-0005E1-T9 for submit@debbugs.gnu.org; Wed, 25 Jul 2012 10:59:04 -0400 Received: from eggs.gnu.org ([208.118.235.92]:59333) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Su33E-0004MN-He for bug-gnu-emacs@gnu.org; Wed, 25 Jul 2012 10:59:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Su33A-0005DC-8J for bug-gnu-emacs@gnu.org; Wed, 25 Jul 2012 10:59:00 -0400 Received: from mail-pb0-f41.google.com ([209.85.160.41]:62591) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Su33A-0005Cx-2H for bug-gnu-emacs@gnu.org; Wed, 25 Jul 2012 10:58:56 -0400 Received: by pbbrp2 with SMTP id rp2so1706086pbb.0 for ; Wed, 25 Jul 2012 07:58:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id:mime-version:content-type; bh=65DUxsU7GvvUY5kZxiIABOeJCQQSJbvJRqsH2XbbU74=; b=d7XzTmSDzsZkLFQNayfd0BxGb711Mv5nlOl/fLx/76Y0zHnmyaqUqnTWT+PT3Ir4ou IBfzxZ347ciuEvNr3rhNzuDif3urDl5WttDark+/5wDJwsIVFUaG1YZVakb4tN5IB7Dl dKx7jslNHCgY0uquJlWfM2e39PB9bQTA9eS2l2HQvPCsfxWwQKeVDx2gLQP+n0/fMxlk IMSrUDiHYL4yuW71U6mqOIlH8uoKuhSgNgO5SPFf0/2QprtAbrKUWkfmfEinM6SmjzLN YZIcNKqtyvQjVvqGxAvuQ9KpoP/ienHxKw/9DlozQNqfGVRuRRqZFPKEfN0CjFa837lQ 5png== Received: by 10.68.213.234 with SMTP id nv10mr53969283pbc.56.1343228334643; Wed, 25 Jul 2012 07:58:54 -0700 (PDT) Received: from JAMBU-NETBOOK ([101.62.121.158]) by mx.google.com with ESMTPS id oo6sm14527448pbc.22.2012.07.25.07.58.51 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 25 Jul 2012 07:58:53 -0700 (PDT) From: Jambunathan K To: bug-gnu-emacs@gnu.org Subject: 24.1.50; semantic :: Debugger entered--Lisp error: (wrong-type-argument syntax-table-p nil) Date: Wed, 25 Jul 2012 20:28:43 +0530 Message-ID: <81sjcfopjw.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 208.118.235.17 X-Spam-Score: -6.1 (------) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.1 (------) I am exploring semantic for the first time. 1. runemacs.exe -Q 2. Visit your favorite library. M-x find-library RET org-odt.el RET 3. M-x semantic-mode RET 4. C-c , j (With cursor on "some" symbol) 5. Note the following error. Either some interesting thing should happen or a useful message should be echoed. 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-buffer-deep "Jump to symbol: " # nil unbound unbound unbound unbound unbound] [object semantic-displayor-traditional-with-focus-highlight "simple" nil unbound unbound] "Jump to symbol: " nil nil nil) semantic-complete-read-tag-buffer-deep("Jump to symbol: ") semantic-complete-jump-local() call-interactively(semantic-complete-jump-local nil nil) In GNU Emacs 24.1.50.1 (i386-mingw-nt5.1.2600) of 2012-07-23 on MARVIN Bzr revision: 109189 vincentb1@users.sourceforge.net-20120722211412-mnq2ih82me0bpuhx Windowing system distributor `Microsoft Corp.', version 5.1.2600 Configured using: `configure --with-gcc (4.6) --no-opt --enable-checking --cflags -ID:/devel/emacs/libs/libXpm-3.5.8/include -ID:/devel/emacs/libs/libXpm-3.5.8/src -ID:/devel/emacs/libs/libpng-dev_1.4.3-1/include -ID:/devel/emacs/libs/zlib-dev_1.2.5-2/include -ID:/devel/emacs/libs/giflib-4.1.4-1/include -ID:/devel/emacs/libs/jpeg-6b-4/include -ID:/devel/emacs/libs/tiff-3.8.2-1/include -ID:/devel/emacs/libs/gnutls-3.0.9/include -ID:/devel/emacs/libs/libiconv-1.13.1-1-dev/include -ID:/devel/emacs/libs/libxml2-2.7.8/include/libxml2' Important settings: value of $EMACSDATA: C:/Program Files/emacs-24.1.50/etc value of $EMACSDOC: C:/Program Files/emacs-24.1.50/etc value of $EMACSLOADPATH: C:/Program Files/emacs-24.1.50/site-lisp;C:/Program Files/emacs-24.1.50/../site-lisp;C:/Program Files/emacs-24.1.50/lisp;C:/Program Files/emacs-24.1.50/leim value of $EMACSPATH: C:/Program Files/emacs-24.1.50/bin value of $LANG: ENG locale-coding-system: cp1252 default enable-multibyte-characters: t From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 25 17:19:53 2012 Received: (at 12045) by debbugs.gnu.org; 25 Jul 2012 21:19:53 +0000 Received: from localhost ([127.0.0.1]:39664 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Su8zo-0006QE-RO for submit@debbugs.gnu.org; Wed, 25 Jul 2012 17:19:53 -0400 Received: from randomsample.de ([83.169.19.17]:48324) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Su8zm-0006Q6-NM for 12045@debbugs.gnu.org; Wed, 25 Jul 2012 17:19:51 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=randomsample.de; s=a; h=Content-Type:MIME-Version:Message-ID:Date:References:In-Reply-To:Subject:Cc:To:From; bh=BTJCv5/U3vQwS5ctOEneXGF5eWqKnAxP4vVywsqiMwM=; b=e4m/K0WJIgQJQT3nR5zqWGcHwdFlY16g2RhfuIWwySj728P8QB5nNJ35GxaShlI8oBLlIOlPKAboPcrZVue0XEjq1TrzBS1Z8JUj19KSblQi6EV9SWSmHxjcCvcsnqbM; Received: from dslc-082-083-056-224.pools.arcor-ip.net ([82.83.56.224] helo=spaten) by randomsample.de with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1Su8tB-0005j2-Na; Wed, 25 Jul 2012 23:13:01 +0200 From: David Engster To: Jambunathan K Subject: Re: bug#12045: 24.1.50; semantic :: Debugger entered--Lisp error: (wrong-type-argument syntax-table-p nil) In-Reply-To: <81sjcfopjw.fsf@gmail.com> (Jambunathan K.'s message of "Wed, 25 Jul 2012 20:28:43 +0530") References: <81sjcfopjw.fsf@gmail.com> User-Agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.1.50 (gnu/linux) Date: Wed, 25 Jul 2012 23:13:00 +0200 Message-ID: <87mx2n8rz7.fsf@engster.org> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -1.9 (-) X-Debbugs-Envelope-To: 12045 Cc: 12045@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) Jambunathan K. writes: > I am exploring semantic for the first time. > > 1. runemacs.exe -Q > 2. Visit your favorite library. M-x find-library RET org-odt.el RET > 3. M-x semantic-mode RET > 4. C-c , j (With cursor on "some" symbol) > 5. Note the following error. Either some interesting thing should > happen or a useful message should be echoed. > > Debugger entered--Lisp error: (wrong-type-argument syntax-table-p nil) I'm pretty sure I've fixed this bug some time ago in the upstream CEDET version from bzr, so it should get fixed in Emacs proper when we do the next merge for Emacs 24.2. If you'd like to test the upstream version, read here http://cedet.sourceforge.net/bzr-repo.shtml on how to get it. -David From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 27 16:33:15 2012 Received: (at 12045) by debbugs.gnu.org; 27 Jul 2012 20:33:16 +0000 Received: from localhost ([127.0.0.1]:44694 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SurDn-0000BW-Cf for submit@debbugs.gnu.org; Fri, 27 Jul 2012 16:33:15 -0400 Received: from mail-gh0-f172.google.com ([209.85.160.172]:38273) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SurDk-0000BE-0B for 12045@debbugs.gnu.org; Fri, 27 Jul 2012 16:33:13 -0400 Received: by ghbg16 with SMTP id g16so3578288ghb.3 for <12045@debbugs.gnu.org>; Fri, 27 Jul 2012 13:26:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=F2037dM6X2xcCqNKOx7a+CW7grh+XXCCp7DWAr/5pto=; b=AhtE1UPcUxlwEp+sZ9Ro8x+1N89RyxOT+H/ksD9tSzGGnEKAtNRhZGJtCgSwkNDORq q3AowATThQpZXpw7vxx/JX5PZL6Hp3EErb2T5XKaaDSZGH0Je1T7pHgBghUDsMiU6Ip9 RQKdvfMbpCHQWMyZMJHneBEso8HWJA8bjfrW3lmx9a84Y4RZVrZHMylDh3a2HUIT+rad AYqX52b3qZjtW8k9U7DOPmurQl7XPQzZLSZNna4I5cU0iO8u8gm9pg6iOvo5kCoFuVd8 IgpzRnXApKuZBycjaz5FzR/lj0WTbPNsXxfG2+bhArl5iuFaZzPu177HKI4BeaMJ8Vj0 /rFA== Received: by 10.66.78.42 with SMTP id y10mr7989237paw.31.1343420772694; Fri, 27 Jul 2012 13:26:12 -0700 (PDT) Received: from JAMBU-NETBOOK ([115.242.237.61]) by mx.google.com with ESMTPS id pq1sm679570pbb.3.2012.07.27.13.26.09 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 27 Jul 2012 13:26:11 -0700 (PDT) From: Jambunathan K To: David Engster Subject: Re: bug#12045: 24.1.50; semantic :: Debugger entered--Lisp error: (wrong-type-argument syntax-table-p nil) References: <81sjcfopjw.fsf@gmail.com> <87mx2n8rz7.fsf@engster.org> Date: Sat, 28 Jul 2012 01:55:58 +0530 In-Reply-To: <87mx2n8rz7.fsf@engster.org> (David Engster's message of "Wed, 25 Jul 2012 23:13:00 +0200") Message-ID: <81mx2lrlwp.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: 12045 Cc: 12045@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) David Engster writes: > Jambunathan K. writes: >> I am exploring semantic for the first time. >> >> 1. runemacs.exe -Q >> 2. Visit your favorite library. M-x find-library RET org-odt.el RET >> 3. M-x semantic-mode RET >> 4. C-c , j (With cursor on "some" symbol) >> 5. Note the following error. Either some interesting thing should >> happen or a useful message should be echoed. >> >> Debugger entered--Lisp error: (wrong-type-argument syntax-table-p nil) > > I'm pretty sure I've fixed this bug some time ago in the upstream CEDET > version from bzr, so it should get fixed in Emacs proper when we do the > next merge for Emacs 24.2. If you'd like to test the upstream version, > read here > > http://cedet.sourceforge.net/bzr-repo.shtml > > on how to get it. I am running in to issues compiling cedet with my Cygwin shell. This is because my path names have spaces and the makefile doesn't allow for it. My Emacs is a native Windows Emacs. Here is an annotated log. make fails because the path has spaces --8<---------------cut here---------------start------------->8--- kjambunathan@Jambu-NetBook /cygdrive/c/Documents and Settings/kjambunathan/My Documents/My Data/src/cedet $ make Removing loaddefs.el files from subprojects. /bin/sh: line 0: cd: /cygdrive/c/Documents: No such file or directory /bin/sh: line 0: cd: /cygdrive/c/Documents: No such file or directory /bin/sh: line 0: cd: /cygdrive/c/Documents: No such file or directory /bin/sh: line 0: cd: /cygdrive/c/Documents: No such file or directory /bin/sh: line 0: cd: /cygdrive/c/Documents: No such file or directory /bin/sh: line 0: cd: /cygdrive/c/Documents: No such file or directory /bin/sh: line 0: cd: /cygdrive/c/Documents: No such file or directory make: *** [clean-autoloads] Error 1 --8<---------------cut here---------------end--------------->8--- Passing CURDIR with "~" explicitly set gets me past the above hurdle and from the looks of it compilation seems to be proceeding just fine. --8<---------------cut here---------------start------------->8--- $ make EMACS="/cygdrive/c/Program\ Files/emacs-24.1.50/bin/runemacs.exe" CURDIR="~/src/cedet" Removing loaddefs.el files from subprojects. Generating autoloads. make[1]: Entering directory `/cygdrive/c/Documents and Settings/kjambunathan/My Documents/My Data/src/cedet/lisp/cedet' /cygdrive/c/Program\ Files/emacs-24.1.50/bin/runemacs.exe -batch --no-site-file --eval '(setq debug-on-error t)' -l "../../cedet-remove-builtin.el" -L ../speedbar/ -L ../eieio/ -L ./ -L ./ --eval '(setq generated-autoload-file "/cygdrive/c/Documents and Settings/kjambunathan/My Documents/My Data/src/cedet/lisp/cedet/loaddefs.el")' -f batch-update-autoloads /cygdrive/c/Documents and Settings/kjambunathan/My Documents/My Data/src/cedet/lisp/cedet make[1]: Leaving directory `/cygdrive/c/Documents and Settings/kjambunathan/My Documents/My Data/src/cedet/lisp/cedet' --8<---------------cut here---------------end--------------->8--- ..but make fails while installing info. --8<---------------cut here---------------start------------->8--- make[1]: Leaving directory `/cygdrive/c/Documents and Settings/kjambunathan/My Documents/My Data/src/cedet/doc/texi' Installing info files under /cygdrive/c/Documents and Settings/kjambunathan/My Documents/My Data//src/cedet/doc/info cp: cannot stat `/cygdrive/c/Documents': No such file or directory ~/src/cedet/doc/info/dir: could not read (No such file or directory) and could not create (No such file or directory) cp: cannot stat `and': No such file or directory ~/src/cedet/doc/info/dir: could not read (No such file or directory) and could not create (No such file or directory) --8<---------------cut here---------------end--------------->8--- I find no semantic.elc - file from which `semantic-mode' comes from - in my build path. I have a mixed feeling about how good the compilation went. --8<---------------cut here---------------start------------->8--- $ find . -name 'semantic.elc' kjambunathan@Jambu-NetBook /cygdrive/c/Documents and Settings/kjambunathan/My Documents/My Data/src/cedet --8<---------------cut here---------------end--------------->8--- > -David From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 27 16:55:26 2012 Received: (at submit) by debbugs.gnu.org; 27 Jul 2012 20:55:27 +0000 Received: from localhost ([127.0.0.1]:44737 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SurZG-0000hX-8E for submit@debbugs.gnu.org; Fri, 27 Jul 2012 16:55:26 -0400 Received: from eggs.gnu.org ([208.118.235.92]:40478) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SurZ9-0000hJ-Te for submit@debbugs.gnu.org; Fri, 27 Jul 2012 16:55:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SurSO-0001AX-It for submit@debbugs.gnu.org; Fri, 27 Jul 2012 16:48:21 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:32856) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SurSO-0001AR-FU for submit@debbugs.gnu.org; Fri, 27 Jul 2012 16:48:20 -0400 Received: from eggs.gnu.org ([208.118.235.92]:54399) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SurSN-0007QF-J2 for bug-gnu-emacs@gnu.org; Fri, 27 Jul 2012 16:48:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SurSM-00019X-H9 for bug-gnu-emacs@gnu.org; Fri, 27 Jul 2012 16:48:19 -0400 Received: from plane.gmane.org ([80.91.229.3]:51140) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SurSM-00018f-A1 for bug-gnu-emacs@gnu.org; Fri, 27 Jul 2012 16:48:18 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1SurSJ-0000cb-BV for bug-gnu-emacs@gnu.org; Fri, 27 Jul 2012 22:48:15 +0200 Received: from pd9eb4e5d.dip.t-dialin.net ([217.235.78.93]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 27 Jul 2012 22:48:15 +0200 Received: from Stromeko by pd9eb4e5d.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 27 Jul 2012 22:48:15 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: bug-gnu-emacs@gnu.org From: Achim Gratz Subject: Re: bug#12045: 24.1.50; semantic :: Debugger entered--Lisp error: (wrong-type-argument syntax-table-p nil) Date: Fri, 27 Jul 2012 22:47:55 +0200 Organization: Linux Private Site Lines: 16 Message-ID: <87hastrkw4.fsf@Rainer.invalid> References: <81sjcfopjw.fsf@gmail.com> <87mx2n8rz7.fsf@engster.org> <81mx2lrlwp.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: pd9eb4e5d.dip.t-dialin.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1 (gnu/linux) Cancel-Lock: sha1:smWtrsIqlNdeyWB7t9G4JQw5jS0= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 208.118.235.17 X-Spam-Score: -6.9 (------) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) Jambunathan K writes: > I am running in to issues compiling cedet with my Cygwin shell. This is > because my path names have spaces and the makefile doesn't allow for it. > My Emacs is a native Windows Emacs. Use 8.3 compatible names in your path components as a workaround, e.g. "PROGRA~1" instead of "Program Files". Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ Samples for the Waldorf Blofeld: http://Synth.Stromeko.net/Downloads.html#BlofeldSamplesExtra From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 28 03:10:24 2012 Received: (at 12045) by debbugs.gnu.org; 28 Jul 2012 07:10:24 +0000 Received: from localhost ([127.0.0.1]:45622 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Sv1AO-0007na-79 for submit@debbugs.gnu.org; Sat, 28 Jul 2012 03:10:24 -0400 Received: from mtaout22.012.net.il ([80.179.55.172]:35477) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Sv1AK-0007nP-Su for 12045@debbugs.gnu.org; Sat, 28 Jul 2012 03:10:22 -0400 Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0M7U00M00ZFURP00@a-mtaout22.012.net.il> for 12045@debbugs.gnu.org; Sat, 28 Jul 2012 10:03:17 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.210.75]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0M7U00M0DZLHCRA0@a-mtaout22.012.net.il>; Sat, 28 Jul 2012 10:03:17 +0300 (IDT) Date: Sat, 28 Jul 2012 10:03:25 +0300 From: Eli Zaretskii Subject: Re: bug#12045: 24.1.50; semantic :: Debugger entered--Lisp error: (wrong-type-argument syntax-table-p nil) In-reply-to: <81mx2lrlwp.fsf@gmail.com> X-012-Sender: halo1@inter.net.il To: Jambunathan K Message-id: <83mx2kiczm.fsf@gnu.org> References: <81sjcfopjw.fsf@gmail.com> <87mx2n8rz7.fsf@engster.org> <81mx2lrlwp.fsf@gmail.com> X-Spam-Score: -1.2 (-) X-Debbugs-Envelope-To: 12045 Cc: 12045@debbugs.gnu.org, deng@randomsample.de X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.2 (-) > From: Jambunathan K > Date: Sat, 28 Jul 2012 01:55:58 +0530 > Cc: 12045@debbugs.gnu.org > > I am running in to issues compiling cedet with my Cygwin shell. This is > because my path names have spaces and the makefile doesn't allow for it. That's right, 'make' doesn't support whitespace in file names, and never will. You can use various tricks to get around that, and sometimes you will succeed, but if you want the problem be gone for good, don't use file names with whitespace when 'make' is part of the game. > ..but make fails while installing info. > > --8<---------------cut here---------------start------------->8--- > make[1]: Leaving directory `/cygdrive/c/Documents and Settings/kjambunathan/My Documents/My Data/src/cedet/doc/texi' > Installing info files under /cygdrive/c/Documents and Settings/kjambunathan/My Documents/My Data//src/cedet/doc/info > cp: cannot stat `/cygdrive/c/Documents': No such file or directory > ~/src/cedet/doc/info/dir: could not read (No such file or directory) and could not create (No such file or directory) > cp: cannot stat `and': No such file or directory > ~/src/cedet/doc/info/dir: could not read (No such file or directory) and could not create (No such file or directory) > --8<---------------cut here---------------end--------------->8--- Quoting the arguments passed to 'install-info' might help here. From debbugs-submit-bounces@debbugs.gnu.org Tue Aug 07 04:16:44 2012 Received: (at 12045) by debbugs.gnu.org; 7 Aug 2012 08:16:44 +0000 Received: from localhost ([127.0.0.1]:38737 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Syey4-0003sa-AP for submit@debbugs.gnu.org; Tue, 07 Aug 2012 04:16:44 -0400 Received: from mail-gg0-f172.google.com ([209.85.161.172]:36863) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Syey1-0003sS-8o for 12045@debbugs.gnu.org; Tue, 07 Aug 2012 04:16:43 -0400 Received: by ggnc4 with SMTP id c4so3514943ggn.3 for <12045@debbugs.gnu.org>; Tue, 07 Aug 2012 01:08:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:in-reply-to:references:user-agent:date :message-id:mime-version:content-type; bh=0eAa7cb6wZfrbzVXe+PqrBX1KXdj8fMBCIOS5lx1ESU=; b=QJIf1YoYWQq+x7djEbhr/i8KIOFvfMtc05mwVm4Yd0r0Re5+FUenBlNEmJ0KjXw0Je VpVXb6zJM/kqJmx5XObI99sLdkmUuhLJrKNPzXdIrkdOuyhZrgLmL8tJmTDhTnHZkPrc EkAj2G9Cr+tYsk+M/NL887wh+UvR0/8DbgdPiOJbMD8jCjshiJCoIVQFLWfcnbTzvgDK Qt1rAMDmq1V6hCw45pIiXecOX33rOk5gZpuEQCaTOXfMzRow8cBF60xkBbPkufKiDuk4 TdDS/JKmTrv+gDh4zAse9ub4EZ0W4LUGaKgmVMJA0W6WYtjNWl/J8PGFKgsonJSvFIwo gOIA== Received: by 10.66.90.67 with SMTP id bu3mr24302164pab.26.1344326922038; Tue, 07 Aug 2012 01:08:42 -0700 (PDT) Received: from debian-6.05 ([101.62.79.8]) by mx.google.com with ESMTPS id of1sm10707967pbb.15.2012.08.07.01.08.38 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 07 Aug 2012 01:08:40 -0700 (PDT) From: Jambunathan K To: David Engster Subject: Re: bug#12045: 24.1.50; semantic :: Debugger entered--Lisp error: (wrong-type-argument syntax-table-p nil) In-Reply-To: <87mx2n8rz7.fsf@engster.org> (David Engster's message of "Wed, 25 Jul 2012 23:13:00 +0200") References: <81sjcfopjw.fsf@gmail.com> <87mx2n8rz7.fsf@engster.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux) Date: Tue, 07 Aug 2012 13:38:36 +0530 Message-ID: <87393zrunv.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: 12045 Cc: 12045@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) David Engster writes: > Jambunathan K. writes: >> I am exploring semantic for the first time. >> >> 1. runemacs.exe -Q >> 2. Visit your favorite library. M-x find-library RET org-odt.el RET >> 3. M-x semantic-mode RET >> 4. C-c , j (With cursor on "some" symbol) >> 5. Note the following error. Either some interesting thing should >> happen or a useful message should be echoed. >> >> Debugger entered--Lisp error: (wrong-type-argument syntax-table-p nil) > > I'm pretty sure I've fixed this bug some time ago in the upstream CEDET > version from bzr, so it should get fixed in Emacs proper when we do the > next merge for Emacs 24.2. If you'd like to test the upstream version, > read here > > http://cedet.sourceforge.net/bzr-repo.shtml > > on how to get it. My original report was on Windows. The current report is on Debian Squeeze against CEDET bzr repo. So, consider this a bug report against the "future"-CEDET. When I do "C-c , j" on some symbol, that I know is defined in current .el file, I get ,---- | Jump to symbol: org-e-odt-lib-dir [No Match] [5 times] `---- When I partially type up the symbol and do TAB for completion, I get ,---- | semantic-analyze-current-context: Cannot analyze buffers not supported | by Semantic `---- If semantic does not support EmacsLisp files [1], 1. It should report an error or warning when the buffer tries to enter semantic-mode. 2. Disable menu items (starting with Developement->etc) that doesn't apply to current buffer. Footnotes: [1] Or for that matter a given language. I have the following in my .emacs, as suggested by cedet help. ,---- | ;; Load CEDET. | ;; See cedet/common/cedet.info for configuration details. | ;; IMPORTANT: For Emacs >= 23.2, you must place this *before* any | ;; CEDET component (including EIEIO) gets activated by another | ;; package (Gnus, auth-source, ...). | (load-file "~/src/cedet/cedet-devel-load.el") | | ;; Add further minor-modes to be enabled by semantic-mode. | ;; See doc-string of `semantic-default-submodes' for other things | ;; you can use here. | (add-to-list 'semantic-default-submodes 'global-semantic-idle-summary-mode t) | (add-to-list 'semantic-default-submodes 'global-semantic-idle-completions-mode t) | (add-to-list 'semantic-default-submodes 'global-cedet-m3-minor-mode t) | | ;; Enable Semantic | (semantic-mode 1) | | ;; Enable EDE (Project Management) features | (global-ede-mode 1) `---- > -David From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 11 16:46:46 2012 Received: (at 12045) by debbugs.gnu.org; 11 Oct 2012 20:46:46 +0000 Received: from localhost ([127.0.0.1]:39966 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TMPeY-0004N5-Fa for submit@debbugs.gnu.org; Thu, 11 Oct 2012 16:46:46 -0400 Received: from randomsample.de ([83.169.19.17]:44556) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TMPeV-0004Mw-Hv for 12045@debbugs.gnu.org; Thu, 11 Oct 2012 16:46:45 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=randomsample.de; s=a; h=Content-Type:MIME-Version:Message-ID:Date:References:In-Reply-To:Subject:Cc:To:From; bh=4kPzGTsmvkoHcRDS0B3aS5yCuoaaQzO1yb2jALjdzdk=; b=AF5ZJ5aIeyy3R/etEn1fuOXgAsmp9kIEtWdAd37I0ZTs+jboaPvNFvk5cJpAg9saNlxKopyupVDdHRyQP3tqq5vCQM6XCwZomnLCBEftcN5n96Ek7jtd2Yj5Z9yJQZiD; Received: from dslc-082-083-044-080.pools.arcor-ip.net ([82.83.44.80] helo=spaten) by randomsample.de with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1TMPdj-0008H0-Fn; Thu, 11 Oct 2012 22:45:55 +0200 From: David Engster To: Jambunathan K Subject: Re: bug#12045: 24.1.50; semantic :: Debugger entered--Lisp error: (wrong-type-argument syntax-table-p nil) In-Reply-To: <87393zrunv.fsf@gmail.com> (Jambunathan K.'s message of "Tue, 07 Aug 2012 13:38:36 +0530") References: <81sjcfopjw.fsf@gmail.com> <87mx2n8rz7.fsf@engster.org> <87393zrunv.fsf@gmail.com> User-Agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.2.50 (gnu/linux) Date: Thu, 11 Oct 2012 22:45:54 +0200 Message-ID: <87txu0d9fh.fsf@engster.org> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: 12045 Cc: 12045@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.3 (-) Jambunathan K. writes: > My original report was on Windows. The current report is on Debian > Squeeze against CEDET bzr repo. So, consider this a bug report against > the "future"-CEDET. > > When I do "C-c , j" on some symbol, that I know is defined in current > .el file, I get > ,---- > | Jump to symbol: org-e-odt-lib-dir [No Match] [5 times] > `---- > > When I partially type up the symbol and do TAB for completion, I get > ,---- > | semantic-analyze-current-context: Cannot analyze buffers not supported > | by Semantic > `---- > > If semantic does not support EmacsLisp files [1], > 1. It should report an error or warning when the buffer tries to enter > semantic-mode. > > 2. Disable menu items (starting with Developement->etc) that doesn't > apply to current buffer. You are right, this problem still exists. It is due to the fact that semantic-mode is active for all buffers (it is a minor mode after all), whether they could be parsed or not. Raising an error or warning for all buffers that cannot be parsed would surely be very annoying, so we cannot do that. However, we can check if a buffer was parsed by calling `semantic-active-p' (which simply returns `semantic-new-buffer-fcn-was-run'). The solution for the menu items is pretty simple (checking for `semantic-active-p' instead of only looking at `semantic-mode'). I've now pushed a change to CEDET upstream that does this, and I will merge it soon. Regarding interactive commands, especially those with a pre-defined keybinding, I'm not entirely sure what would be the best fix. The easiest way would be if keymaps could be activated dependend on a buffer-local variable, just as I can do that via the :visible attribute for menu items. I don't think this is possible, but maybe someone around here knows a solution. Otherwise, we'd have to check for `semantic-active-p' in all interactive commands. -David From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 11 17:05:08 2012 Received: (at 12045) by debbugs.gnu.org; 11 Oct 2012 21:05:08 +0000 Received: from localhost ([127.0.0.1]:39985 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TMPwJ-0004nZ-Nv for submit@debbugs.gnu.org; Thu, 11 Oct 2012 17:05:08 -0400 Received: from randomsample.de ([83.169.19.17]:58437) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TMPwH-0004nS-T0 for 12045@debbugs.gnu.org; Thu, 11 Oct 2012 17:05:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=randomsample.de; s=a; h=Content-Type:MIME-Version:Message-ID:Date:References:In-Reply-To:Subject:Cc:To:From; bh=jGWU21COgUi1hR13UiyeucIHYMNw7iPgaXW83/7lGLk=; b=uPtru3EaHWj1YaizzsZdKrn5/6PGyosakzsnwkPM9CJnQJm7Pcu30eUyWdey5189UL03ubtsTQTi5n/WISYqmZl3PivNheIq93dmcyLCyHgHbi+S/FTDYt1PoGE4IvcS; Received: from dslc-082-083-044-080.pools.arcor-ip.net ([82.83.44.80] helo=spaten) by randomsample.de with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1TMPvW-0006qY-IV; Thu, 11 Oct 2012 23:04:18 +0200 From: David Engster To: Jambunathan K Subject: Re: bug#12045: 24.1.50; semantic :: Debugger entered--Lisp error: (wrong-type-argument syntax-table-p nil) In-Reply-To: <87txu0d9fh.fsf@engster.org> (David Engster's message of "Thu, 11 Oct 2012 22:45:54 +0200") References: <81sjcfopjw.fsf@gmail.com> <87mx2n8rz7.fsf@engster.org> <87393zrunv.fsf@gmail.com> <87txu0d9fh.fsf@engster.org> User-Agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.2.50 (gnu/linux) Date: Thu, 11 Oct 2012 23:04:17 +0200 Message-ID: <87pq4od8ku.fsf@engster.org> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: 12045 Cc: Chong Yidong , 12045@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.3 (-) David Engster writes: >> When I do "C-c , j" on some symbol, that I know is defined in current >> .el file, I get >> ,---- >> | Jump to symbol: org-e-odt-lib-dir [No Match] [5 times] >> `---- [...] > You are right, this problem still exists. It is due to the fact that > semantic-mode is active for all buffers (it is a minor mode after all), > whether they could be parsed or not. I forgot to add: The reason I was confused in the beginning was that CEDET actually does parse Elisp files. I just lately realized that this feature is not enabled by default in Emacs proper. You have to manually require it through (require 'semantic/bovine/el) Maybe Yidong disabled it during the initial merge because he found it too intrusive. I'm not sure, which is why I'm CCing him. Maybe this is something that could be changed? -David From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 11 20:09:02 2012 Received: (at 12045) by debbugs.gnu.org; 12 Oct 2012 00:09:02 +0000 Received: from localhost ([127.0.0.1]:40059 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TMSoI-0000UZ-KW for submit@debbugs.gnu.org; Thu, 11 Oct 2012 20:09:02 -0400 Received: from ironport2-out.teksavvy.com ([206.248.154.182]:42740) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TMSoH-0000U3-7z for 12045@debbugs.gnu.org; Thu, 11 Oct 2012 20:09:01 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ai0FAG6Zu09FxLQG/2dsb2JhbABEsEiDSYEIghUBAQQBViMFCwsOJgcLFBgNJIgcBboJkEQDozOBWIMF X-IronPort-AV: E=Sophos;i="4.75,637,1330923600"; d="scan'208";a="201161781" Received: from 69-196-180-6.dsl.teksavvy.com (HELO pastel.home) ([69.196.180.6]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 11 Oct 2012 20:08:08 -0400 Received: by pastel.home (Postfix, from userid 20848) id B21B459516; Thu, 11 Oct 2012 20:08:07 -0400 (EDT) From: Stefan Monnier To: David Engster Subject: Re: bug#12045: 24.1.50; semantic :: Debugger entered--Lisp error: (wrong-type-argument syntax-table-p nil) Message-ID: References: <81sjcfopjw.fsf@gmail.com> <87mx2n8rz7.fsf@engster.org> <87393zrunv.fsf@gmail.com> <87txu0d9fh.fsf@engster.org> Date: Thu, 11 Oct 2012 20:08:07 -0400 In-Reply-To: <87txu0d9fh.fsf@engster.org> (David Engster's message of "Thu, 11 Oct 2012 22:45:54 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.8 (/) X-Debbugs-Envelope-To: 12045 Cc: Jambunathan K , 12045@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: 0.8 (/) > Regarding interactive commands, especially those with a pre-defined > keybinding, I'm not entirely sure what would be the best fix. The > easiest way would be if keymaps could be activated dependend on a > buffer-local variable, just as I can do that via the :visible attribute > for menu items. Minor mode keymaps work exactly this way (the minor-mode variable enables/disables the corresponding keymap). But usually it's not necessary to disable a binding just because it's currently unusable. Just like most menu items use :enable rather than :visible, since that lets the user know that there is such a feature, even though it currently can't be used. Stefan From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 12 02:11:46 2012 Received: (at 12045) by debbugs.gnu.org; 12 Oct 2012 06:11:46 +0000 Received: from localhost ([127.0.0.1]:40217 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TMYTK-0001yY-1p for submit@debbugs.gnu.org; Fri, 12 Oct 2012 02:11:46 -0400 Received: from randomsample.de ([83.169.19.17]:45125) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TMYTG-0001yO-JN for 12045@debbugs.gnu.org; Fri, 12 Oct 2012 02:11:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=randomsample.de; s=a; h=Content-Type:MIME-Version:Message-ID:Date:References:In-Reply-To:Subject:Cc:To:From; bh=/xbQ8milOLssIV2CVbLVYO88gsulIS//6FUYDOUf3NU=; b=Ux9cjJ0WJBho+d+Kb9pXRajhzxxqfpHzeCz33IjqjEb6XJTBu6l3DytIe0FXgMqFAXtAjQ88/npBPCMzmea9InQOXR9Npjx7CR+rhWeXOnyEtbwpW4KNYW4YePYSGEz0; Received: from dslc-082-083-056-193.pools.arcor-ip.net ([82.83.56.193] helo=spaten) by randomsample.de with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1TMYSR-00049V-22; Fri, 12 Oct 2012 08:10:51 +0200 From: David Engster To: Stefan Monnier Subject: Re: bug#12045: 24.1.50; semantic :: Debugger entered--Lisp error: (wrong-type-argument syntax-table-p nil) In-Reply-To: (Stefan Monnier's message of "Thu, 11 Oct 2012 20:08:07 -0400") References: <81sjcfopjw.fsf@gmail.com> <87mx2n8rz7.fsf@engster.org> <87393zrunv.fsf@gmail.com> <87txu0d9fh.fsf@engster.org> User-Agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.2.50 (gnu/linux) Date: Fri, 12 Oct 2012 08:10:50 +0200 Message-ID: <87haq0cj9x.fsf@engster.org> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: 12045 Cc: Jambunathan K , 12045@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.3 (-) Stefan Monnier writes: >> Regarding interactive commands, especially those with a pre-defined >> keybinding, I'm not entirely sure what would be the best fix. The >> easiest way would be if keymaps could be activated dependend on a >> buffer-local variable, just as I can do that via the :visible attribute >> for menu items. > > Minor mode keymaps work exactly this way (the minor-mode variable > enables/disables the corresponding keymap). But usually it's not > necessary to disable a binding just because it's currently unusable. > Just like most menu items use :enable rather than :visible, since that > lets the user know that there is such a feature, even though it > currently can't be used. OK, so I will change the Semantic menu items to :visible semantic-mode :enable (semantic-active-p) Regarding the key bindings however, I think we can agree that the current situation needs improvement. The interactive commands usually assume that the buffer was correctly set up for parsing and hence raise some cryptic error if that isn't the case (see subject). So if the keybindings should simply stay enabled in all buffers if semantic-mode is active, I will have to add some `semantic-raise-error-if-unparsed' function at the beginning of every interactive function. -David From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 12 09:48:06 2012 Received: (at 12045) by debbugs.gnu.org; 12 Oct 2012 13:48:06 +0000 Received: from localhost ([127.0.0.1]:40706 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TMfav-0006di-N5 for submit@debbugs.gnu.org; Fri, 12 Oct 2012 09:48:05 -0400 Received: from ironport2-out.teksavvy.com ([206.248.154.182]:44769) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TMfau-0006dG-B7 for 12045@debbugs.gnu.org; Fri, 12 Oct 2012 09:48:04 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ai0FAG6Zu09FxLQG/2dsb2JhbABEsEiDSYEIghUBAQQBViMFCwsOJgcLFBgNJIgcBboJkEQDozOBWIMF X-IronPort-AV: E=Sophos;i="4.75,637,1330923600"; d="scan'208";a="201257784" Received: from 69-196-180-6.dsl.teksavvy.com (HELO pastel.home) ([69.196.180.6]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 12 Oct 2012 09:47:08 -0400 Received: by pastel.home (Postfix, from userid 20848) id 3EA8759519; Fri, 12 Oct 2012 09:47:08 -0400 (EDT) From: Stefan Monnier To: David Engster Subject: Re: bug#12045: 24.1.50; semantic :: Debugger entered--Lisp error: (wrong-type-argument syntax-table-p nil) Message-ID: References: <81sjcfopjw.fsf@gmail.com> <87mx2n8rz7.fsf@engster.org> <87393zrunv.fsf@gmail.com> <87txu0d9fh.fsf@engster.org> <87haq0cj9x.fsf@engster.org> Date: Fri, 12 Oct 2012 09:47:08 -0400 In-Reply-To: <87haq0cj9x.fsf@engster.org> (David Engster's message of "Fri, 12 Oct 2012 08:10:50 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.8 (/) X-Debbugs-Envelope-To: 12045 Cc: Jambunathan K , 12045@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: 0.8 (/) > Regarding the key bindings however, I think we can agree that the > current situation needs improvement. The interactive commands usually > assume that the buffer was correctly set up for parsing and hence raise > some cryptic error if that isn't the case (see subject). Right, the error message should be improved. > So if the keybindings should simply stay enabled in all buffers if > semantic-mode is active, I will have to add some > `semantic-raise-error-if-unparsed' function at the beginning of every > interactive function. Also, compared to making the binding conditional, this has the advantage that the error message can say *why* the binding doesn't work, contrary to a laconic " is undefined". Stefan From debbugs-submit-bounces@debbugs.gnu.org Sun Oct 14 15:42:42 2012 Received: (at 12045) by debbugs.gnu.org; 14 Oct 2012 19:42:42 +0000 Received: from localhost ([127.0.0.1]:44138 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TNU5B-0005vj-RS for submit@debbugs.gnu.org; Sun, 14 Oct 2012 15:42:42 -0400 Received: from randomsample.de ([83.169.19.17]:56352) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TNU58-0005vX-6c for 12045@debbugs.gnu.org; Sun, 14 Oct 2012 15:42:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=randomsample.de; s=a; h=Content-Type:MIME-Version:Message-ID:Date:References:In-Reply-To:Subject:Cc:To:From; bh=uCjp9se6ERhZmc5oAdzNGUr/qiDVazR8PZrlq66B5lY=; b=ouNchYtpk8rG9KX9ySHP7USl+Jw6OYGMkD2apcH1Ii/vp/ORgavI9ckY+WIMqNYP+fEYZfFkW4TJ1RbzJD7fN3jUWcVMh71DkcXU9TJ5aU4jepkA3ZOHGV0tDv4T5zky; Received: from dslc-082-083-033-238.pools.arcor-ip.net ([82.83.33.238] helo=spaten) by randomsample.de with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1TNU3z-0004fe-TZ; Sun, 14 Oct 2012 21:41:28 +0200 From: David Engster To: Stefan Monnier Subject: Re: bug#12045: 24.1.50; semantic :: Debugger entered--Lisp error: (wrong-type-argument syntax-table-p nil) In-Reply-To: (Stefan Monnier's message of "Fri, 12 Oct 2012 09:47:08 -0400") References: <81sjcfopjw.fsf@gmail.com> <87mx2n8rz7.fsf@engster.org> <87393zrunv.fsf@gmail.com> <87txu0d9fh.fsf@engster.org> <87haq0cj9x.fsf@engster.org> User-Agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.2.50 (gnu/linux) Date: Sun, 14 Oct 2012 21:41:26 +0200 Message-ID: <87ehl0c049.fsf@engster.org> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.4 (/) X-Debbugs-Envelope-To: 12045 Cc: Jambunathan K , 12045@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: 0.4 (/) Stefan Monnier writes: >> So if the keybindings should simply stay enabled in all buffers if >> semantic-mode is active, I will have to add some >> `semantic-raise-error-if-unparsed' function at the beginning of every >> interactive function. > > Also, compared to making the binding conditional, this has the advantage > that the error message can say *why* the binding doesn't work, contrary > to a laconic " is undefined". I've now merged those changes into Emacs trunk. The Semantic menu items should now be inactive when the buffer is not parsed. Also, I added the above described check to some of the interactive functions so they raise a proper error. Please let me know if I missed some important ones here. -David From debbugs-submit-bounces@debbugs.gnu.org Sat Oct 20 22:01:33 2012 Received: (at control) by debbugs.gnu.org; 21 Oct 2012 02:01:33 +0000 Received: from localhost ([127.0.0.1]:53659 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TPkr7-0002Pk-Bj for submit@debbugs.gnu.org; Sat, 20 Oct 2012 22:01:33 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:46143 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TPkr5-0002Pb-FH for control@debbugs.gnu.org; Sat, 20 Oct 2012 22:01:32 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1TPkpU-0002gg-TJ for control@debbugs.gnu.org; Sat, 20 Oct 2012 21:59:52 -0400 Date: Sat, 20 Oct 2012 21:59:52 -0400 Message-Id: Subject: control message for bug 12045 To: X-Mailer: mail (GNU Mailutils 2.1) From: Glenn Morris X-Spam-Score: -4.6 (----) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.6 (----) close 12045 24.3 From unknown Mon Jun 23 23:55:31 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 18 Nov 2012 12:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator