From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.devel Subject: Re: Pretest Date: Sun, 19 Nov 2006 16:58:44 +0100 Message-ID: <85lkm7ctsb.fsf@lola.goethe.zz> References: <87slggjtbb.fsf@furball.mit.edu> <455F9024.8080000@student.lu.se> <17759.43936.82301.353794@kahikatea.snap.net.nz> <85irhbg6zx.fsf@lola.goethe.zz> <17760.11257.78362.216206@kahikatea.snap.net.nz> <85wt5reo3b.fsf@lola.goethe.zz> <17760.17309.553008.718144@kahikatea.snap.net.nz> <85slgfcy5v.fsf@lola.goethe.zz> <45606E21.9030000@student.lu.se> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1163951969 17253 80.91.229.2 (19 Nov 2006 15:59:29 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 19 Nov 2006 15:59:29 +0000 (UTC) Cc: Juanma Barranquero , Nick Roberts , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Nov 19 16:59:27 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Glp4g-0003AL-EA for ged-emacs-devel@m.gmane.org; Sun, 19 Nov 2006 16:59:19 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Glp4g-0005tg-2h for ged-emacs-devel@m.gmane.org; Sun, 19 Nov 2006 10:59:18 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Glp4R-0005sE-57 for emacs-devel@gnu.org; Sun, 19 Nov 2006 10:59:03 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Glp4P-0005qk-7x for emacs-devel@gnu.org; Sun, 19 Nov 2006 10:59:01 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Glp4O-0005qJ-SS for emacs-devel@gnu.org; Sun, 19 Nov 2006 10:59:01 -0500 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.52) id 1Glp4P-0007HU-0w for emacs-devel@gnu.org; Sun, 19 Nov 2006 10:59:01 -0500 Original-Received: from localhost ([127.0.0.1] helo=lola.goethe.zz) by fencepost.gnu.org with esmtp (Exim 4.34) id 1Glp4N-0005cV-EA; Sun, 19 Nov 2006 10:58:59 -0500 Original-Received: by lola.goethe.zz (Postfix, from userid 1002) id 4BE141C4D3DE; Sun, 19 Nov 2006 16:58:44 +0100 (CET) Original-To: Lennart Borgman In-Reply-To: <45606E21.9030000@student.lu.se> (Lennart Borgman's message of "Sun\, 19 Nov 2006 15\:45\:53 +0100") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.90 (gnu/linux) 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:62475 Archived-At: Lennart Borgman writes: > David Kastrup wrote: >> "Juanma Barranquero" writes: >> >>> On 11/19/06, Nick Roberts wrote: >>> >>>> I'm not telling people what to do, or demanding anything. I'm just >>>> saying that I don't it is appropriate to delay things for further >>>> improvements to emacsclient on Windows. If you're going to sum up, >>>> at least do it accurately. >>> Lennart is *proposing* changes that would allow emacsclient to >>> automatically start Emacs if it is not running already. >> >> Could anybody summarize what is missing in order to make >> >> emacsclient --alternate-editor "emacs --eval '(server-start)'" >> >> work for this purpose? That seems simple enough, but I could be >> likely missing some part of the picture. > > > Perhaps I could answer ;-) > > What is missing is something that allows you to just use > > emacsclient -n myfile > > without doing any setup whatever, without having to start Emacs > before. It should in my opinion work right out of the box. Are there really typical use cases which require -n? If so, is there a need for them to wait for --alternate-editor? > The reason? The threshold is already high to start to use Emacs. For > new users it is very important to be able to start immediately right > after installing Emacs. Otherwise a lot of potential user might > never start using Emacs. What is the problem with the invocation I gave? The _technical_ problem? If a shorthand option for that invocation would be desirable, it would be possible to implement this in about three lines of code, so why is something different required? > The possibility to do something like the line you propose should still > be there, but with my patch you should be able to just use > > emacsclient --alternative-editor="whateveryoulike" myfile > > instead. Why would that not work with the existing code? It did work up to now, didn't it? -- David Kastrup, Kriemhildstr. 15, 44793 Bochum