[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Concerning emacsclient cmdline

From: Harry Putnam
Subject: Concerning emacsclient cmdline
Date: Sun, 08 Feb 2015 11:44:52 -0500
User-agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/25.0.50 (gnu/linux)

Running SonOS (Openindiana, a solaris offshoot)

  GNU Emacs 24.3.1 (i386-pc-solaris2.10, X toolkit, Xaw scroll bars)
  of 2013-08-03 on unstable10x

I've been dinking around with a script that calls emacsclient and
having a problem figuring out the proper cmdline syntax.

There are several things being checked and several different calls to
emcaslient depending on other variables.

Where my problem comes is trying to open a file and --eval an expression
in the same command.

the script name is `emcl' the cmdline:  `./emcl ./it'

And the cmdline that gets run inside the script:
 emacsclient -c -a "" --eval '(load-file 
"/home/harry/.emacs-dir/client2SomeServer.el")' $@

When called it breaks with:
 *ERROR*: Symbol's value as variable is void: \./it

I've tried removeing "$@" and it opens without error but with no
filename 'it'  opened.

So I tried putting "$@" between "" and  `--eval'
The error is the same.

   *ERROR*: Symbol's value as variable is void: \./it

Can anyone say what is wrong here?

Perhaps the file call has to be an --eval too.  If so, how would that
be done?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]