From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Harry Putnam Newsgroups: gmane.emacs.help Subject: Concerning emacsclient cmdline Date: Sun, 08 Feb 2015 11:44:52 -0500 Organization: Still searching... Message-ID: <87a90omjy3.fsf@reader.local.lan> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1423413922 16976 80.91.229.3 (8 Feb 2015 16:45:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 8 Feb 2015 16:45:22 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Feb 08 17:45:21 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YKUz3-0007VO-6h for geh-help-gnu-emacs@m.gmane.org; Sun, 08 Feb 2015 17:45:21 +0100 Original-Received: from localhost ([::1]:57042 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YKUz2-0007Pe-MP for geh-help-gnu-emacs@m.gmane.org; Sun, 08 Feb 2015 11:45:20 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39281) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YKUyr-0007P8-PD for help-gnu-emacs@gnu.org; Sun, 08 Feb 2015 11:45:10 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YKUyo-00005I-KF for help-gnu-emacs@gnu.org; Sun, 08 Feb 2015 11:45:09 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:43032) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YKUyo-0008US-EW for help-gnu-emacs@gnu.org; Sun, 08 Feb 2015 11:45:06 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1YKUyi-0007Lv-Vt for help-gnu-emacs@gnu.org; Sun, 08 Feb 2015 17:45:01 +0100 Original-Received: from c-76-97-127-193.hsd1.ga.comcast.net ([76.97.127.193]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 08 Feb 2015 17:45:00 +0100 Original-Received: from reader by c-76-97-127-193.hsd1.ga.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 08 Feb 2015 17:45:00 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 34 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: c-76-97-127-193.hsd1.ga.comcast.net User-Agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/25.0.50 (gnu/linux) Cancel-Lock: sha1:aHB4jZXSIL2SqUlhOxsNVNRP1gU= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:102578 Archived-At: 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?