From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.devel Subject: Re: GUI X-FreeDesktop integration Date: Wed, 26 May 2021 10:49:09 +0200 Message-ID: <87eedt518a.fsf@gmail.com> References: <7f52af92-4fb5-74b4-232a-eabfa315ac0@froglet.home.mavit.org.uk> 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="2742"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Peter Oliver Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed May 26 10:49:52 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 1llpEd-0000VL-Jn for ged-emacs-devel@m.gmane-mx.org; Wed, 26 May 2021 10:49:51 +0200 Original-Received: from localhost ([::1]:56724 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1llpEb-00036C-8o for ged-emacs-devel@m.gmane-mx.org; Wed, 26 May 2021 04:49:49 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51008) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1llpE2-0002Ri-I3 for emacs-devel@gnu.org; Wed, 26 May 2021 04:49:14 -0400 Original-Received: from mail-wr1-x431.google.com ([2a00:1450:4864:20::431]:45921) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1llpE0-00087j-Up for emacs-devel@gnu.org; Wed, 26 May 2021 04:49:14 -0400 Original-Received: by mail-wr1-x431.google.com with SMTP id x7so172108wrt.12 for ; Wed, 26 May 2021 01:49:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:gmane-reply-to-list:date:in-reply-to :message-id:mime-version:content-transfer-encoding; bh=yeZfuaHNSrf9Utu74WUHwAkip3qVl6q2MN6I5EIDD20=; b=YZ+XcSW7IETpVngQ29ofRWGj0bR4Osz7rFARSKX58T+QR2uPtMPXevRnwT5dNqNhir ysB0T0+rx/wlV5foGwBSkQVC43IIHdvMDs9bTia9uq8tbJUEhEXjNce1AT4NuCz0a6Ab RFManE8g4Re/U+a/jVC6m7Z3M9R5CedkOEI7INKdWX9SW7YPb9uY+0tQtj8pNbbz7Ouy vV3O3am7GO0crjT/5A1T2VHKpBHGUugqjg+jEOFF419INgv30z92betzyfZuIszFoVWm GLjV/BmjxCl4VvLKXOkp02QLfudpG/RfnZbM41ojZOVJoYBKjj06+M39sFif0h2EEmcs A6uA== 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 :gmane-reply-to-list:date:in-reply-to:message-id:mime-version :content-transfer-encoding; bh=yeZfuaHNSrf9Utu74WUHwAkip3qVl6q2MN6I5EIDD20=; b=b0Iunwlw+mJqZSr65rDs3vqxcLnG4VJ4cW+lobOO1kt8qYvbSnYYY9Ck03BQkj9zOk 2sWS1U3OiYh2e3ihLuvNS5I9PvTpTfn8VnRs78h3SuVJckTv7/3dEmDfpUgcJWOZF2VS 67i0HoliBi3wQZB2x9DRJCXL7eOpZqTIqPzqgmRIOWWGKDIWdCmVFNypjw4IwRxddTUL /62KhHlTDHsmHQ2pE47yepyN1SRJB20orpX7am0eltwsN51UnmkSOxsEzNRqz9gTmK3o W0zo82RsDAf34mVQnhpO0sWae95/vIMFWEtiNxNM9SYfd7kUNXksJc/Oy+qJZqE55tAY 42vA== X-Gm-Message-State: AOAM5339UbxuI4/B0hHM83jK85piD5HCfXrCb01EHxhJcmO7/luhRHvX mrv7sLDr+60tFw3LQu7IYma68U/3L/o= X-Google-Smtp-Source: ABdhPJxL3wasYTU5ezOepmBcfI2kKF8ulLJLYJLegmjb+GHhSEK3rpnC2DdSFBKJszW5WJ0y0sJVDw== X-Received: by 2002:adf:9069:: with SMTP id h96mr31282562wrh.322.1622018950485; Wed, 26 May 2021 01:49:10 -0700 (PDT) Original-Received: from rltb ([82.66.8.55]) by smtp.gmail.com with ESMTPSA id q11sm13751011wrx.80.2021.05.26.01.49.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 May 2021 01:49:10 -0700 (PDT) Gmane-Reply-To-List: yes In-Reply-To: <7f52af92-4fb5-74b4-232a-eabfa315ac0@froglet.home.mavit.org.uk> (Peter Oliver's message of "Tue, 25 May 2021 22:34:18 +0100 (BST)") Received-SPF: pass client-ip=2a00:1450:4864:20::431; envelope-from=rpluim@gmail.com; helo=mail-wr1-x431.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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham 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:269910 Archived-At: >>>>> On Tue, 25 May 2021 22:34:18 +0100 (BST), Peter Oliver said: Peter> On Sunday 16th May, Robin Tarsiger wrote: >> 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. Peter> Agreed. Attached is a patch which achieves this. I don=CA=BCt object to this approach, but I have a couple of points: - If the user hasn't enabled the server, then this starts emacs in daemon mode, which needs to be documented somewhere, possibly in the .desktop file - Can you document that enabling the server is a pre-requisite (modulo the daemon behaviour)? Robert --=20