all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* How does emacsclient create it's first frame
@ 2010-01-12  9:40 Alex Bennee
  0 siblings, 0 replies; 3+ messages in thread
From: Alex Bennee @ 2010-01-12  9:40 UTC (permalink / raw)
  To: help-gnu-emacs mailing list

Hi,

I've now got a working "edit server" in elisp which will respond to
edit requests from Google Chrome. However it has a small problem when
creating new frames.

If there is a frame already visible then the (make-frame) invocation
works as expected. However as I'm running this server inside an emacs
--daemon invocation the default state if for no frame to be displayed.

Indeed if you manually try a (make-frame) in this state then emacs
will complain:

09:03 alex@trent/i686 [emacs_chrome.git] >emacsclient -e '(make-frame)'
*ERROR*: Unknown terminal type

I've been trying to find how the emacsclient causes the first frame to
appear but I'm having trouble finding the client code in the emacs src
tree. Can anyone offer any pointers as to how to do this from scratch?

-- 
Alex, homepage: http://www.bennee.com/~alex/
http://www.half-llama.co.uk




^ permalink raw reply	[flat|nested] 3+ messages in thread
[parent not found: <mailman.1256.1263289245.18930.help-gnu-emacs@gnu.org>]

end of thread, other threads:[~2010-01-12 12:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-12  9:40 How does emacsclient create it's first frame Alex Bennee
     [not found] <mailman.1256.1263289245.18930.help-gnu-emacs@gnu.org>
2010-01-12 10:09 ` Pascal J. Bourguignon
2010-01-12 12:24   ` Alex Bennee

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.