From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Lennart Borgman (gmail)" Newsgroups: gmane.emacs.devel Subject: Re: How to get "emacsclient --eval x" to DWIM when Emacs is not started Date: Sun, 30 Mar 2008 23:52:38 +0200 Message-ID: <47F00BA6.2090003@gmail.com> References: <7dbe73ed0803301309t3de07534w9b86159192214e07@mail.gmail.com> <47EFF64F.7080408@gmail.com> <7dbe73ed0803301445l71af65f8ncd38cef5ef3971ad@mail.gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1206914015 29672 80.91.229.12 (30 Mar 2008 21:53:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 30 Mar 2008 21:53:35 +0000 (UTC) Cc: emacs-devel@gnu.org To: Mathias Dahl Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Mar 30 23:54:07 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Jg5TX-0001IO-Rd for ged-emacs-devel@m.gmane.org; Sun, 30 Mar 2008 23:54:06 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jg5Su-00067t-EO for ged-emacs-devel@m.gmane.org; Sun, 30 Mar 2008 17:53:24 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Jg5SF-0005o9-Sz for emacs-devel@gnu.org; Sun, 30 Mar 2008 17:52:43 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Jg5SE-0005nT-C6 for emacs-devel@gnu.org; Sun, 30 Mar 2008 17:52:43 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jg5SE-0005nM-2W for emacs-devel@gnu.org; Sun, 30 Mar 2008 17:52:42 -0400 Original-Received: from ch-smtp01.sth.basefarm.net ([80.76.149.212]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Jg5SD-0004zW-Eh for emacs-devel@gnu.org; Sun, 30 Mar 2008 17:52:41 -0400 Original-Received: from c83-254-150-27.bredband.comhem.se ([83.254.150.27]:61503 helo=[127.0.0.1]) by ch-smtp01.sth.basefarm.net with esmtp (Exim 4.68) (envelope-from ) id 1Jg5SB-0004fW-4k; Sun, 30 Mar 2008 23:52:39 +0200 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.9) Gecko/20071031 Thunderbird/2.0.0.9 Mnenhy/0.7.5.666 In-Reply-To: <7dbe73ed0803301445l71af65f8ncd38cef5ef3971ad@mail.gmail.com> X-Antivirus: avast! (VPS 080330-0, 2008-03-30), Outbound message X-Antivirus-Status: Clean X-Originating-IP: 83.254.150.27 X-ACL-Warn: Too high rate of unknown addresses received from you X-Scan-Result: No virus found in message 1Jg5SB-0004fW-4k. X-Scan-Signature: ch-smtp01.sth.basefarm.net 1Jg5SB-0004fW-4k 8b76afe3fb7a521a1a6e860d68bbec03 X-detected-kernel: by monty-python.gnu.org: Linux 2.6? (barebone, rare!) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:93959 Archived-At: Mathias Dahl wrote: >> You can always try the patches I use for w32. It works fine for cases >> like the above though you just write something like >> >> emacsclient -e "(message \"hello\")" > > This is for GNU/Linux, will your patch work here too? From the beginning I think it did, but maybe I have not ifdef:ed the GUI part yet, I am not sure. The current state of the patch is not the best, but it works. I have problem keeping it in sync with CVS and have "unstructured" it to do that. I am still waiting for some decision to take it into the CVS ...