From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: owner@emacsbugs.donarmstrong.com (Emacs bug Tracking System) Newsgroups: gmane.emacs.bugs Subject: bug#2047: marked as done (23.0.60; Nesting skeletons - infinite recursion ?) Date: Sun, 25 Jan 2009 21:55:04 +0000 Message-ID: References: <1232901297.20531.3.camel@claddagh> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----------=_1232920504-29052-0" X-Trace: ger.gmane.org 1232921103 10305 80.91.229.12 (25 Jan 2009 22:05:03 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 25 Jan 2009 22:05:03 +0000 (UTC) To: Juanma Barranquero Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jan 25 23:06:15 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LRD6Q-0005h2-Cd for geb-bug-gnu-emacs@m.gmane.org; Sun, 25 Jan 2009 23:05:48 +0100 Original-Received: from localhost ([127.0.0.1]:53573 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LRD58-000116-Nt for geb-bug-gnu-emacs@m.gmane.org; Sun, 25 Jan 2009 17:03:54 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LRD4p-0000ue-Qc for bug-gnu-emacs@gnu.org; Sun, 25 Jan 2009 17:03:35 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LRD4o-0000u3-Eo for bug-gnu-emacs@gnu.org; Sun, 25 Jan 2009 17:03:35 -0500 Original-Received: from [199.232.76.173] (port=51953 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LRD4o-0000ty-9i for bug-gnu-emacs@gnu.org; Sun, 25 Jan 2009 17:03:34 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:37194) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LRD4n-0000H9-4D for bug-gnu-emacs@gnu.org; Sun, 25 Jan 2009 17:03:33 -0500 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n0PM3TZi031436; Sun, 25 Jan 2009 14:03:29 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n0PLt40X029177; Sun, 25 Jan 2009 13:55:04 -0800 X-Mailer: MIME-tools 5.420 (Entity 5.420) X-Loop: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: closed 2047 X-Emacs-PR-Package: emacs X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:24535 Archived-At: This is a multi-part message in MIME format... ------------=_1232920504-29052-0 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Your message dated Sun, 25 Jan 2009 22:47:51 +0100 with message-id and subject line Re: bug#2047: SOLVED - not a bug (23.0.60; Nesting skeleto= ns - infinite recursion ?) has caused the Emacs bug report #2047, regarding 23.0.60; Nesting skeletons - infinite recursion ? to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@emacsbugs.donarmstrong.com immediately.) --=20 2047: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=3D2047 Emacs Bug Tracking System Contact owner@emacsbugs.donarmstrong.com with problems ------------=_1232920504-29052-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by emacsbugs.donarmstrong.com; 25 Jan 2009 16:35:16 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=0.1 required=4.0 tests=FOURLA autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n0PGZABx013406 for ; Sun, 25 Jan 2009 08:35:12 -0800 Received: from mx10.gnu.org ([199.232.76.166]:48696) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1LR7vS-0005hg-L2 for emacs-pretest-bug@gnu.org; Sun, 25 Jan 2009 11:33:35 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1LR7ww-0004eW-05 for emacs-pretest-bug@gnu.org; Sun, 25 Jan 2009 11:35:07 -0500 Received: from smtp6-g21.free.fr ([212.27.42.6]:51072) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LR7wu-0004dy-Gh for emacs-pretest-bug@gnu.org; Sun, 25 Jan 2009 11:35:05 -0500 Received: from smtp6-g21.free.fr (localhost [127.0.0.1]) by smtp6-g21.free.fr (Postfix) with ESMTP id DD25FE081B5 for ; Sun, 25 Jan 2009 17:35:00 +0100 (CET) Received: from [192.168.0.36] (brc29-1-82-245-192-44.fbx.proxad.net [82.245.192.44]) by smtp6-g21.free.fr (Postfix) with ESMTP id CF91BE0821E for ; Sun, 25 Jan 2009 17:34:57 +0100 (CET) Subject: 23.0.60; Nesting skeletons - infinite recursion ? From: Michelle Baert To: emacs-pretest-bug@gnu.org Content-Type: text/plain Date: Sun, 25 Jan 2009 17:34:57 +0100 Message-Id: <1232901297.20531.3.camel@claddagh> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Dear Emacs maintainers, I'm trying to setup a clean set of skeletons, but it turns up that I can't call a skeleton from another. The method I tried raises the error message: "skeleton-internal-1: Variable binding depth exceeds max-specpdl-size" I tried to write a basic test to demonstrate the problem. Here it is (nested-skeletons.el) : ********************************************************************** ;; Each skeleton is followed by a sample output (define-skeleton tst:plain "No prompt skeleton." nil "; I'm static text inserted by skeleton tst:plain" ) ; I'm static text inserted by skeleton tst:plain (define-skeleton tst:use-str "Interactive skeleton." "Message: " "; I'm generated text (" str ") inserted by skeleton tst:use-str" \n ) ; I'm generated text (yes) inserted by skeleton tst:use-str (define-skeleton tst:skeleton-caller "Calls another skeleton" nil "; I'm lazy. I want to reuse some ready-made skeleton" \n (tst:plain) \n "; Happy to see you again." \n ) ; I'm lazy. I want to reuse some ready-made skeleton ; I'm static text inserted by skeleton tst:plain ;; The cursor stops just after "plain", and I get the error message: ;; "skeleton-internal-1: Variable binding depth exceeds max-specpdl-size" ;; or "skeleton-internal-1: Lisp nesting exceeds `max-lisp-eval-depth'" ;; in some previous sessions (define-skeleton tst:skeleton-caller2 "Calls another skeleton" nil "; I'm lazy. I want to reuse some ready-made skeleton" \n (tst:use-str "toy") \n "; Happy to see you again." \n ) ; I'm lazy. I want to reuse some ready-made skeleton ; I'm generated text (toy) inserted by skeleton tst:use-str ;; same result ;; ============================================================ (emacs-version t) ;; GNU Emacs 23.0.60.1 (i486-pc-linux-gnu, GTK+ Version 2.12.9) ;; of 2008-03-19 on vernadsky, modified by Debian ;; Started with emacs -Q nested-skeletons.el ********************************************************************** Please tell me if - I did something wrong - you need more information - nested skeletons are not supported - you can't reproduce the problem I'm working on Ubuntu with emacs-snapshot package, and I still have emacs22. Thanks a lot. --- Michelle Baert *********************************************************************** In GNU Emacs 23.0.60.1 (i486-pc-linux-gnu, GTK+ Version 2.12.9) of 2008-03-19 on vernadsky, modified by Debian (emacs-snapshot package, version 1:20080228-1ubuntu1) Windowing system distributor `The X.Org Foundation', version 11.0.10400090 configured using `configure '--build' 'i486-linux-gnu' '--host' 'i486-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/23.0.60/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/23.0.60/site-lisp:/usr/share/emacs/site-lisp:/usr/share/emacs/23.0.60/leim' '--with-x=yes' '--with-x-toolkit=gtk' '--enable-font-backend' 'build_alias=i486-linux-gnu' 'host_alias=i486-linux-gnu' 'CFLAGS=-DDEBIAN -DSITELOAD_PURESIZE_EXTRA=5000 -g -O2' 'LDFLAGS=-g -Wl,--as-needed' 'CPPFLAGS='' Important settings: value of $LC_ALL: nil 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: en_IE.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default-enable-multibyte-characters: t Major mode: Emacs-Lisp Minor modes in effect: tooltip-mode: t tool-bar-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t global-auto-composition-mode: t auto-composition-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: s e C-k C-k C-x C-s C-_ C-_ < ; ; SPC i n SPC p r e v i o u s SPC s e s s i o u s n s , SPC m a y b e SPC s t e e t SPC s o m e SPC d e b u g SPC f l a g s C-k s o n m e SPC C-x C-s n q C-x k Recent messages: skeleton-internal-1: Variable binding depth exceeds max-specpdl-size Undo! [2 times] Mark set [2 times] Auto-saving...done Wrote /home/mich/Learn/text/emacs/write-a-mode/nested-skeletons.el nil Undo! Wrote /home/mich/Learn/text/emacs/write-a-mode/nested-skeletons.el [2 times] Undo! [2 times] Wrote /home/mich/Learn/text/emacs/write-a-mode/nested-skeletons.el ------------=_1232920504-29052-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 2047-done) by emacsbugs.donarmstrong.com; 25 Jan 2009 21:47:55 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-3.0 required=4.0 tests=HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from ey-out-2122.google.com (ey-out-2122.google.com [74.125.78.25]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n0PLlpbe027780 for <2047-done@emacsbugs.donarmstrong.com>; Sun, 25 Jan 2009 13:47:53 -0800 Received: by ey-out-2122.google.com with SMTP id 4so800254eyf.13 for <2047-done@emacsbugs.donarmstrong.com>; Sun, 25 Jan 2009 13:47:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=IUtfJxfatINHTWp/gKsaIOMFuj1Kr46zY7sQk8des3E=; b=b3rRaIIWBdlDh5DajAnJdDxzvKHmHxORy9K540T/QxxfrnQxqZyz5ZpJ8kitCln165 cn3ijqRqPvJvc4gCYUGxLUS9iosaaFVh1Uo7Vq5IiAmezEnEcUnd4FtLSx2y3xB0Tiyw v/HseRzENAlhdm9s5G8wWp0Nn5t37dxkJ3OWE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=t15CukaOH3f2eSLz+P0iipRqnzJq8HrANZPjMByJjPq+O8kPnvaowi8FxSa1fxwSRh EAhVuMmIjWv3Yx0lcsHaT1DUCaobmZ0FzpraYUBrGcx2U9a3SRVenumsfjxC3hK/xxPr rpPMxx0r1cKa4jl587n9l4XNOFAC/lCSUgpIc= MIME-Version: 1.0 Received: by 10.210.90.10 with SMTP id n10mr3184183ebb.81.1232920071230; Sun, 25 Jan 2009 13:47:51 -0800 (PST) In-Reply-To: <1232910283.20531.14.camel@claddagh> References: <1232901297.20531.3.camel@claddagh> <1232910283.20531.14.camel@claddagh> Date: Sun, 25 Jan 2009 22:47:51 +0100 Message-ID: Subject: Re: bug#2047: SOLVED - not a bug (23.0.60; Nesting skeletons - infinite recursion ?) From: Juanma Barranquero To: Michelle Baert Cc: 2047-done@emacsbugs.donarmstrong.com Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On Sun, Jan 25, 2009 at 20:04, Michelle Baert wrote: > ;; I had missed a line of skeleton-insert's documentation: Closed. ------------=_1232920504-29052-0--