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

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

Re: Skeleton With Embedded Quotes


From: rgb
Subject: Re: Skeleton With Embedded Quotes
Date: 21 Nov 2005 09:25:57 -0800
User-agent: G2/0.2

> Hi,
>
> I'm trying to create a skeleton for a debug statement in tcl.  I want
> the skeleton to produce something like this:
>
> mylib::debug " "
>
> (The cursor would be placed between the quotations.)
>
> Unfortunately, skeleton uses double quotes as the delimiter for its own
> definition.  So, how do you get skeleton to print double quotes?  Here
> is what I have so Far:
>
> (define-skeleton tcl-debug
>   "Tcl debug statement"  nil
>   > "mylib::debug " \ \n)

(define-skeleton tcl-debug
  "Tcl debug statement"  nil 
  > "mylib::debug \"" _ "\"" \n)



reply via email to

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