From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#23840: runemacs does not seem to pass command line arguments through to emacs properly Date: Sat, 25 Jun 2016 19:08:57 +0300 Message-ID: <83h9chz1wm.fsf@gnu.org> References: <83por61kcw.fsf@gnu.org> <2d5c8e7b-1ca9-05fe-3946-b25b63655057@cs.umass.edu> <83k2hd21q7.fsf@gnu.org> <109c9fd1-468f-294e-41f0-db106d8d96c2@cs.umass.edu> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1466871088 22259 80.91.229.3 (25 Jun 2016 16:11:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 25 Jun 2016 16:11:28 +0000 (UTC) Cc: 23840@debbugs.gnu.org To: moss@cs.umass.edu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jun 25 18:11:17 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1bGqAu-0004FF-N4 for geb-bug-gnu-emacs@m.gmane.org; Sat, 25 Jun 2016 18:11:16 +0200 Original-Received: from localhost ([::1]:50598 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bGqAq-0002vd-PX for geb-bug-gnu-emacs@m.gmane.org; Sat, 25 Jun 2016 12:11:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55617) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bGqAl-0002vX-8J for bug-gnu-emacs@gnu.org; Sat, 25 Jun 2016 12:11:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bGqAg-00023j-IE for bug-gnu-emacs@gnu.org; Sat, 25 Jun 2016 12:11:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:43305) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bGqAg-00023f-FE for bug-gnu-emacs@gnu.org; Sat, 25 Jun 2016 12:11:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bGqAg-0007tZ-BV for bug-gnu-emacs@gnu.org; Sat, 25 Jun 2016 12:11:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 25 Jun 2016 16:11:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23840 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 23840-submit@debbugs.gnu.org id=B23840.146687100630283 (code B ref 23840); Sat, 25 Jun 2016 16:11:02 +0000 Original-Received: (at 23840) by debbugs.gnu.org; 25 Jun 2016 16:10:06 +0000 Original-Received: from localhost ([127.0.0.1]:55642 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bGq9l-0007sN-Tf for submit@debbugs.gnu.org; Sat, 25 Jun 2016 12:10:06 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:35871) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bGq9j-0007rq-Vw for 23840@debbugs.gnu.org; Sat, 25 Jun 2016 12:10:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bGq9a-0001jq-10 for 23840@debbugs.gnu.org; Sat, 25 Jun 2016 12:09:58 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:52176) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bGq9Z-0001jm-Tk; Sat, 25 Jun 2016 12:09:53 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1869 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bGq9X-0001Zw-1S; Sat, 25 Jun 2016 12:09:53 -0400 In-reply-to: <109c9fd1-468f-294e-41f0-db106d8d96c2@cs.umass.edu> (message from Eliot Moss on Sat, 25 Jun 2016 11:53:22 -0400) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:120051 Archived-At: > From: Eliot Moss > Cc: 23840@debbugs.gnu.org > Date: Sat, 25 Jun 2016 11:53:22 -0400 > > However, I think we're making progress on diagnosing this. When I > looked very closely at the mode line in emacs, I could see the underscores > were actually there. The two cases start up pointing to the same file > name in the same folder. In the runemacs case, however, the file is > not present by the time emacs pops up. Here is my theory. runemacs > returns immediately after starting emacs. Thunderbird sees that > return, reads back in the file it wrote, and deletes the file. Then > emacs tries to open the file and does not see it. > > If this theory is right, what I need / desire is for runemacs to wait > for the emacs child. But AFAICT runemacs is not designed to do this. > I end up desiring a case not provided for, and hence probably need to > just live with the annoying pop up console window. That's a sensible explanation. > At least I think we have an explanation. Still, it would be nice if > I could tell runemacs to wait ... You should be able to have that if you give runemacs the -wait option. But that's a very unusual way of using Emacs, so I won't be surprised if there are more problems on the way.