GNU bug report logs - #35262
Maybe make opening in currently running emacs the default

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Severity: wishlist; Reported by: 積丹尼 Dan Jacobson <jidanni@HIDDEN>; Keywords: confirmed; merged with #7741, #22725; dated Sun, 14 Apr 2019 01:57:01 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 35262 <at> debbugs.gnu.org:


Received: (at 35262) by debbugs.gnu.org; 16 Apr 2019 20:53:41 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Apr 16 16:53:41 2019
Received: from localhost ([127.0.0.1]:38054 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1hGV5J-0002lw-Bi
	for submit <at> debbugs.gnu.org; Tue, 16 Apr 2019 16:53:41 -0400
Received: from eggs.gnu.org ([209.51.188.92]:39095)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rgm@HIDDEN>) id 1hGV5H-0002lj-MK
 for 35262 <at> debbugs.gnu.org; Tue, 16 Apr 2019 16:53:39 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:56468)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <rgm@HIDDEN>)
 id 1hGV59-0006tH-8d; Tue, 16 Apr 2019 16:53:32 -0400
Received: from rgm by fencepost.gnu.org with local (Exim 4.82)
 (envelope-from <rgm@HIDDEN>)
 id 1hGV56-0002xw-IX; Tue, 16 Apr 2019 16:53:28 -0400
From: Glenn Morris <rgm@HIDDEN>
To: "Basil L. Contovounesios" <contovob@HIDDEN>
Subject: Re: bug#35262: Maybe make opening in currently running emacs the
 default
References: <87ef65eqym.8.fsf@HIDDEN> <8736mle316.fsf@HIDDEN>
 <875zrhxpb6.8.fsf@HIDDEN> <871s24214i.fsf@HIDDEN>
X-Spook: AMTRAK Attack Abbas Hezbollah Abu Ghraib U.S. Consulate
X-Ran: 1Q5;wnGh~"B`R'SgZotIO5DhZ.RSf+[RJJn,[vyxucoW%xXH71(AfkqIO\8]GvjL@.eCg/
X-Hue: magenta
X-Debbugs-No-Ack: yes
X-Attribution: GM
Date: Tue, 16 Apr 2019 16:53:28 -0400
In-Reply-To: <871s24214i.fsf@HIDDEN> (Basil L. Contovounesios's message of
 "Sun, 14 Apr 2019 13:59:57 +0100")
Message-ID: <jkwojt7juf.fsf@HIDDEN>
User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)
MIME-Version: 1.0
Content-Type: text/plain
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 35262
Cc: 35262 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)


It was better explained a decade ago in bug#7741.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#35262; Package emacs. Full text available.

Message received at 35262 <at> debbugs.gnu.org:


Received: (at 35262) by debbugs.gnu.org; 14 Apr 2019 13:00:08 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Apr 14 09:00:08 2019
Received: from localhost ([127.0.0.1]:60174 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1hFejv-00012J-PG
	for submit <at> debbugs.gnu.org; Sun, 14 Apr 2019 09:00:08 -0400
Received: from mail-ed1-f50.google.com ([209.85.208.50]:43862)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <contovob@HIDDEN>) id 1hFejt-00010t-PK
 for 35262 <at> debbugs.gnu.org; Sun, 14 Apr 2019 09:00:06 -0400
Received: by mail-ed1-f50.google.com with SMTP id j20so2010497edq.10
 for <35262 <at> debbugs.gnu.org>; Sun, 14 Apr 2019 06:00:05 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=tcd-ie.20150623.gappssmtp.com; s=20150623;
 h=from:to:cc:subject:references:date:in-reply-to:message-id
 :user-agent:mime-version:content-transfer-encoding;
 bh=4/07Pwu1t4zNHFFI4jbprTbMTEhYf9L7Ay+s/cBri4I=;
 b=SI3EE/qVrvEtkA4Al1C0jVU8T3Yj7jEMpc0rjAaJz4KywFkzHsJTfTpGH8EByiESoc
 7j0yN9G4MAuSYJi33gJlpN2Q5n4MK/KDpa3Kzj5koMlj0S2rDW71ot9d7MLexU0t899Y
 SWSdHimx2jIrGCo9eZWKqQIBgG7T5ksgWcQRq++JuOxcpBaTrZhKhcn3lqxJjfDlSnG+
 hKVp6nj7+Mo3mcqYYtmmYaH9hSQL+5PxHqhso5s+FJYq2aRSBw5v22B9vTFVv9uJDO3R
 Ezf0rW9I07xdrwAx5zsaKwtclKSb3aykNhN5ZX2jwre/n/0758858lfK5Csti0nr3EH/
 RENg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to
 :message-id:user-agent:mime-version:content-transfer-encoding;
 bh=4/07Pwu1t4zNHFFI4jbprTbMTEhYf9L7Ay+s/cBri4I=;
 b=BbOXL9XCMYJ53HLLhErhyWcCJek8iWxROgDwfmP75E+PORqZDgdeb3O7J8hHt0pPwW
 euTLXj49SuOAXH4WXqE1xr912hfYkPZBfuX3zlmqAHt3WRC6OIc4U08a7T9X0gZsSfbR
 ulpM8/6h0uMJ56xXbaZzqxXcZPyaSAAVortt2NDlnjcPuKzaT+4eAjiKC1tsJmszBLmm
 3iFTz46VIFZj7P30nyqlIKhdVKiluG37MHu3xb2RxOqQC8PFo/jo0nAJtDHyTreUuibD
 Wg7Y5j+UMLygTuZAyDgoOposhfuDMrMXGMNsH7XJv0JKnDUgiO5kyDKxgXEeKxz2RgR7
 TR9A==
X-Gm-Message-State: APjAAAXzmLTC9EcOZrKVB4QZEBSKKEWcNE4TUQFCgZkI3msVIZ/j3MiE
 o5+LfHjTqIidlkIMRzf4WrjIuoXaKvdflw==
X-Google-Smtp-Source: APXvYqz5itbO+TQFWS3pZHKKc7lietQkr1eSVPxApCIDgWfpEepOmEbnKObgS8LautFSejHAClFNkA==
X-Received: by 2002:aa7:c88a:: with SMTP id p10mr1851937eds.145.1555246799851; 
 Sun, 14 Apr 2019 05:59:59 -0700 (PDT)
Received: from localhost ([2a02:8084:20e2:c380:20c2:134e:4f3a:683a])
 by smtp.gmail.com with ESMTPSA id n57sm240542edd.70.2019.04.14.05.59.58
 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256);
 Sun, 14 Apr 2019 05:59:58 -0700 (PDT)
From: "Basil L. Contovounesios" <contovob@HIDDEN>
To: =?utf-8?B?56mN5Li55bC8?= Dan Jacobson <jidanni@HIDDEN>
Subject: Re: bug#35262: Maybe make opening in currently running emacs the
 default
References: <87ef65eqym.8.fsf@HIDDEN> <8736mle316.fsf@HIDDEN>
 <875zrhxpb6.8.fsf@HIDDEN>
Date: Sun, 14 Apr 2019 13:59:57 +0100
In-Reply-To: <875zrhxpb6.8.fsf@HIDDEN> (=?utf-8?B?IuepjeS4ueWwvA==?=
 Dan Jacobson"'s message of "Sun, 14 Apr 2019 11:01:49 +0800")
Message-ID: <871s24214i.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 35262
Cc: 35262 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

=E7=A9=8D=E4=B8=B9=E5=B0=BC Dan Jacobson <jidanni@HIDDEN> writes:

>>>>>> "BLC" =3D=3D Basil L Contovounesios <contovob@HIDDEN> writes:
>
> BLC> It's not clear to me exactly what it is you're asking for, though.  =
What
> BLC> is the "new way" you refer to?  Can you please elaborate?
>
> I just want every subsequent invocation of
> $ emacs $RANDOM.txt
> to open it within the first. Sort of like saying "emacsclient -n"
> without remembering to.

I would suggest using a shell alias or separate script for that.

> Anyway, these days e.g., Firefox refuses to have two of itself running
> at the same time.

Okay, but Emacs does not suffer from any such limitation.  Besides, I
think you run multiple Firefox instances by using different profiles for
each.

--=20
Basil




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#35262; Package emacs. Full text available.

Message received at 35262 <at> debbugs.gnu.org:


Received: (at 35262) by debbugs.gnu.org; 14 Apr 2019 03:02:06 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Apr 13 23:02:05 2019
Received: from localhost ([127.0.0.1]:59624 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1hFVPA-0000QI-4D
	for submit <at> debbugs.gnu.org; Sat, 13 Apr 2019 23:02:05 -0400
Received: from catfish.maple.relay.mailchannels.net ([23.83.214.32]:55211)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <jidanni@HIDDEN>) id 1hFVP7-0000Pq-8O
 for 35262 <at> debbugs.gnu.org; Sat, 13 Apr 2019 23:02:02 -0400
X-Sender-Id: dreamhost|x-authsender|jidanni@HIDDEN
Received: from relay.mailchannels.net (localhost [127.0.0.1])
 by relay.mailchannels.net (Postfix) with ESMTP id ACAD0141192;
 Sun, 14 Apr 2019 03:01:59 +0000 (UTC)
Received: from pdx1-sub0-mail-a29.g.dreamhost.com
 (100-96-6-122.trex.outbound.svc.cluster.local [100.96.6.122])
 (Authenticated sender: dreamhost)
 by relay.mailchannels.net (Postfix) with ESMTPA id 21224141032;
 Sun, 14 Apr 2019 03:01:59 +0000 (UTC)
X-Sender-Id: dreamhost|x-authsender|jidanni@HIDDEN
Received: from pdx1-sub0-mail-a29.g.dreamhost.com ([TEMPUNAVAIL].
 [64.90.62.162]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384)
 by 0.0.0.0:2500 (trex/5.17.2); Sun, 14 Apr 2019 03:01:59 +0000
X-MC-Relay: Neutral
X-MailChannels-SenderId: dreamhost|x-authsender|jidanni@HIDDEN
X-MailChannels-Auth-Id: dreamhost
X-Attack-Stop: 5946c4ed4f09db66_1555210919489_599591874
X-MC-Loop-Signature: 1555210919488:3085267555
X-MC-Ingress-Time: 1555210919488
Received: from pdx1-sub0-mail-a29.g.dreamhost.com (localhost [127.0.0.1])
 by pdx1-sub0-mail-a29.g.dreamhost.com (Postfix) with ESMTP id BD5C881C0D;
 Sat, 13 Apr 2019 20:01:53 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jidanni.org; h=from:to:cc
 :subject:references:date:message-id:mime-version:content-type;
 s=jidanni.org; bh=imbE+6OWCKwRAgVf489v/5w8RRo=; b=kCM/opobyD+ua
 8Vnv2U+mIPp6MS+T9zmeWhQmktP3GppmalVps1wLyr13UlxCfkrbwYT3h5e8c1g7
 Nf9FcoE3BabEQr58DMlciEJpPkmT8l7CEvUGqOnByBOgUL3EMbA+GcG4Ehl5aZgk
 w+Ga7MuPLM3/bkSQixQEU5khvXCJyg=
Received: from jidanni.org (1-170-84-37.dynamic-ip.hinet.net [1.170.84.37])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (No client certificate requested)
 (Authenticated sender: jidanni@HIDDEN)
 by pdx1-sub0-mail-a29.g.dreamhost.com (Postfix) with ESMTPSA id 062DA81C11;
 Sat, 13 Apr 2019 20:01:52 -0700 (PDT)
X-DH-BACKEND: pdx1-sub0-mail-a29
From: =?utf-8?B?56mN5Li55bC8?= Dan Jacobson <jidanni@HIDDEN>
To: "Basil L. Contovounesios" <contovob@HIDDEN>
Subject: Re: bug#35262: Maybe make opening in currently running emacs the
 default
References: <87ef65eqym.8.fsf@HIDDEN> <8736mle316.fsf@HIDDEN>
Date: Sun, 14 Apr 2019 11:01:49 +0800
Message-ID: <875zrhxpb6.8.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-VR-OUT-STATUS: OK
X-VR-OUT-SCORE: -100
X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeduuddrvdeigdeivdcutefuodetggdotefrodftvfcurfhrohhfihhlvgemucggtfgfnhhsuhgsshgtrhhisggvpdfftffgtefojffquffvnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefhvffufhffkfggtgesthdtredttddtjeenucfhrhhomhepnjjnnjcuffgrnhculfgrtghosghsohhnuceojhhiuggrnhhnihesjhhiuggrnhhnihdrohhrgheqnecukfhppedurddujedtrdekgedrfeejnecurfgrrhgrmhepmhhouggvpehsmhhtphdphhgvlhhopehjihgurghnnhhirdhorhhgpdhinhgvthepuddrudejtddrkeegrdefjedprhgvthhurhhnqdhprghthheppeeruhhtfhdqkeerueerheeimhfphefnihehhegsveekreepucffrghnucflrggtohgsshhonhcuoehjihgurghnnhhisehjihgurghnnhhirdhorhhgqedpmhgrihhlfhhrohhmpehjihgurghnnhhisehjihgurghnnhhirdhorhhgpdhnrhgtphhtthhopeefhedviedvseguvggssghughhsrdhgnhhurdhorhhgnecuvehluhhsthgvrhfuihiivgeptd
X-Spam-Score: 0.1 (/)
X-Debbugs-Envelope-To: 35262
Cc: 35262 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.9 (/)

>>>>> "BLC" == Basil L Contovounesios <contovob@HIDDEN> writes:

BLC> It's not clear to me exactly what it is you're asking for, though.  What
BLC> is the "new way" you refer to?  Can you please elaborate?

I just want every subsequent invocation of
$ emacs $RANDOM.txt
to open it within the first. Sort of like saying "emacsclient -n"
without remembering to.

Anyway, these days e.g., Firefox refuses to have two of itself running
at the same time.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#35262; Package emacs. Full text available.
Merged 7741 22725 35262. Request was from Glenn Morris <rgm@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 35262 <at> debbugs.gnu.org:


Received: (at 35262) by debbugs.gnu.org; 14 Apr 2019 02:25:51 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Apr 13 22:25:51 2019
Received: from localhost ([127.0.0.1]:59606 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1hFUq6-0003rB-RT
	for submit <at> debbugs.gnu.org; Sat, 13 Apr 2019 22:25:51 -0400
Received: from mail-ed1-f49.google.com ([209.85.208.49]:34671)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <contovob@HIDDEN>) id 1hFUq5-0003qy-0N
 for 35262 <at> debbugs.gnu.org; Sat, 13 Apr 2019 22:25:50 -0400
Received: by mail-ed1-f49.google.com with SMTP id a6so360679edv.1
 for <35262 <at> debbugs.gnu.org>; Sat, 13 Apr 2019 19:25:48 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=tcd-ie.20150623.gappssmtp.com; s=20150623;
 h=from:to:cc:subject:references:date:in-reply-to:message-id
 :user-agent:mime-version:content-transfer-encoding;
 bh=TdjM3+HUC2L7phLeAWUW/O8P2CXwIjyp5zy/fVUJjSc=;
 b=zlKLWIymhiBF5exq9/acxEeMbP17IOF0awBhPkF+SrKQgHGaRtTVHW1BMU3XV9YCA+
 m6psuGkJtULwx3U++YA2RTuF9oD7X3nZWkSHJQk7yUyu2tLBnRJQRnKu2P8Xe3JXjPnn
 BOGorWwGSJ3lI+w6Xtn6Dp8zfZMyIgnQXlfZN/3Xq1t0BLjnKVqa/xn1A3xOkcAch+Wt
 Od72SRCX9hKKnR2daiaUDGhpRbuDt2fHDHA7QNTo2sjOwaaX4vlW7Nt6PtamvMCJpl88
 rUSgt6PIQl1ghJ3e7ONntd4W5IGpZczmr7PA09wAtDAkzlom17PGtLwpamhuIZzf6m5d
 G2eg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to
 :message-id:user-agent:mime-version:content-transfer-encoding;
 bh=TdjM3+HUC2L7phLeAWUW/O8P2CXwIjyp5zy/fVUJjSc=;
 b=s1wzYThcLFk8q2aqg6O3w9y2RqVnFiiL3o49xIV8vMPg4yDPCYqJMUG3/jTnakQffW
 YbJwlXCe3ANdJKMwFTU+d2u1lx0qL7JcXQbAK6rLtMgz6qUu3sT9acKNCpaFvoNQ4ezG
 fndb/DOejOVJSBmTj2XktI8KhtPB6As1tr7P2EBcFYWlO9cK1Imld0vjWZNQLbRRst0U
 Y0e16Ng1Jjx6uCGLze++wGFCcOel3beFsJhQojWOfi8nEvsDBc0wWzQu4yBk7UTPwMtK
 ZxFstGY0qE3CY+5S3QN4ZHHHMUSJMTFS6sk0JkJfBFlwYEzSu7RYtiwKvv0rrGIGcoFO
 ryBw==
X-Gm-Message-State: APjAAAXQWq7vX272S+66oeKh3uRqADwbkzOwChTUmdDp+2QKk/ro/0sk
 M9MzahXwBmmocUsyYWgbUoMgEA==
X-Google-Smtp-Source: APXvYqz/0htipVuz0oCxNSdYG0siM2UU5lJkGHmmparJ51lNmnQFfgu7XJE1s+LZCILiHaOkCDV3kA==
X-Received: by 2002:aa7:c750:: with SMTP id c16mr30697009eds.35.1555208743226; 
 Sat, 13 Apr 2019 19:25:43 -0700 (PDT)
Received: from localhost ([2a02:8084:20e2:c380:f786:805d:f4ab:1006])
 by smtp.gmail.com with ESMTPSA id o58sm10427815edc.74.2019.04.13.19.25.42
 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256);
 Sat, 13 Apr 2019 19:25:42 -0700 (PDT)
From: "Basil L. Contovounesios" <contovob@HIDDEN>
To: =?utf-8?B?56mN5Li55bC8?= Dan Jacobson <jidanni@HIDDEN>
Subject: Re: bug#35262: Maybe make opening in currently running emacs the
 default
References: <87ef65eqym.8.fsf@HIDDEN>
Date: Sun, 14 Apr 2019 03:25:41 +0100
In-Reply-To: <87ef65eqym.8.fsf@HIDDEN> (=?utf-8?B?IuepjeS4ueWwvA==?=
 Dan Jacobson"'s message of "Sun, 14 Apr 2019 01:48:49 +0800")
Message-ID: <8736mle316.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 35262
Cc: 35262 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

=E7=A9=8D=E4=B8=B9=E5=B0=BC Dan Jacobson <jidanni@HIDDEN> writes:

> Say, most other programs are smart enough to know that
> $ chromium       a.html & #starts chromium
> $ chromium       b.html   #opens b.html in the above running chromium
> $ chromium       c.html   #opens c.html in the above running chromium
>
> Alas, for emacs one still needs
> $ emacs          a.html & #starts emacs
> $ emacsclient -n b.html   #opens b.html in the above running emacs
> $ emacsclient -n c.html   #opens c.html in the above running emacs
> plus one needs server-start...
>
> Anyway maybe the new way should be the default when running in
> X-windows, etc. And maybe even eliminate the need for the & on the
> first line, to be able to type the further lines.

The &, -n, and server-start aren't strictly necessary.  Here's one
alternative:

$ emacs --daemon
$ emacsclient a.html
$ emacsclient b.html
$ emacsclient c.html

And here's another:

$ export ALTERNATE_EDITOR=3D
$ emacsclient a.html
$ emacsclient b.html
$ emacsclient c.html

It's not clear to me exactly what it is you're asking for, though.  What
is the "new way" you refer to?  Can you please elaborate?

Thanks,

--=20
Basil




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#35262; Package emacs. Full text available.
Severity set to 'wishlist' from 'normal' Request was from Noam Postavsky <npostavs@HIDDEN> to control <at> debbugs.gnu.org. Full text available.
Forcibly Merged 7741 35262. Request was from Noam Postavsky <npostavs@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 14 Apr 2019 01:56:39 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Apr 13 21:56:38 2019
Received: from localhost ([127.0.0.1]:59574 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1hFUNq-00037i-KS
	for submit <at> debbugs.gnu.org; Sat, 13 Apr 2019 21:56:38 -0400
Received: from eggs.gnu.org ([209.51.188.92]:55626)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <jidanni@HIDDEN>) id 1hFUNn-00037R-Hn
 for submit <at> debbugs.gnu.org; Sat, 13 Apr 2019 21:56:37 -0400
Received: from lists.gnu.org ([209.51.188.17]:58180)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <jidanni@HIDDEN>) id 1hFUNi-0002HZ-BQ
 for submit <at> debbugs.gnu.org; Sat, 13 Apr 2019 21:56:30 -0400
Received: from eggs.gnu.org ([209.51.188.92]:41774)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <jidanni@HIDDEN>) id 1hFUNh-0008Uk-FN
 for bug-gnu-emacs@HIDDEN; Sat, 13 Apr 2019 21:56:30 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: ***
X-Spam-Status: No, score=3.3 required=5.0 tests=BAYES_50,DATE_IN_PAST_06_12,
 FROM_EXCESS_BASE64,RCVD_IN_DNSWL_NONE,URIBL_BLOCKED autolearn=disabled
 version=3.3.2
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <jidanni@HIDDEN>) id 1hFUNg-0002H0-KR
 for bug-gnu-emacs@HIDDEN; Sat, 13 Apr 2019 21:56:29 -0400
Received: from catfish.maple.relay.mailchannels.net ([23.83.214.32]:29547)
 by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <jidanni@HIDDEN>) id 1hFUNg-0002Fv-5N
 for bug-gnu-emacs@HIDDEN; Sat, 13 Apr 2019 21:56:28 -0400
X-Sender-Id: dreamhost|x-authsender|jidanni@HIDDEN
Received: from relay.mailchannels.net (localhost [127.0.0.1])
 by relay.mailchannels.net (Postfix) with ESMTP id 510FB5C4711
 for <bug-gnu-emacs@HIDDEN>; Sun, 14 Apr 2019 01:56:25 +0000 (UTC)
Received: from pdx1-sub0-mail-a63.g.dreamhost.com (unknown [100.96.39.118])
 (Authenticated sender: dreamhost)
 by relay.mailchannels.net (Postfix) with ESMTPA id EC45A5C484D
 for <bug-gnu-emacs@HIDDEN>; Sun, 14 Apr 2019 01:56:24 +0000 (UTC)
X-Sender-Id: dreamhost|x-authsender|jidanni@HIDDEN
Received: from pdx1-sub0-mail-a63.g.dreamhost.com (pop.dreamhost.com
 [64.90.62.162]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384)
 by 0.0.0.0:2500 (trex/5.17.2); Sun, 14 Apr 2019 01:56:25 +0000
X-MC-Relay: Neutral
X-MailChannels-SenderId: dreamhost|x-authsender|jidanni@HIDDEN
X-MailChannels-Auth-Id: dreamhost
X-Lettuce-Shade: 56ec90d159284fda_1555206985158_2965825608
X-MC-Loop-Signature: 1555206985158:3509051728
X-MC-Ingress-Time: 1555206985158
Received: from pdx1-sub0-mail-a63.g.dreamhost.com (localhost [127.0.0.1])
 by pdx1-sub0-mail-a63.g.dreamhost.com (Postfix) with ESMTP id AFC897F5D9
 for <bug-gnu-emacs@HIDDEN>; Sat, 13 Apr 2019 18:56:24 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jidanni.org; h=from:to
 :subject:date:message-id:mime-version:content-type; s=
 jidanni.org; bh=Dr2OhOthwEgd1kaDfv9DE655HTE=; b=cS5w+qloObrHDHLa
 bxSYtMCWsSXFifnhWz00eNa+dPM55OfCmUXI05syUNYvfihyFNC+TAY+eI8g6Rl9
 RgAwlsT/tCF20+7rZqQNWbH9I9HublW6o7VYEeBIq5PqrL2WxaAbgJJK/W2OxdZ1
 IDOExZmZzaFfqkhhY4PM29BgqTQ=
Received: from jidanni.org (1-170-84-37.dynamic-ip.hinet.net [1.170.84.37])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (No client certificate requested)
 (Authenticated sender: jidanni@HIDDEN)
 by pdx1-sub0-mail-a63.g.dreamhost.com (Postfix) with ESMTPSA id 80CB87FE95
 for <bug-gnu-emacs@HIDDEN>; Sat, 13 Apr 2019 18:56:23 -0700 (PDT)
X-DH-BACKEND: pdx1-sub0-mail-a63
From: =?utf-8?B?56mN5Li55bC8?= Dan Jacobson <jidanni@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: Maybe make opening in currently running emacs the default
Date: Sun, 14 Apr 2019 01:48:49 +0800
Message-ID: <87ef65eqym.8.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-VR-OUT-STATUS: OK
X-VR-OUT-SCORE: 0
X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeduuddrvdeigdegkecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucggtfgfnhhsuhgsshgtrhhisggvpdfftffgtefojffquffvnecuuegrihhlohhuthemuceftddtnecunecujfgurhephffvufffkfggtgesthdtredttddtjeenucfhrhhomhepnjjnnjcuffgrnhculfgrtghosghsohhnuceojhhiuggrnhhnihesjhhiuggrnhhnihdrohhrgheqnecukfhppedurddujedtrdekgedrfeejnecurfgrrhgrmhepmhhouggvpehsmhhtphdphhgvlhhopehjihgurghnnhhirdhorhhgpdhinhgvthepuddrudejtddrkeegrdefjedprhgvthhurhhnqdhprghthheppeeruhhtfhdqkeerueerheeimhfphefnihehhegsveekreepucffrghnucflrggtohgsshhonhcuoehjihgurghnnhhisehjihgurghnnhhirdhorhhgqedpmhgrihhlfhhrohhmpehjihgurghnnhhisehjihgurghnnhhirdhorhhgpdhnrhgtphhtthhopegsuhhgqdhgnhhuqdgvmhgrtghssehgnhhurdhorhhgnecuvehluhhsthgvrhfuihiivgeptd
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 23.83.214.32
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Spam-Score: -0.2 (/)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.2 (-)

Say, most other programs are smart enough to know that
$ chromium       a.html & #starts chromium
$ chromium       b.html   #opens b.html in the above running chromium
$ chromium       c.html   #opens c.html in the above running chromium

Alas, for emacs one still needs
$ emacs          a.html & #starts emacs
$ emacsclient -n b.html   #opens b.html in the above running emacs
$ emacsclient -n c.html   #opens c.html in the above running emacs
plus one needs server-start...

Anyway maybe the new way should be the default when running in
X-windows, etc. And maybe even eliminate the need for the & on the
first line, to be able to type the further lines.




Acknowledgement sent to 積丹尼 Dan Jacobson <jidanni@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#35262; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 25 Nov 2019 12:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.