From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: "Basil L. Contovounesios" Newsgroups: gmane.emacs.bugs Subject: bug#35262: Maybe make opening in currently running emacs the default Date: Sun, 14 Apr 2019 03:25:41 +0100 Message-ID: <8736mle316.fsf@tcd.ie> References: <87ef65eqym.8.fsf@jidanni.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="152187"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: 35262@debbugs.gnu.org To: =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Apr 14 04:26:11 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hFUqR-000dUM-7g for geb-bug-gnu-emacs@m.gmane.org; Sun, 14 Apr 2019 04:26:11 +0200 Original-Received: from localhost ([127.0.0.1]:58333 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hFUqQ-000066-4G for geb-bug-gnu-emacs@m.gmane.org; Sat, 13 Apr 2019 22:26:10 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:44323) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hFUqJ-000061-R6 for bug-gnu-emacs@gnu.org; Sat, 13 Apr 2019 22:26:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hFUqI-0008Fn-VM for bug-gnu-emacs@gnu.org; Sat, 13 Apr 2019 22:26:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:46062) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hFUqI-0008FT-E9 for bug-gnu-emacs@gnu.org; Sat, 13 Apr 2019 22:26:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hFUqI-0003ra-33 for bug-gnu-emacs@gnu.org; Sat, 13 Apr 2019 22:26:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "Basil L. Contovounesios" Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 14 Apr 2019 02:26:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 35262 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed Original-Received: via spool by 35262-submit@debbugs.gnu.org id=B35262.155520875114834 (code B ref 35262); Sun, 14 Apr 2019 02:26:02 +0000 Original-Received: (at 35262) by debbugs.gnu.org; 14 Apr 2019 02:25:51 +0000 Original-Received: from localhost ([127.0.0.1]:59606 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hFUq6-0003rB-RT for submit@debbugs.gnu.org; Sat, 13 Apr 2019 22:25:51 -0400 Original-Received: from mail-ed1-f49.google.com ([209.85.208.49]:34671) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hFUq5-0003qy-0N for 35262@debbugs.gnu.org; Sat, 13 Apr 2019 22:25:50 -0400 Original-Received: by mail-ed1-f49.google.com with SMTP id a6so360679edv.1 for <35262@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) Original-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) In-Reply-To: <87ef65eqym.8.fsf@jidanni.org> ("=?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson"'s message of "Sun, 14 Apr 2019 01:48:49 +0800") 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: 209.51.188.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:157610 Archived-At: =E7=A9=8D=E4=B8=B9=E5=B0=BC Dan Jacobson 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