elisp for inserting a defclass - lisp
This is a discussion on elisp for inserting a defclass - lisp ; I have recently read Michael Weber's blog entry [1] about inserting a
defpackage form into a buffer. He includes a link to Xach's blog
which mentions similar code for defclass forms, but I found that
Xach's entry is also about ...
-
elisp for inserting a defclass
I have recently read Michael Weber's blog entry [1] about inserting a
defpackage form into a buffer. He includes a link to Xach's blog
which mentions similar code for defclass forms, but I found that
Xach's entry is also about defpackage & related stuff.
But I still think that a defclass form would be useful, eg something
that given "foo bar baz" would insert
(defclass foo ()
(bar :initarg :bar :accessor :bar)
(baz :initarg :baz :accessor :baz))
into the buffer. I suppose people have already written something like
this, if so, please post it so I can keep postponing learning Emacs
Lisp ;-)
Tamas
[1] http://www.foldr.org/~michaelw/log/p...ckage-skeleton
-
Re: elisp for inserting a defclass
On 13 ago, 06:57, Tamas Papp <tkp...@gmail.com> wrote:
> I have recently read Michael Weber's blog entry [1] about inserting a
> defpackage form into a buffer. He includes a link to Xach's blog
> which mentions similar code for defclass forms, but I found that
> Xach's entry is also about defpackage & related stuff.
>
> But I still think that a defclass form would be useful, eg something
> that given "foo bar baz" would insert
>
> (defclass foo ()
> (bar :initarg :bar :accessor :bar)
> (baz :initarg :baz :accessor :baz))
>
> into the buffer. I suppose people have already written something like
> this, if so, please post it so I can keep postponing learning Emacs
> Lisp ;-)
>
> Tamas
>
> [1]http://www.foldr.org/~michaelw/log/programming/lisp/defpackage-skeleton
You will probably be more sucessfull asking questions related to emacs
on gnu.emacs.help.
Cheers,
weber
Similar Threads
-
By Application Development in forum lisp
Replies: 5
Last Post: 12-13-2007, 02:53 AM
-
By Application Development in forum lisp
Replies: 13
Last Post: 10-13-2007, 03:44 PM
-
By Application Development in forum lisp
Replies: 5
Last Post: 10-08-2007, 03:34 PM
-
By Application Development in forum lisp
Replies: 0
Last Post: 08-08-2007, 05:43 AM
-
By Application Development in forum lisp
Replies: 9
Last Post: 07-31-2007, 04:12 AM