This is the mail archive of the guile-emacs@sources.redhat.com mailing list for the Guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: emacs-guile


At Fri, 18 Jan 2002 08:41:31 +0900,
Keisuke Nishida wrote:
> 
> >    2. let me use scheme libraries to do functions in emacs, like
> >    manipulating buffers and so on.

Oops, you can do something with Emacs's buffers using Scheme libraries.
Try the following in _lisp-interaction-mode_.

  (require 'guile)
  (guile-import string-upcase)

  (insert (string-upcase (buffer-substring-no-properties 1 100)))

`guile-lisp-eval' is also a Lisp function.  You can use
`guile-import-module' to import all functions defined in
a Guile's module.

Keisuke


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]