From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#646: emacsclient with no args to behave like -a Date: Fri, 27 Aug 2021 05:31:52 +0200 Message-ID: <878s0nr2af.fsf@gnus.org> References: <4287a62c0808040310m6d817102lb3bdf4982e6451d7@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22227"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 646@debbugs.gnu.org To: "J. Pablo "=?UTF-8?Q?Fern=C3=A1ndez\?="" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Aug 27 05:33:35 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mJScY-0005Za-IJ for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 27 Aug 2021 05:33:34 +0200 Original-Received: from localhost ([::1]:51086 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mJScX-0000Yi-Hm for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 26 Aug 2021 23:33:33 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51586) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mJSc4-00088U-G0 for bug-gnu-emacs@gnu.org; Thu, 26 Aug 2021 23:33:05 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:39416) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mJSc2-0001qM-R2 for bug-gnu-emacs@gnu.org; Thu, 26 Aug 2021 23:33:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mJSc2-0003mV-OC for bug-gnu-emacs@gnu.org; Thu, 26 Aug 2021 23:33:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 27 Aug 2021 03:33:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 646 X-GNU-PR-Package: emacs Original-Received: via spool by 646-submit@debbugs.gnu.org id=B646.163003513312536 (code B ref 646); Fri, 27 Aug 2021 03:33:02 +0000 Original-Received: (at 646) by debbugs.gnu.org; 27 Aug 2021 03:32:13 +0000 Original-Received: from localhost ([127.0.0.1]:50949 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mJSbA-0003CT-Su for submit@debbugs.gnu.org; Thu, 26 Aug 2021 23:32:13 -0400 Original-Received: from quimby.gnus.org ([95.216.78.240]:54764) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mJSb5-00033K-8a for 646@debbugs.gnu.org; Thu, 26 Aug 2021 23:32:07 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID :In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=7NdhVAAWXErv8jIzrxe+9rhaQuKtBVyxmkmiJon+jkU=; b=P4NdA2pe9LwHnu/rE2Ar4qMJYb ZDtfTBE+7D3/X5CbQWmqFQSPdHEBwoukYfAnhDjLdv8rU3WihH5bPfbKFph7nKImaLrT6vUcDdFDZ X3jEK7/KQ7+ZFiWo0R0U4B448qnJPRbfhwk7vLDnbTNoDro9kj26O9a9ZJF1Jp+dyq/I=; Original-Received: from [84.212.220.105] (helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mJSau-0001TJ-QS; Fri, 27 Aug 2021 05:31:56 +0200 In-Reply-To: <4287a62c0808040310m6d817102lb3bdf4982e6451d7@mail.gmail.com> (J. Pablo's message of "Mon, 4 Aug 2008 12:10:42 +0200") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:212787 Archived-At: "J. Pablo "Fern=C3=A1ndez\"" writes: > It would be nice if emacsclient, when called with no arguments, would > just run the alternate editor. I've configured emacs as my alternate > editor so emacsclient for me is basically a "open this in an existing > emacs or run one otherwise", the only problem for that to work > completely is having it working with no arguments. (I'm going through old bug reports that unfortunately weren't resolved at the time.) It seems like this has been fixed in the 13 years since it was reported. I did: larsi@elva:~/src/emacs/trunk$ export ALTERNATE_EDITOR=3Dnano larsi@elva:~/src/emacs/trunk$ ./lib-src/emacsclient /tmp/foo and that opened nano. So I'm closing this bug report. If there's more to be done here, please respond to the debbugs address and we'll reopen. --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no