all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: TomSW <tom.weissmann@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Emacs Schell Scripting
Date: Fri, 27 Mar 2009 01:35:38 -0700 (PDT)	[thread overview]
Message-ID: <f6e7f0a7-3468-4962-bf76-5bd73ce7c764@a12g2000yqm.googlegroups.com> (raw)
In-Reply-To: 25abad2a-dcc3-494a-a0b2-29973598048c@s22g2000prg.googlegroups.com

> Get to the point!

He means, is there an existing way to access any command-line
arguments that haven't been processed by Emacs.
How about the variable "command-line-args-left"?

~$ cat example2.el
#!/usr/bin/emacs  --script

(message "ARGS: %s\n" command-line-args-left)

~$ ./example2.el foo bar baz
...
ARGS: (foo bar baz)


cheers,
Tom SW


  reply	other threads:[~2009-03-27  8:35 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-25 13:26 Emacs Schell Scripting Volkan YAZICI
2009-03-26  0:02 ` Xah Lee
2009-03-26  6:19   ` Xah Lee
2009-03-27  8:35     ` TomSW [this message]
2009-03-26 19:21 ` Johan Bockgård
2009-03-27 20:05   ` Volkan YAZICI

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=f6e7f0a7-3468-4962-bf76-5bd73ce7c764@a12g2000yqm.googlegroups.com \
    --to=tom.weissmann@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.