From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Rahguzar Newsgroups: gmane.emacs.devel Subject: Re: An emacs based `xdg-desktop-portal` filechooser Date: Fri, 02 Jun 2023 22:00:52 +0200 Message-ID: <875y85sk4t.fsf@zohomail.eu> References: <87leh4p7ni.fsf@zohomail.eu> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15578"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.10.3; emacs 29.0.91 Cc: emacs-devel@gnu.org To: Peter Oliver Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Jun 03 07:33:00 2023 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 1q5Jsp-0003pP-N7 for ged-emacs-devel@m.gmane-mx.org; Sat, 03 Jun 2023 07:32:59 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q5Jrs-0005fY-EZ; Sat, 03 Jun 2023 01:32:00 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q5B44-00081P-68 for emacs-devel@gnu.org; Fri, 02 Jun 2023 16:08:00 -0400 Original-Received: from sender11-pp-o91.zoho.eu ([31.186.226.249]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q5B41-0002g3-Op for emacs-devel@gnu.org; Fri, 02 Jun 2023 16:07:59 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1685736471; cv=none; d=zohomail.eu; s=zohoarc; b=RSAcSuNSojAHmAHp6Tf+re+DuG/GjhprPepREwfqTe3f3WJrOJWS1otgaFjmPLFZUnfqt6Tnc53nIu1+KNMyAwPD1WGm49xRJl1xmpKRV55GOj6NSWXBbwWnQuRqorypdZ+lmqJ6pUB1GTb8b/wIfCocsSsxIlpoDZpbtWnyYR0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.eu; s=zohoarc; t=1685736471; h=Content-Type:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=SR4rNHXpmEaGeNXxLemzomGar+brtI+sXGTrtW0B6Io=; b=JsMehzi13/ThD76XaCrDs/525iKRAEf6+cLxOu0379X9ILojVpbDv7+EpZ9619l7W8YZiZQUdyszKokYLkm/eOm20Mky2Xk/hWQ/8Ng8uM/8x3S9LTa3NtZjcRNxgActzh1gvRhSwXRg6qXUbWCFPPY5p5IWW7ZRRMcSyG0agMc= ARC-Authentication-Results: i=1; mx.zohomail.eu; dkim=pass header.i=zohomail.eu; spf=pass smtp.mailfrom=rahguzar@zohomail.eu; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1685736471; s=zoho; d=zohomail.eu; i=rahguzar@zohomail.eu; h=References:From:From:To:To:Cc:Cc:Subject:Subject:Date:Date:In-reply-to:Message-ID:MIME-Version:Content-Type:Message-Id:Reply-To; bh=SR4rNHXpmEaGeNXxLemzomGar+brtI+sXGTrtW0B6Io=; b=oT/wlCEWAr881EuXqKA5nx/MIwVVpxEyckZKmxBP4Z+vcrz2HW/CooJ0ZL1btuaX 58fYIJezCky34MqxuSAVtc2CqiJpFhA/5UOa/0a5X23mFIOVw1jnYUh/qCtX6T/hlnD Vv4FqTs7OhvxQzbtQVrwh6lPJd6y+WilqHLTz6ys= Original-Received: from localhost (81-231-79-170-no600.tbcn.telia.com [81.231.79.170]) by mx.zoho.eu with SMTPS id 1685736468714109.91140945959398; Fri, 2 Jun 2023 22:07:48 +0200 (CEST) In-reply-to: X-ZohoMailClient: External Received-SPF: pass client-ip=31.186.226.249; envelope-from=rahguzar@zohomail.eu; helo=sender11-pp-o91.zoho.eu 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, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Sat, 03 Jun 2023 01:31:58 -0400 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:306569 Archived-At: Peter Oliver writes: > On Wed, 31 May 2023, Rahguzar wrote: > > To ensure that Emacs is started before emacsclient, perhaps systemd socket activation is worth investigating. This should be possible and I think the Emacs user service to start daemon is a notify service and so maybe just using a systemd service for activation which depends on the the Emacs service will work. However, I don't use daemon due anymore to some font issues which I don't remember very well but basically stem from the fact that daemon has to deal with both graphical and terminal frames. I only use graphical frames and starting server after Emacs works better. Due to this I think forcing people to start daemon just for this might be heavy handed. I am not too familiar with systemd and have only a faint idea of what a socket is so this might be off the mark from what you were suggesting. Rahguzar