GNU bug report logs - #71971
31.0.50; Add user option server-window-alist

Previous Next

Package: emacs;

Reported by: Michael Albinus <michael.albinus <at> gmx.de>

Date: Sat, 6 Jul 2024 11:08:01 UTC

Severity: wishlist

Found in version 31.0.50

Full log


Message #38 received at 71971 <at> debbugs.gnu.org (full text, mbox):

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Jonas Bernoulli <jonas <at> bernoul.li>
Cc: Eli Zaretskii <eliz <at> gnu.org>, 71971 <at> debbugs.gnu.org
Subject: Re: bug#71971: 31.0.50; Add user option server-window-alist
Date: Fri, 19 Jul 2024 18:45:47 +0200
Michael Albinus <michael.albinus <at> gmx.de> writes:

Hi,

> What I could imagine is, that emacsclient gets the option to send an
> identification, a string, to the server. With this, on the server side,
> a set of preferences (variables) could be set for a given
> identification, which matches a regexp. Not only for server-window, but
> any variable. This would look like
>
> ((REGEXP (VAR . VALUE) .. (VAR . VALUE))
>  (REGEXP (VAR . VALUE) .. (VAR . VALUE))
>  ...)
>
> Any VAR, like server-window, would use its related VALUE, which has
> precedence.
>
> Packages, like magit, could prepare such preferences, and activate if
> the corresponding emacsclient sends an identification which matches a
> regexp. User could prepare their own preferences, and invoke emacsclient
> with their private identification, like 'emacsclient --ident="my-identification"'.
>
> On protocol level between emacsclient and server.el, we would need a new
> command '-ident'. Or, if we must be backwards compatible, we could use
> 'eval' to set it, or we could use a special formatted '-comment'.
>
> This doesn't say which variables we recommend to use for
> preferences. Just a mean to communicate between emacsclient and
> server.el.

Unfortunately, no reaction yet. I'm undecided whether we shall go this way.

Best regards, Michael.




This bug report was last modified 330 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.