From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "Thomas Voss" via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#73472: [PATCH] Substitute quotation marks in Eglot messages Date: Wed, 25 Sep 2024 16:03:32 +0200 Message-ID: Reply-To: "Thomas Voss" Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=470923daacce4f2043053d4283737707a8449f77d8f326103c1ed619128c Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37233"; mail-complaints-to="usenet@ciao.gmane.io" To: 73472@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Sep 25 16:05:08 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1stSdd-0009Ui-PR for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 25 Sep 2024 16:05:06 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1stSdE-0001AS-Fw; Wed, 25 Sep 2024 10:04:40 -0400 Original-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 ) id 1stSdB-00015q-VO for bug-gnu-emacs@gnu.org; Wed, 25 Sep 2024 10:04:38 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1stSdB-0007tx-Eq for bug-gnu-emacs@gnu.org; Wed, 25 Sep 2024 10:04:37 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=Mime-Version:From:Date:To:Subject; bh=fCOm5ZDNBMzC1WIvYiPv1Yu3rW0Iw3I1CX3PIxe+8qs=; b=R3HPPVxa8ccUldTIYpMF94IFYLWSNv9INXvYBwGF+A1eotrTBgD0kMrQbGc32QBUOXhAy+OYu0sxcfzin2dfwaoo25Gh3I6oX3JQG1o0CyRlxrulLxWm2s+fConNIHxsesms3Ugky6Rqrb7E6MYtipRAdJcMytEekhFASnwN08S4qEh5D4bF0NIBY8WUN1bcWRb1FYyfZh1m5I5zzu4XvkHEVj7xG51nxGwPNgMbdDywbpRC60tU1v7quO8Jiyj6YiN3fIL9Tj4BMRRrhxxlhGvPVqr2eyme2JB7yVyB5gvQ5/5WBbYeRpxloA5n5nfePxwJFcWmrcV8T2jv0g+3sQ==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1stSda-0004vM-U2 for bug-gnu-emacs@gnu.org; Wed, 25 Sep 2024 10:05:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "Thomas Voss" Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 25 Sep 2024 14:05:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 73472 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch X-Debbugs-Original-To: Original-Received: via spool by submit@debbugs.gnu.org id=B.172727306618811 (code B ref -1); Wed, 25 Sep 2024 14:05:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 25 Sep 2024 14:04:26 +0000 Original-Received: from localhost ([127.0.0.1]:38510 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1stScz-0004tJ-Qi for submit@debbugs.gnu.org; Wed, 25 Sep 2024 10:04:26 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:45972) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1stScx-0004t2-7U for submit@debbugs.gnu.org; Wed, 25 Sep 2024 10:04:24 -0400 Original-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 ) id 1stScT-00075V-IZ for bug-gnu-emacs@gnu.org; Wed, 25 Sep 2024 10:03:55 -0400 Original-Received: from out-176.mta0.migadu.com ([2001:41d0:1004:224b::b0]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1stScO-0007mY-CA for bug-gnu-emacs@gnu.org; Wed, 25 Sep 2024 10:03:53 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=thomasvoss.com; s=key1; t=1727273024; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=fCOm5ZDNBMzC1WIvYiPv1Yu3rW0Iw3I1CX3PIxe+8qs=; b=Ivx7hHJBZNL14mYhVQi4hljMQv1QOvNgKmOSEJn883XtjhaavfW5YbePIjnVG3xC9eEJUr bL39OYDTNgdDwUfIQuFWsL6Z7YrUge4dzHpeL2+9w14KhQZoiK64FjxPzOCyQlA+6278iQ OjtDQOApNX+FTm2uqTgm4spzfVzMt95g7eh2yQ3sH/d5dogwYGEWmOkLeZh30QscvJ010X 7/czlRAx10eFNxzvNgBiXYrRekLurcfUUGGzu+6npcWiFy0Dh1Ul/QFMnSkmGcAywW+HBh dmNsZVNq00Tc+cTtt5BA2xUXawCys7qXxNeGPl+xm+ZMzaqYaxl6rSyHcq0Z2Q== X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. X-Migadu-Flow: FLOW_OUT Received-SPF: pass client-ip=2001:41d0:1004:224b::b0; envelope-from=mail@thomasvoss.com; helo=out-176.mta0.migadu.com X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, DKIM_INVALID=0.1, DKIM_SIGNED=0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:292396 Archived-At: --470923daacce4f2043053d4283737707a8449f77d8f326103c1ed619128c Content-Type: multipart/alternative; boundary=9ff7980ce531d5fb9aa2c8a2c969667a3d4d247e51fb6da2ce32374e6c24 --9ff7980ce531d5fb9aa2c8a2c969667a3d4d247e51fb6da2ce32374e6c24 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Content-Type: text/plain; charset=UTF-8 Hi all, Another quick patch from myself. This patch makes it so that the diagnostics and interactive prompts from Eglot (such as the prompt you iteract with when renaming a symbol) properly respect =E2=80=98text-quoting-style=E2=80=99. --=20 =E2=80=94 Thomas --9ff7980ce531d5fb9aa2c8a2c969667a3d4d247e51fb6da2ce32374e6c24-- --470923daacce4f2043053d4283737707a8449f77d8f326103c1ed619128c Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename=0001-Substitute-quotation-marks-in-Eglot-messages.patch Content-Type: text/x-patch; charset=utf-8; name=0001-Substitute-quotation-marks-in-Eglot-messages.patch RnJvbSAyMDM4Yjk4M2E3NTFhMmUyNmMyZThhMGI4ZDU1YWRlMjlmYjM5NGZkIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBUaG9tYX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AgICAgICAoc3ltYm9sLW5hbWUgKHN5bWJv bC1hdC1wb2ludCkpKSkpCiAgIChlZ2xvdC1zZXJ2ZXItY2FwYWJsZS1vci1sb3NlIDpyZW5hbWVQ cm92aWRlcikKLS0gCjIuNDYuMgoK --470923daacce4f2043053d4283737707a8449f77d8f326103c1ed619128c--