X-Loop: help-debbugs@HIDDEN Subject: bug#68803: [PATCH] Substitute all emacsclient occurrences Resent-From: Lin Jian <me@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Mon, 29 Jan 2024 22:20:01 +0000 Resent-Message-ID: <handler.68803.B.170656675428794 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 68803 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: 68803 <at> debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.170656675428794 (code B ref -1); Mon, 29 Jan 2024 22:20:01 +0000 Received: (at submit) by debbugs.gnu.org; 29 Jan 2024 22:19:14 +0000 Received: from localhost ([127.0.0.1]:33637 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1rUZyE-0007UL-Cw for submit <at> debbugs.gnu.org; Mon, 29 Jan 2024 17:19:14 -0500 Received: from lists.gnu.org ([2001:470:142::17]:47838) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <me@HIDDEN>) id 1rUZyC-0007U3-Om for submit <at> debbugs.gnu.org; Mon, 29 Jan 2024 17:19:13 -0500 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 <me@HIDDEN>) id 1rUZxy-00010r-Ba for bug-gnu-emacs@HIDDEN; Mon, 29 Jan 2024 17:18:58 -0500 Received: from mail.linj.tech ([5.255.109.209]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <me@HIDDEN>) id 1rUZxw-0000b5-3F for bug-gnu-emacs@HIDDEN; Mon, 29 Jan 2024 17:18:58 -0500 From: Lin Jian <me@HIDDEN> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linj.tech; s=mail; t=1706566732; bh=je2jE9MggLeZWuK5Cn2EMVRMfudvS6cwPOjCnKU43RY=; h=From:To:Subject:Date; b=HT3cC2MNBnVO/y0Nm6Lk6e15Vv8RM4dCbH+DahKxgCwuZBUxFBIMR71hHZZFWuIbM 2BlaugRTTwLyfA6LNinOR3jN8mIiKK4U9Fv4PoEyvbWYw5wM5M/wJ9ncQeTSNp6ZlT 9oEXHF7B5HaHBQUncDYVtGiRBqWRjVlCwdxZHMJW5NsqIrfob+e5pWBuf8y1rVEBRP FT+fEDvGZIiMw8sdpZa8MnIkQRmT4YrR6e/I6GbaAnjq2RdZF8bh8hcuDtWDA0lxOE snaZ/kOX6/V9OFeAhK7lkK8vPDib4LGm6gtz28scKBjc+0ZzuXzguX3XYKKtENQJwY KCjNPul284h9A== Date: Tue, 30 Jan 2024 06:15:51 +0800 Message-ID: <87h6ivye9v.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: pass client-ip=5.255.109.209; envelope-from=me@HIDDEN; helo=mail.linj.tech 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, 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-Spam-Score: 0.9 (/) 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.1 (/) --=-=-= Content-Type: text/plain Tags: patch After commit "From .desktop files, reuse a frame or start a new Emacs as required" on 2021-06-30, there are two emacsclient occurrences for the Exec key of etc/emacsclient.desktop. Before this change, only the first occurrence is substituted. I propose a patch to substitute all emacsclient occurrences. In GNU Emacs 29.1 (build 1, x86_64-pc-linux-gnu, X toolkit, cairo version 1.18.0, Xaw3d scroll bars) Windowing system distributor 'The X.Org Foundation', version 11.0.12101010 System Description: NixOS 24.05 (Uakari) Configured using: 'configure --prefix=/nix/store/mzdvpxzkhlryxmbxwbih7bgvkzkw1ly7-emacs-29.1 --disable-build-details --with-modules --with-x-toolkit=lucid --with-xft --with-cairo --with-compress-install --with-toolkit-scroll-bars --with-native-compilation --without-imagemagick --without-small-ja-dic --with-tree-sitter --with-xinput2 --without-xwidgets' --=-=-= Content-Type: text/patch Content-Disposition: attachment; filename=0001-Substitute-all-emacsclient-occurrences.patch From 69ea684a44e1619b3e89a2f2a7189713dfdc03ab Mon Sep 17 00:00:00 2001 From: Lin Jian <me@HIDDEN> Date: Tue, 30 Jan 2024 06:11:26 +0800 Subject: [PATCH] Substitute all emacsclient occurrences After commit "From .desktop files, reuse a frame or start a new Emacs as required" on 2021-06-30, there are two emacsclient occurrences for the Exec key of etc/emacsclient.desktop. Before this change, only the first occurrence is substituted. * Makefile.in (install-etc): Substitute all emacsclient occurrences. Copyright-paperwork-exempt: yes --- Makefile.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.in b/Makefile.in index 996f7b8d8c7..069f756bcf8 100644 --- a/Makefile.in +++ b/Makefile.in @@ -844,7 +844,7 @@ install-etc: rm -f $${tmp} tmp=etc/emacsclient.tmpdesktop; rm -f $${tmp}; \ client_name=`echo emacsclient | sed '$(TRANSFORM)'`${EXEEXT}; \ - sed -e "/^Exec=/ s|emacsclient|${bindir}/$${client_name}|" \ + sed -e "/^Exec=/ s|emacsclient|${bindir}/$${client_name}|g" \ -e "/^Icon=emacs/ s/emacs/${EMACS_NAME}/" \ $(USE_STARTUP_NOTIFICATION_SED_CMD) \ $(USE_WAYLAND_DISPLAY_SED_CMD) \ -- 2.42.0 --=-=-=--
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: Lin Jian <me@HIDDEN> Subject: bug#68803: Acknowledgement ([PATCH] Substitute all emacsclient occurrences) Message-ID: <handler.68803.B.170656675428794.ack <at> debbugs.gnu.org> References: <87h6ivye9v.fsf@HIDDEN> X-Gnu-PR-Message: ack 68803 X-Gnu-PR-Package: emacs X-Gnu-PR-Keywords: patch Reply-To: 68803 <at> debbugs.gnu.org Date: Mon, 29 Jan 2024 22:20:02 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-gnu-emacs@HIDDEN If you wish to submit further information on this problem, please send it to 68803 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 68803: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D68803 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
Received: (at control) by debbugs.gnu.org; 30 Jan 2024 00:42:15 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jan 29 19:42:15 2024 Received: from localhost ([127.0.0.1]:33954 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1rUcCc-0005r7-OB for submit <at> debbugs.gnu.org; Mon, 29 Jan 2024 19:42:15 -0500 Received: from mail-ed1-x531.google.com ([2a00:1450:4864:20::531]:47453) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <stefankangas@HIDDEN>) id 1rUcCa-0005qu-Ob for control <at> debbugs.gnu.org; Mon, 29 Jan 2024 19:42:13 -0500 Received: by mail-ed1-x531.google.com with SMTP id 4fb4d7f45d1cf-55ad2a47b7aso3326079a12.3 for <control <at> debbugs.gnu.org>; Mon, 29 Jan 2024 16:42:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1706575318; x=1707180118; darn=debbugs.gnu.org; h=to:subject:message-id:date:mime-version:from:from:to:cc:subject :date:message-id:reply-to; bh=OgFcC+tQlv/piavfGZ7iBVmOisBl2guw181qx2kGBak=; b=ktxC5Z6lg9tNNyGphJtMcWvLPEAXslsjgs21Z6+2Uq0XtPMJeT8IQ2kBJHJ2fohAd0 ux72iRbvrd+8WVOqEuw45FTwPr/TN7vfjYGiwLGNULi5tfMl8D0ejLtOTStAc4EhPuWh R38Z9d50ay1QEVGMTMlw2ZgML6Qm9vushNLmFmAIsiir3e14gbgl3+GmoC0HTRPeSI7k jgbMrICOHn9Hz0wCH0FSvifNq52s/uHhg8YMryxxDpi5BznbyJjWrYeWkDhpDE4PFf4u FY8/E/ou7X3AIUYwkP1BieadO/c4SI83Gz4HP47rhZSQILMy74WnTkrx/IYEkE9Nj6KJ RICQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706575318; x=1707180118; h=to:subject:message-id:date:mime-version:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=OgFcC+tQlv/piavfGZ7iBVmOisBl2guw181qx2kGBak=; b=urmI6YkrgSk5WetjMdqHgZLRZoKvDf4eY+DVPDJpEdwOLCQG/7jfzYU1cTHZCMBQP+ 6ynvC/fH5o1PZ5oC7HcbkA0vCZIcOdspcWWg5nGLiNdSBl9BlpRPK5QwPO1v2lwM8Jne 65PqRrl6bFaKFcodiL+Lmqg/7o3lCzgvkZEHPhZJJFEpxDAZaEFFo2hZXD0Ib/9IUG1F FBi7KWCqVMfVEu23w0xWCkKw+k5oLIEVbJNVp9NErfGqakak6BPtkqaxg65mJ8vJ7g7w 849v4xwNKBcJjZUl/DSfXBFO83WRY+mKXj6B9rUH5t/r4JquBzNv2n7xDWoVUVfzN4XQ wAIw== X-Gm-Message-State: AOJu0YwrXlwIVT7hpRS3a2hr5j5zFXNTjR6dSAsySOWoMD02YamcL1R8 Hw9i2zXMJrvjajFr5PhEuQTFMvCaueYusSP+pHS0Bk9hIJZWk2GEUbFoxHDgsalnji1OTk24fd+ vvEI+QAVdaq4RUfIHX+FFUySIh0xd+TThGWw= X-Google-Smtp-Source: AGHT+IGkKkWZQyTWEZX+SgyrZWziLydK9D2zbApdIlt0iWLTIg0U0PwvmhYgVhDm1k+rhKr/T5fwnSG5O5rSNHtugSU= X-Received: by 2002:a05:6402:b2a:b0:55d:151:ebf2 with SMTP id bo10-20020a0564020b2a00b0055d0151ebf2mr4281276edb.20.1706575318296; Mon, 29 Jan 2024 16:41:58 -0800 (PST) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Mon, 29 Jan 2024 19:41:58 -0500 From: Stefan Kangas <stefankangas@HIDDEN> MIME-Version: 1.0 Date: Mon, 29 Jan 2024 19:41:58 -0500 Message-ID: <CADwFkmmEQmsZoBi_mPq+gy9DS0bNn75mCggqgcJxGe-Q8ZfvXA@HIDDEN> Subject: control message for bug #68803 To: control <at> debbugs.gnu.org Content-Type: text/plain; charset="UTF-8" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: control 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: -1.0 (-) severity 68803 wishlist quit
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.