[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

skeleton bug

From: cezar
Subject: skeleton bug
Date: Fri, 17 Aug 2007 14:36:29 +0300
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/23.0.0 (gnu/linux)


  I have created a small skeleton which should insert a html list in this form :


  The skeleton looks like this : 

(define-skeleton test-skeleton
  "This is a small doc for the skeleton."
  ""                                    ;no prompt
  > "<ul>"
  \n > "<li>"
  \n > _
  \n > -1 "</li>"
  \n > "</ul>"

  but it does not work ! The error I get follows:

Debugger entered--Lisp error: (error "Lisp nesting exceeds 
  skeleton-internal-1(-1 t nil)
  skeleton-internal-1(-1 t nil)
  [.. a lot more of these .. ]
  skeleton-internal-1(-1 t nil)
  skeleton-internal-1(-1 t nil)
  skeleton-internal-1(-1 nil nil)
  byte-code("address@hidden     #=87" [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)

In GNU Emacs (i686-pc-linux-gnu, GTK+ Version 2.10.12)
 of 2007-06-12 on myhost
Windowing system distributor `The X.Org Foundation', version 11.0.70200000
configured using `configure  '--enable-font-backend' '--with-xft' 
'--with-freetype' '--with-gtk' '--with-prefix=/opt''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: C
  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_US.utf8
  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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]