all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* skeleton bug
@ 2007-08-17 11:36 cezar
  2007-08-17 16:24 ` Michaël Cadilhac
  0 siblings, 1 reply; 3+ messages in thread
From: cezar @ 2007-08-17 11:36 UTC (permalink / raw)
  To: bug-gnu-emacs


Hello,

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

<ul>
  <li>
  </li>
</ul>

  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>"
  \n)

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

Debugger entered--Lisp error: (error "Lisp nesting exceeds `max-lisp-eval-depth'")
  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("=c2\b@=c3	#=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)
  call-interactively(test-skeleton)
  execute-extended-command(nil)
  call-interactively(execute-extended-command)

In GNU Emacs 23.0.0.1 (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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: skeleton bug
  2007-08-17 11:36 skeleton bug cezar
@ 2007-08-17 16:24 ` Michaël Cadilhac
  2007-08-17 17:11   ` Cezar
  0 siblings, 1 reply; 3+ messages in thread
From: Michaël Cadilhac @ 2007-08-17 16:24 UTC (permalink / raw)
  To: cezar; +Cc: bug-gnu-emacs


[-- Attachment #1.1: Type: text/plain, Size: 935 bytes --]

cezar@mixandgo.ro writes:

> Hello,
>
>   I have created a small skeleton which should insert a html list in this form :
>
> <ul>
>   <li>
>   </li>
> </ul>
>
>   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>"
>   \n)
>
>   but it does not work ! The error I get follows:
>
> In GNU Emacs 23.0.0.1 (i686-pc-linux-gnu, GTK+ Version 2.10.12)

I can't reproduce it with 22.1.50, can you ?

-- 
 |   Michaël `Micha' Cadilhac       |    Le copillage-collage                |
 |   http://michael.cadilhac.name   |       tue le programmeur.              |
 |   JID/MSN:                       |           -- Dictons LRDE              |
 `----  michael.cadilhac@gmail.com  |                                   -  --'

[-- Attachment #1.2: Type: application/pgp-signature, Size: 188 bytes --]

[-- Attachment #2: Type: text/plain, Size: 149 bytes --]

_______________________________________________
bug-gnu-emacs mailing list
bug-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-gnu-emacs

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: skeleton bug
  2007-08-17 16:24 ` Michaël Cadilhac
@ 2007-08-17 17:11   ` Cezar
  0 siblings, 0 replies; 3+ messages in thread
From: Cezar @ 2007-08-17 17:11 UTC (permalink / raw)
  To: bug-gnu-emacs


No, this only happens in 23

michael@cadilhac.name (Michaël Cadilhac) writes:

> cezar@mixandgo.ro writes:
>
>> Hello,
>>
>>   I have created a small skeleton which should insert a html list in this form :
>>
>> <ul>
>>   <li>
>>   </li>
>> </ul>
>>
>>   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>"
>>   \n)
>>
>>   but it does not work ! The error I get follows:
>>
>> In GNU Emacs 23.0.0.1 (i686-pc-linux-gnu, GTK+ Version 2.10.12)
>
> I can't reproduce it with 22.1.50, can you ?
>
> -- 
>  |   Michaël `Micha' Cadilhac       |    Le copillage-collage                |
>  |   http://michael.cadilhac.name   |       tue le programmeur.              |
>  |   JID/MSN:                       |           -- Dictons LRDE              |
>  `----  michael.cadilhac@gmail.com  |                                   -  --'
> _______________________________________________
> bug-gnu-emacs mailing list
> bug-gnu-emacs@gnu.org
> http://lists.gnu.org/mailman/listinfo/bug-gnu-emacs

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-08-17 17:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-17 11:36 skeleton bug cezar
2007-08-17 16:24 ` Michaël Cadilhac
2007-08-17 17:11   ` Cezar

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.