all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: cezar@mixandgo.ro
To: help-gnu-emacs@gnu.org
Subject: skeleton help
Date: Wed, 15 Aug 2007 11:10:31 +0300	[thread overview]
Message-ID: <87r6m5fcaw.fsf@myhost.localdomain> (raw)

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
  > "<ul>"
  \n > "<li>"
  \n > _
  \n > -1 "</li>"
  \n > "</ul>"
  \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("Â\b@Ã        #" [skeleton recursive skeleton-internal-1 nil] 4)
  skeleton-internal-list(("" > "<ul>" n > "<li>" n > _ n > -1 "</li>" n > "</ul>" n) nil)
  (let nil (skeleton-internal-list skeleton str))
  eval((let nil (skeleton-internal-list skeleton str)))
  skeleton-insert(("" > "<ul>" n > "<li>" n > _ n > -1 "</li>" n > "</ul>" n) nil nil)
  skeleton-proxy-new(("" > "<ul>" n > "<li>" n > _ n > -1 "</li>" n > "</ul>" n) nil nil)
  test-skeleton(nil nil)
  call-interactively(test-skeleton)
  execute-extended-command(nil)
  call-interactively(execute-extended-command)

             reply	other threads:[~2007-08-15  8:10 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-15  8:10 cezar [this message]
2007-08-15 17:32 ` skeleton help Nikolaj Schumacher

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87r6m5fcaw.fsf@myhost.localdomain \
    --to=cezar@mixandgo.ro \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.