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

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

customizing comint


From: rustom
Subject: customizing comint
Date: Wed, 6 Feb 2008 09:05:52 -0800 (PST)
User-agent: G2/1.0

I'm trying to customize comint for a little-language interpreter {say
foo}.
The language includes a file -- say bar.foo -- by doing
>> include-file "bar.foo"

Now python-mode binds C-c C-c to py-execute-buffer which seems to be
doing some heavy-weight stuff and not really using anything from
comint. (AFAIK)

Is there some simple way of writing
(defun foo-execute-buffer (file)
:
:
which uses the comint functionality to make the foo interpreter do
include-file <file>

More generally is there any help on customizing comint?


reply via email to

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