unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: trebol55555@yahoo.es
To: Harry Putnam <reader@newsguy.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: [Xming + emacsclient] How to load a library in an emacsclient call
Date: Sun, 06 Feb 2011 04:12:11 +0000	[thread overview]
Message-ID: <877hddx0mc.fsf@yahoo.es> (raw)
In-Reply-To: <878vxt6hur.fsf@newsguy.com> (Harry Putnam's message of "Sat, 05 Feb 2011 20:02:04 -0600")

Harry Putnam <reader@newsguy.com> 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.



      reply	other threads:[~2011-02-06  4:12 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-05 22:31 [Xming + emacsclient] How to load a library in an emacsclient call Harry Putnam
2011-02-06  0:26 ` trebol55555
2011-02-06  2:02   ` Harry Putnam
2011-02-06  4:12     ` trebol55555 [this message]

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=877hddx0mc.fsf@yahoo.es \
    --to=trebol55555@yahoo.es \
    --cc=help-gnu-emacs@gnu.org \
    --cc=reader@newsguy.com \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).