From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.bugs Subject: bug#25082: [PATCH] Add support to emacsclient for command-lline options in ALTERNATE_EDITOR/--alternate-editor Date: Thu, 08 Dec 2016 18:10:12 -0500 Message-ID: References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1481238680 26944 195.159.176.226 (8 Dec 2016 23:11:20 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 8 Dec 2016 23:11:20 +0000 (UTC) User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) Cc: 25082@debbugs.gnu.org To: Reuben Thomas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Dec 09 00:11:12 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cF7qI-000590-Vu for geb-bug-gnu-emacs@m.gmane.org; Fri, 09 Dec 2016 00:11:11 +0100 Original-Received: from localhost ([::1]:51034 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cF7qJ-0001uR-CW for geb-bug-gnu-emacs@m.gmane.org; Thu, 08 Dec 2016 18:11:11 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35821) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cF7qB-0001ts-QQ for bug-gnu-emacs@gnu.org; Thu, 08 Dec 2016 18:11:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cF7qA-0007wD-Vb for bug-gnu-emacs@gnu.org; Thu, 08 Dec 2016 18:11:03 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:47803) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cF7qA-0007w2-SS for bug-gnu-emacs@gnu.org; Thu, 08 Dec 2016 18:11:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cF7qA-00087v-76 for bug-gnu-emacs@gnu.org; Thu, 08 Dec 2016 18:11:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Glenn Morris Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 08 Dec 2016 23:11:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 25082 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 25082-submit@debbugs.gnu.org id=B25082.148123862231182 (code B ref 25082); Thu, 08 Dec 2016 23:11:02 +0000 Original-Received: (at 25082) by debbugs.gnu.org; 8 Dec 2016 23:10:22 +0000 Original-Received: from localhost ([127.0.0.1]:34969 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cF7pW-00086r-8G for submit@debbugs.gnu.org; Thu, 08 Dec 2016 18:10:22 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:44809) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cF7pU-00086d-IZ for 25082@debbugs.gnu.org; Thu, 08 Dec 2016 18:10:20 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cF7pO-0007j5-Ld for 25082@debbugs.gnu.org; Thu, 08 Dec 2016 18:10:15 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:47473) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cF7pM-0007i5-W4; Thu, 08 Dec 2016 18:10:13 -0500 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1cF7pM-0005EN-Gb; Thu, 08 Dec 2016 18:10:12 -0500 X-Spook: Barrio Azteca Plame STARLAN Nuclear threat hackers Mantis X-Ran: vb){x1Z/,m_r#P@%#,v=JP[mA*H,#$]gwJa (Reuben Thomas's message of "Thu, 1 Dec 2016 15:31:18 +0000") 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:126756 Archived-At: Reuben Thomas wrote: > The attached patch adds support to emacsclient for command-line options > when specifying the alternate editor, so that for example one can now say: > > ALTERNATE_EDITOR="emacs -Q -nw" Obvious question: what happens if eg one wants to specify an absolute file name for the alternate editor, and it contains spaces? > implemented the feature when I found that it didn't work as I expected; > other similar environment variables with which users may be familiar, such > as EDITOR and VISUAL, already work like this. Do you have a citation for that being how eg EDITOR is intended to work?