From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eliot Moss Newsgroups: gmane.emacs.bugs Subject: bug#23840: runemacs does not seem to pass command line arguments through to emacs properly Date: Fri, 24 Jun 2016 10:57:16 -0400 Message-ID: Reply-To: moss@cs.umass.edu NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1466782293 2571 80.91.229.3 (24 Jun 2016 15:31:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 24 Jun 2016 15:31:33 +0000 (UTC) To: 23840@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jun 24 17:31:21 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 1bGT4i-00048f-P0 for geb-bug-gnu-emacs@m.gmane.org; Fri, 24 Jun 2016 17:31:20 +0200 Original-Received: from localhost ([::1]:44312 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bGT4i-00089x-1j for geb-bug-gnu-emacs@m.gmane.org; Fri, 24 Jun 2016 11:31:20 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51818) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bGT3Y-0007WE-BA for bug-gnu-emacs@gnu.org; Fri, 24 Jun 2016 11:30:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bGT3U-0007W2-59 for bug-gnu-emacs@gnu.org; Fri, 24 Jun 2016 11:30:08 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:42149) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bGT3U-0007Vy-1k for bug-gnu-emacs@gnu.org; Fri, 24 Jun 2016 11:30:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bGT3T-0006BY-Sz for bug-gnu-emacs@gnu.org; Fri, 24 Jun 2016 11:30:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eliot Moss Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 24 Jun 2016 15:30:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 23840 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.146678217823687 (code B ref -1); Fri, 24 Jun 2016 15:30:03 +0000 Original-Received: (at submit) by debbugs.gnu.org; 24 Jun 2016 15:29:38 +0000 Original-Received: from localhost ([127.0.0.1]:54482 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bGT34-00069z-JS for submit@debbugs.gnu.org; Fri, 24 Jun 2016 11:29:38 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:52085) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bGSY8-0005BW-4X for submit@debbugs.gnu.org; Fri, 24 Jun 2016 10:57:40 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bGSY2-0006zT-5w for submit@debbugs.gnu.org; Fri, 24 Jun 2016 10:57:35 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:60309) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bGSY2-0006zK-2V for submit@debbugs.gnu.org; Fri, 24 Jun 2016 10:57:34 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43052) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bGSXz-0001n8-P0 for bug-gnu-emacs@gnu.org; Fri, 24 Jun 2016 10:57:32 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bGSXv-0006yk-IG for bug-gnu-emacs@gnu.org; Fri, 24 Jun 2016 10:57:30 -0400 Original-Received: from mdc1.cs.umass.edu ([128.119.240.121]:59601 helo=csmail.cs.umass.edu) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bGSXv-0006ye-E8 for bug-gnu-emacs@gnu.org; Fri, 24 Jun 2016 10:57:27 -0400 Original-Received: from [192.168.0.5] (c-24-62-203-86.hsd1.ma.comcast.net [24.62.203.86]) by csmail.cs.umass.edu (Postfix) with ESMTPSA id 2AA31D8000144E1DBC; Fri, 24 Jun 2016 10:57:25 -0400 (EDT) User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.1.1 X-detected-operating-system: by eggs.gnu.org: Mac OS X 10.x X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Mailman-Approved-At: Fri, 24 Jun 2016 11:29:37 -0400 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:120007 Archived-At: I use a Thunderbird add-on called "External Editor", that will invoke an arbitrary editor program, passing on the command line the name of a file to edit. If I tell External Editor to use runemacs, the file is not opened, and any underscores in the file name appear as spaces in the name of the buffer. I can ^X^F to the actual file, so the file is there, but something in the runemacs->emacs transition seems to have converted underscore to space in the file name. OTOH, if I tell External Editor to use emacs instead of runemacs, the proper file is opened but I get an annoying console window, too. I've not been able to find any documentation on runemacs's command line arguments, etc. This suggests that it is intended to simply pass them on unchanged emacs. But something work than that seems to be happening. Regards -- Eliot Moss (Note: I am not subscribed to the list.) (PS: I used to use Xemacs for this, but it is moribund and with Windows 10 exiting it causes Windows to think that it has crashed, popping up two annoying windows that you have to dismiss to get back to Thunderbird.)