bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#2047: SOLVED - not a bug (23.0.60; Nesting skeletons - infinite rec


From: Michelle Baert
Subject: bug#2047: SOLVED - not a bug (23.0.60; Nesting skeletons - infinite recursion ?)
Date: Sun, 25 Jan 2009 20:04:43 +0100

On Sun, 2009-01-25 at 16:40 +0000, Emacs bug Tracking System wrote:
> If you wish to submit further information on this problem, please
> send it to 2047@emacsbugs.donarmstrong.com, as before.

Dear Emacs maintainers,

;; I had missed a line of skeleton-insert's documentation:
;; > Note that expressions may not return t since this implies an
;; > endless loop.
;; So "(progn expr nil) and it works !

(define-skeleton tst:skeleton-caller
  "Calls another skeleton"
  nil
  "; I'm lazy. I want to reuse some ready-made skeleton" \n
  (progn (tst:plain) nil) \n
  "; Happy to see you again." \n
)

(define-skeleton tst:skeleton-caller2
  "Calls another skeleton"
  nil
  "; I'm lazy. I want to reuse some ready-made skeleton" \n
  (progn (tst:use-str "toy") nil) \n
  "; Happy to see you again." \n
)

Sorry for the fuss.

Thanks a lot.

---
Michelle Baert









reply via email to

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