From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.devel Subject: Emacs RPC Date: Sat, 23 Apr 2011 20:54:28 +0200 Organization: Programmerer Ingebrigtsen Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1303584894 24546 80.91.229.12 (23 Apr 2011 18:54:54 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 23 Apr 2011 18:54:54 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Apr 23 20:54:47 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QDhyf-0004W9-8W for ged-emacs-devel@m.gmane.org; Sat, 23 Apr 2011 20:54:45 +0200 Original-Received: from localhost ([::1]:54099 helo=lists2.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QDhye-0007aD-LD for ged-emacs-devel@m.gmane.org; Sat, 23 Apr 2011 14:54:44 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:54299) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QDhyb-0007Zx-HE for emacs-devel@gnu.org; Sat, 23 Apr 2011 14:54:42 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QDhya-0001P7-CJ for emacs-devel@gnu.org; Sat, 23 Apr 2011 14:54:41 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:36667) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QDhya-0001P3-6a for emacs-devel@gnu.org; Sat, 23 Apr 2011 14:54:40 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1QDhyY-0004SU-67 for emacs-devel@gnu.org; Sat, 23 Apr 2011 20:54:38 +0200 Original-Received: from cm-84.215.51.58.getinternet.no ([84.215.51.58]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 23 Apr 2011 20:54:38 +0200 Original-Received: from larsi by cm-84.215.51.58.getinternet.no with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 23 Apr 2011 20:54:38 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-devel@gnu.org Original-Lines: 17 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: cm-84.215.51.58.getinternet.no Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEWSJhWlEgD49O/l4NyY DgCtFQDOyseOfntgKVTsAAACI0lEQVQ4jW3UTW/jIBAGYO+6MWereHvHknOtQCLXWutkr0EK22sV FHy1ksb8/X0HQz6knYOVzBNmgBgKFv4bU1E5JUUKpZT3Hk+lx6LyOcYQZp9ARYhfw8oi9nOCTVEi h/xk6xiWLbBGDz+HeTJ1zYce0rAMrfNh4kgNiLru3ygv10WptB9fKEXAef+H8gIjpPffSPUREDsa AShbNVoz3OO3oiUBpLpaS5l+gZ8iQbux1nBKNY0ZtndQJ0ul0AML3Nq6vAGWfMB86q2NccmASgtY 00SQCd4JUmMSlwFzuk2XPsoMtKvc3GAvjgtUdqARDbefgbb+TaQRbOBNbfua730o2Mr+yqWKvOIQ RjYx+yqjALYALPxjDBf8u6tLHrHqD5xgtw7BddPVxT1sAcuybNlN7KxDUKqVC2CyBOdOT2GeZ9Xh 30hgaJfO1C+MF3q3MtgmQxG0bAm6TQSbgG3YE8S9K1sfZtE5KZUWQkcwNOKv0EehvW/RoxV4d3Op Pd5N0ekfPkORwFY0mXfbLbApWIa9Q+mV0TgDESp7E9r2A0phZh6wso9RX1SrtSY45VR8NDsA2uDg fN1+TMfDvDpM2BH4ex0syKBUAv3UBNBJ5+hwqtMT4LwAYqnxaVr87IVzbqTDeTXmQXYK0I10OMPA H4sxkUr58D08FvtUsVSl/Ty+PIM/xpsB98fXI1RyWbl3QuFiuOexU9SDrqWZ2izx8ZGupX+w+yt5 c881YgAAAABJRU5ErkJggg== Mail-Copies-To: never X-Now-Playing: Boris's _The Thing Which Solomon Overlooked 2_: "No One Grieves part 2" User-Agent: Gnus/5.110016 (No Gnus v0.16) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:3XuPgL0u3msCCIDtgGmSWS1+LxA= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 80.91.229.12 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:138659 Archived-At: I'm running a lot of Emacs-based servers here and there, and I communicate with them via "emacsclient --eval". But it just occurred to me that it would be much more elegant to have an `emacs-client-rpc' function, so that I wouldn't have to parse the output from emacsclient in a shell. I've peeked through the info files and I couldn't find anything. And it looks like it would be a simple enough thing to add to server.el. Anybody mind if I add a function like, er, (server-eval-at HOST COMMAND) to server.el? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog http://lars.ingebrigtsen.no/