all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Michelle Baert <m.baert@free.fr>
To: 2047@emacsbugs.donarmstrong.com
Subject: bug#2047: SOLVED - not a bug (23.0.60; Nesting skeletons - infinite  recursion ?)
Date: Sun, 25 Jan 2009 20:04:43 +0100	[thread overview]
Message-ID: <1232910283.20531.14.camel@claddagh> (raw)
In-Reply-To: <handler.2047.B.123290131613782.ack@emacsbugs.donarmstrong.com>

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









  parent reply	other threads:[~2009-01-25 19:04 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <f7ccd24b0901251347x1365a5ccqb57b5aa54206cfa5@mail.gmail.com>
2009-01-25 16:34 ` bug#2047: 23.0.60; Nesting skeletons - infinite recursion ? Michelle Baert
     [not found]   ` <handler.2047.B.123290131613782.ack@emacsbugs.donarmstrong.com>
2009-01-25 19:04     ` Michelle Baert [this message]
2009-01-25 21:55   ` bug#2047: marked as done (23.0.60; Nesting skeletons - infinite recursion ?) Emacs bug Tracking System
2009-01-26  4:22   ` bug#2047: 23.0.60; Nesting skeletons - infinite recursion ? Richard M Stallman

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=1232910283.20531.14.camel@claddagh \
    --to=m.baert@free.fr \
    --cc=2047@emacsbugs.donarmstrong.com \
    /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.