all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: TheFlyingDutchman <zzbbaadd@aol.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Enter
Date: Tue, 4 Nov 2008 01:51:25 -0800 (PST)	[thread overview]
Message-ID: <86126f3e-d5c8-4b04-a08a-d4140a9435d5@s9g2000prg.googlegroups.com> (raw)
In-Reply-To: c8b6832d-8152-4c66-816a-e2502d267c7d@c2g2000pra.googlegroups.com

On Nov 4, 12:46 am, TheFlyingDutchman <zzbba...@aol.com> wrote:
> I want to start a shell buffer and then run a command via an Emacs
> Lisp function. If I do this:
>
> (shell)
> (insert "ls\n")

Well I found something:

(comint-send-input)

seems to do the trick and simulate manually hitting [enter] in the
shell buffer.



  reply	other threads:[~2008-11-04  9:51 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-04  8:46 Enter TheFlyingDutchman
2008-11-04  9:51 ` TheFlyingDutchman [this message]
2008-11-04 10:03 ` Enter Giorgos Keramidas
2008-11-04 19:22   ` Enter TheFlyingDutchman

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=86126f3e-d5c8-4b04-a08a-d4140a9435d5@s9g2000prg.googlegroups.com \
    --to=zzbbaadd@aol.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.