all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Wang Lei <wanglei.198112@gmail.com>
To: Elena <egarrulo@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: eshell scripts?
Date: Sat, 5 Sep 2009 12:49:07 +0800	[thread overview]
Message-ID: <a0a0cf140909042149n3e053553ue470349a12cadc6@mail.gmail.com> (raw)
In-Reply-To: <90da1103-3d26-4bae-b65c-318747013a4d@y9g2000yqn.googlegroups.com>

I think you could use elisp functions. Write your script into a file,
load it in .emacs. Then call it's function like this.

elisp$ (your-function)


On 9/4/09, Elena <egarrulo@gmail.com> wrote:
> On 3 Set, 15:53, Elena <egarr...@gmail.com> wrote:
>> Hello,
>>
>> does Eshell supports scripts? That is, is there a way to make a file
>> executable by Eshell, so that it can be run when inside Eshell? Both
>> on Linux and Windows?
>>
>> Thanks
>
> I should have tried before asking!
>
> Eshell understands that *.bat files are meant to be executed by
> Windows' command interpreter.
>
> I'll check what I get under Linux with a shell script.
>
> Cheers.
>


-- 
Regards
Lei




      reply	other threads:[~2009-09-05  4:49 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-03 15:53 eshell scripts? Elena
2009-09-04  8:18 ` Elena
2009-09-05  4:49   ` Wang Lei [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=a0a0cf140909042149n3e053553ue470349a12cadc6@mail.gmail.com \
    --to=wanglei.198112@gmail.com \
    --cc=egarrulo@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.