From unknown Sat Jun 21 03:29:08 2025
X-Loop: help-debbugs@gnu.org
Subject: bug#49259: StartupWMClass=Emacsd makes no sense on its own
Resent-From: Peter Oliver
Original-Sender: "Debbugs-submit"
Resent-CC: bug-gnu-emacs@gnu.org
Resent-Date: Mon, 28 Jun 2021 16:12:01 +0000
Resent-Message-ID:
Resent-Sender: help-debbugs@gnu.org
X-GNU-PR-Message: report 49259
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: 49259@debbugs.gnu.org
X-Debbugs-Original-To: bug-gnu-emacs@gnu.org
Received: via spool by submit@debbugs.gnu.org id=B.162489670120160
(code B ref -1); Mon, 28 Jun 2021 16:12:01 +0000
Received: (at submit) by debbugs.gnu.org; 28 Jun 2021 16:11:41 +0000
Received: from localhost ([127.0.0.1]:52313 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from )
id 1lxtrJ-0005F6-GK
for submit@debbugs.gnu.org; Mon, 28 Jun 2021 12:11:41 -0400
Received: from lists.gnu.org ([209.51.188.17]:37152)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from ) id 1lxtrE-0005Ej-4s
for submit@debbugs.gnu.org; Mon, 28 Jun 2021 12:11:40 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:51778)
by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.90_1) (envelope-from )
id 1lxtrD-0005Ec-BI
for bug-gnu-emacs@gnu.org; Mon, 28 Jun 2021 12:11:35 -0400
Received: from mail-wm1-x333.google.com ([2a00:1450:4864:20::333]:35636)
by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
(Exim 4.90_1) (envelope-from )
id 1lxtrA-000387-UA
for bug-gnu-emacs@gnu.org; Mon, 28 Jun 2021 12:11:34 -0400
Received: by mail-wm1-x333.google.com with SMTP id
j11-20020a05600c1c0bb02901e23d4c0977so13499591wms.0
for ; Mon, 28 Jun 2021 09:11:30 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mavit.org.uk; s=google;
h=date:from:to:subject:message-id:mime-version;
bh=a3rHBkvaijwamlJ2EhOhN9/eqyM9UsZ7/FHy65tLgiE=;
b=XxSMwcKGjcHtzoeg1sXCLWXIMePXDQWMCbV01f2dVGe81p6Md0cDo1WAPIxnXrJmIR
AZ0cFbmyZRuXgu36dEiMo7bbZ5b2WTjbHxPD58UkA+h9GUXlhWz7d2tlVWGuB4sDLjji
mY+/e8pkcjFbJApNWJthZ9DfiGZzWMLrSux68=
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:subject:message-id:mime-version;
bh=a3rHBkvaijwamlJ2EhOhN9/eqyM9UsZ7/FHy65tLgiE=;
b=Md8YVglaWoib4rnbwWSxJpmg6/Mfvdbe2RgU36AjAgol9rP1wj7QTlgKTr13sPOPZl
VIfxPFULK/V85hGP6SGFow9wkoNUiGbcNbZYk8MwoslBv3dDoEcOflsI1xtoJTIBaYLl
GTa8X5rI1SgiB9FWOa6lGbwhSkM0wAFBXF42hGHKvTPuVkDIHEFWh3NJ9TSylmNOcVkW
d8JEHL76DcFweJ81A8FRTtWORUcZsJP9Op2Iuch/HVfASJ0PfEzJUglymGrTuDJfJCyn
TC5Us2D88EF8GDHE6oSI6d/qhPkZec3+FTRvud4qDMTr+poENENtnJREAGlzXo026/5l
wWFg==
X-Gm-Message-State: AOAM5332mUnWMGirG13A3K9rUMVIGFFuIHkquAUILU/insZvOkOBIqsv
YKi0bzcHK3UqGa8ptycyMXRsQEVCR7OLXA==
X-Google-Smtp-Source: ABdhPJwGiSTLAwfP/xTzg9SYZdfKV/WVDYZdAjCwmWmZ8JSL/z5mIHif+qDEWLd7yHL/++RouVYgiQ==
X-Received: by 2002:a7b:c4da:: with SMTP id g26mr27002721wmk.3.1624896688691;
Mon, 28 Jun 2021 09:11:28 -0700 (PDT)
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 a16sm10217528wrx.72.2021.06.28.09.11.26
for
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Mon, 28 Jun 2021 09:11:27 -0700 (PDT)
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 15SGBP9s031744
(version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT)
for ; Mon, 28 Jun 2021 17:11:26 +0100
Received: from localhost (mavit@localhost)
by froglet.home.mavit.org.uk (8.16.1/8.16.1/Submit) with ESMTP id
15SGBPdL031741
for ; Mon, 28 Jun 2021 17:11:25 +0100
X-Authentication-Warning: froglet.home.mavit.org.uk: mavit owned process doing
-bs
Date: Mon, 28 Jun 2021 17:11:25 +0100 (BST)
From: Peter Oliver
Message-ID: <3f2b9829-4537-7dc1-9491-5d33108a795f@froglet.home.mavit.org.uk>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="-1463811583-72243314-1624896685=:3549"
Received-SPF: pass client-ip=2a00:1450:4864:20::333;
envelope-from=p.d.oliver@mavit.org.uk; helo=mail-wm1-x333.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=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.6 (-)
X-BeenThere: debbugs-submit@debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Errors-To: debbugs-submit-bounces@debbugs.gnu.org
Sender: "Debbugs-submit"
X-Spam-Score: -2.6 (--)
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-72243314-1624896685=:3549
Content-Type: text/plain; format=flowed; charset=US-ASCII
File etc/emacsclient.desktop contains the following line:
StartupWMClass=Emacsd
This depended on an associated setting in etc/emacs.service, but that setting was removed because it caused problems for things that rely on invocation-name. See https://debbugs.gnu.org/cgi/bugreport.cgi?bug=37847#54 for more details.
Attached is a patch to set StartupWMClass back to Emacs.
--
Peter Oliver
---1463811583-72243314-1624896685=:3549
Content-Type: text/plain; charset=US-ASCII; name=0001-Revert-more-of-a-partially-reverted-patch.patch
Content-Transfer-Encoding: BASE64
Content-ID:
Content-Description:
Content-Disposition: attachment; filename=0001-Revert-more-of-a-partially-reverted-patch.patch
RnJvbSBkNmM4Y2JiNmIzZmVhNTY0M2U4OTc5YmExMjgxNTIwY2UzYzUzZjI5
IE1vbiBTZXAgMTcgMDA6MDA6MDAgMjAwMQ0KRnJvbTogUGV0ZXIgT2xpdmVy
IDxnaXRAbWF2aXQub3JnLnVrPg0KRGF0ZTogTW9uLCAyOCBKdW4gMjAyMSAx
NzowNDozMiArMDEwMA0KU3ViamVjdDogW1BBVENIXSBSZXZlcnQgbW9yZSBv
ZiBhIHBhcnRpYWxseSByZXZlcnRlZCBwYXRjaA0KDQoqIGV0Yy9lbWFjc2Ns
aWVudC5kZXNrdG9wOiBVbmRvIHNldHRpbmcgb2YgU3RhcnR1cFdNQ2xhc3M9
RW1hY3NkLCBzaW5jZQ0KdGhpcyByZWxpZXMgb24gYSBjaGFuZ2UgdG8gZXRj
L2VtYWNzLnNlcnZpY2Ugd2hpY2ggd2FzIGFsc28gdW5kb25lLiAgU2VlDQpi
dWcjMzc4NDcgZm9yIG1vcmUgZXhwbGFuYXRpb24uDQotLS0NCiBldGMvZW1h
Y3NjbGllbnQuZGVza3RvcCB8IDIgKy0NCiAxIGZpbGUgY2hhbmdlZCwgMSBp
bnNlcnRpb24oKyksIDEgZGVsZXRpb24oLSkNCg0KZGlmZiAtLWdpdCBhL2V0
Yy9lbWFjc2NsaWVudC5kZXNrdG9wIGIvZXRjL2VtYWNzY2xpZW50LmRlc2t0
b3ANCmluZGV4IDJjMWVkYjRiNjYuLmY3NmZiMmY1ZDkgMTAwNjQ0DQotLS0g
YS9ldGMvZW1hY3NjbGllbnQuZGVza3RvcA0KKysrIGIvZXRjL2VtYWNzY2xp
ZW50LmRlc2t0b3ANCkBAIC05LDUgKzksNSBAQCBUeXBlPUFwcGxpY2F0aW9u
DQogVGVybWluYWw9ZmFsc2UNCiBDYXRlZ29yaWVzPURldmVsb3BtZW50O1Rl
eHRFZGl0b3I7DQogU3RhcnR1cE5vdGlmeT10cnVlDQotU3RhcnR1cFdNQ2xh
c3M9RW1hY3NkDQorU3RhcnR1cFdNQ2xhc3M9RW1hY3MNCiBLZXl3b3Jkcz1U
ZXh0O0VkaXRvcjsNCi0tIA0KMi4zMS4xDQoNCg==
---1463811583-72243314-1624896685=:3549--
From unknown Sat Jun 21 03:29:08 2025
X-Loop: help-debbugs@gnu.org
Subject: bug#49259: StartupWMClass=Emacsd makes no sense on its own
Resent-From: Lars Ingebrigtsen
Original-Sender: "Debbugs-submit"
Resent-CC: bug-gnu-emacs@gnu.org
Resent-Date: Wed, 30 Jun 2021 13:03:02 +0000
Resent-Message-ID:
Resent-Sender: help-debbugs@gnu.org
X-GNU-PR-Message: followup 49259
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: Peter Oliver
Cc: 49259@debbugs.gnu.org
Received: via spool by 49259-submit@debbugs.gnu.org id=B49259.16250581293746
(code B ref 49259); Wed, 30 Jun 2021 13:03:02 +0000
Received: (at 49259) by debbugs.gnu.org; 30 Jun 2021 13:02:09 +0000
Received: from localhost ([127.0.0.1]:56750 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from )
id 1lyZqz-0000yM-2d
for submit@debbugs.gnu.org; Wed, 30 Jun 2021 09:02:09 -0400
Received: from quimby.gnus.org ([95.216.78.240]:57500)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from ) id 1lyZqw-0000xs-Uq
for 49259@debbugs.gnu.org; Wed, 30 Jun 2021 09:02:07 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org;
s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:
References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:
Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender:
Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:
List-Subscribe:List-Post:List-Owner:List-Archive;
bh=SaTnKQrLcEX0dXW+0svDgiVnbqzorG92XproHQLgfek=; b=mouJ8ccKEc9BVe6OwvGhP/Ox2G
kg5A1/XL0Uxw+cv/qXm7kI2fj2Mhr+y1S50mIXXU8HkMZRDiPs7LOExHWmIoqd+gh1Cucwc9IUNJS
ehD/1mFQ/OaTw43tbGQk125PyGyxjX3318bU6Coxg4timoTWDVXJNx2IPCFGjWIozgDE=;
Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=elva)
by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.92) (envelope-from )
id 1lyZqn-0001qU-Vk; Wed, 30 Jun 2021 15:02:01 +0200
From: Lars Ingebrigtsen
References: <3f2b9829-4537-7dc1-9491-5d33108a795f@froglet.home.mavit.org.uk>
X-Now-Playing: Jim O'Rourke's _To Magnetize Money and Return a Roving Eye
(2)_: "To Magnetize Money and Return a Roving Eye pt2"
Date: Wed, 30 Jun 2021 15:01:57 +0200
In-Reply-To: <3f2b9829-4537-7dc1-9491-5d33108a795f@froglet.home.mavit.org.uk>
(Peter Oliver's message of "Mon, 28 Jun 2021 17:11:25 +0100 (BST)")
Message-ID: <87k0mb7bga.fsf@gnus.org>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org",
has NOT identified this incoming email as spam. The original
message has been attached to this so you can view it or label
similar future email. If you have any questions, see
@@CONTACT_ADDRESS@@ for details.
Content preview: Peter Oliver writes: > File
etc/emacsclient.desktop
contains the following line: > > StartupWMClass=Emacsd > > This depended
on an associated setting in etc/emacs.service, but that > setting was removed
because it caused [...]
Content analysis details: (-2.9 points, 5.0 required)
pts rule name description
---- ---------------------- --------------------------------------------------
-1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP
-1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1%
[score: 0.0000]
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit@debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Errors-To: debbugs-submit-bounces@debbugs.gnu.org
Sender: "Debbugs-submit"
X-Spam-Score: -3.3 (---)
Peter Oliver writes:
> File etc/emacsclient.desktop contains the following line:
>
> StartupWMClass=Emacsd
>
> This depended on an associated setting in etc/emacs.service, but that
> setting was removed because it caused problems for things that rely on
> invocation-name. See
> https://debbugs.gnu.org/cgi/bugreport.cgi?bug=37847#54 for more
> details.
>
> Attached is a patch to set StartupWMClass back to Emacs.
Thanks; applied to Emacs 28.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
From debbugs-submit-bounces@debbugs.gnu.org Wed Jun 30 09:02:12 2021
Received: (at control) by debbugs.gnu.org; 30 Jun 2021 13:02:12 +0000
Received: from localhost ([127.0.0.1]:56753 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from )
id 1lyZr2-0000yb-B9
for submit@debbugs.gnu.org; Wed, 30 Jun 2021 09:02:12 -0400
Received: from quimby.gnus.org ([95.216.78.240]:57516)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from ) id 1lyZr1-0000yD-QO
for control@debbugs.gnu.org; Wed, 30 Jun 2021 09:02:12 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org;
s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc:
MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID:
Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc
:Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:
List-Subscribe:List-Post:List-Owner:List-Archive;
bh=UB04QANTjX8V+Q0MKBKT95bH9RDcSdVnmFPCFEjcStk=; b=EICkkYl92yAVoGgYgRV3CiIvhq
KahSD3SQNa9hAjbTtFQ2naKQJ1LHtqVDwOiUucwxxWIQ8Jv/KKcw/YpOkNTibK02uX2uNZo9dMZSL
m4jOWivU07ZNY+nBKza6d9k8kYKO9r7CbddbyfDYb9PTlxIUP382CVLaMYMYmvOYOxDA=;
Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=elva)
by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.92) (envelope-from ) id 1lyZqu-0001qf-4e
for control@debbugs.gnu.org; Wed, 30 Jun 2021 15:02:06 +0200
Date: Wed, 30 Jun 2021 15:02:03 +0200
Message-Id: <87im1v7bg4.fsf@gnus.org>
To: control@debbugs.gnu.org
From: Lars Ingebrigtsen
Subject: control message for bug #49259
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org",
has NOT identified this incoming email as spam. The original
message has been attached to this so you can view it or label
similar future email. If you have any questions, see
@@CONTACT_ADDRESS@@ for details.
Content preview: close 49259 28.1 quit
Content analysis details: (-2.9 points, 5.0 required)
pts rule name description
---- ---------------------- --------------------------------------------------
-1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP
-1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1%
[score: 0.0000]
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: control
X-BeenThere: debbugs-submit@debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Errors-To: debbugs-submit-bounces@debbugs.gnu.org
Sender: "Debbugs-submit"
X-Spam-Score: -3.3 (---)
close 49259 28.1
quit