From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: cezar@mixandgo.ro Newsgroups: gmane.emacs.help Subject: skeleton help Date: Wed, 15 Aug 2007 11:10:31 +0300 Message-ID: <87r6m5fcaw.fsf@myhost.localdomain> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1187165427 28802 80.91.229.12 (15 Aug 2007 08:10:27 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 15 Aug 2007 08:10:27 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Aug 15 10:10:24 2007 Return-path: Envelope-to: geh-help-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 1ILDxP-0002C7-RP for geh-help-gnu-emacs@m.gmane.org; Wed, 15 Aug 2007 10:10:24 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ILDxP-0001Us-5B for geh-help-gnu-emacs@m.gmane.org; Wed, 15 Aug 2007 04:10:23 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ILDx9-0001Ul-RP for help-gnu-emacs@gnu.org; Wed, 15 Aug 2007 04:10:07 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ILDx9-0001UZ-4Z for help-gnu-emacs@gnu.org; Wed, 15 Aug 2007 04:10:07 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ILDx9-0001UW-0r for help-gnu-emacs@gnu.org; Wed, 15 Aug 2007 04:10:07 -0400 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1ILDx8-0003ok-Ko for help-gnu-emacs@gnu.org; Wed, 15 Aug 2007 04:10:06 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1ILDwt-0004jB-7B for help-gnu-emacs@gnu.org; Wed, 15 Aug 2007 10:09:51 +0200 Original-Received: from dyn-86.105.65.100.tm.upcnet.ro ([86.105.65.100]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 15 Aug 2007 10:09:51 +0200 Original-Received: from cezar by dyn-86.105.65.100.tm.upcnet.ro with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 15 Aug 2007 10:09:51 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 38 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: dyn-86.105.65.100.tm.upcnet.ro User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/23.0.0 (gnu/linux) Cancel-Lock: sha1:y/2J0EPgxz95cWRfcTBCznSjfF4= X-Detected-Kernel: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:46554 Archived-At: Hello, I have tryed my first emacs skeleton and I get an error. The script : (define-skeleton test-skeleton "This is a small doc for the skeleton." "" ; no prompt > "
    " \n > "
  • " \n > _ \n > -1 "
  • " \n > "
" \n) The error: Debugger entered--Lisp error: (error "Lisp nesting exceeds `max-lisp-eval-depth'") skeleton-internal-1(-1 t nil) skeleton-internal-1(-1 t nil) skeleton-internal-1(-1 t nil) skeleton-internal-1(-1 t nil) [ ... lots of those lines .. ] skeleton-internal-1(-1 nil nil) skeleton-internal-1(-1 nil nil) skeleton-internal-1(-1 nil nil) byte-code("Â@Ã #" [skeleton recursive skeleton-internal-1 nil] 4) skeleton-internal-list(("" > "
    " n > "
  • " n > _ n > -1 "
  • " n > "
" n) nil) (let nil (skeleton-internal-list skeleton str)) eval((let nil (skeleton-internal-list skeleton str))) skeleton-insert(("" > "
    " n > "
  • " n > _ n > -1 "
  • " n > "
" n) nil nil) skeleton-proxy-new(("" > "
    " n > "
  • " n > _ n > -1 "
  • " n > "
" n) nil nil) test-skeleton(nil nil) call-interactively(test-skeleton) execute-extended-command(nil) call-interactively(execute-extended-command)