From: Xah Lee <xahlee@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Evaluating a scheme buffer
Date: Sun, 20 Jun 2010 07:04:11 -0700 (PDT) [thread overview]
Message-ID: <a10fa803-a5ef-4b68-8701-378d7b87f8db@q39g2000prh.googlegroups.com> (raw)
In-Reply-To: 0c11fe64-6c90-4417-ba2e-772e4e2abe0d@x27g2000yqb.googlegroups.com
On Jun 20, 2:31 am, Mark Carter <alt.mcar...@gmail.com> wrote:
> I would like to write an emacs function to evaluate a buffer that it
> in scheme mode; let's call it eval-scheme-buffer . Even better would
> be to write a function eval-buffer that evaluates a buffer in whatever
> mode the buffer is in (like Common Lisp). I am using inferior modes
> here.
>
> How is this done?
See:
• Elisp Lesson: Execute/Compile Current File
http://xahlee.org/emacs/elisp_run_current_file.html
Xah
∑ http://xahlee.org/
☄
prev parent reply other threads:[~2010-06-20 14:04 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-20 9:31 Evaluating a scheme buffer Mark Carter
2010-06-20 12:25 ` Pascal J. Bourguignon
2010-06-20 14:04 ` Xah Lee [this message]
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=a10fa803-a5ef-4b68-8701-378d7b87f8db@q39g2000prh.googlegroups.com \
--to=xahlee@gmail.com \
--cc=help-gnu-emacs@gnu.org \
/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.