From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alex =?utf-8?Q?Benn=C3=A9e?= Newsgroups: gmane.emacs.help Subject: stdio access to the Emacs REPL Date: Mon, 11 Nov 2013 11:40:32 +0000 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1384170098 549 80.91.229.3 (11 Nov 2013 11:41:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 11 Nov 2013 11:41:38 +0000 (UTC) To: GNU Emacs users list Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Nov 11 12:41:44 2013 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VfprY-0007tG-3l for geh-help-gnu-emacs@m.gmane.org; Mon, 11 Nov 2013 12:41:00 +0100 Original-Received: from localhost ([::1]:36112 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VfprX-0003bn-Nh for geh-help-gnu-emacs@m.gmane.org; Mon, 11 Nov 2013 06:40:59 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38770) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VfprI-0003bi-RA for help-gnu-emacs@gnu.org; Mon, 11 Nov 2013 06:40:49 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VfprE-0002af-1d for help-gnu-emacs@gnu.org; Mon, 11 Nov 2013 06:40:44 -0500 Original-Received: from static.88-198-71-155.clients.your-server.de ([88.198.71.155]:34817 helo=socrates.bennee.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VfprD-0002Zm-Of for help-gnu-emacs@gnu.org; Mon, 11 Nov 2013 06:40:39 -0500 Original-Received: from localhost ([127.0.0.1] helo=sloy) by socrates.bennee.com with esmtp (Exim 4.80) (envelope-from ) id 1VfptD-0006ug-UG for help-gnu-emacs@gnu.org; Mon, 11 Nov 2013 12:42:44 +0100 User-agent: mu4e 0.9.9.6pre2; emacs 24.3.1 X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: kernel-hacker@bennee.com X-SA-Exim-Scanned: No (on socrates.bennee.com); SAEximRunCond expanded to false X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 88.198.71.155 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:94442 Archived-At: Hi, I'm looking at replacing/augmenting the current xmlrpc method used by Edit with Emacs on Chrome to communicate with the edit-server. Chrome(ium) now provides a new native message API which offers a simpler stdio based access: http://developer.chrome.com/extensions/messaging.html#native-messaging I was wondering if there is anyway to hook a line based stdio link into a running emacs session. Something like: emacsclient -t -e "(eshell)" But without any of the extra display gubbins. All I want is something that I can write an sexp to and then process the response on stdout. Any ideas? -- Alex Bennée