From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#1298: allow 'emacsclient -a "emacs --daemon && emacsclient -c"' Date: Tue, 09 Dec 2008 15:07:35 -0500 Message-ID: References: <200811021818.mA2IIFMq028772@mothra.ics.uci.edu> <200811180822.mAI8MX0n029841@mothra.ics.uci.edu> <200811181817.mAIIHhEf001001@mothra.ics.uci.edu> <200811182219.mAIMJv4G002062@mothra.ics.uci.edu> <200811182327.mAINR4ZT002539@mothra.ics.uci.edu> <200812080754.mB87sXSV016391@mothra.ics.uci.edu> <200812081709.mB8H9T2m017554@mothra.ics.uci.edu> <200812082020.mB8KKnf2018098@mothra.ics.uci.edu> <200812091858.mB9IwW8K022220@mothra.ics.uci.edu> Reply-To: Stefan Monnier , 1298@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1228854312 24205 80.91.229.12 (9 Dec 2008 20:25:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 9 Dec 2008 20:25:12 +0000 (UTC) Cc: 1298@emacsbugs.donarmstrong.com To: Dan Nicolaescu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Dec 09 21:26:15 2008 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LA99k-0005Ay-Oh for geb-bug-gnu-emacs@m.gmane.org; Tue, 09 Dec 2008 21:26:09 +0100 Original-Received: from localhost ([127.0.0.1]:48797 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LA98Z-0004GP-HX for geb-bug-gnu-emacs@m.gmane.org; Tue, 09 Dec 2008 15:24:55 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LA983-00042t-AU for bug-gnu-emacs@gnu.org; Tue, 09 Dec 2008 15:24:23 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LA981-000421-IQ for bug-gnu-emacs@gnu.org; Tue, 09 Dec 2008 15:24:22 -0500 Original-Received: from [199.232.76.173] (port=60603 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LA981-00041r-B4 for bug-gnu-emacs@gnu.org; Tue, 09 Dec 2008 15:24:21 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:59403) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LA980-0000mN-OK for bug-gnu-emacs@gnu.org; Tue, 09 Dec 2008 15:24:21 -0500 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mB9KOHx7030712; Tue, 9 Dec 2008 12:24:18 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id mB9KF3b5027922; Tue, 9 Dec 2008 12:15:03 -0800 X-Loop: don@donarmstrong.com Resent-From: Stefan Monnier Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Tue, 09 Dec 2008 20:15:03 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1298 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 1298-submit@emacsbugs.donarmstrong.com id=B1298.122885326026304 (code B ref 1298); Tue, 09 Dec 2008 20:15:03 +0000 X-Spam-Bayes: score:0.0000 Tokens: new, 6; hammy, 144; neutral, 42; spammy, 1. spammytokens:0.855-+--UD:com hammytokens:0.000-+--emacs, 0.000-+--H*M:fsf, 0.000-+--H*UA:Emacs, 0.000-+--H*u:Emacs, 0.000-+--H*UA:Gnus Original-Received: (at 1298) by emacsbugs.donarmstrong.com; 9 Dec 2008 20:07:40 +0000 Original-Received: from chene.dit.umontreal.ca (chene.dit.umontreal.ca [132.204.246.20]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mB9K7bJ7026292 for <1298@emacsbugs.donarmstrong.com>; Tue, 9 Dec 2008 12:07:38 -0800 Original-Received: from alfajor.home (vpn-132-204-232-76.acd.umontreal.ca [132.204.232.76]) by chene.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id mB9K7Zc0006127; Tue, 9 Dec 2008 15:07:35 -0500 Original-Received: by alfajor.home (Postfix, from userid 20848) id 6AB1F1C91C; Tue, 9 Dec 2008 15:07:35 -0500 (EST) In-Reply-To: <200812091858.mB9IwW8K022220@mothra.ics.uci.edu> (Dan Nicolaescu's message of "Tue, 9 Dec 2008 10:58:32 -0800 (PST)") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV3165=0 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Tue, 09 Dec 2008 15:24:22 -0500 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:23093 Archived-At: >> >> No need to worry about that: I've already explicitly rejected a tcp-port >> >> option for server.el in the past, so I'll be happy to give other such >> >> rejections in the future. >> > Hmm, you said the reverse here: >> > http://article.gmane.org/gmane.emacs.devel/103350 >> Indeed. Consistency is the hgolm, isn't it? > hgolm? http://www.bartleby.com/59/3/foolishconsi.html > Updated patch that uses -a "" or --alternate-editor= or > ALTERNATE_EDITOR="": Looks OK, except that the whole body of the if, where you do the fork etc.. deserves its own function. Stefan