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

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.




  reply	other threads:[~2011-02-06  2:02 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 [this message]
2011-02-06  4:12     ` trebol55555

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=878vxt6hur.fsf@newsguy.com \
    --to=reader@newsguy.com \
    --cc=help-gnu-emacs@gnu.org \
    /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).