GNU bug report logs - #77496
[PATCH] Add 'ns-app-badge' to set macOS / GNUstep icon badge

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Ship Mints <shipmints@HIDDEN>; Keywords: patch; dated Thu, 3 Apr 2025 16:46:01 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 3 Apr 2025 16:45:43 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Apr 03 12:45:42 2025
Received: from localhost ([127.0.0.1]:35419 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1u0NhG-0002Kf-Kj
	for submit <at> debbugs.gnu.org; Thu, 03 Apr 2025 12:45:42 -0400
Received: from lists.gnu.org ([2001:470:142::17]:44310)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <shipmints@HIDDEN>)
 id 1u0NhD-00020h-Oe
 for submit <at> debbugs.gnu.org; Thu, 03 Apr 2025 12:45:40 -0400
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 <shipmints@HIDDEN>)
 id 1u0Nh6-0002SU-4C
 for bug-gnu-emacs@HIDDEN; Thu, 03 Apr 2025 12:45:32 -0400
Received: from mail-vk1-xa33.google.com ([2607:f8b0:4864:20::a33])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <shipmints@HIDDEN>)
 id 1u0Nh1-0008Pg-TE
 for bug-gnu-emacs@HIDDEN; Thu, 03 Apr 2025 12:45:31 -0400
Received: by mail-vk1-xa33.google.com with SMTP id
 71dfb90a1353d-5240764f7c1so499324e0c.2
 for <bug-gnu-emacs@HIDDEN>; Thu, 03 Apr 2025 09:45:25 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1743698725; x=1744303525; darn=gnu.org;
 h=to:subject:message-id:date:from:mime-version:from:to:cc:subject
 :date:message-id:reply-to;
 bh=EG0CNnH0GJ7fDJ8ue4bBZyPgsZRWRuaoHuj8sUrukW8=;
 b=mo4hCRdUBFfR6OPyDbHRkbA9QV+u5bo6GBPMYUvLijZXdIC9/yggPpyCiest08qXHm
 9KC4LdPfn4R4ZGaBlo2j65MbOAw4/S0Jo9SzHIbGFosM7bQXg2WtTJQzZO/fZSoup8E8
 qqdRcYMQGPLW/7WfrcSdWn0wzK6pMSZfoiwopAuE1vIs4lWj9gkjWQOTobXpcYA7MQre
 AWZOoulYo1+x+sWgWdRelmp+4JqOFlFexhoVR238MXAEBqMB2YlWAZmUa/KForUoN9nB
 6NUo7i17L6+yWpVsa2zl239vm6DvKi4qb76l/hOh3pYVtJHVXCtHaEmaOlYox62QO4+x
 vNiQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1743698725; x=1744303525;
 h=to:subject:message-id:date:from:mime-version:x-gm-message-state
 :from:to:cc:subject:date:message-id:reply-to;
 bh=EG0CNnH0GJ7fDJ8ue4bBZyPgsZRWRuaoHuj8sUrukW8=;
 b=PnyME5998EQ0FjmEnSPSicGdQap/TagVvaxOoOLyWVkZqTR5OEb0SPcFDCnwggv73/
 YRKqyzoBwEg2v/+8guxFb2IJDwWY0XdIs7vlqKF0SaH3EjLgjEMdFCBUG4KPp1DnrxfC
 G0MwLQ33Ct5vobNgdEoLAEl7L3MXaa3cO3ndTn2EN4Jls5Qbpn88DK5PSC8ehTQ8zQi2
 cLgqY3vmi7gzplH3d8Q/MxFkfMTdj7QG+UDdsHkZ3XderRVvbyL1aXCbk9SPdqIxVLyX
 TQ7oxVxF3rC/XxXrQRXKpwaNXiyXRyHBSSmamYaBBEJ86h+Za1qTHKmnH242MwYjy7hn
 wGBQ==
X-Gm-Message-State: AOJu0YxwFCHGduAHVjhlMNyn8kw3uerVGUZZRAy4wWDWW3MuHEZ3BCFc
 75I7o2frOAA/Mww1AXyA6xtUKeLng6/6Nz4Qbt41PWOEJh8Ooa2746K+FDFgS/DJfkmlnL2dAgk
 csfvX8v9x6072W9AsMRbp3YUWn0/qrw==
X-Gm-Gg: ASbGncs4vyXRrw0xnumSIfPndGPWczTBeZPMIHHRWADOLDJZ4Frokiidc7jn2blWsPs
 9uBFcWRXjVNplvM9WCg/HzXDBzHLvEuIq/3rh51sZE3ZhiWfsaj701nHDT2IgJTdAOgRkiSxhCg
 92Nqvb+kBciE+sa3odhC57DEjjxg==
X-Google-Smtp-Source: AGHT+IEYWO5rddrcudmU90S4KQLWJ5HKpbKI3bunuBMhbQ8+8bXl3k5AZNQnJkeWSHRtiE/NV5SpixtuqMggrdDSIfY=
X-Received: by 2002:a05:6122:828f:b0:523:dd87:fe86 with SMTP id
 71dfb90a1353d-5276453c081mr201692e0c.6.1743698724890; Thu, 03 Apr 2025
 09:45:24 -0700 (PDT)
MIME-Version: 1.0
From: Ship Mints <shipmints@HIDDEN>
Date: Thu, 3 Apr 2025 12:45:13 -0400
X-Gm-Features: ATxdqUGXzi8_o1L380vq4Vq6oau9_Jqd1fsvrcIIqiBqW7Z4qBcxjiOOWvx6UCM
Message-ID: <CAN+1HboDBnxFtN+XADoeD5CWSpG8yH6g=3BjT=wKaRWLKp+qTg@HIDDEN>
Subject: [PATCH] Add 'ns-app-badge' to set macOS / GNUstep icon badge
To: bug-gnu-emacs@HIDDEN
Content-Type: multipart/mixed; boundary="00000000000017c7030631e27ffb"
Received-SPF: pass client-ip=2607:f8b0:4864:20::a33;
 envelope-from=shipmints@HIDDEN; helo=mail-vk1-xa33.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,
 HTML_MESSAGE=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-Spam-Score: 1.0 (+)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.0 (/)

--00000000000017c7030631e27ffb
Content-Type: multipart/alternative; boundary="00000000000017c7000631e27ff9"

--00000000000017c7000631e27ff9
Content-Type: text/plain; charset="UTF-8"

This function allows one to visually differentiate multiple running Emacs
sessions by icon in the doc or application switcher using the icon badge.
For example set the badge to the Emacs version, or add "test" to indicate
an instance launched for testing.  It can also be used to indicate pending
items for MUAs or whatever someone wants.  This very simple feature has
been on my list for a while...

-Stephane

--00000000000017c7000631e27ff9
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_default" style=3D"font-family:monospac=
e">This function allows one to visually differentiate multiple running Emac=
s sessions by icon in the doc or application switcher using the icon badge.=
=C2=A0 For example set the badge to the Emacs version, or add &quot;test&qu=
ot; to indicate an instance launched for testing.=C2=A0 It can also be used=
 to indicate pending items for MUAs or whatever someone wants.=C2=A0 This v=
ery simple feature has been on my list for a while...</div><div class=3D"gm=
ail_default" style=3D"font-family:monospace"><br></div><div class=3D"gmail_=
default" style=3D"font-family:monospace">-Stephane</div></div>

--00000000000017c7000631e27ff9--

--00000000000017c7030631e27ffb
Content-Type: application/octet-stream; 
	name="0001-Add-ns-app-badge-to-set-macOS-GNUstep-icon-badge.patch"
Content-Disposition: attachment; 
	filename="0001-Add-ns-app-badge-to-set-macOS-GNUstep-icon-badge.patch"
Content-Transfer-Encoding: base64
Content-ID: <f_m91l3esv0>
X-Attachment-Id: f_m91l3esv0

RnJvbSA3OWViOTUwNTMyYjAzN2YxMDdhYTQ2NGE2MTQ0ODJhYTU1ZGI1MWNhIE1vbiBTZXAgMTcg
MDA6MDA6MDAgMjAwMQpGcm9tOiBzaGlwbWludHMgPHNoaXBtaW50c0BnbWFpbC5jb20+CkRhdGU6
IFRodSwgMyBBcHIgMjAyNSAxMjozNzozNCAtMDQwMApTdWJqZWN0OiBbUEFUQ0hdIEFkZCAnbnMt
YXBwLWJhZGdlJyB0byBzZXQgbWFjT1MgLyBHTlVzdGVwIGljb24gYmFkZ2UKCiogZG9jL2VtYWNz
L21hY29zLnRleGkgKE1hYyBPUyAvIEdOVXN0ZXApOiBSZWZlcmVuY2UgbmV3IG5vZGUuCihNYWMg
LyBHTlVzdGVwIEZ1bmN0aW9ucyk6IE5ldyBub2RlIGFuZCBzZWN0aW9uLgoqIGV0Yy9ORVdTOiBB
bm5vdW5jZSB0aGUgbmV3IGZ1bmN0aW9uLgoqIHNyYy9uc2Zucy5tIChGbnNfYXBwX2JhZGdlKTog
TmV3IGZ1bmN0aW9uLgooc3ltc19vZl9uc2Zucyk6IE5ldyBmdW5jdGlvbi4KLS0tCiBkb2MvZW1h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IgKCZTeF9kaXNw
bGF5X21tX2hlaWdodCk7CiAgIGRlZnN1YnIgKCZTeF9kaXNwbGF5X3NjcmVlbnMpOwotLSAKMi40
Ny4xCgo=
--00000000000017c7030631e27ffb--




Acknowledgement sent to Ship Mints <shipmints@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#77496; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Thu, 3 Apr 2025 17:00:01 UTC

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