From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: trebol55555@yahoo.es Newsgroups: gmane.emacs.help Subject: Re: [Xming + emacsclient] How to load a library in an emacsclient call Date: Sun, 06 Feb 2011 04:12:11 +0000 Message-ID: <877hddx0mc.fsf@yahoo.es> References: <87k4he5d22.fsf@newsguy.com> <87zkqa57q4.fsf@yahoo.es> <878vxt6hur.fsf@newsguy.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1296965131 21277 80.91.229.12 (6 Feb 2011 04:05:31 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 6 Feb 2011 04:05:31 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Harry Putnam Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Feb 06 05:05:27 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 1PlvsM-0001Nu-Vp for geh-help-gnu-emacs@m.gmane.org; Sun, 06 Feb 2011 05:05:27 +0100 Original-Received: from localhost ([127.0.0.1]:38262 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PlvsM-0001ki-Co for geh-help-gnu-emacs@m.gmane.org; Sat, 05 Feb 2011 23:05:26 -0500 Original-Received: from [140.186.70.92] (port=55075 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Plvs0-0001kN-4M for help-gnu-emacs@gnu.org; Sat, 05 Feb 2011 23:05:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Plvrz-0004ll-Ak for help-gnu-emacs@gnu.org; Sat, 05 Feb 2011 23:05:04 -0500 Original-Received: from nm4-vm0.bullet.mail.ukl.yahoo.com ([217.146.183.230]:44501) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1Plvry-0004lA-Rv for help-gnu-emacs@gnu.org; Sat, 05 Feb 2011 23:05:03 -0500 Original-Received: from [217.146.183.183] by nm4.bullet.mail.ukl.yahoo.com with NNFMP; 06 Feb 2011 04:05:01 -0000 Original-Received: from [77.238.184.78] by tm14.bullet.mail.ukl.yahoo.com with NNFMP; 06 Feb 2011 04:05:01 -0000 Original-Received: from [127.0.0.1] by smtp147.mail.ukl.yahoo.com with NNFMP; 06 Feb 2011 04:05:01 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.es; s=s1024; t=1296965101; bh=YHX0AbwUc7UhOEXnUFLlRMFljCwswWDIconG/Mlxkn0=; h=X-Yahoo-Newman-Id:Received:X-Yahoo-SMTP:X-YMail-OSG:X-Yahoo-Newman-Property:From:To:Cc:Subject:References:Mail-Followup-To:Date:In-Reply-To:Message-ID:User-Agent:MIME-Version:Content-Type; b=EJn/HVQLICdsiPiJjXMhoNr/mz0bzHmxPTbmOMh4pxlRPlZQ39PRxKHTj6p4u+6g58h9UCP9V4LQGNwY7r29gaKSn+Gxr1ye19zkYNVWfFz25zZlGDHzb1Kn31UhJTpirYzJ/ntcHzzlqFoU6IYbHwWnNUzrNHTVVIMThaUh2EA= X-Yahoo-Newman-Id: 255371.37977.bm@smtp147.mail.ukl.yahoo.com Original-Received: from localhost (trebol55555@79.147.41.99 with plain) by smtp147.mail.ukl.yahoo.com with SMTP; 06 Feb 2011 04:05:00 +0000 GMT X-Yahoo-SMTP: AmwbanWswBDJMo76l6AgLuWlxtoW9JWg X-YMail-OSG: 1S118fEVM1npfDpRI.cjwMTBXmaiCTALsdtTaDGuacSCVFE HfPFsLWtSb44isVeDWWTjJPSZo3U_sEWzFg2o5wCrhMDfm8s5QcoWVhzlpg3 y8by9DncsixUtJ0k7zdDCqfUkljzqZUXemTADqFVZVSboabWgNtz3YKcitZM HotfReyBc.OePvOTH8lw2ZVQUwdVr9y3WAe8qv1ArCJoaQNBlc1XUuiIoZ9z LyImlBdfyDQbRDIA3DAz.6LLPCd.sCMOEokCWJJVOndBa X-Yahoo-Newman-Property: ymail-3 Mail-Followup-To: Harry Putnam , help-gnu-emacs@gnu.org In-Reply-To: <878vxt6hur.fsf@newsguy.com> (Harry Putnam's message of "Sat, 05 Feb 2011 20:02:04 -0600") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 217.146.183.230 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:78983 Archived-At: Harry Putnam writes: > 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. Hello Harry, I forgave final quotes in first command: $ emacsclient -c -s nameserver -e "(load-library \"namelibrary\")" Just in case... Bye, Trebol.