From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Change in emacsclient behavior Date: Mon, 03 Sep 2007 14:26:07 -0400 Message-ID: References: <87veaw5ds5.fsf@baldur.tsdh.de> <87veatxcrz.fsf@jurta.org> <85myw4q3fq.fsf@lola.goethe.zz> <878x7ox224.fsf@jurta.org> Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1188844341 27968 80.91.229.12 (3 Sep 2007 18:32:21 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 3 Sep 2007 18:32:21 +0000 (UTC) Cc: emacs-devel@gnu.org To: Juri Linkov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Sep 03 20:32:20 2007 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 1ISGii-0006jO-8W for ged-emacs-devel@m.gmane.org; Mon, 03 Sep 2007 20:32:20 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ISGig-0005ZY-UM for ged-emacs-devel@m.gmane.org; Mon, 03 Sep 2007 14:32:18 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ISGcw-0008Ch-S9 for emacs-devel@gnu.org; Mon, 03 Sep 2007 14:26:22 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ISGcw-0008BG-56 for emacs-devel@gnu.org; Mon, 03 Sep 2007 14:26:22 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ISGcv-0008B0-UU for emacs-devel@gnu.org; Mon, 03 Sep 2007 14:26:21 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1ISGcv-0000BT-OV for emacs-devel@gnu.org; Mon, 03 Sep 2007 14:26:21 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.60) (envelope-from ) id 1ISGch-00067d-E5; Mon, 03 Sep 2007 14:26:07 -0400 In-reply-to: <878x7ox224.fsf@jurta.org> (message from Juri Linkov on Sun, 02 Sep 2007 23:14:05 +0300) X-Detected-Kernel: Linux 2.6, seldom 2.4 (older, 4) 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:77672 Archived-At: I agree that emacsclient should mimic emacs as much as possible. Maybe even there should be a common wrapper (with a different name) for emacs and emacsclient: running it will start emacs if it is not started yet or connect to an existing Emacs server. We already have such a wrapper, as a script in etc. At least, command line options shouldn't be so different as now, e.g. instead of -t, --tty better to use --no-window-system, -nw... That is a good idea. Would someone please implement it? It is not too hard to do if one leaves the command line parsing mainly to emacs-server and have it set up (and then consume) command-line-args-left. That is also a good implementation idea, if it works out.