unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Rahguzar <rahguzar@zohomail.eu>
To: Peter Oliver <p.d.oliver@mavit.org.uk>
Cc: emacs-devel@gnu.org
Subject: Re: An emacs based `xdg-desktop-portal` filechooser
Date: Fri, 02 Jun 2023 22:00:52 +0200	[thread overview]
Message-ID: <875y85sk4t.fsf@zohomail.eu> (raw)
In-Reply-To: <d4a5e6f5-779e-09a9-57d7-652a724a3c2d@mavit.org.uk>


Peter Oliver <p.d.oliver@mavit.org.uk> 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



  reply	other threads:[~2023-06-02 20:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-31 20:16 An emacs based `xdg-desktop-portal` filechooser Rahguzar
2023-06-01 18:42 ` Peter Oliver
2023-06-02 20:00   ` Rahguzar [this message]
2023-06-12 11:04 ` James Thomas
2023-06-12 15:28   ` Rahguzar

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=875y85sk4t.fsf@zohomail.eu \
    --to=rahguzar@zohomail.eu \
    --cc=emacs-devel@gnu.org \
    --cc=p.d.oliver@mavit.org.uk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).