From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Juanma Barranquero" Newsgroups: gmane.emacs.help Subject: Re: Starting emacs in ediff mode. Date: Sun, 27 Jan 2008 15:55:22 +0100 Message-ID: References: <7b79188f-cb09-46ae-b88c-65b611b39ae1@d4g2000prg.googlegroups.com> <4798C1BD.3030600@gmail.com> <4799F858.5070701@gmail.com> <603eirF1p2ag4U1@mid.uni-berlin.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1201445750 21907 80.91.229.12 (27 Jan 2008 14:55:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 27 Jan 2008 14:55:50 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: "Richard G Riley" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Jan 27 15:56:10 2008 Return-path: Envelope-to: geh-help-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 1JJ8va-0004mI-EM for geh-help-gnu-emacs@m.gmane.org; Sun, 27 Jan 2008 15:56:10 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JJ8v9-0006re-MZ for geh-help-gnu-emacs@m.gmane.org; Sun, 27 Jan 2008 09:55:43 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JJ8us-0006rZ-Uj for help-gnu-emacs@gnu.org; Sun, 27 Jan 2008 09:55:26 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JJ8uq-0006rN-Jq for help-gnu-emacs@gnu.org; Sun, 27 Jan 2008 09:55:25 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JJ8uq-0006rK-Du for help-gnu-emacs@gnu.org; Sun, 27 Jan 2008 09:55:24 -0500 Original-Received: from wa-out-1112.google.com ([209.85.146.180]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JJ8uq-0006K5-3m for help-gnu-emacs@gnu.org; Sun, 27 Jan 2008 09:55:24 -0500 Original-Received: by wa-out-1112.google.com with SMTP id k34so3116642wah.10 for ; Sun, 27 Jan 2008 06:55:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=/NfjOrPhnzXex2Eblgi3ZpMUvAte4o2MYfM/2x6nl5E=; b=C4ggEBk7Qw63jy7suVo8W1iXIxkQ9u8XhcB/aRN7Y4T55PZIYhpHUCqJjOb/V3xYeMM2LbvEJ36Z2EBJsLkqBUe/d5zAWDT859cweMH8KcP6orrwt4zUE5MdB/VsO1HyxexzKCnmkZE9afx7Stkyfge1Y6sdqQYd6Axt0jNQ1o8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=VGFCyWgLLD8gDSpZxzreXQaX2DJ31dKW4slJwnOk+u/b3FbhvykNyFR4gDRYGOAHcpU81Rsk6mAlEVebHmuVclj/ez7bEUIyiPHsTsi2hss7b/5wqsBgfyYAsWxLy0eNuPq6ZuPEwIkx8SxNH84bt+pgFMOCV1N33+lRF0gohsc= Original-Received: by 10.114.173.15 with SMTP id v15mr5053254wae.63.1201445722172; Sun, 27 Jan 2008 06:55:22 -0800 (PST) Original-Received: by 10.115.72.13 with HTTP; Sun, 27 Jan 2008 06:55:22 -0800 (PST) In-Reply-To: <603eirF1p2ag4U1@mid.uni-berlin.de> Content-Disposition: inline X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:51012 Archived-At: On Jan 27, 2008 2:17 PM, Richard G Riley wrote: > Personally I must admit to being surprised that emacsclient doesn't > invoke emacs if there is not an existing emacs running - that one > ommission makes it tricky to set up emacsclient as default viewer/editor > in many cases. Of course you can run emacsclient so it will start Emacs if it is not running; that's what the --alternate-editor option is for. The trick, of course, is that --alternate-editor doesn't run Emacs as a server connected to the emacsclient instance that started it. That does not preclude using it as default viewer/editor in all cases, just the ones where it is automatically run from a tool that expects it to be done when emacsclient returns (for example, in many VCS when emacsclient is used as the editor for the commit logs). > I've read reasonings as to why it doesn't launch emacs if > not already done, but, well, it just seems quite wrong I haven't read (in the emacs-devel list) reasonings as to why it *shouldn't* do it, just as to why it is not yet implemented. Juanma