From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Lennart Borgman (gmail)" Newsgroups: gmane.emacs.bugs Subject: bug#890: Problem using `etc/emacs.bash' with EmacsW32 Date: Sat, 06 Sep 2008 23:46:50 +0200 Message-ID: <48C2FA4A.9010200@gmail.com> References: <6bb3db200809050839l4e90bd50q80eefe4938144df5@mail.gmail.com> <48C2E408.6090606@gmail.com> Reply-To: "Lennart Borgman \(gmail\)" , 890@emacsbugs.donarmstrong.com 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 1220738875 13857 80.91.229.12 (6 Sep 2008 22:07:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 6 Sep 2008 22:07:55 +0000 (UTC) Cc: find lulu , 890@emacsbugs.donarmstrong.com To: Juanma Barranquero Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Sep 07 00:08:49 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 1Kc5xS-0008IF-B1 for geb-bug-gnu-emacs@m.gmane.org; Sun, 07 Sep 2008 00:08:42 +0200 Original-Received: from localhost ([127.0.0.1]:51788 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kc5wS-0004xs-OX for geb-bug-gnu-emacs@m.gmane.org; Sat, 06 Sep 2008 18:07:40 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Kc5wO-0004xn-Hm for bug-gnu-emacs@gnu.org; Sat, 06 Sep 2008 18:07:36 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Kc5wN-0004xW-Uq for bug-gnu-emacs@gnu.org; Sat, 06 Sep 2008 18:07:36 -0400 Original-Received: from [199.232.76.173] (port=34814 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kc5wN-0004xO-Qd for bug-gnu-emacs@gnu.org; Sat, 06 Sep 2008 18:07:35 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:51442) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Kc5wN-0007R6-5H for bug-gnu-emacs@gnu.org; Sat, 06 Sep 2008 18:07:35 -0400 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 m86M7V6P008660; Sat, 6 Sep 2008 15:07:32 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m86Lt5m3003243; Sat, 6 Sep 2008 14:55:05 -0700 X-Loop: don@donarmstrong.com Resent-From: "Lennart Borgman (gmail)" Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sat, 06 Sep 2008 21:55:05 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 890 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 890-submit@emacsbugs.donarmstrong.com id=B890.1220737631999 (code B ref 890); Sat, 06 Sep 2008 21:55:05 +0000 Original-Received: (at 890) by emacsbugs.donarmstrong.com; 6 Sep 2008 21:47:11 +0000 Original-Received: from ch-smtp02.sth.basefarm.net (ch-smtp02.sth.basefarm.net [80.76.149.213]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m86Ll60q000993 for <890@emacsbugs.donarmstrong.com>; Sat, 6 Sep 2008 14:47:08 -0700 Original-Received: from c83-254-151-87.bredband.comhem.se ([83.254.151.87]:60889 helo=[127.0.0.1]) by ch-smtp02.sth.basefarm.net with esmtp (Exim 4.68) (envelope-from ) id 1Kc5cY-0001gS-6i; Sat, 06 Sep 2008 23:47:06 +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: X-Enigmail-Version: 0.95.7 X-Antivirus: avast! (VPS 080906-0, 2008-09-06), Outbound message X-Antivirus-Status: Clean X-Originating-IP: 83.254.151.87 X-ACL-Warn: Too high rate of unknown addresses received from you X-Scan-Result: No virus found in message 1Kc5cY-0001gS-6i. X-Scan-Signature: ch-smtp02.sth.basefarm.net 1Kc5cY-0001gS-6i 1f6e57d35968ca20a5572a27c12cc3e7 X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) Resent-Date: Sat, 06 Sep 2008 18:07:36 -0400 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:20259 Archived-At: Juanma Barranquero wrote: > On Sat, Sep 6, 2008 at 22:11, Lennart Borgman (gmail) > wrote: > >> Or, in the a bit longer perspective perhaps, emacsclient should be >> enhanced to start Emacs itself when needed. (As you know there is code >> for this available.) > > No, Lennart, as we've discussed a few times, there is no "code for > this available". There is a very different emacsclient (yours) with > that capability. If you were to take the time to send a patch against > the trunk, we'd be glad to review it. Ok, 1-1 in excaggerations ;-) The problem is not the code, the problem is the merging. I have rearranged the code quite a bit to make it fit for starting Emacs when it is not already running. That makes it hard to see what is happening when we try to merge - and that is why you and I gave up last time. I suppose it might be my fault because I did not very clearly say what is needed. Here is how I think it can be done: - Before actually merging the code try to merge the primitives (ie the function) used for giving messages and error handling. That will make it much easier to merge later because it will be much less output from the diff command. After this test that everything is working. - Rearrange a bit in next step for the same reason. Now test again so we did not do something stupid. - Then actually do the merge of the code that might fail. Now we have a much smaller diff to wade through if something unexpectedly goes wrong. What do you say, Juanma? And when can we do it?