guile-devel
[Top][All Lists]
Advanced

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

Guile C editing commands


From: Keisuke Nishida
Subject: Guile C editing commands
Date: Sun, 11 Mar 2001 06:15:44 -0500
User-agent: Wanderlust/2.4.0 (Rio) SEMI/1.13.7 (Awazu) FLIM/1.13.2 (Kasanui) Emacs/21.0.99 (i686-pc-linux-gnu) MULE/5.0 (SAKAKI)

I have written some Emacs commands to edit Guile C files.

Command `guile-c-insert-define' inserts a template of a Scheme procedure:

  M-x guile-c-insert-define RET foo arg , opt . rest =>

  SCM_DEFINE (scm_foo, "foo", 1, 1, 1,
              (SCM arg, SCM opt, SCM rest),
              "")
  #define FUNC_NAME s_scm_foo
  {
  
  }
  #undef FUNC_NAME

Command `guile-c-edit-docstring' can be used to edit docstrings
in a separate buffer in Texinfo mode.

Maybe should I put this in guile-core/emacs/ ?

Kei

Attachment: guile-c.el
Description: Binary data


reply via email to

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