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: Re: [Xming + emacsclient] How to load a library in an emacsclient call Date: Sat, 05 Feb 2011 20:02:04 -0600 Organization: Still searching... Message-ID: <878vxt6hur.fsf@newsguy.com> References: <87k4he5d22.fsf@newsguy.com> <87zkqa57q4.fsf@yahoo.es> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1296957778 29618 80.91.229.12 (6 Feb 2011 02:02:58 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 6 Feb 2011 02:02:58 +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 06 03:02:53 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Pltxh-0007sP-Dw for geh-help-gnu-emacs@m.gmane.org; Sun, 06 Feb 2011 03:02:49 +0100 Original-Received: from localhost ([127.0.0.1]:33085 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pltxg-0004PS-Kb for geh-help-gnu-emacs@m.gmane.org; Sat, 05 Feb 2011 21:02:48 -0500 Original-Received: from [140.186.70.92] (port=39739 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PltxD-0004PH-5N for help-gnu-emacs@gnu.org; Sat, 05 Feb 2011 21:02:20 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PltxC-0007xq-7F for help-gnu-emacs@gnu.org; Sat, 05 Feb 2011 21:02:19 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]:37743) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PltxC-0007xT-0l for help-gnu-emacs@gnu.org; Sat, 05 Feb 2011 21:02:18 -0500 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Pltx9-0007gh-9x for help-gnu-emacs@gnu.org; Sun, 06 Feb 2011 03:02:15 +0100 Original-Received: from c-98-215-183-196.hsd1.in.comcast.net ([98.215.183.196]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 06 Feb 2011 03:02:15 +0100 Original-Received: from reader by c-98-215-183-196.hsd1.in.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 06 Feb 2011 03:02:15 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 31 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: c-98-215-183-196.hsd1.in.comcast.net User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:AUITsHQuhkM4MEG6SFy4P1/U/AU= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 80.91.229.12 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:78982 Archived-At: trebol55555@yahoo.es writes: >> (NOTE: the xming-on-m1 `library' sets a specific font and bkg foregrd colors >> to use on a specific host `m1') >> >> emacsclient -s nognus -e "(load-library \"xming-on-m1\")" ; \ >> emacsclient -s nognus -c >> >> That doesn't work... there are no errors but the resulting emacs does >> not have the xming-on-m1 library loaded. So I guess it needs to be >> worked into a single command. >> >> So cutting to the chase: >> >> The question is how to make emacs read a specific library or file in >> an emacsclient command line. > > Hello Harry, > > The comands: > > $ emacsclient -c -s nameserver -e "(load-library \"namelibrary\") > $ emacsclient -c -s nameserver -e "(load-file \"file_path\")" > > works in linux without problem. I don't know anything about xming, but > this is the correct syntax. Ahhh... thanks... why I missed that format is a mystery to me. Caved in to quick I guess. Thanks alot.