unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* emacsclient starting with xbindkeys
@ 2009-01-25  0:09 Harry Putnam
  0 siblings, 0 replies; only message in thread
From: Harry Putnam @ 2009-01-25  0:09 UTC (permalink / raw)
  To: help-gnu-emacs

Trying to get onto how to use emacsclient handily.

I've run into a couple of problems.

Summary:
  I hoped to be a able to start two servers with `emacs --daemon=name'
  
  and connect to them using keyboard bindings by way of xbindkeys which
  is a small package that allows you to set keyboard combos to start
  things or issue commands inside an X session.
  
    For example:
  
   "xterm -bg black -fg papayawhip"
       control+shift + t
  
  (in ~/.xbinkeysrc)
  
  Allows me to start an xterm with `C-Shift-t'  while in an xsesssion
  (with xbindkeys also running, of course)
 
  Anyone know how to start an emacsclient in that manner?


Details:
  I've started the server with `emacs --daemon=name'
  
  But something like:
  
   "emacsclient -s name -c"
       control+shift + e
  
  Doesn't work although:
  
          emacsclient -s name -c
  
  works as expected when called from a running xterm.
  
  I've tried both of these notations as well... but didn't work
  
    "emacsclient -s name -c &"
       control+shift + e
  
    "emacsclient -s name -c -d :0"
       control+shift + e
  
  
  Starting the emacsclient from an xterm with or without the `&'
  operator provides normal connection to the daemon, but then I have to
  have an xterm running to support the emacsclient frame.
  
  Not a huge deal but I'd rather be able to start the emacsclient from
  an xbindkeys command.





^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-01-25  0:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-25  0:09 emacsclient starting with xbindkeys Harry Putnam

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).