all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Kevin Rodgers <ihs_4664@yahoo.com>
Subject: Re: howto edit a script file and test the function at the same time?
Date: Thu, 28 Sep 2006 08:40:30 -0600	[thread overview]
Message-ID: <efgmub$l0$1@sea.gmane.org> (raw)
In-Reply-To: <efe9nc$h6j$1@sea.gmane.org>

Kevin Rodgers wrote:
> emacs wrote:
>> I should like to have clues how to implement a "function" there when I
>> open a script file,
>> a screen with two windows opens up, editing windows above and output
>> windows below.
>> I also bind a key say "F9", when I press on that key, it perform the
>> execution by the script parser,
>> all outputs is visable in the window belows.
>>
>> This script parser should also be a serial channel to a basic computer,
>> so when I press a key,
>> the string below the curser is transfer to the basic computer and the
>> answer is return to the output window.
>>
>> Has anyone any ideers how this should be implemented or is it already
>> implemented?
> 
> (global-set-key [f9] 'executable-interpret)

Better would be:

(add-hook 'sh-mode-hook
	  (lambda ()
	    (local-set-key [f9] 'executable-interpret)))

-- 
Kevin

      reply	other threads:[~2006-09-28 14:40 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-27  1:50 howto edit a script file and test the function at the same time? emacs
2006-09-27 16:42 ` Kevin Rodgers
2006-09-28 14:40   ` Kevin Rodgers [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='efgmub$l0$1@sea.gmane.org' \
    --to=ihs_4664@yahoo.com \
    /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.