From: Oliver Lohmann <nagash2270@yahoo.de>
Subject: skeletons/abbrevs
Date: Fri, 25 Apr 2003 17:38:21 +0200 [thread overview]
Message-ID: <9533999919.20030425173821@yahoo.de> (raw)
Hello,
i've got a problem with making useful
skeletons/abbrevs:
i.e. i define the following function/skeleton-construct:
;;===
(defun myFor(s1 s2 s3)
(interactive "sSet Var: \nsSet BreakCondition: \nsSet Incr: ")
(skeleton-insert'(nil
>"for(" s1 ";" s2 ";" s3 ")" "{" \n
> _ \n
> "}" \n
)))
;;===
how can i put into my abbrev-list with full functionality?
this entry does not work because of the missing parameters:
;;===
(define-abbrev c-mode-abbrev-table ";for"
"" 'myFor)
;;===
thanks a lot for your help!
Best regards,
Oliver Lohmann
____________ ______
\ \~~~\ \ \ / Fachhochschule Wedel
\ \ \ \ \ / Feldstrasse 143
\ \== \ \==\/ D-22880 Wedel
\ \ \ \ Fachbereich
\ / \ / Medieninformatik
\/ \/ http://www.fh-wedel.de/
next reply other threads:[~2003-04-25 15:38 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-04-25 15:38 Oliver Lohmann [this message]
[not found] <mailman.5197.1051285138.21513.help-gnu-emacs@gnu.org>
2003-04-26 9:34 ` skeletons/abbrevs Oliver Scholz
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=9533999919.20030425173821@yahoo.de \
--to=nagash2270@yahoo.de \
/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.