From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Peter Oliver Newsgroups: gmane.emacs.devel Subject: Re: GUI X-FreeDesktop integration Date: Fri, 28 May 2021 13:54:11 +0100 (BST) Message-ID: <983c9c1-668f-4b82-896-9d41abfef910@froglet.home.mavit.org.uk> References: <7f52af92-4fb5-74b4-232a-eabfa315ac0@froglet.home.mavit.org.uk> <8335u9bsc5.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="-1463811583-775893952-1622206451=:3488" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39291"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri May 28 14:56:45 2021 Return-path: Envelope-to: ged-emacs-devel@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 1lmc2f-0009zH-B2 for ged-emacs-devel@m.gmane-mx.org; Fri, 28 May 2021 14:56:45 +0200 Original-Received: from localhost ([::1]:37130 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lmc2e-0004Wa-8b for ged-emacs-devel@m.gmane-mx.org; Fri, 28 May 2021 08:56:44 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46760) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lmc0I-0003dE-9C for emacs-devel@gnu.org; Fri, 28 May 2021 08:54:18 -0400 Original-Received: from mail-wr1-x42e.google.com ([2a00:1450:4864:20::42e]:34646) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lmc0G-0003d5-9q for emacs-devel@gnu.org; Fri, 28 May 2021 08:54:18 -0400 Original-Received: by mail-wr1-x42e.google.com with SMTP id f11so3242253wrq.1 for ; Fri, 28 May 2021 05:54:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mavit.org.uk; s=google; h=date:from:to:cc:subject:in-reply-to:message-id:references :mime-version; bh=Zo1WwkmQsnFzgXsx325DfRzhcf3YPwJ9arUGmuUSRa4=; b=gAIGiX9JhNJDgYWXsj5fQ+QTL6bup9HTltGGBkEWuBPdaZtuyMSvvo89Bso2XIIw+M TflJTdvT80iY6TkVziNRjFdQO2zvrkb13roDE5+N6tszRCMFhmigrB7AXa0S3k0jxFrM 6x7+0NKVzO1kshHjIYAsVz3MSO3n6i+oQ28xs= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:in-reply-to:message-id :references:mime-version; bh=Zo1WwkmQsnFzgXsx325DfRzhcf3YPwJ9arUGmuUSRa4=; b=adpjWZM6Zb8W1yICkA4EJxxLMD+oVHI/ci7Yr/YfLLgBsSWDnx7snMKXjeLamKexhv vMovYai5aEcR8s2I7IgDxGjctJZkoay2chTSLSDPpbKb7LLGrIXWn3TiskWjKs7fKjh6 fvmCo2ShIbDw3TbmjLb8T41R4Tc3XKhK8Yi0reJ+0sLLHdozGi6jFMmaZWO+obCk0DPJ QJYlSzemrEG51kDIbl3JRmdRI0hK7Q08GmC2AfnTjNKrGOwXKX3gh34PXpJtvK4xnLtb +McDA4AWSqlzvIVIpHUGl4J/yfXhvJWnW8QJFsAw4bx6Eg61xQ/q0wIiN/prEJed1Yov KFzg== X-Gm-Message-State: AOAM5317IPG/ak3Yky0ii4XkQkjnTqR4i4Zracg6HZ7T+Sk1bQmqax4v v9x1uJFeikfw5Qlh/DiBKUH7/MQzCSSmxg== X-Google-Smtp-Source: ABdhPJzJkiXtjEwjODm5vXhVTu0oophDtUDLLgJ4FNLGzD7s2+jYEx1cBPYkFT+Uv+uxcL0WWLYqEQ== X-Received: by 2002:a5d:534a:: with SMTP id t10mr8398325wrv.330.1622206453634; Fri, 28 May 2021 05:54:13 -0700 (PDT) Original-Received: from froglet.home.mavit.org.uk (cpc118948-dudl14-2-0-cust32.16-1.cable.virginm.net. [82.37.201.33]) by smtp.gmail.com with ESMTPSA id 92sm4900197wrp.88.2021.05.28.05.54.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 May 2021 05:54:13 -0700 (PDT) Original-Received: from froglet.home.mavit.org.uk (localhost [127.0.0.1]) by froglet.home.mavit.org.uk (8.16.1/8.15.2) with ESMTPS id 14SCsBLk014863 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Fri, 28 May 2021 13:54:11 +0100 Original-Received: from localhost (mavit@localhost) by froglet.home.mavit.org.uk (8.16.1/8.16.1/Submit) with ESMTP id 14SCsBjI014860; Fri, 28 May 2021 13:54:11 +0100 X-Authentication-Warning: froglet.home.mavit.org.uk: mavit owned process doing -bs In-Reply-To: <8335u9bsc5.fsf@gnu.org> Received-SPF: pass client-ip=2a00:1450:4864:20::42e; envelope-from=p.d.oliver@mavit.org.uk; helo=mail-wr1-x42e.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:269997 Archived-At: This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. ---1463811583-775893952-1622206451=:3488 Content-Type: text/plain; charset=ISO-8859-7; format=flowed Content-Transfer-Encoding: 8BIT On Wed, 26 May 2021, Eli Zaretskii wrote: >> Date: Tue, 25 May 2021 22:34:18 +0100 (BST) >> From: Peter Oliver >> >>> In fact, the _least_ surprising from >>> an XDG/FDO perspective would actually be to _only_ expose >>> a "client+autolaunch" desktop entry and just call that the >>> point of integration for Emacs. >> >> Agreed. Attached is a patch which achieves this. > > This is a backward-incompatible change, so why should it be the > default, and not the alternative action via right-click? As argued by others earlier in the thread, this is consistent with the behaviour of other applications that are capable of opening multiple documents in the same window, such as Firefox or Gedit. So, we can say that users who mostly launch things by clicking on icons in their desktops will be likely to expect things to work this way. Conversely, it seems reasonable to worry less about catering for people who do not have this expectation, because we can infer that they rarely click on the icons. > And anyway, > wouldn't some people be surprised to see emacsclient frame when they > expected a new instance of Emacs, without their say-so? My feeling is that plenty of people will find the current behaviour surprising, too. Opening multiple instances of emacs seems like a fairly niche thing to want to do, unless, say, you˘re launching it with -Q, in which case you need to run it from the command line anyway. -- Peter Oliver ---1463811583-775893952-1622206451=:3488--