GNU bug report logs - #9969
24.0.90; semantic/srecode : macro keyword not working outside sectiondictionary

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Andreas Politz <politza@HIDDEN>; dated Sun, 6 Nov 2011 09:10:01 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 6 Nov 2011 09:09:17 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Nov 06 04:09:17 2011
Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1RMyj6-0002wE-Cr
	for submit <at> debbugs.gnu.org; Sun, 06 Nov 2011 04:09:17 -0500
Received: from eggs.gnu.org ([140.186.70.92])
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <politza@HIDDEN>) id 1RMyj4-0002w5-Bm
	for submit <at> debbugs.gnu.org; Sun, 06 Nov 2011 04:09:15 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <politza@HIDDEN>) id 1RMygN-00035j-G7
	for submit <at> debbugs.gnu.org; Sun, 06 Nov 2011 04:06:29 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-5.4 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED,
	RP_MATCHES_RCVD,T_DKIM_INVALID autolearn=unavailable version=3.3.1
Received: from lists.gnu.org ([140.186.70.17]:40925)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <politza@HIDDEN>) id 1RMygN-00035f-EQ
	for submit <at> debbugs.gnu.org; Sun, 06 Nov 2011 04:06:27 -0500
Received: from eggs.gnu.org ([140.186.70.92]:50100)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <politza@HIDDEN>) id 1RMygL-0003KF-7N
	for bug-gnu-emacs@HIDDEN; Sun, 06 Nov 2011 04:06:27 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <politza@HIDDEN>) id 1RMygJ-000347-9a
	for bug-gnu-emacs@HIDDEN; Sun, 06 Nov 2011 04:06:25 -0500
Received: from gateway-a.fh-trier.de ([143.93.54.181]:34670)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <politza@HIDDEN>) id 1RMygI-000342-RB
	for bug-gnu-emacs@HIDDEN; Sun, 06 Nov 2011 04:06:23 -0500
X-Virus-Scanned: by Amavisd-new + McAfee uvscan + ClamAV [Rechenzentrum
	FH-Trier (r/ft)]
Received: from luca (dslb-084-059-102-040.pools.arcor-ip.net [84.59.102.40])
	(using TLSv1 with cipher AES256-SHA (256/256 bits))
	(No client certificate requested) (Authenticated sender: politza)
	by gateway-a.fh-trier.de (Postfix) with ESMTPSA id 8ACFA1749DD0
	for <bug-gnu-emacs@HIDDEN>; Sun,  6 Nov 2011 10:06:08 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha1; c=simple/simple; d=fh-trier.de; s=default;
	t=1320570368; bh=skNheCFSuf1uHxp0ljQy1Sb+48Q=;
	h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type;
	b=MgQZilRX7R2teGF5Wnmul/FEtKIPWtnSs1mgojAhCEGb8M6+llBRmwlyN5zrexKFQ
	h/ALQ8PDRKvbY520EAJ+WUpWp3Fa2rRA7zha48mxcW21kF+X1oDNRPDGrTzS/+XFDQ
	ygiOKkX0UTbEhyTsRNPMOUmXx81DhTNb9nbTFzvc=
Received: from [127.0.0.1] (helo=luca) by luca with esmtp (Exim 4.72)
	(envelope-from <politza@HIDDEN>) id 1RMyg4-0002ko-6A
	for bug-gnu-emacs@HIDDEN; Sun, 06 Nov 2011 10:06:08 +0100
From: Andreas Politz <politza@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 24.0.90; semantic/srecode : macro keyword not working outside
	sectiondictionary
Date: Sun, 06 Nov 2011 10:06:08 +0100
Message-ID: <874nyhzklb.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3)
X-Received-From: 140.186.70.17
X-Spam-Score: -6.0 (------)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.11
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -6.0 (------)

This bug report will be sent to the Bug-GNU-Emacs mailing list
and the GNU bug tracker at debbugs.gnu.org.  Please check that
the From: line contains a valid email address.  After a delay of up
to one day, you should receive an acknowledgement at that address.

Please write in English if possible, as the Emacs maintainers
usually do not have translators for other languages.

Please describe exactly what actions triggered the bug, and
the precise symptoms of the bug.  If you can, give a recipe
starting from `emacs -Q':


$ emacs -Q
1. (progn (require 'srecode) (require 'srecode/filters))
2. Open a new .srt file in ~/.srecode and insert the following and
save buffer.

set mode "emacs-lisp-mode"
set VAR macro "DOLLAR"
template foo
----
{{VAR}}
----

3. M-x semantic-mode RET
4. Switch to a emacs-lisp-mode buffer.
5. M-x srecode-insert 
=> error : srecode-dictionary-compound-variable: Cannot create compound variable without :state

According to the info document and wisent grammar in bzr this should
work, but I am not shure about this.  It does work inside a
`sectiondictionary' section, like it is used in some etc/srecode/*.srt
files.

Andreas

If Emacs crashed, and you have the Emacs process in the gdb debugger,
please include the output from the following gdb commands:
    `bt full' and `xbacktrace'.
For information about debugging Emacs, please read the file
/usr/share/emacs/24.0.90/etc/DEBUG.


In GNU Emacs 24.0.90.1 (x86_64-pc-linux-gnu, GTK+ Version 2.20.1)
 of 2011-10-18 on cw-bkp0, modified by Debian
 (emacs-snapshot package, version 1:20111012-1+squeeze1)
Windowing system distributor `The X.Org Foundation', version 11.0.10707000
configured using `configure  '--build' 'x86_64-linux-gnu' '--host' 'x86_64-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' '--localstatedir=/var' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes' '--enable-locallisppath=/etc/emacs-snapshot:/etc/emacs:/usr/local/share/emacs/24.0.90/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24.0.90/site-lisp:/usr/share/emacs/site-lisp' '--without-compress-info' '--with-crt-dir=/usr/lib//' '--with-x=yes' '--with-x-toolkit=gtk' '--with-imagemagick=yes' 'build_alias=x86_64-linux-gnu' 'host_alias=x86_64-linux-gnu' 'CFLAGS=-DDEBIAN -DSITELOAD_PURESIZE_EXTRA=5000 -g -O2' 'LDFLAGS=-g -Wl,--as-needed' 'CPPFLAGS=''

Important settings:
  value of $LC_ALL: C
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: de_DE.UTF-8
  value of $XMODIFIERS: nil
  locale-coding-system: utf-8-unix
  default enable-multibyte-characters: t

Major mode: Org

Minor modes in effect:
  semantic-minor-modes-format: ((:eval (if (or semantic-highlight-edits-mode semantic-show-unmatched-syntax-mode)  S)))
  global-semanticdb-minor-mode: t
  global-semantic-idle-scheduler-mode: t
  semantic-mode: t
  shell-dirtrack-mode: t
  savehist-mode: t
  tooltip-mode: t
  mouse-wheel-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
<return> m a i l <return> C-x o C-v C-v C-v C-v C-v 
C-v C-v C-s u s e r C-s C-s <return> C-l <return> C-a 
C-M-SPC M-w C-x b i n i <tab> <return> M-> <return> 
( s e t q SPC C-y SPC " p o l i t z a @ f h - t r i 
e r . d e " ) C-x C-e C-x C-s C-x k <return> C-x b 
<return> C-x 1 C-c C-c C-g C-SPC M-{ M-{ C-w C-SPC 
M-{ M-{ C-w M-{ M-{ M-{ M-{ C-SPC C-g C-p C-p C-p C-p 
C-n C-n C-SPC M-> C-g C-u C-SPC C-l C-SPC M-} C-w C-k 
M-} C-/ C-/ C-/ C-/ C-/ C-v C-v C-v C-c C-c y C-x b 
* <backspace> <return> C-x C-k C-p C-p C-p C-n C-n 
C-n C-n C-g C-x ( M-x C-g C-h k C-x ( C-x o C-s b e 
f o <return> C-M-f C-x C-e C-M-b C-l C-l C-l C-M-SPC 
M-w C-x b f i l <tab> M-/ <M-backspace> <M-backspace> 
<M-backspace> <M-backspace> i n i <tab> C-g C-x r b 
f i l e : i n i t <tab> <return> M-> C-y M-y C-a ( 
s e t q SPC C-M-f C-x C-e SPC n i l ) C-x C-s C-x C-e 
M-b M-d t C-a ; ; C-e C-b <backspace> n i l C-x C-s 
C-x o C-x 1 C-x ( M-x r e p o r t <return> C-g C-x 
( M-f M-b C-SPC C-e M-w C-n C-a M-x r e p o r t <return> 
C-y <return> C-x b <return> C-SPC C-c C-n M-w C-x b 
<return> C-y C-x C-x C-M-\ C-x C-x <return> A n d r 
e a s C-x ) C-c C-c y C-x e C-c C-c y C-x e

Recent messages:
Checking 65 files in /usr/share/emacs/24.0.90/lisp/obsolete...
Checking 1 files in /usr/share/emacs/24.0.90/leim...
Checking for load-path shadows...done
(Type e to repeat macro)
Send this bug report to the Emacs maintainers? (y or n)  y
Sending...
Sending via mail...
Sending email 
Sending email done
Sending...done

Load-path shadows:
/usr/share/emacs/site-lisp/haskell-mode/haskell-decl-scan hides /usr/share/emacs/24.0.90/site-lisp/haskell-mode/haskell-decl-scan
/usr/share/emacs/site-lisp/haskell-mode/haskell-c hides /usr/share/emacs/24.0.90/site-lisp/haskell-mode/haskell-c
/usr/share/emacs/site-lisp/haskell-mode/haskell-ghci hides /usr/share/emacs/24.0.90/site-lisp/haskell-mode/haskell-ghci
/usr/share/emacs/site-lisp/haskell-mode/haskell-doc hides /usr/share/emacs/24.0.90/site-lisp/haskell-mode/haskell-doc
/usr/share/emacs/site-lisp/haskell-mode/haskell-indent hides /usr/share/emacs/24.0.90/site-lisp/haskell-mode/haskell-indent
/usr/share/emacs/site-lisp/haskell-mode/haskell-mode hides /usr/share/emacs/24.0.90/site-lisp/haskell-mode/haskell-mode
/usr/share/emacs/site-lisp/haskell-mode/haskell-hugs hides /usr/share/emacs/24.0.90/site-lisp/haskell-mode/haskell-hugs
/usr/share/emacs/site-lisp/haskell-mode/haskell-site-file hides /usr/share/emacs/24.0.90/site-lisp/haskell-mode/haskell-site-file
/usr/share/emacs/site-lisp/haskell-mode/haskell-cabal hides /usr/share/emacs/24.0.90/site-lisp/haskell-mode/haskell-cabal
/usr/share/emacs/site-lisp/haskell-mode/inf-haskell hides /usr/share/emacs/24.0.90/site-lisp/haskell-mode/inf-haskell
/usr/share/emacs/site-lisp/haskell-mode/haskell-font-lock hides /usr/share/emacs/24.0.90/site-lisp/haskell-mode/haskell-font-lock
/usr/share/emacs/site-lisp/haskell-mode/haskell-simple-indent hides /usr/share/emacs/24.0.90/site-lisp/haskell-mode/haskell-simple-indent
/usr/share/emacs/site-lisp/haskell-mode/haskell-indentation hides /usr/share/emacs/24.0.90/site-lisp/haskell-mode/haskell-indentation
/usr/share/emacs/24.0.90/site-lisp/cscope/xcscope hides /usr/share/emacs/site-lisp/xcscope
/usr/share/emacs/24.0.90/site-lisp/debian-startup hides /usr/share/emacs/site-lisp/debian-startup
/home/politza/.emacs.d/plugins/battery hides /usr/share/emacs/24.0.90/lisp/battery
/home/politza/.emacs.d/bugfixes/esh-cmd hides /usr/share/emacs/24.0.90/lisp/eshell/esh-cmd

Features:
(mailalias smtpmail sendmail apropos shadow mail-extr emacsbug boxquote
rect ffap org-wl org-w3m org-vm org-rmail org-mhe org-mew org-irc
org-jsinfo org-infojs org-html org-exp ob-exp org-exp-blocks org-agenda
org-info org-gnus org-docview org-bibtex bibtex org-bbdb locate imenu
jka-compr find-func dired-aux wdired url-cache network-stream starttls
url-http tls url-gw url-auth url url-proxy url-privacy url-expand
url-methods url-history url-cookie url-util url-parse url-vars mailcap
finder-inf message rfc822 mml mml-sec mm-decode mm-bodies mm-encode
mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mailabbrev mail-utils
gmm-utils mailheader ediff-merg ediff-diff ediff-wind ediff-help
ediff-util ediff-mult ediff-init ediff reposition dabbrev vc-bzr
semantic/edit bookmark pp semantic/tag-write semantic/find multi-isearch
thingatpt semantic/decorate/mode help-mode debug semantic/db-file
cedet-files semantic/db-mode semantic/idle srecode/srt-mode
semantic/analyze semantic/sort semantic/scope semantic/analyze/fcn
semantic/db semantic/format ezimage srecode/template srecode/srt-wy
semantic/ctxt vc-dispatcher vc-svn server view eldoc srecode/mode
semantic/wisent semantic/wisent/wisent semantic/decorate pulse
srecode/filters newcomment srecode/insert srecode/args srecode/find
srecode/map srecode/ctxt semantic/tag-ls srecode/compile
srecode/dictionary srecode/table eieio-base semantic/util-modes
semantic/util semantic semantic/tag semantic/lex semantic/fw cedet
auctex-autoloads tex-site info c-eldoc-autoloads
sunrise-x-loop-autoloads sunrise-x-loop sunrise-commander term ehelp
electric sort find-dired disp-table enriched dired-x
sunrise-commander-autoloads package tabulated-list srecode mode-local
grep compile tramp tramp-compat auth-source eieio assoc gnus-util
mm-util mail-prsvr password-cache shell format-spec tramp-loaddefs
dired-details+ dired dired-details org byte-opt warnings bytecomp
byte-compile cconv macroexp advice help-fns advice-preload ob-emacs-lisp
ob-tangle ob-ref ob-lob ob-table org-footnote org-src ob-comint ob-keys
ob ob-eval org-pcomplete pcomplete comint ring org-list org-faces
org-compat org-entities org-macs noutline outline easy-mmode cal-menu
easymenu calendar cal-loaddefs time-date savehist regexp-opt edmacro
kmacro cl w3m-load tooltip ediff-hook vc-hooks lisp-float-type mwheel
x-win x-dnd tool-bar dnd fontset image fringe lisp-mode register page
menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock
syntax facemenu font-core frame cham georgian utf-8-lang misc-lang
vietnamese tibetan thai tai-viet lao korean japanese hebrew greek
romanian slovak czech european ethiopic indian cyrillic chinese
case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer loaddefs
button faces cus-face files text-properties overlay sha1 md5 base64
format env code-pages mule custom widget hashtable-print-readable
backquote make-network-process dbusbind dynamic-setting
font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs)




Acknowledgement sent to Andreas Politz <politza@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#9969; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Fri, 31 Oct 2014 17:00:04 UTC

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