Received: (at 74807) by debbugs.gnu.org; 8 Jan 2025 23:45:40 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jan 08 18:45:40 2025 Received: from localhost ([127.0.0.1]:49523 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tVfk3-0002ES-UZ for submit <at> debbugs.gnu.org; Wed, 08 Jan 2025 18:45:40 -0500 Received: from mail-oa1-x2b.google.com ([2001:4860:4864:20::2b]:44353) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <joaotavora@HIDDEN>) id 1tVfk0-0002ED-V8 for 74807 <at> debbugs.gnu.org; Wed, 08 Jan 2025 18:45:38 -0500 Received: by mail-oa1-x2b.google.com with SMTP id 586e51a60fabf-29645a83b1bso192760fac.1 for <74807 <at> debbugs.gnu.org>; Wed, 08 Jan 2025 15:45:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1736379931; x=1736984731; darn=debbugs.gnu.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=24OJ5yNWdSJa1pzda5xe2j9m+vMGIXLLbyIviyFaOAs=; b=Q5IJ/H7sJUpUZZG0lmgU4TpOBZx9dwwpoYZteWKNrf6xK5nexmhYlGhWLVRNjisrcS +5L53qgwgxld7k/8NWffF08pXAgX9Kzwhf+zY90yfYMkJR4kl1AdqqNlsAdB2Y9ji9GH XIleKRcWnZHevMaCzFakbi/9sx6Qn50h1haFVQKupRF0MgSUos5rgYnHfd10B1ddN5T7 /y/QL+RNeS+jL9Gdnah0SDwlz94wkIYKUeDBtuiSXL7aI7WkfA0dsSX1AETqkMkbUxvA qK6Xbu/Aj4/F4MqLm5wfyW9l17LHlubj47vXjyYQdHE6xbcrdiB8SLDYrQ/7vhF4AR/6 UIrg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736379931; x=1736984731; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=24OJ5yNWdSJa1pzda5xe2j9m+vMGIXLLbyIviyFaOAs=; b=HSOoDZZKNmjOEs90OVxIRH7OebmJxJ3SE43nhIWbbfuE0GJuQ9UTvyxy7LeErdmltS UfrgxpC4u3qx7ayX9ZabyAgLk7IjtgHQ/kr6G7YPqlslHf3O7SDEghthT/CYRlyuBfQ6 lpS59j0w2g2r/uL/ebUhMb8ZA+08tO0jfABm3uvGUXpkfY3YpTbO7IICFY+IhYkp3CbS hAnFpFcpZwQe5B+YuRYkMfySky1HGXw5RA0FjhQ1ohSQBeKzAKy2MrnYSrbZ7Ew5PvKc YMZNlE8XO3xasbsb27jzeE4l/irLHbaBC4MNGshhyHhyyjQOrcYAuUSvCP444nq6pDIS 4B4A== X-Forwarded-Encrypted: i=1; AJvYcCXanPqnAfVRfnFaN2Ml+8GyipRou5yjWoMLtzaEmjb0dSwgIb1EIezIap1vqtPNDpk+cYHRkA==@debbugs.gnu.org X-Gm-Message-State: AOJu0Yx952pSEULphvwT0F+8hbiXrPOWkS6/77uT0zUf2Yqq1mD7axRp QOTvFL0Q4wlG7Prum50JjI3YM2WHjsbqv6XobaewC+Mpz1uonfEvZZE77Et7Df4q44lo0LTjnPE 2uNW6/e/Tgbd8jmEggTdricSvp3U= X-Gm-Gg: ASbGncsQpOWuK4EdkcitrDDBfsJNhnqGdPTRL2NkrK3hRuBNxys8oZzaJcorqmEcJJC XNxxdOIvrjZoNaa95Xdmxm+qZ36+7kWYBl9SQWw== X-Google-Smtp-Source: AGHT+IFmFWjRbFPyBeWpVD4f6yvnyAvR7rsuUndyi3MVxn1UDb5ZIUKnJOsbrI0jDoe3IM1t6N+13X+cqNm4/50xx2o= X-Received: by 2002:a05:6871:4104:b0:29e:2cd6:4d1d with SMTP id 586e51a60fabf-2aa065101e7mr2679523fac.9.1736379930922; Wed, 08 Jan 2025 15:45:30 -0800 (PST) MIME-Version: 1.0 References: <CABvCZ42xu6aAhsmqxZm=PJ6=PX4YWsJkqT=RGreV4bRVPPiFgw@HIDDEN> <CALDnm53iKC=4XY5M=1HZXZBMCZbxmLgabM1inuZrpdQ0k5Voug@HIDDEN> <CABvCZ4109Rb1b0F6Uoq=QQ0EqqReKpYpPttEndtPU3yw3okDdA@HIDDEN> <86y100t6i7.fsf@HIDDEN> <87bjwkkvfq.fsf@HIDDEN> <CABvCZ41SbJWFZmpO+pw--mjfaMnom4AF9L71XD00mMr3jAv7KA@HIDDEN> <CALDnm51oSPCyaAD862w_F+K0U2wPi3hMj+HQiY8_w9onjYJ2Xg@HIDDEN> <CABvCZ406NdKoEEiJoXeq4+FPX+Xfg1zZVFOw2NF6wcFW_MP5BA@HIDDEN> <87tta9k6j6.fsf@HIDDEN> <CABvCZ40FZaSLeF7=Frk0P=du9knZtWamEt7GNiEvhyHmRyd+dg@HIDDEN> In-Reply-To: <CABvCZ40FZaSLeF7=Frk0P=du9knZtWamEt7GNiEvhyHmRyd+dg@HIDDEN> From: =?UTF-8?B?Sm/Do28gVMOhdm9yYQ==?= <joaotavora@HIDDEN> Date: Wed, 8 Jan 2025 23:45:27 +0000 X-Gm-Features: AbW1kvaN0yIhQF3fItnjIj4F_sXqBnCPk4E3pPHHbLRBsBjeWbiLTjYgrd7uh9c Message-ID: <CALDnm52LPrbbH3QDE4xNSWj85mWqZPP8-GecQZH96ebtM7CQUw@HIDDEN> Subject: Re: bug#74807: 30.0.90; Eglot: Non-Markdown strings rendered as Markdown To: Troy Brown <brownts@HIDDEN> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 74807 Cc: Eli Zaretskii <eliz@HIDDEN>, 74807 <at> debbugs.gnu.org, felician.nemeth@HIDDEN 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 (-) On Wed, Jan 8, 2025 at 11:37=E2=80=AFPM Troy Brown <brownts@HIDDEN> = wrote: > > On Wed, Jan 8, 2025 at 4:18=E2=80=AFAM Jo=C3=A3o T=C3=A1vora <joaotavora@= gmail.com> wrote: > > > > > data point. I think it's unwise to completely disregard that > > > information. > > > > I'm sure to treasure your remarks about my wisdom going forward. > > I don't know why you feel the need to be condescending, nor why you > think it brings anything useful to this conversation. So _you_ make comments about me being unwise and _I'm_ condescending. Nice.
bug-gnu-emacs@HIDDEN
:bug#74807
; Package emacs
.
Full text available.Received: (at 74807) by debbugs.gnu.org; 8 Jan 2025 23:37:44 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jan 08 18:37:44 2025 Received: from localhost ([127.0.0.1]:49511 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tVfcN-0001pa-SV for submit <at> debbugs.gnu.org; Wed, 08 Jan 2025 18:37:44 -0500 Received: from mail-ed1-f49.google.com ([209.85.208.49]:50369) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <troy.s.brown@HIDDEN>) id 1tVfcL-0001pL-W9 for 74807 <at> debbugs.gnu.org; Wed, 08 Jan 2025 18:37:42 -0500 Received: by mail-ed1-f49.google.com with SMTP id 4fb4d7f45d1cf-5d3cf094768so437732a12.0 for <74807 <at> debbugs.gnu.org>; Wed, 08 Jan 2025 15:37:41 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736379456; x=1736984256; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=69EBLjc+a9vQe4+zrJytOes1wD+OGl+hO23tR9GifSw=; b=BuKUgcS6Sp47B8YQNEdfAGh6t4rZ8Huesd5PVrq3h60H0BlinKlgXL3BYV22iuL/cv BYI4gn0JlyPZJBE/kvJruUJFvCVvc3J/++e5sAu3S64Dc9Oo9FLv+/eOg8HkUGbkd5eq +s1VPOX/B17PYTrb2aAgg0JJKhxKN5B7zuIhPrYu6W8a7BafxF2ZscMLaI0S5k1l8zNc FBjX1/mqVdoAzLYcw4xbSs1Pg8cs1K0KnIhlPMKiUmvuUyn8aH+m13z3U8WKHkGkIPgR oX24xYhyIBK8V498SyMP9y35jFPKHec5MeHG5fzYXQE8eC8uHzLxgaNZ+2Il9/248n5V xJlQ== X-Forwarded-Encrypted: i=1; AJvYcCX4cfUAT9wJmoycNFS+kkP8fPh9QzvL4wBv0Q5MBs60FeW5RmqcpukR+6nXiD4MIijsfueXIQ==@debbugs.gnu.org X-Gm-Message-State: AOJu0YyS2qj97a4Y9I5cxyNDuM49d9asujQvsIFqvsfJNfE02k8iVdas vimCoxPfsLdeP5zg+9qqVlmE8GFOuwDF4nVG43rgTVpAKczOD47dOoKZ44roLxg= X-Gm-Gg: ASbGncv3NWjPk5gfjN0BQIRK2evYlVwwY/q8rC0hjs4qpDQpsAGxJ+mMttwuJNNcSz7 Pgw5ojZnoHEZdx5WVIyLHuaHN3phpP2ksqcymStdiqFwDonQ9r4AOUqrR8GbenYOOA8/pEEFoVZ SqSf/kZUOFw+WYKJNmKqcjfR/F0gGEGkHuv4rkRW1WudX5y7iT61QhSye5SrD6qmoJWxcr9Qetu EnEt4qqwSepbNgBEBeQFk2wO8cXUyNNwqe2gxPrPpgbHTmjGslgWzcDkqc9zOja7j2fh98DtzE/ gcRiUY9LVhq1QlAi22pp X-Google-Smtp-Source: AGHT+IE+VIv65+T3rTmOCSYo47/XWvg5OZLuJN+3xE4vREpMK3ZVln3L9Ln20Kjr+9l3iqlmr79hCA== X-Received: by 2002:a17:907:7fa5:b0:aa6:7933:8b33 with SMTP id a640c23a62f3a-ab2ab6a40ddmr402433566b.15.1736379453898; Wed, 08 Jan 2025 15:37:33 -0800 (PST) Received: from mail-ej1-f52.google.com (mail-ej1-f52.google.com. [209.85.218.52]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-ab2c95b72ddsm6412566b.163.2025.01.08.15.37.33 for <74807 <at> debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 08 Jan 2025 15:37:33 -0800 (PST) Received: by mail-ej1-f52.google.com with SMTP id a640c23a62f3a-ab2aea81cd8so52247166b.2 for <74807 <at> debbugs.gnu.org>; Wed, 08 Jan 2025 15:37:33 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCX892BXpJIdNeS0Xv6DKqOVKXy/ihEQxIcrsOvnKeqgrayeNMCa1jSUcAl0DS8QdJSFzo/Hww==@debbugs.gnu.org X-Received: by 2002:a17:907:7d94:b0:aa6:762e:8c20 with SMTP id a640c23a62f3a-ab2abc6eed7mr402222066b.43.1736379453486; Wed, 08 Jan 2025 15:37:33 -0800 (PST) MIME-Version: 1.0 References: <CABvCZ42xu6aAhsmqxZm=PJ6=PX4YWsJkqT=RGreV4bRVPPiFgw@HIDDEN> <CALDnm53iKC=4XY5M=1HZXZBMCZbxmLgabM1inuZrpdQ0k5Voug@HIDDEN> <CABvCZ4109Rb1b0F6Uoq=QQ0EqqReKpYpPttEndtPU3yw3okDdA@HIDDEN> <86y100t6i7.fsf@HIDDEN> <87bjwkkvfq.fsf@HIDDEN> <CABvCZ41SbJWFZmpO+pw--mjfaMnom4AF9L71XD00mMr3jAv7KA@HIDDEN> <CALDnm51oSPCyaAD862w_F+K0U2wPi3hMj+HQiY8_w9onjYJ2Xg@HIDDEN> <CABvCZ406NdKoEEiJoXeq4+FPX+Xfg1zZVFOw2NF6wcFW_MP5BA@HIDDEN> <87tta9k6j6.fsf@HIDDEN> In-Reply-To: <87tta9k6j6.fsf@HIDDEN> From: Troy Brown <brownts@HIDDEN> Date: Wed, 8 Jan 2025 18:37:22 -0500 X-Gmail-Original-Message-ID: <CABvCZ40FZaSLeF7=Frk0P=du9knZtWamEt7GNiEvhyHmRyd+dg@HIDDEN> X-Gm-Features: AbW1kvZruucjiOkKlSRuyuD8COSH95EFhKLGDh2zrMwGltTZx5fYKwe8ivabzxA Message-ID: <CABvCZ40FZaSLeF7=Frk0P=du9knZtWamEt7GNiEvhyHmRyd+dg@HIDDEN> Subject: Re: bug#74807: 30.0.90; Eglot: Non-Markdown strings rendered as Markdown To: =?UTF-8?B?Sm/Do28gVMOhdm9yYQ==?= <joaotavora@HIDDEN> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.2 (/) X-Debbugs-Envelope-To: 74807 Cc: Eli Zaretskii <eliz@HIDDEN>, 74807 <at> debbugs.gnu.org, felician.nemeth@HIDDEN 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.8 (/) On Wed, Jan 8, 2025 at 4:18=E2=80=AFAM Jo=C3=A3o T=C3=A1vora <joaotavora@gm= ail.com> wrote: > > > data point. I think it's unwise to completely disregard that > > information. > > I'm sure to treasure your remarks about my wisdom going forward. I don't know why you feel the need to be condescending, nor why you think it brings anything useful to this conversation. > Other users may very well be content with the current Emacs behaviour, > which gives them coloured documentation for ada-language-server. If I > change it in the direction you argue, I destroy this value and create no > new value. Is it still difficult to comprehend? As you have pointed out, it appears Emacs' Markdown mode is the one that renders this particular text that way. I don't know what value you think is added through inconsistency among LSP clients, it only lessens the user's experience, and when Language Servers don't directly target Eglot, it lessens the Emacs experience too (considering Eglot's "built-in" package status). Since you say you are "concerned with longtime Eglot users", I would think this would be important to you. It was not the intention of the Language Server authors to have plain text rendered as Markdown. Additionally, it's not just colored text, it may be underlined or italicised or something completely different based on the user's theme, which looks completely out of place with other documentation that doesn't happen to include characters which trigger special Markdown rendering. > > I am both a user of Eglot and a user of the language server and I'm > > not happy with this behavior, nor do I think Eglot's behavior is > > correct. How is my experience any less important than any other user? > > Never said it is. It's also no more important than other users. I never said, nor implied that my experience was more important than other users, I was only asking to be treated equally to your "longtime Eglot users", whoever that encompasses. Also, since Eglot is a built-in Emacs package, I would think you'd be concerned with all users of Eglot, not just "longtime users" and base decisions on technical merit. > > Moving on, I've done some digging and found historical information > > that I believe is relevant. > > It's irrelevant, of course. Markdown is specifically designed to render > non marked-up aka "plain" text reasonably. It would be much more > relevant if you could actually find plaintext that Markdown mistakes for > a link or something to get it to be actually harmful. > > Even then, because of what I've already stated, I'm not sure I'd change > it. It's not irrelevant, but I'm not going to debate it anymore as you appear to be entrenched in your opinion. I don't see the need to find another example that somehow exceeds your personal tolerance level, I've already demonstrated a perfectly reasonable example. > If it's such a hill to die on, I'd spend my time arguing with the > ada-language-server author to specifically provide those snippets inside > a MarkupContent struct. I probably will end up asking them to change this, but my approach is to first try to correct a problem before I ask someone else to workaround it. Troy.
bug-gnu-emacs@HIDDEN
:bug#74807
; Package emacs
.
Full text available.Received: (at 74807) by debbugs.gnu.org; 8 Jan 2025 09:18:43 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jan 08 04:18:43 2025 Received: from localhost ([127.0.0.1]:45986 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tVSD5-0007zT-1P for submit <at> debbugs.gnu.org; Wed, 08 Jan 2025 04:18:43 -0500 Received: from mail-wm1-x32c.google.com ([2a00:1450:4864:20::32c]:52453) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <joaotavora@HIDDEN>) id 1tVSD3-0007zG-4O for 74807 <at> debbugs.gnu.org; Wed, 08 Jan 2025 04:18:41 -0500 Received: by mail-wm1-x32c.google.com with SMTP id 5b1f17b1804b1-4363ae65100so169239805e9.0 for <74807 <at> debbugs.gnu.org>; Wed, 08 Jan 2025 01:18:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1736327915; x=1736932715; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=CO/vc7tTQVyulDixjdMJLO/N2QvjfFnoau1sO6sNM4k=; b=Ohv7KFwgeVPiDBfFQIKq4BO5bACKe8nqZTqvHpdsRZU0q4y2iDN1TPEEpzDqUtTKb7 NEWbt4HSmVVDQI8nMDSOLmmEu/801SfG+WKb/rpWW+vsNt3jSr22ZdXsx3Tsvzy1I9BU 7zWRR4gxXtYNOJKnpIadrwKpWTwU/ihgFcQyt3eE3jWIf476KvAbT3aDhhRjlpzweQv1 I7b2msgGLEGqKzQYpMs+9PDpBkmSEktLaC0J63f8M4aeLgeoTUIZZwFUFEjNxt3F+z8k chhWQGdc1jl3xm+SSK4ESKdoxxEM5mb5SDFOsjWdmgS8R/CZ4jTLz9WoL42bAjGPqz7h 7Oow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736327915; x=1736932715; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=CO/vc7tTQVyulDixjdMJLO/N2QvjfFnoau1sO6sNM4k=; b=hYhsp+ynepIwswiuJDpG/Dx7RamUv8P006GJ5OPt5VJJ4Ljxu9wxt0F/EceEfapXx5 TZPjjYE/dg6ox8uSB4ZGu3nItpofhf8kQNufmzbbUJmG8slflpI6Jei7Hsh0vWuRA7G6 5wnUjizJpjRV3FS+aDGj/s7cm1y6yoM6SFKbnXRfdg5t+7BOpou/vjLricEKKDm3f0r0 iEfnsjzGkpc4aCNvfcwQDpOasnkr7mmVIQ8M8B3+NY+8rqbx9vlR2Yavk0EHRc1Mb+rM rkha6wjvtErOVTMeW9umLsHi6+pX9wmL5zjP/IwqDB1jmCwS2R1OLUqvVU8TXeGuj1aM l8+Q== X-Forwarded-Encrypted: i=1; AJvYcCXmeoQrUqQX8sfvm8i2XBYJW9jk9hXDKJf10LYYPsEgO5ekZqj20PWXsDp0hYpt+5Sec3wU0A==@debbugs.gnu.org X-Gm-Message-State: AOJu0YwKUpPhEyegv51ewKJoOW4mLgjcdM6X/Dtzzm4ULd3EvW63B8/C zIZpavOs01M4mHm53MCaUXBbBhs8NyXD/56cesgrvM+T39nd5LRB X-Gm-Gg: ASbGncvkbCsfQy7A+YevkI5GG9ANApILJ2WFAWzPlLKI9rYhRrPUZtkpj8Ara72rpk2 3zlCbdBcIlAqNqlyaSjwmbWsQN1Xkw0V71OWKypd2HPF80hyD5W3pbIqyLuGAphA1BrrwetAWG4 qH6XsB2Lic7YkQGmv8sEoP0d7BUfdOjHwqlPg0QpI7awrlOtG0g5VA1wWH3i57sfWHwdleAjYcu NC+PXRGJoFo7np2i2hIsmwuUQ7FjmqTk7dNBde1U+CvXNw= X-Google-Smtp-Source: AGHT+IGBpRc4sXaOI0IHsgDMhClLxFiSGf936WD7/jvSGLZHvQRcnt+8945sBLgfYJ5j5z5r+onaPA== X-Received: by 2002:a05:6000:1785:b0:386:381b:6690 with SMTP id ffacd0b85a97d-38a87320f75mr1338295f8f.31.1736327913459; Wed, 08 Jan 2025 01:18:33 -0800 (PST) Received: from krug ([62.28.172.234]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-436e2dc0069sm14205005e9.11.2025.01.08.01.18.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Jan 2025 01:18:32 -0800 (PST) From: =?utf-8?B?Sm/Do28gVMOhdm9yYQ==?= <joaotavora@HIDDEN> To: Troy Brown <brownts@HIDDEN> Subject: Re: bug#74807: 30.0.90; Eglot: Non-Markdown strings rendered as Markdown In-Reply-To: <CABvCZ406NdKoEEiJoXeq4+FPX+Xfg1zZVFOw2NF6wcFW_MP5BA@HIDDEN> (Troy Brown's message of "Tue, 7 Jan 2025 22:56:44 -0500") References: <CABvCZ42xu6aAhsmqxZm=PJ6=PX4YWsJkqT=RGreV4bRVPPiFgw@HIDDEN> <CALDnm53iKC=4XY5M=1HZXZBMCZbxmLgabM1inuZrpdQ0k5Voug@HIDDEN> <CABvCZ4109Rb1b0F6Uoq=QQ0EqqReKpYpPttEndtPU3yw3okDdA@HIDDEN> <86y100t6i7.fsf@HIDDEN> <87bjwkkvfq.fsf@HIDDEN> <CABvCZ41SbJWFZmpO+pw--mjfaMnom4AF9L71XD00mMr3jAv7KA@HIDDEN> <CALDnm51oSPCyaAD862w_F+K0U2wPi3hMj+HQiY8_w9onjYJ2Xg@HIDDEN> <CABvCZ406NdKoEEiJoXeq4+FPX+Xfg1zZVFOw2NF6wcFW_MP5BA@HIDDEN> Date: Wed, 08 Jan 2025 09:18:37 +0000 Message-ID: <87tta9k6j6.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 74807 Cc: Eli Zaretskii <eliz@HIDDEN>, 74807 <at> debbugs.gnu.org, felician.nemeth@HIDDEN 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 (-) Troy Brown <brownts@HIDDEN> writes: > On Mon, Jan 6, 2025 at 7:28=E2=80=AFPM Jo=C3=A3o T=C3=A1vora <joaotavora@= gmail.com> wrote: > data point. I think it's unwise to completely disregard that > information. I'm sure to treasure your remarks about my wisdom going forward. >> Those are the users I don't want to disturb. Who's to say that Eglot us= ers >> of your ada-language-server aren't quite happy to see "Indentation kind" >> fontified with a certain face and "spaces | tabs" in another face? > > I'm not quite sure what your point is. Other users may very well be content with the current Emacs behaviour, which gives them coloured documentation for ada-language-server. If I change it in the direction you argue, I destroy this value and create no new value. Is it still difficult to comprehend? > I am both a user of Eglot and a user of the language server and I'm > not happy with this behavior, nor do I think Eglot's behavior is > correct. How is my experience any less important than any other user? Never said it is. It's also no more important than other users. > I am trying to point out where the "Emacs experience" is subpar And you did that. Then I spent my time thinking about this and came to a different conclusion. > Moving on, I've done some digging and found historical information > that I believe is relevant. It's irrelevant, of course. Markdown is specifically designed to render non marked-up aka "plain" text reasonably. It would be much more relevant if you could actually find plaintext that Markdown mistakes for a link or something to get it to be actually harmful. Even then, because of what I've already stated, I'm not sure I'd change it. If it's such a hill to die on, I'd spend my time arguing with the ada-language-server author to specifically provide those snippets inside a MarkupContent struct. Jo=C3=A3o
bug-gnu-emacs@HIDDEN
:bug#74807
; Package emacs
.
Full text available.Received: (at 74807) by debbugs.gnu.org; 8 Jan 2025 03:57:05 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jan 07 22:57:05 2025 Received: from localhost ([127.0.0.1]:45504 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tVNBo-0001mm-P0 for submit <at> debbugs.gnu.org; Tue, 07 Jan 2025 22:57:05 -0500 Received: from mail-ed1-f42.google.com ([209.85.208.42]:43163) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <troy.s.brown@HIDDEN>) id 1tVNBm-0001mE-Jx for 74807 <at> debbugs.gnu.org; Tue, 07 Jan 2025 22:57:03 -0500 Received: by mail-ed1-f42.google.com with SMTP id 4fb4d7f45d1cf-5d3e829ff44so873773a12.0 for <74807 <at> debbugs.gnu.org>; Tue, 07 Jan 2025 19:57:02 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736308616; x=1736913416; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=CP/TY8rFYr+qF7XkC5o0AAWWn6wH3lCevJnUjhfqGyM=; b=nv8adzguV7cruMZpc3prRjfkQmdK6mAoTk+/vQCERdgZEvWP/Abq5ss7F+ysjwagqM G6BLkDZ/MQYxTqdR++dDHgKTuu12n5/4UUIee/sDBD4h8coJE9Kc/7+Jep0lZMmhrWoe KTqk++QHaKzi4GKw5lDjBY8M4jfyS3kYEGsiJatPDCuBSfJebpBB+nph0ClQDBCmfJkc KTZm/+lx+jlXO5qGROMNIEzIEp/rn9HKp3d56kUBOJT7B4deNYi9aJjdQTuTx6baeV3G 8IUWms5HJj7vc4hep3GJEuQAwmVnX70J7iAfjcWF7YwZt8zy2B8cMpgKHOmzCFncTIPc AQYA== X-Forwarded-Encrypted: i=1; AJvYcCVEvPFqli/0Syv7WOw6kFhQL0h2jB8k2W1oT74H25q67Risw3JmeTsnIWM/hTg8dkkqUzeeYg==@debbugs.gnu.org X-Gm-Message-State: AOJu0YziK53nLuLshUi8tShLx4uN3N5Omj41Sn2idh6JYuvxtpW3lGSM bY3aWIvmVqtT4XwS90yIqL0bHe2tNo4VA3jMeKAkz7C9an/LaHyk2vjSynii4hk= X-Gm-Gg: ASbGncvyFML9oLGhk5g/Z8u5ClXYYBAUGYixowFIVjQOuO/rGNz5e9ZrzK/Gz6E3S1j 3CUj1BdvOlq9vZ7+V9rPXwWD4WZ/kEgdsHfa3N1YPe441XaO4ZCxGGh9ubP0nkHPVzib7spyLnj pS3JfVS5dSO/V2wMyZYY2lN2Pma7BIDYerAFj3bfJBQGz1s+m9SRfLJ7tAsh9fXvyb785kMBXvD IOanMUWhYp0yZqbhgszfMEv3IRiAwVvLSvEVqMrCoKL7LO0Hvsyon6RYH8LXQBIUZEQCvpK7PGA SRuUVTmb97UTF6FvCBQb X-Google-Smtp-Source: AGHT+IEFOC5bWHkDktvzTOFQ2RE8IUB+UXKjPu+YESZs5HeMAYSXJp8Hwc/HjvRuHje52B23lkMWcQ== X-Received: by 2002:a17:906:4fd1:b0:aac:4f1:70bf with SMTP id a640c23a62f3a-ab2905017ecmr489907766b.12.1736308616076; Tue, 07 Jan 2025 19:56:56 -0800 (PST) Received: from mail-ed1-f41.google.com (mail-ed1-f41.google.com. [209.85.208.41]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-aac0f06c7a8sm2470167366b.182.2025.01.07.19.56.55 for <74807 <at> debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 07 Jan 2025 19:56:55 -0800 (PST) Received: by mail-ed1-f41.google.com with SMTP id 4fb4d7f45d1cf-5d3e829ff44so873761a12.0 for <74807 <at> debbugs.gnu.org>; Tue, 07 Jan 2025 19:56:55 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCXQqpedlf/j+H0cZWXM5K9Z5vdAPENWEOVkQ6rNjWMvBaZpG5MaiNQ/ZvBaafV7jQgUnxVJmw==@debbugs.gnu.org X-Received: by 2002:a17:907:6d1e:b0:aa6:bedc:2e4c with SMTP id a640c23a62f3a-ab28fd1c12amr549630366b.3.1736308615334; Tue, 07 Jan 2025 19:56:55 -0800 (PST) MIME-Version: 1.0 References: <CABvCZ42xu6aAhsmqxZm=PJ6=PX4YWsJkqT=RGreV4bRVPPiFgw@HIDDEN> <CALDnm53iKC=4XY5M=1HZXZBMCZbxmLgabM1inuZrpdQ0k5Voug@HIDDEN> <CABvCZ4109Rb1b0F6Uoq=QQ0EqqReKpYpPttEndtPU3yw3okDdA@HIDDEN> <86y100t6i7.fsf@HIDDEN> <87bjwkkvfq.fsf@HIDDEN> <CABvCZ41SbJWFZmpO+pw--mjfaMnom4AF9L71XD00mMr3jAv7KA@HIDDEN> <CALDnm51oSPCyaAD862w_F+K0U2wPi3hMj+HQiY8_w9onjYJ2Xg@HIDDEN> In-Reply-To: <CALDnm51oSPCyaAD862w_F+K0U2wPi3hMj+HQiY8_w9onjYJ2Xg@HIDDEN> From: Troy Brown <brownts@HIDDEN> Date: Tue, 7 Jan 2025 22:56:44 -0500 X-Gmail-Original-Message-ID: <CABvCZ406NdKoEEiJoXeq4+FPX+Xfg1zZVFOw2NF6wcFW_MP5BA@HIDDEN> X-Gm-Features: AbW1kvZdGqmwpnwVSm3usgoSyj-QqNxFs0pcVwGOYwo08G5J6SZVnJL1n4ZNquA Message-ID: <CABvCZ406NdKoEEiJoXeq4+FPX+Xfg1zZVFOw2NF6wcFW_MP5BA@HIDDEN> Subject: Re: bug#74807: 30.0.90; Eglot: Non-Markdown strings rendered as Markdown To: =?UTF-8?B?Sm/Do28gVMOhdm9yYQ==?= <joaotavora@HIDDEN> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.2 (/) X-Debbugs-Envelope-To: 74807 Cc: Eli Zaretskii <eliz@HIDDEN>, 74807 <at> debbugs.gnu.org, felician.nemeth@HIDDEN 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.8 (/) On Mon, Jan 6, 2025 at 7:28=E2=80=AFPM Jo=C3=A3o T=C3=A1vora <joaotavora@gm= ail.com> wrote: > > This VSCode argument is not meaningful to me. Not only does it not > command any special authority over disambiguation of an ambiguous spec, > but the "regular users of those servers" I'm concerned with are longtime > Eglot users, not VSCoders. I think it's a good indication that if users of a language server thought VSCode was behaving incorrectly, it would quickly be pointed out and corrected. Since the VSCode implementation stands as-is in this area, it is an indication that users of language servers believe that this is the correct behavior. The fact is, VSCode gets a lot more exposure than other LSP clients and should at least be used as a data point. I think it's unwise to completely disregard that information. > Those are the users I don't want to disturb. Who's to say that Eglot use= rs > of your ada-language-server aren't quite happy to see "Indentation kind" > fontified with a certain face and "spaces | tabs" in another face? I'm not quite sure what your point is. I am both a user of Eglot and a user of the language server and I'm not happy with this behavior, nor do I think Eglot's behavior is correct. How is my experience any less important than any other user? I am trying to point out where the "Emacs experience" is subpar in an effort to correct those undesirable behaviors and improve my Emacs user experience. Moving on, I've done some digging and found historical information that I believe is relevant. Initially, the specification only included "string" for the documentation field. (i.e., "documentation?: string;"). Then there was a Github issue logged proposing to support markdown in the CompletionItem.documentation (see https://github.com/microsoft/language-server-protocol/issues/111). This is evidence that the original specification did not allow markdown for strings in the "documentation" field. The following is the commit where the specification was updated to add MarkupContent as an additional option, thus remaining backwards compatible for servers who continue to specify non-markdown documentation as strings in addition to allowing servers to provide markdown using (the new then) MarkupContent: https://github.com/microsoft/language-server-protocol/commit/692c225dcb7= 37e287e393f148d193877b0a2dd54
bug-gnu-emacs@HIDDEN
:bug#74807
; Package emacs
.
Full text available.Received: (at 74807) by debbugs.gnu.org; 7 Jan 2025 00:28:56 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jan 06 19:28:56 2025 Received: from localhost ([127.0.0.1]:41039 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tUxSq-000412-Ck for submit <at> debbugs.gnu.org; Mon, 06 Jan 2025 19:28:56 -0500 Received: from mail-oa1-x2d.google.com ([2001:4860:4864:20::2d]:46546) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <joaotavora@HIDDEN>) id 1tUxSn-00040r-E2 for 74807 <at> debbugs.gnu.org; Mon, 06 Jan 2025 19:28:54 -0500 Received: by mail-oa1-x2d.google.com with SMTP id 586e51a60fabf-29f88004a92so9964642fac.1 for <74807 <at> debbugs.gnu.org>; Mon, 06 Jan 2025 16:28:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1736209732; x=1736814532; darn=debbugs.gnu.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=U7twCDThkY+McWkmdMfkzHOAeBJ6Lxl+xSk6rgMhs9I=; b=A0jC4qfzb0hj/voDqMK4iyU9OQkpOApdoY4LXcBsQCxUZ5D3/Df0r2vWM3GtnvW9qc aVUBNYMdhcihAzOCBaPsvobAKRTSUaZSUIaIz4nZa85hP9GUzjaZU13EJEFaWwTG9vKC 24X78fiq3VA6qpxsuXOeRP/CWhxzw6Ju9NBqGPWm7YxuMleTX13VoTHr8iz+zVSDsAhT L7lKSiJ2qq9LoXj6SdrNReTqTCZNI7vmt7/iuScBi97xQxnsxR5/FdfrWzXbEHX5KZza Hp4wwoGR3FAqUMJ1QXJCaeCe1F3dex9UU7EUu6/IFeGxKNU4t6AmGQwTdvyaesEYkwGh XOrw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736209732; x=1736814532; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=U7twCDThkY+McWkmdMfkzHOAeBJ6Lxl+xSk6rgMhs9I=; b=dSvp3KxSi8gRm/PQJrS6M6BRIsWOipFKfQh8lL2QQX8ZUIrW8BmzSNQXC4b6/+RPDP emSCuT+wSq3AieB0RTK2OdFBotNVvOPUTB4TKtz22121gdBf3Czygc0CCTjMA5SjZsT3 3Lbf+eeaSICGNWnfXXmHRyWEUlw9Inj9YDqTx3AiuvnwqC3fEz5HM3IBNBXSEOFqzq9f QoFqLTl0FRDMt6iqM0HCSdECMwTx4mV3X75HE7+Q/fUZN1LKzFpctArd69a1m+VacHc/ aTGZJqJokTWZhYWc47q7dBvxHS1V5gWCGUJc7ligfxBsxTxjNtptwdlZgxD0JYMubzxd F9bw== X-Forwarded-Encrypted: i=1; AJvYcCUIhvGDADhZzuXdNdkDuUUOSjqPYVobF3QZGzHDmskh1uDMgRk6WwbLaK7UCJx8uMuuST4BUg==@debbugs.gnu.org X-Gm-Message-State: AOJu0Yx5myMZpDgcF2CjctPNV6h2+IRke9c7MfPcQ1yELwlHstENfThd yZkXZmlkWWax3hO+PuYn94w7MCZFexdvbEmeufIwjiBVtYnm3W1RyxGQplV8TFlsoF14kgS3jo4 IZrz8PXHDPF4/6cf9Xib6MX937uI= X-Gm-Gg: ASbGncukU0PEjPJ4vwRiceDgwKRHvULLAKHr1ztU6+40YhiYcSqmndHTAGxMzVLafFR UJbe2CMEL+6Vts+SuzzmRekE62CnkHV6ntCojdg== X-Google-Smtp-Source: AGHT+IHu9KYDIF1GJBrzAO4d7QKhdv21BHxPKi6LDjNPpRWKzo4EcV5IwMbxkCc5zRR7fWHeMcwgjvXZ5GAZUBNpVmA= X-Received: by 2002:a05:6871:a58d:b0:297:2763:18d4 with SMTP id 586e51a60fabf-2a7fb0b4791mr30181532fac.15.1736209732392; Mon, 06 Jan 2025 16:28:52 -0800 (PST) MIME-Version: 1.0 References: <CABvCZ42xu6aAhsmqxZm=PJ6=PX4YWsJkqT=RGreV4bRVPPiFgw@HIDDEN> <CALDnm53iKC=4XY5M=1HZXZBMCZbxmLgabM1inuZrpdQ0k5Voug@HIDDEN> <CABvCZ4109Rb1b0F6Uoq=QQ0EqqReKpYpPttEndtPU3yw3okDdA@HIDDEN> <86y100t6i7.fsf@HIDDEN> <87bjwkkvfq.fsf@HIDDEN> <CABvCZ41SbJWFZmpO+pw--mjfaMnom4AF9L71XD00mMr3jAv7KA@HIDDEN> In-Reply-To: <CABvCZ41SbJWFZmpO+pw--mjfaMnom4AF9L71XD00mMr3jAv7KA@HIDDEN> From: =?UTF-8?B?Sm/Do28gVMOhdm9yYQ==?= <joaotavora@HIDDEN> Date: Tue, 7 Jan 2025 00:28:47 +0000 X-Gm-Features: AbW1kvZ1SP2yzsrAh_AnUsdjDpLbnoaVizjR11qEqWhpGXdsrl3ZQ8WsqgpmHlY Message-ID: <CALDnm51oSPCyaAD862w_F+K0U2wPi3hMj+HQiY8_w9onjYJ2Xg@HIDDEN> Subject: Re: bug#74807: 30.0.90; Eglot: Non-Markdown strings rendered as Markdown To: Troy Brown <brownts@HIDDEN> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 74807 Cc: Eli Zaretskii <eliz@HIDDEN>, 74807 <at> debbugs.gnu.org, felician.nemeth@HIDDEN 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 (-) On Mon, Jan 6, 2025 at 11:56=E2=80=AFPM Troy Brown <brownts@HIDDEN> = wrote: > > careful to do these kinds of changes. As you know, Eglot works with a > > large body of servers, and I wouldn't be at all surprised that some of > > those servers (or, more importantly, regular users of those servers) do ... > Furthermore, I would think that if, as you suggest, there were servers > which expected plain strings to be rendered as Markdown here, the > VSCode implementation would not avoid rendering plain strings as > markdown. This VSCode argument is not meaningful to me. Not only does it not command any special authority over disambiguation of an ambiguous spec, but the "regular users of those servers" I'm concerned with are longtime Eglot users, not VSCoders. Those are the users I don't want to disturb. Who's to say that Eglot users of your ada-language-server aren't quite happy to see "Indentation kind" fontified with a certain face and "spaces | tabs" in another face? > While you might argue that the example I've shown is a fringe example, > I'm sure you could envision other documentation content which uses > characters which are interpreted as markup, and shouldn't be. I stand > by my wording of "rendered incorrectly" when based on the content of > the documentation, you might see it displayed differently, possibly > more severely based on the documentation content. Yes, it _could_ happen. But ostensibly it didn't happen in your case. And if it did happen to the point of "incorrectness", as you posit, then we wou= ld see non-contrived bug reports on the matter. And even then, a much better fix would be for the server to be precise about its want for plain text. Jo=C3=A3o
bug-gnu-emacs@HIDDEN
:bug#74807
; Package emacs
.
Full text available.Received: (at 74807) by debbugs.gnu.org; 6 Jan 2025 23:56:59 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jan 06 18:56:59 2025 Received: from localhost ([127.0.0.1]:40999 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tUwxv-0002eR-1i for submit <at> debbugs.gnu.org; Mon, 06 Jan 2025 18:56:59 -0500 Received: from mail-ed1-f49.google.com ([209.85.208.49]:61743) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <troy.s.brown@HIDDEN>) id 1tUwxt-0002eE-DU for 74807 <at> debbugs.gnu.org; Mon, 06 Jan 2025 18:56:58 -0500 Received: by mail-ed1-f49.google.com with SMTP id 4fb4d7f45d1cf-5d3d0205bd5so22818124a12.3 for <74807 <at> debbugs.gnu.org>; Mon, 06 Jan 2025 15:56:57 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736207811; x=1736812611; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=TqLFrmkXPo6XVhFiFOOiDhnq6HEfDGxPS74aFA0HD0g=; b=rBtltVWImO8W8s0BJAye0gmDDb9C6LH0VWMpVuoS6K9GzNZVh03mZzkWwB4RCCeYJK oaCvg+I0L3bcdKNOdGsFbaLq76G4U6hM57t48Hx5assMDgc6K6DC7FxyxVpnNtaOmV4J QeOopIZhDLiZZHtDF0PFHOdvkcvlaPglecFP1G88gJdvRLaqrjiwZ7Zyie5IVtjD3/3Z vvr+79KTq8BBXfIcnUALoCwk+sYJT4TNkdal0SHI2QJ96NW7wu8JJBrFXpsKINi1DKif NTIWsKHZOcJMYJVGBIJSNjrcZOpU/3yagibiLlIoJR0dJ1HEy65HIaBCrLz04/hcv/d5 dBUw== X-Forwarded-Encrypted: i=1; AJvYcCUqHKsDDP07sy+D215Mj9V6tAWL7HG79lmuoelmBufu4/hdQSbDDqg2ZG9H+7DJtWrFG5Xd1A==@debbugs.gnu.org X-Gm-Message-State: AOJu0Ywd2ZY7b/qXJ2m/DW/gHfLTt6N2Zz7TvFeId1Y/mDb97xKjBzIU RocStEtktPP0dcmzSz/lHp5T6h1tAB/J+QdaKwnIVAifAaRNxxr/zp4S48X9ad4= X-Gm-Gg: ASbGnct/E+Tyu5FHhTBobtU+bOEZ38772lEP2JSv/+RyDcUJVlEMMeOsz1MtzrfjrZw v2quzwfKDSef26a6UF7Nm4AGdSLcmBQJm2FzoLyxCxY3Exf8rlYR7Axlfn0cTuw5rLJT7ZYWX7H 7x1EwVuEL/NcWJLNpWgVwm0pB9YbrNrNDDkrrX40bf/wfGBSI91TkjAtCm2zZngwRmdpuqav839 NcbuarGUtL4jCes1c2+u3or+50Hbq3uIwkwgJvZ4XZjD910zNVNvNtLq3/hgNzol+V4LN4POqCK JIBe9f9R527HK81+1lpF X-Google-Smtp-Source: AGHT+IEqrC88PmtSaS5SZ5njdqeEWg2xdXOdyJ1X6iW9W4znB+a1prhpBYEoGxJMHlJDGm0Zz7bhsg== X-Received: by 2002:a05:6402:5207:b0:5d0:bcdd:ff8f with SMTP id 4fb4d7f45d1cf-5d81dd5ed91mr53630204a12.4.1736207811065; Mon, 06 Jan 2025 15:56:51 -0800 (PST) Received: from mail-ej1-f48.google.com (mail-ej1-f48.google.com. [209.85.218.48]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-5d8f51faaf8sm8206938a12.2.2025.01.06.15.56.50 for <74807 <at> debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 06 Jan 2025 15:56:50 -0800 (PST) Received: by mail-ej1-f48.google.com with SMTP id a640c23a62f3a-aa67ac42819so2152755066b.0 for <74807 <at> debbugs.gnu.org>; Mon, 06 Jan 2025 15:56:50 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCXYzo2CuwlJwheR3LYxzBq1150oOhsVDkRvh9O+JinbT9ZoL6GZ3sfDbFN0nO47nMLcK6v3pA==@debbugs.gnu.org X-Received: by 2002:a17:906:730f:b0:aa6:80ed:e9a3 with SMTP id a640c23a62f3a-aac2d47a722mr5930290466b.35.1736207810411; Mon, 06 Jan 2025 15:56:50 -0800 (PST) MIME-Version: 1.0 References: <CABvCZ42xu6aAhsmqxZm=PJ6=PX4YWsJkqT=RGreV4bRVPPiFgw@HIDDEN> <CALDnm53iKC=4XY5M=1HZXZBMCZbxmLgabM1inuZrpdQ0k5Voug@HIDDEN> <CABvCZ4109Rb1b0F6Uoq=QQ0EqqReKpYpPttEndtPU3yw3okDdA@HIDDEN> <86y100t6i7.fsf@HIDDEN> <87bjwkkvfq.fsf@HIDDEN> In-Reply-To: <87bjwkkvfq.fsf@HIDDEN> From: Troy Brown <brownts@HIDDEN> Date: Mon, 6 Jan 2025 18:56:39 -0500 X-Gmail-Original-Message-ID: <CABvCZ41SbJWFZmpO+pw--mjfaMnom4AF9L71XD00mMr3jAv7KA@HIDDEN> Message-ID: <CABvCZ41SbJWFZmpO+pw--mjfaMnom4AF9L71XD00mMr3jAv7KA@HIDDEN> Subject: Re: bug#74807: 30.0.90; Eglot: Non-Markdown strings rendered as Markdown To: =?UTF-8?B?Sm/Do28gVMOhdm9yYQ==?= <joaotavora@HIDDEN> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.2 (/) X-Debbugs-Envelope-To: 74807 Cc: Eli Zaretskii <eliz@HIDDEN>, 74807 <at> debbugs.gnu.org, felician.nemeth@HIDDEN 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.8 (/) On Mon, Jan 6, 2025 at 6:56=E2=80=AFAM Jo=C3=A3o T=C3=A1vora <joaotavora@gm= ail.com> wrote: > > Hello Troy, I've finally had time to look at your bug report. Thanks, I appreciate it. > > > I've run across a situation where Eglot receives a documentation > > string as part of a "completionItem/resolve". The documentation is > > being provided as a regular "string", not MarkupContent, yet it is > > being rendered as markup. Since the string contains characters which > > are being interpreted as markdown (e.g., ":"), it causes the > > documentation to be rendered incorrectly. > > After perusing the spec, I'm not sure the simple strings cannot be > rendered as Markdown by the client. The spec doesn't seem to > disambiguate this. All it says about the documentation field of a > Completion structure, besides its polymorphic type, is that it is a > > /** > * A human-readable string that represents a doc-comment. > */ > documentation?: string | MarkupContent; > > > Anyway I think if the server wants to ensure something is _not_ rendered > as Markdown it should use the more advanced MarkupContent structure and > explicitly specify 'plaintext' in its MarkupKind field. > > I understand this sounds counter-intuitive, but I have to be very > careful to do these kinds of changes. As you know, Eglot works with a > large body of servers, and I wouldn't be at all surprised that some of > those servers (or, more importantly, regulat users of those servers) do > actually expect plain strings to be rendered as Markdown when such a > renderer is available. > I'm fairly confident that plain text is heavily implied by the type being "string". If the spec wanted to indicate that the string could be markup, it would have been specified as "MarkedString" instead of "string", like this: documentation?: MarkedString | MarkupContent; The fact that it is specified as "string" strongly suggests that this was intentional in order to indicate that it does not contain markup. I understand, and appreciate your careful consideration of these kinds of changes, however even the VSCode implementation does not treat this as markdown, as can be seen at the following link where when the CompletionItem.documentation is a "string", the markdown renderer is not applied to the documentation: https://github.com/microsoft/vscode/blob/aaa576acca01852119f6a6b0260cf5a= a74a30c58/src/vs/editor/contrib/suggest/browser/suggestWidgetDetails.ts#L16= 8-L185 Furthermore, I would think that if, as you suggest, there were servers which expected plain strings to be rendered as Markdown here, the VSCode implementation would not avoid rendering plain strings as markdown. > Lastly, and adding to my reluctance to address this in code, I don't > understand what ':' is tripping the renderer here. Last I checked, ':' > doesn't have any special meaning in Markdown, especially in the middle > of the sequence. Emacs's `markdown-view-mode` from the markdown.el > package does give the left and right parts of: > > Indentation kind: spaces | tabs > > a different face (I don't know why, the online renderers I've tried do > not do that). But I wouldn't say it is being rendered "incorrectly". > While you might argue that the example I've shown is a fringe example, I'm sure you could envision other documentation content which uses characters which are interpreted as markup, and shouldn't be. I stand by my wording of "rendered incorrectly" when based on the content of the documentation, you might see it displayed differently, possibly more severely based on the documentation content. > Anyway, I lean strongly towards not touching this. I hope you reconsider, given the additional information I've provided. Thanks, Troy.
bug-gnu-emacs@HIDDEN
:bug#74807
; Package emacs
.
Full text available.Received: (at 74807) by debbugs.gnu.org; 6 Jan 2025 11:56:14 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jan 06 06:56:14 2025 Received: from localhost ([127.0.0.1]:37035 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tUliQ-0007or-4Q for submit <at> debbugs.gnu.org; Mon, 06 Jan 2025 06:56:14 -0500 Received: from mail-wm1-x332.google.com ([2a00:1450:4864:20::332]:60757) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <joaotavora@HIDDEN>) id 1tUliN-0007oV-Lq for 74807 <at> debbugs.gnu.org; Mon, 06 Jan 2025 06:56:12 -0500 Received: by mail-wm1-x332.google.com with SMTP id 5b1f17b1804b1-4361f664af5so162766065e9.1 for <74807 <at> debbugs.gnu.org>; Mon, 06 Jan 2025 03:56:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1736164565; x=1736769365; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=1ssOHfdkx7fcruPuvTin6I/aS2J82873oydrQ2NPoDs=; b=BYwwrcAindKBfe5FljZBx8cuEb/KB1o9b3uSqJ5sIqVdDDkyRNKtZYKaIRdG5KH9hd Y9M4SJUMV5u1/+RgrU/Snl/pmheMXRhYXLCoxVZAUCJAa2lw8sha8GwjuOwOywH50D3E +CU+kviH5XmUuGm3KuTqAKT4YhRNfqn5Etw8aQK+m7SdwXNmPxAizPLgX179ePxoDDeS tX4PLS9lwdcnY9UrxWlH/1E4N3HnG/jWGxqnzvQtPR1gS63l864p03bGSXhCxR+GJ6bR 3E3L9przGkMRZ+Se1F1Dn6GYiEPE00xmEgyI2Ecinkd7BeX11DDw1vkyomwQreyqTssC EGGQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736164565; x=1736769365; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=1ssOHfdkx7fcruPuvTin6I/aS2J82873oydrQ2NPoDs=; b=Oh9tBTF0I+sGugU+JQo18gaENC2stexpBYJOwDCpZZtOuZ6yKrH0iI6xa1xP+qgzFe gVgaP4Qnr32YfSRSSVhe8VR5+FbTpjVCkzDH9kYNES7PlKA4KCnHV8edErciC+u3kDGb LMqW0SJw6qDCL0hdrLcudVyRa3bWAAUTeHkessfTOiEnositan6l1y/oE06wLeil1V8l W4p0Qi3np1kht06Q1BfiObQR3GQY/N5HbSLobNFQugrZQ3j86Wc21kcuOJvL/xSKgffk SgvUgBABXFEfkKyJPdlTKun8t/jhqUj6E6KvMi/VOmJ5tPRXHS3pKWOpOzKhJGOAaBxk uGww== X-Forwarded-Encrypted: i=1; AJvYcCXnqR7G33Bk1eBlFDfgjDJqRlKUWWlWgR8+wesqKoUVqSbJC3xipg8zY8wkuDKa58ndnrX0OQ==@debbugs.gnu.org X-Gm-Message-State: AOJu0YzLHM4d9b4OZBf3axjwouCKZMkDkJRbIefnuy4EH7+aUS83DJed 15eYehkJF7WL/zrFjyL+V7L/sSxkZ+zLdZUZGtxWS3/Sh3K2v2wF8qOaZQ== X-Gm-Gg: ASbGnctMg8u1l1HVhqjjxI7fB73puRiq264pMPupyGcpzoj+gOQVBoCvHRPjDblPk67 8fOYsAzEhDYVvDNLLDZ8GcZdSTobKso/IZJnS03dZF/bEJQIi2J6DG8NSozp+hFUcprv59IRIp+ 56Kyd1OfImBb52K9m8vk6Fp2YYP5IwfPfVdJRGo6vGLP7aUN6I8gPzWuS1cQxH5HaE/HhGQTQ/V w94yiqOgJTg4E1Us4BkJc/fK6GyMaP7Tty6F5NOcwe+19o= X-Google-Smtp-Source: AGHT+IGBxh3BY/q5nNJDQFgU68BL6bPBvAFeVz9cEdKu34/CtI8cC1JAuXkZHlmN5XOFmmTZes7doA== X-Received: by 2002:a05:600c:3b92:b0:434:a202:7a0d with SMTP id 5b1f17b1804b1-436ac71fa3fmr205643565e9.22.1736164565038; Mon, 06 Jan 2025 03:56:05 -0800 (PST) Received: from krug ([62.28.172.234]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-436611fc762sm563663505e9.11.2025.01.06.03.56.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Jan 2025 03:56:04 -0800 (PST) From: =?utf-8?B?Sm/Do28gVMOhdm9yYQ==?= <joaotavora@HIDDEN> To: Eli Zaretskii <eliz@HIDDEN> Subject: Re: bug#74807: 30.0.90; Eglot: Non-Markdown strings rendered as Markdown In-Reply-To: <86y100t6i7.fsf@HIDDEN> (Eli Zaretskii's message of "Sat, 28 Dec 2024 13:02:40 +0200") References: <CABvCZ42xu6aAhsmqxZm=PJ6=PX4YWsJkqT=RGreV4bRVPPiFgw@HIDDEN> <CALDnm53iKC=4XY5M=1HZXZBMCZbxmLgabM1inuZrpdQ0k5Voug@HIDDEN> <CABvCZ4109Rb1b0F6Uoq=QQ0EqqReKpYpPttEndtPU3yw3okDdA@HIDDEN> <86y100t6i7.fsf@HIDDEN> Date: Mon, 06 Jan 2025 11:56:09 +0000 Message-ID: <87bjwkkvfq.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 74807 Cc: felician.nemeth@HIDDEN, Troy Brown <brownts@HIDDEN>, 74807 <at> debbugs.gnu.org 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 (-) Eli Zaretskii <eliz@HIDDEN> writes: > Ping! Can we make some progress here, please? >> [jsonrpc] e[08:23:09.518] --> textDocument/hover[13] >> {"jsonrpc":"2.0","id":13,"method":"textDocument/hover","params":{"textDo= cument":{"uri":"file:///home/troy/junk/hello_world.gpr"},"position":{"line"= :4,"character":21}}} >> [jsonrpc] e[08:23:09.531] <-- textDocument/hover[13] >> {"jsonrpc":"2.0","id":13,"result":null} Hello Troy, I've finally had time to look at your bug report. > I've run across a situation where Eglot receives a documentation > string as part of a "completionItem/resolve". The documentation is > being provided as a regular "string", not MarkupContent, yet it is > being rendered as markup. Since the string contains characters which > are being interpreted as markdown (e.g., ":"), it causes the > documentation to be rendered incorrectly. After perusing the spec, I'm not sure the simple strings cannot be rendered as Markdown by the client. The spec doesn't seem to disambiguate this. All it says about the documentation field of a Completion structure, besides its polymorphic type, is that it is a /** * A human-readable string that represents a doc-comment. */ documentation?: string | MarkupContent; Anyway I think if the server wants to ensure something is _not_ rendered as Markdown it should use the more advanced MarkupContent structure and explicitly specify 'plaintext' in its MarkupKind field. I understand this sounds counter-intuitive, but I have to be very careful to do these kinds of changes. As you know, Eglot works with a large body of servers, and I wouldn't be at all surprised that some of those servers (or, more importantly, regulat users of those servers) do actually expect plain strings to be rendered as Markdown when such a renderer is available. Lastly, and adding to my reluctance to address this in code, I don't understand what ':' is tripping the renderer here. Last I checked, ':' doesn't have any special meaning in Markdown, especially in the middle of the sequence. Emacs's `markdown-view-mode` from the markdown.el package does give the left and right parts of: Indentation kind: spaces | tabs a different face (I don't know why, the online renderers I've tried do not do that). But I wouldn't say it is being rendered "incorrectly". Anyway, I lean strongly towards not touching this. Jo=C3=A3o
bug-gnu-emacs@HIDDEN
:bug#74807
; Package emacs
.
Full text available.Received: (at 74807) by debbugs.gnu.org; 28 Dec 2024 11:03:34 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Dec 28 06:03:34 2024 Received: from localhost ([127.0.0.1]:48930 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tRUbV-0006Ab-Ot for submit <at> debbugs.gnu.org; Sat, 28 Dec 2024 06:03:34 -0500 Received: from eggs.gnu.org ([209.51.188.92]:57982) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1tRUbS-0006AL-Nt for 74807 <at> debbugs.gnu.org; Sat, 28 Dec 2024 06:03:31 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1tRUbM-0003wB-KN; Sat, 28 Dec 2024 06:03:24 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:References:Subject:In-Reply-To:To:From: Date; bh=3whfdOBwwivB3+/TLmW1jSl94d9OWcmLVMfWiUaCZxY=; b=F8qI3OeSwzVN+pKNHTcX Igc8AkgFqs+vNg6a1mblk1P6Jy0Xmy6T0+pO1H2ykbZT89VST63AD0G/kpw+j2smrwBmNfVah+qLB 2I21t3QJpVB7YHmOnzhwkh2EGvZlxhg9zg+iw/G435OHlZuX2kxopwQpkur2RDyDWyiCV9tpqsfoB mCgzfBtVlLJLQrTBQjLD1yumzYrMnEJfYx/VP8EYQplfGUYs97ygkDX3ovDKyrvSn7OH2UwCxa9jD pBSgr8tSHTcSBCXOFkEGXGOzlt5AesCmPmIqivzLkV5WdNOuz7EC5f2nACcJZVbw58T7QZnsaKEhN kJ4oAhZRebOadA==; Date: Sat, 28 Dec 2024 13:02:40 +0200 Message-Id: <86y100t6i7.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: joaotavora@HIDDEN, Troy Brown <brownts@HIDDEN> In-Reply-To: <CABvCZ4109Rb1b0F6Uoq=QQ0EqqReKpYpPttEndtPU3yw3okDdA@HIDDEN> (message from Troy Brown on Thu, 12 Dec 2024 08:32:37 -0500) Subject: Re: bug#74807: 30.0.90; Eglot: Non-Markdown strings rendered as Markdown References: <CABvCZ42xu6aAhsmqxZm=PJ6=PX4YWsJkqT=RGreV4bRVPPiFgw@HIDDEN> <CALDnm53iKC=4XY5M=1HZXZBMCZbxmLgabM1inuZrpdQ0k5Voug@HIDDEN> <CABvCZ4109Rb1b0F6Uoq=QQ0EqqReKpYpPttEndtPU3yw3okDdA@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 74807 Cc: 74807 <at> debbugs.gnu.org, felician.nemeth@HIDDEN 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: -3.3 (---) Ping! Can we make some progress here, please? > Cc: 74807 <at> debbugs.gnu.org, felician.nemeth@HIDDEN > From: Troy Brown <brownts@HIDDEN> > Date: Thu, 12 Dec 2024 08:32:37 -0500 >=20 > On Thu, Dec 12, 2024 at 3:30=E2=80=AFAM Jo=C3=A3o T=C3=A1vora <joaotavora= @gmail.com> wrote: > > > > Please provide more of the eglot events log. > > >=20 > I wasn't sure how much more of the log you wanted, so I re-ran the > scenario and provided the entire log. >=20 > [jsonrpc] D[08:22:58.272] Running language server: ada_language_server > --language-gpr > [jsonrpc] e[08:22:58.272] --> initialize[1] > {"jsonrpc":"2.0","id":1,"method":"initialize","params":{"processId":22623= 52,"clientInfo":{"name":"Eglot","version":"1.17.30"},"rootPath":"/home/troy= /","rootUri":"file:///home/troy","initializationOptions":{},"capabilities":= {"workspace":{"applyEdit":true,"executeCommand":{"dynamicRegistration":fals= e},"workspaceEdit":{"documentChanges":true},"didChangeWatchedFiles":{"dynam= icRegistration":true},"symbol":{"dynamicRegistration":false},"configuration= ":true,"workspaceFolders":true},"textDocument":{"synchronization":{"dynamic= Registration":false,"willSave":true,"willSaveWaitUntil":true,"didSave":true= },"completion":{"dynamicRegistration":false,"completionItem":{"snippetSuppo= rt":true,"deprecatedSupport":true,"resolveSupport":{"properties":["document= ation","details","additionalTextEdits"]},"tagSupport":{"valueSet":[1]}},"co= ntextSupport":true},"hover":{"dynamicRegistration":false,"contentFormat":["= markdown","plaintext"]},"signatureHelp":{"dynamicRegistration":false,"signa= tureInformation":{"parameterInformation":{"labelOffsetSupport":true},"docum= entationFormat":["markdown","plaintext"],"activeParameterSupport":true}},"r= eferences":{"dynamicRegistration":false},"definition":{"dynamicRegistration= ":false,"linkSupport":true},"declaration":{"dynamicRegistration":false,"lin= kSupport":true},"implementation":{"dynamicRegistration":false,"linkSupport"= :true},"typeDefinition":{"dynamicRegistration":false,"linkSupport":true},"d= ocumentSymbol":{"dynamicRegistration":false,"hierarchicalDocumentSymbolSupp= ort":true,"symbolKind":{"valueSet":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,= 17,18,19,20,21,22,23,24,25,26]}},"documentHighlight":{"dynamicRegistration"= :false},"codeAction":{"dynamicRegistration":false,"resolveSupport":{"proper= ties":["edit","command"]},"dataSupport":true,"codeActionLiteralSupport":{"c= odeActionKind":{"valueSet":["quickfix","refactor","refactor.extract","refac= tor.inline","refactor.rewrite","source","source.organizeImports"]}},"isPref= erredSupport":true},"formatting":{"dynamicRegistration":false},"rangeFormat= ting":{"dynamicRegistration":false},"rename":{"dynamicRegistration":false},= "inlayHint":{"dynamicRegistration":false},"publishDiagnostics":{"relatedInf= ormation":false,"codeDescriptionSupport":false,"tagSupport":{"valueSet":[1,= 2]}}},"window":{"showDocument":{"support":true},"workDoneProgress":true},"g= eneral":{"positionEncodings":["utf-32","utf-8","utf-16"]},"experimental":{}= },"workspaceFolders":[{"uri":"file:///home/troy","name":"~/"}]}} > [jsonrpc] e[08:22:58.336] <-- initialize[1] > {"jsonrpc":"2.0","id":1,"result":{"capabilities":{"textDocumentSync":{"op= enClose":true,"change":1},"completionProvider":{"triggerCharacters":[" > ",".","'"],"resolveProvider":true},"hoverProvider":true,"declarationProvi= der":true,"definitionProvider":true,"documentSymbolProvider":{}}}} > [jsonrpc] e[08:22:58.336] --> initialized > {"jsonrpc":"2.0","method":"initialized","params":{}} > [jsonrpc] e[08:22:58.338] --> textDocument/didOpen > {"jsonrpc":"2.0","method":"textDocument/didOpen","params":{"textDocument"= :{"uri":"file:///home/troy/junk/hello_world.gpr","version":0,"languageId":"= gpr","text":"project > Hello_World is\n\n package Format is\n end Format;\n\nend > Hello_World;\n"}}} > [jsonrpc] e[08:22:58.338] --> workspace/didChangeConfiguration > {"jsonrpc":"2.0","method":"workspace/didChangeConfiguration","params":{"s= ettings":{}}} > [jsonrpc] e[08:22:58.845] --> textDocument/hover[2] > {"jsonrpc":"2.0","id":2,"method":"textDocument/hover","params":{"textDocu= ment":{"uri":"file:///home/troy/junk/hello_world.gpr"},"position":{"line":3= ,"character":0}}} > [jsonrpc] e[08:22:59.336] <-- textDocument/publishDiagnostics > {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"ur= i":"file:///home/troy/junk/hello_world.gpr","diagnostics":[]}} > [jsonrpc] e[08:23:00.291] <-- textDocument/hover[2] > {"jsonrpc":"2.0","id":2,"result":null} > [jsonrpc] e[08:23:00.839] --> textDocument/didChange > {"jsonrpc":"2.0","method":"textDocument/didChange","params":{"textDocumen= t":{"uri":"file:///home/troy/junk/hello_world.gpr","version":1},"contentCha= nges":[{"text":"project > Hello_World is\n\n package Format is\n\n end Format;\n\nend > Hello_World;\n"}]}} > [jsonrpc] e[08:23:00.839] --> textDocument/hover[3] > {"jsonrpc":"2.0","id":3,"method":"textDocument/hover","params":{"textDocu= ment":{"uri":"file:///home/troy/junk/hello_world.gpr"},"position":{"line":4= ,"character":3}}} > [jsonrpc] e[08:23:01.822] <-- textDocument/publishDiagnostics > {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"ur= i":"file:///home/troy/junk/hello_world.gpr","diagnostics":[]}} > [jsonrpc] e[08:23:01.823] <-- textDocument/hover[3] > {"jsonrpc":"2.0","id":3,"result":null} > [jsonrpc] e[08:23:01.839] --> textDocument/didChange > {"jsonrpc":"2.0","method":"textDocument/didChange","params":{"textDocumen= t":{"uri":"file:///home/troy/junk/hello_world.gpr","version":2},"contentCha= nges":[{"text":"project > Hello_World is\n\n package Format is\n\n\n end Format;\n\nend > Hello_World;\n"}]}} > [jsonrpc] e[08:23:01.839] --> textDocument/hover[4] > {"jsonrpc":"2.0","id":4,"method":"textDocument/hover","params":{"textDocu= ment":{"uri":"file:///home/troy/junk/hello_world.gpr"},"position":{"line":4= ,"character":0}}} > [jsonrpc] e[08:23:02.830] <-- textDocument/publishDiagnostics > {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"ur= i":"file:///home/troy/junk/hello_world.gpr","diagnostics":[]}} > [jsonrpc] e[08:23:02.861] <-- textDocument/hover[4] > {"jsonrpc":"2.0","id":4,"result":null} > [jsonrpc] e[08:23:03.358] --> textDocument/didChange > {"jsonrpc":"2.0","method":"textDocument/didChange","params":{"textDocumen= t":{"uri":"file:///home/troy/junk/hello_world.gpr","version":3},"contentCha= nges":[{"text":"project > Hello_World is\n\n package Format is\n\n \n \n end > Format;\n\nend Hello_World;\n"}]}} > [jsonrpc] e[08:23:03.358] --> textDocument/hover[5] > {"jsonrpc":"2.0","id":5,"method":"textDocument/hover","params":{"textDocu= ment":{"uri":"file:///home/troy/junk/hello_world.gpr"},"position":{"line":4= ,"character":6}}} > [jsonrpc] e[08:23:04.098] --> textDocument/didChange > {"jsonrpc":"2.0","method":"textDocument/didChange","params":{"textDocumen= t":{"uri":"file:///home/troy/junk/hello_world.gpr","version":4},"contentCha= nges":[{"text":"project > Hello_World is\n\n package Format is\n\n for \n \n end > Format;\n\nend Hello_World;\n"}]}} > [jsonrpc] e[08:23:04.098] --> textDocument/completion[6] > {"jsonrpc":"2.0","id":6,"method":"textDocument/completion","params":{"tex= tDocument":{"uri":"file:///home/troy/junk/hello_world.gpr"},"position":{"li= ne":4,"character":10},"context":{"triggerKind":2,"triggerCharacter":" > "}}} > [jsonrpc] e[08:23:04.303] <-- textDocument/publishDiagnostics > {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"ur= i":"file:///home/troy/junk/hello_world.gpr","diagnostics":[]}} > [jsonrpc] e[08:23:04.305] <-- textDocument/hover[5] > {"jsonrpc":"2.0","id":5,"result":null} > [jsonrpc] i[08:23:04.305] anxious continuation to 5 can't run, held up by= (6) > [jsonrpc] e[08:23:04.401] --> textDocument/hover[7] > {"jsonrpc":"2.0","id":7,"method":"textDocument/hover","params":{"textDocu= ment":{"uri":"file:///home/troy/junk/hello_world.gpr"},"position":{"line":4= ,"character":10}}} > [jsonrpc] e[08:23:04.568] <-- textDocument/publishDiagnostics > {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"ur= i":"file:///home/troy/junk/hello_world.gpr","diagnostics":[{"range":{"start= ":{"line":6,"character":3},"end":{"line":6,"character":3}},"severity":1,"so= urce":"project","message":"Expected > Identifier, got 'end'"}]}} > [jsonrpc] e[08:23:04.573] <-- textDocument/completion[6] > {"jsonrpc":"2.0","id":6,"result":{"isIncomplete":false,"items":[{"label":= "Width","documentation":"Max > line width","data":["Format","Width"]},{"label":"Indentation","documentat= ion":"Indentation > size","data":["Format","Indentation"]},{"label":"Indentation_Kind","docum= entation":"Indentation > kind: spaces | tabs","data":["Format","Indentation_Kind"]},{"label":"Inde= ntation_Continuation","documentation":"Continuation > Line Indentation > size","data":["Format","Indentation_Continuation"]},{"label":"End_Of_Line= ","documentation":"End > of line sequence: lf | > crlf","data":["Format","End_Of_Line"]},{"label":"Charset","documentation"= :"Charset > to use for source decoding","data":["Format","Charset"]}]}} > [jsonrpc] i[08:23:04.573] anxious continuation to 5 running now > [jsonrpc] e[08:23:04.573] <-- textDocument/hover[7] > {"jsonrpc":"2.0","id":7,"result":null} > [jsonrpc] e[08:23:04.585] --> completionItem/resolve[8] > {"jsonrpc":"2.0","id":8,"method":"completionItem/resolve","params":{"labe= l":"Charset","documentation":"Charset > to use for source decoding","data":["Format","Charset"]}} > [jsonrpc] e[08:23:04.590] <-- completionItem/resolve[8] > {"jsonrpc":"2.0","id":8,"result":{"label":"Charset","documentation":"Char= set > to use for source decoding","data":["Format","Charset"]}} > [jsonrpc] e[08:23:06.553] --> textDocument/didChange > {"jsonrpc":"2.0","method":"textDocument/didChange","params":{"textDocumen= t":{"uri":"file:///home/troy/junk/hello_world.gpr","version":5},"contentCha= nges":[{"text":"project > Hello_World is\n\n package Format is\n\n for en\n \n end > Format;\n\nend Hello_World;\n"}]}} > [jsonrpc] e[08:23:06.553] --> completionItem/resolve[9] > {"jsonrpc":"2.0","id":9,"method":"completionItem/resolve","params":{"labe= l":"End_Of_Line","documentation":"End > of line sequence: lf | crlf","data":["Format","End_Of_Line"]}} > [jsonrpc] e[08:23:06.743] --> textDocument/didChange > {"jsonrpc":"2.0","method":"textDocument/didChange","params":{"textDocumen= t":{"uri":"file:///home/troy/junk/hello_world.gpr","version":6},"contentCha= nges":[{"text":"project > Hello_World is\n\n package Format is\n\n for end\n \n > end Format;\n\nend Hello_World;\n"}]}} > [jsonrpc] e[08:23:06.743] --> completionItem/resolve[10] > {"jsonrpc":"2.0","id":10,"method":"completionItem/resolve","params":{"lab= el":"End_Of_Line","documentation":"End > of line sequence: lf | crlf","data":["Format","End_Of_Line"]}} > [jsonrpc] e[08:23:06.823] <-- textDocument/publishDiagnostics > {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"ur= i":"file:///home/troy/junk/hello_world.gpr","diagnostics":[{"range":{"start= ":{"line":6,"character":3},"end":{"line":6,"character":3}},"severity":1,"so= urce":"project","message":"Expected > 'use', got 'end'"}]}} > [jsonrpc] e[08:23:06.830] <-- [9] > {"jsonrpc":"2.0","id":9,"result":{"label":"End_Of_Line","documentation":"= End > of line sequence: lf | crlf","data":["Format","End_Of_Line"]}} > [jsonrpc] i[08:23:06.830] [9] Response to request 9 which has been cancel= ed > [jsonrpc] e[08:23:07.076] <-- textDocument/publishDiagnostics > {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"ur= i":"file:///home/troy/junk/hello_world.gpr","diagnostics":[{"range":{"start= ":{"line":4,"character":10},"end":{"line":4,"character":10}},"severity":1,"= source":"project","message":"Expected > Identifier, got 'end'"}]}} > [jsonrpc] e[08:23:07.105] <-- completionItem/resolve[10] > {"jsonrpc":"2.0","id":10,"result":{"label":"End_Of_Line","documentation":= "End > of line sequence: lf | crlf","data":["Format","End_Of_Line"]}} > [jsonrpc] e[08:23:07.245] --> textDocument/hover[11] > {"jsonrpc":"2.0","id":11,"method":"textDocument/hover","params":{"textDoc= ument":{"uri":"file:///home/troy/junk/hello_world.gpr"},"position":{"line":= 4,"character":13}}} > [jsonrpc] e[08:23:07.257] <-- textDocument/hover[11] > {"jsonrpc":"2.0","id":11,"result":null} > [jsonrpc] e[08:23:08.466] --> textDocument/didChange > {"jsonrpc":"2.0","method":"textDocument/didChange","params":{"textDocumen= t":{"uri":"file:///home/troy/junk/hello_world.gpr","version":7},"contentCha= nges":[{"text":"project > Hello_World is\n\n package Format is\n\n for end_of\n \n > end Format;\n\nend Hello_World;\n"}]}} > [jsonrpc] e[08:23:08.466] --> textDocument/hover[12] > {"jsonrpc":"2.0","id":12,"method":"textDocument/hover","params":{"textDoc= ument":{"uri":"file:///home/troy/junk/hello_world.gpr"},"position":{"line":= 4,"character":16}}} > [jsonrpc] e[08:23:08.725] <-- textDocument/publishDiagnostics > {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"ur= i":"file:///home/troy/junk/hello_world.gpr","diagnostics":[{"range":{"start= ":{"line":6,"character":3},"end":{"line":6,"character":3}},"severity":1,"so= urce":"project","message":"Expected > 'use', got 'end'"}]}} > [jsonrpc] e[08:23:08.727] <-- textDocument/hover[12] > {"jsonrpc":"2.0","id":12,"result":null} > [jsonrpc] e[08:23:09.013] --> textDocument/didChange > {"jsonrpc":"2.0","method":"textDocument/didChange","params":{"textDocumen= t":{"uri":"file:///home/troy/junk/hello_world.gpr","version":8},"contentCha= nges":[{"text":"project > Hello_World is\n\n package Format is\n\n for End_Of_Line\n > \n end Format;\n\nend Hello_World;\n"}]}} > [jsonrpc] e[08:23:09.281] <-- textDocument/publishDiagnostics > {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"ur= i":"file:///home/troy/junk/hello_world.gpr","diagnostics":[{"range":{"start= ":{"line":6,"character":3},"end":{"line":6,"character":3}},"severity":1,"so= urce":"project","message":"Expected > 'use', got 'end'"}]}} > [jsonrpc] e[08:23:09.518] --> textDocument/hover[13] > {"jsonrpc":"2.0","id":13,"method":"textDocument/hover","params":{"textDoc= ument":{"uri":"file:///home/troy/junk/hello_world.gpr"},"position":{"line":= 4,"character":21}}} > [jsonrpc] e[08:23:09.531] <-- textDocument/hover[13] > {"jsonrpc":"2.0","id":13,"result":null} >=20 >=20 >=20 >=20
bug-gnu-emacs@HIDDEN
:bug#74807
; Package emacs
.
Full text available.Received: (at submit) by debbugs.gnu.org; 12 Dec 2024 13:32:58 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Dec 12 08:32:58 2024 Received: from localhost ([127.0.0.1]:38199 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tLjJJ-0000tk-LK for submit <at> debbugs.gnu.org; Thu, 12 Dec 2024 08:32:58 -0500 Received: from lists.gnu.org ([209.51.188.17]:39328) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <troy.s.brown@HIDDEN>) id 1tLjJH-0000tc-3b for submit <at> debbugs.gnu.org; Thu, 12 Dec 2024 08:32:56 -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 <troy.s.brown@HIDDEN>) id 1tLjJG-00008U-U7 for bug-gnu-emacs@HIDDEN; Thu, 12 Dec 2024 08:32:54 -0500 Received: from mail-ed1-f42.google.com ([209.85.208.42]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <troy.s.brown@HIDDEN>) id 1tLjJE-0008JS-BL for bug-gnu-emacs@HIDDEN; Thu, 12 Dec 2024 08:32:54 -0500 Received: by mail-ed1-f42.google.com with SMTP id 4fb4d7f45d1cf-5d3d143376dso868489a12.3 for <bug-gnu-emacs@HIDDEN>; Thu, 12 Dec 2024 05:32:51 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734010371; x=1734615171; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=RNPxhv6rJ+aRZTZPb5OdQ1Rjn6U8GdwZaLiZVsFjVo4=; b=L/9y/DWXvmwY5eW4THO/4FIEgQCLhTK4tjEbOtNzmJdSl/gh+/fS5jspma25cKxoUP f7RPEk5bYa+QMzpPjO51cqL5q5FOFjuAMw3MNMCWECfMlwPH6wkTLwg79DBiCwscuYmN 7IHoN+XCpBToY4RCdPJNFu31yGHAGFXtNfkmi+8uBC8GnzGuUVwOjeFD1eeUp9TBx6Qj zT7YnLzafzO9wN+buCrS/5tteTRDBKzMEyrYydQPp5auEDsyMqWrqB3bgF9M7kAb0QIc 2GfS/2YtcfpELPToeqkyig5tgwHbDV6XFDYKhm3uGRIwphT47CV488D2HPnTXTXeeB+7 WzwQ== X-Gm-Message-State: AOJu0YxBKmr7abMyGbCU2J4No6wcEkAZw4ZMXvADtkvEP3GSD7Ygku2M sgz/b3ickUHgCLOsW54CLzyH/Sb0rd5hqu4wWD70dl3vXLVNzZ0HRZxvpm1IFHs= X-Gm-Gg: ASbGncvZEbrKTeWJ2C9JJZCV/mfIgxf0afNroSdnRa9pY0dODxsGPvfDu74X+g6L5Y0 KbNXOHw0a5RSu1cu7T30X/zWJzb1PRbwXVxHUWXzb1LWob6nEWyjh6V3Gn+IAYUigQbokmfR5LB SAhdvFe1Zg5aBWQTe9nays56cGtTdK82LyZsR247hrYJaQMnYEZrLwOJCE8W592DiIosKAdRvvk 4uyAftcwQWFlE6i8qdNgb1YXIgCIPCnJ6N8x6P5v7smrUmBsDgZLZ3rwuYu106w3j1CjUzPx1WO /LPBAJz594Y5B3mZ/b6h X-Google-Smtp-Source: AGHT+IHL0KPqyFw6XLoUIaXlDaczOh6CkE2Wxxtp609qJgza/aTY+oVDA/pelwDAjeV/r6Hp7K/KbA== X-Received: by 2002:a17:907:7703:b0:aa5:4982:abc8 with SMTP id a640c23a62f3a-aa6b11a0e55mr579538766b.22.1734010370166; Thu, 12 Dec 2024 05:32:50 -0800 (PST) Received: from mail-ed1-f47.google.com (mail-ed1-f47.google.com. [209.85.208.47]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-aa67f4c4ae4sm647125666b.111.2024.12.12.05.32.49 for <bug-gnu-emacs@HIDDEN> (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 12 Dec 2024 05:32:49 -0800 (PST) Received: by mail-ed1-f47.google.com with SMTP id 4fb4d7f45d1cf-5ceb03aadb1so800021a12.0 for <bug-gnu-emacs@HIDDEN>; Thu, 12 Dec 2024 05:32:49 -0800 (PST) X-Received: by 2002:a17:906:318d:b0:aa6:8bb4:5035 with SMTP id a640c23a62f3a-aa6b11ed581mr658329066b.31.1734010369663; Thu, 12 Dec 2024 05:32:49 -0800 (PST) MIME-Version: 1.0 References: <CABvCZ42xu6aAhsmqxZm=PJ6=PX4YWsJkqT=RGreV4bRVPPiFgw@HIDDEN> <CALDnm53iKC=4XY5M=1HZXZBMCZbxmLgabM1inuZrpdQ0k5Voug@HIDDEN> In-Reply-To: <CALDnm53iKC=4XY5M=1HZXZBMCZbxmLgabM1inuZrpdQ0k5Voug@HIDDEN> From: Troy Brown <brownts@HIDDEN> Date: Thu, 12 Dec 2024 08:32:37 -0500 X-Gmail-Original-Message-ID: <CABvCZ4109Rb1b0F6Uoq=QQ0EqqReKpYpPttEndtPU3yw3okDdA@HIDDEN> Message-ID: <CABvCZ4109Rb1b0F6Uoq=QQ0EqqReKpYpPttEndtPU3yw3okDdA@HIDDEN> Subject: Re: 30.0.90; Eglot: Non-Markdown strings rendered as Markdown To: =?UTF-8?B?Sm/Do28gVMOhdm9yYQ==?= <joaotavora@HIDDEN> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=209.85.208.42; envelope-from=troy.s.brown@HIDDEN; helo=mail-ed1-f42.google.com X-Spam_score_int: -15 X-Spam_score: -1.6 X-Spam_bar: - X-Spam_report: (-1.6 / 5.0 requ) BAYES_00=-1.9, FREEMAIL_FORGED_FROMDOMAIN=0.001, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.1 (-) X-Debbugs-Envelope-To: submit Cc: "simon254--- via Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@HIDDEN>, Felician Nemeth <felician.nemeth@HIDDEN> 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: -2.1 (--) On Thu, Dec 12, 2024 at 3:30=E2=80=AFAM Jo=C3=A3o T=C3=A1vora <joaotavora@g= mail.com> wrote: > > Please provide more of the eglot events log. > I wasn't sure how much more of the log you wanted, so I re-ran the scenario and provided the entire log. [jsonrpc] D[08:22:58.272] Running language server: ada_language_server --language-gpr [jsonrpc] e[08:22:58.272] --> initialize[1] {"jsonrpc":"2.0","id":1,"method":"initialize","params":{"processId":2262352= ,"clientInfo":{"name":"Eglot","version":"1.17.30"},"rootPath":"/home/troy/"= ,"rootUri":"file:///home/troy","initializationOptions":{},"capabilities":{"= workspace":{"applyEdit":true,"executeCommand":{"dynamicRegistration":false}= ,"workspaceEdit":{"documentChanges":true},"didChangeWatchedFiles":{"dynamic= Registration":true},"symbol":{"dynamicRegistration":false},"configuration":= true,"workspaceFolders":true},"textDocument":{"synchronization":{"dynamicRe= gistration":false,"willSave":true,"willSaveWaitUntil":true,"didSave":true},= "completion":{"dynamicRegistration":false,"completionItem":{"snippetSupport= ":true,"deprecatedSupport":true,"resolveSupport":{"properties":["documentat= ion","details","additionalTextEdits"]},"tagSupport":{"valueSet":[1]}},"cont= extSupport":true},"hover":{"dynamicRegistration":false,"contentFormat":["ma= rkdown","plaintext"]},"signatureHelp":{"dynamicRegistration":false,"signatu= reInformation":{"parameterInformation":{"labelOffsetSupport":true},"documen= tationFormat":["markdown","plaintext"],"activeParameterSupport":true}},"ref= erences":{"dynamicRegistration":false},"definition":{"dynamicRegistration":= false,"linkSupport":true},"declaration":{"dynamicRegistration":false,"linkS= upport":true},"implementation":{"dynamicRegistration":false,"linkSupport":t= rue},"typeDefinition":{"dynamicRegistration":false,"linkSupport":true},"doc= umentSymbol":{"dynamicRegistration":false,"hierarchicalDocumentSymbolSuppor= t":true,"symbolKind":{"valueSet":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17= ,18,19,20,21,22,23,24,25,26]}},"documentHighlight":{"dynamicRegistration":f= alse},"codeAction":{"dynamicRegistration":false,"resolveSupport":{"properti= es":["edit","command"]},"dataSupport":true,"codeActionLiteralSupport":{"cod= eActionKind":{"valueSet":["quickfix","refactor","refactor.extract","refacto= r.inline","refactor.rewrite","source","source.organizeImports"]}},"isPrefer= redSupport":true},"formatting":{"dynamicRegistration":false},"rangeFormatti= ng":{"dynamicRegistration":false},"rename":{"dynamicRegistration":false},"i= nlayHint":{"dynamicRegistration":false},"publishDiagnostics":{"relatedInfor= mation":false,"codeDescriptionSupport":false,"tagSupport":{"valueSet":[1,2]= }}},"window":{"showDocument":{"support":true},"workDoneProgress":true},"gen= eral":{"positionEncodings":["utf-32","utf-8","utf-16"]},"experimental":{}},= "workspaceFolders":[{"uri":"file:///home/troy","name":"~/"}]}} [jsonrpc] e[08:22:58.336] <-- initialize[1] {"jsonrpc":"2.0","id":1,"result":{"capabilities":{"textDocumentSync":{"open= Close":true,"change":1},"completionProvider":{"triggerCharacters":[" ",".","'"],"resolveProvider":true},"hoverProvider":true,"declarationProvide= r":true,"definitionProvider":true,"documentSymbolProvider":{}}}} [jsonrpc] e[08:22:58.336] --> initialized {"jsonrpc":"2.0","method":"initialized","params":{}} [jsonrpc] e[08:22:58.338] --> textDocument/didOpen {"jsonrpc":"2.0","method":"textDocument/didOpen","params":{"textDocument":{= "uri":"file:///home/troy/junk/hello_world.gpr","version":0,"languageId":"gp= r","text":"project Hello_World is\n\n package Format is\n end Format;\n\nend Hello_World;\n"}}} [jsonrpc] e[08:22:58.338] --> workspace/didChangeConfiguration {"jsonrpc":"2.0","method":"workspace/didChangeConfiguration","params":{"set= tings":{}}} [jsonrpc] e[08:22:58.845] --> textDocument/hover[2] {"jsonrpc":"2.0","id":2,"method":"textDocument/hover","params":{"textDocume= nt":{"uri":"file:///home/troy/junk/hello_world.gpr"},"position":{"line":3,"= character":0}}} [jsonrpc] e[08:22:59.336] <-- textDocument/publishDiagnostics {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"uri"= :"file:///home/troy/junk/hello_world.gpr","diagnostics":[]}} [jsonrpc] e[08:23:00.291] <-- textDocument/hover[2] {"jsonrpc":"2.0","id":2,"result":null} [jsonrpc] e[08:23:00.839] --> textDocument/didChange {"jsonrpc":"2.0","method":"textDocument/didChange","params":{"textDocument"= :{"uri":"file:///home/troy/junk/hello_world.gpr","version":1},"contentChang= es":[{"text":"project Hello_World is\n\n package Format is\n\n end Format;\n\nend Hello_World;\n"}]}} [jsonrpc] e[08:23:00.839] --> textDocument/hover[3] {"jsonrpc":"2.0","id":3,"method":"textDocument/hover","params":{"textDocume= nt":{"uri":"file:///home/troy/junk/hello_world.gpr"},"position":{"line":4,"= character":3}}} [jsonrpc] e[08:23:01.822] <-- textDocument/publishDiagnostics {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"uri"= :"file:///home/troy/junk/hello_world.gpr","diagnostics":[]}} [jsonrpc] e[08:23:01.823] <-- textDocument/hover[3] {"jsonrpc":"2.0","id":3,"result":null} [jsonrpc] e[08:23:01.839] --> textDocument/didChange {"jsonrpc":"2.0","method":"textDocument/didChange","params":{"textDocument"= :{"uri":"file:///home/troy/junk/hello_world.gpr","version":2},"contentChang= es":[{"text":"project Hello_World is\n\n package Format is\n\n\n end Format;\n\nend Hello_World;\n"}]}} [jsonrpc] e[08:23:01.839] --> textDocument/hover[4] {"jsonrpc":"2.0","id":4,"method":"textDocument/hover","params":{"textDocume= nt":{"uri":"file:///home/troy/junk/hello_world.gpr"},"position":{"line":4,"= character":0}}} [jsonrpc] e[08:23:02.830] <-- textDocument/publishDiagnostics {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"uri"= :"file:///home/troy/junk/hello_world.gpr","diagnostics":[]}} [jsonrpc] e[08:23:02.861] <-- textDocument/hover[4] {"jsonrpc":"2.0","id":4,"result":null} [jsonrpc] e[08:23:03.358] --> textDocument/didChange {"jsonrpc":"2.0","method":"textDocument/didChange","params":{"textDocument"= :{"uri":"file:///home/troy/junk/hello_world.gpr","version":3},"contentChang= es":[{"text":"project Hello_World is\n\n package Format is\n\n \n \n end Format;\n\nend Hello_World;\n"}]}} [jsonrpc] e[08:23:03.358] --> textDocument/hover[5] {"jsonrpc":"2.0","id":5,"method":"textDocument/hover","params":{"textDocume= nt":{"uri":"file:///home/troy/junk/hello_world.gpr"},"position":{"line":4,"= character":6}}} [jsonrpc] e[08:23:04.098] --> textDocument/didChange {"jsonrpc":"2.0","method":"textDocument/didChange","params":{"textDocument"= :{"uri":"file:///home/troy/junk/hello_world.gpr","version":4},"contentChang= es":[{"text":"project Hello_World is\n\n package Format is\n\n for \n \n end Format;\n\nend Hello_World;\n"}]}} [jsonrpc] e[08:23:04.098] --> textDocument/completion[6] {"jsonrpc":"2.0","id":6,"method":"textDocument/completion","params":{"textD= ocument":{"uri":"file:///home/troy/junk/hello_world.gpr"},"position":{"line= ":4,"character":10},"context":{"triggerKind":2,"triggerCharacter":" "}}} [jsonrpc] e[08:23:04.303] <-- textDocument/publishDiagnostics {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"uri"= :"file:///home/troy/junk/hello_world.gpr","diagnostics":[]}} [jsonrpc] e[08:23:04.305] <-- textDocument/hover[5] {"jsonrpc":"2.0","id":5,"result":null} [jsonrpc] i[08:23:04.305] anxious continuation to 5 can't run, held up by (= 6) [jsonrpc] e[08:23:04.401] --> textDocument/hover[7] {"jsonrpc":"2.0","id":7,"method":"textDocument/hover","params":{"textDocume= nt":{"uri":"file:///home/troy/junk/hello_world.gpr"},"position":{"line":4,"= character":10}}} [jsonrpc] e[08:23:04.568] <-- textDocument/publishDiagnostics {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"uri"= :"file:///home/troy/junk/hello_world.gpr","diagnostics":[{"range":{"start":= {"line":6,"character":3},"end":{"line":6,"character":3}},"severity":1,"sour= ce":"project","message":"Expected Identifier, got 'end'"}]}} [jsonrpc] e[08:23:04.573] <-- textDocument/completion[6] {"jsonrpc":"2.0","id":6,"result":{"isIncomplete":false,"items":[{"label":"W= idth","documentation":"Max line width","data":["Format","Width"]},{"label":"Indentation","documentatio= n":"Indentation size","data":["Format","Indentation"]},{"label":"Indentation_Kind","documen= tation":"Indentation kind: spaces | tabs","data":["Format","Indentation_Kind"]},{"label":"Indent= ation_Continuation","documentation":"Continuation Line Indentation size","data":["Format","Indentation_Continuation"]},{"label":"End_Of_Line",= "documentation":"End of line sequence: lf | crlf","data":["Format","End_Of_Line"]},{"label":"Charset","documentation":"= Charset to use for source decoding","data":["Format","Charset"]}]}} [jsonrpc] i[08:23:04.573] anxious continuation to 5 running now [jsonrpc] e[08:23:04.573] <-- textDocument/hover[7] {"jsonrpc":"2.0","id":7,"result":null} [jsonrpc] e[08:23:04.585] --> completionItem/resolve[8] {"jsonrpc":"2.0","id":8,"method":"completionItem/resolve","params":{"label"= :"Charset","documentation":"Charset to use for source decoding","data":["Format","Charset"]}} [jsonrpc] e[08:23:04.590] <-- completionItem/resolve[8] {"jsonrpc":"2.0","id":8,"result":{"label":"Charset","documentation":"Charse= t to use for source decoding","data":["Format","Charset"]}} [jsonrpc] e[08:23:06.553] --> textDocument/didChange {"jsonrpc":"2.0","method":"textDocument/didChange","params":{"textDocument"= :{"uri":"file:///home/troy/junk/hello_world.gpr","version":5},"contentChang= es":[{"text":"project Hello_World is\n\n package Format is\n\n for en\n \n end Format;\n\nend Hello_World;\n"}]}} [jsonrpc] e[08:23:06.553] --> completionItem/resolve[9] {"jsonrpc":"2.0","id":9,"method":"completionItem/resolve","params":{"label"= :"End_Of_Line","documentation":"End of line sequence: lf | crlf","data":["Format","End_Of_Line"]}} [jsonrpc] e[08:23:06.743] --> textDocument/didChange {"jsonrpc":"2.0","method":"textDocument/didChange","params":{"textDocument"= :{"uri":"file:///home/troy/junk/hello_world.gpr","version":6},"contentChang= es":[{"text":"project Hello_World is\n\n package Format is\n\n for end\n \n end Format;\n\nend Hello_World;\n"}]}} [jsonrpc] e[08:23:06.743] --> completionItem/resolve[10] {"jsonrpc":"2.0","id":10,"method":"completionItem/resolve","params":{"label= ":"End_Of_Line","documentation":"End of line sequence: lf | crlf","data":["Format","End_Of_Line"]}} [jsonrpc] e[08:23:06.823] <-- textDocument/publishDiagnostics {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"uri"= :"file:///home/troy/junk/hello_world.gpr","diagnostics":[{"range":{"start":= {"line":6,"character":3},"end":{"line":6,"character":3}},"severity":1,"sour= ce":"project","message":"Expected 'use', got 'end'"}]}} [jsonrpc] e[08:23:06.830] <-- [9] {"jsonrpc":"2.0","id":9,"result":{"label":"End_Of_Line","documentation":"En= d of line sequence: lf | crlf","data":["Format","End_Of_Line"]}} [jsonrpc] i[08:23:06.830] [9] Response to request 9 which has been canceled [jsonrpc] e[08:23:07.076] <-- textDocument/publishDiagnostics {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"uri"= :"file:///home/troy/junk/hello_world.gpr","diagnostics":[{"range":{"start":= {"line":4,"character":10},"end":{"line":4,"character":10}},"severity":1,"so= urce":"project","message":"Expected Identifier, got 'end'"}]}} [jsonrpc] e[08:23:07.105] <-- completionItem/resolve[10] {"jsonrpc":"2.0","id":10,"result":{"label":"End_Of_Line","documentation":"E= nd of line sequence: lf | crlf","data":["Format","End_Of_Line"]}} [jsonrpc] e[08:23:07.245] --> textDocument/hover[11] {"jsonrpc":"2.0","id":11,"method":"textDocument/hover","params":{"textDocum= ent":{"uri":"file:///home/troy/junk/hello_world.gpr"},"position":{"line":4,= "character":13}}} [jsonrpc] e[08:23:07.257] <-- textDocument/hover[11] {"jsonrpc":"2.0","id":11,"result":null} [jsonrpc] e[08:23:08.466] --> textDocument/didChange {"jsonrpc":"2.0","method":"textDocument/didChange","params":{"textDocument"= :{"uri":"file:///home/troy/junk/hello_world.gpr","version":7},"contentChang= es":[{"text":"project Hello_World is\n\n package Format is\n\n for end_of\n \n end Format;\n\nend Hello_World;\n"}]}} [jsonrpc] e[08:23:08.466] --> textDocument/hover[12] {"jsonrpc":"2.0","id":12,"method":"textDocument/hover","params":{"textDocum= ent":{"uri":"file:///home/troy/junk/hello_world.gpr"},"position":{"line":4,= "character":16}}} [jsonrpc] e[08:23:08.725] <-- textDocument/publishDiagnostics {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"uri"= :"file:///home/troy/junk/hello_world.gpr","diagnostics":[{"range":{"start":= {"line":6,"character":3},"end":{"line":6,"character":3}},"severity":1,"sour= ce":"project","message":"Expected 'use', got 'end'"}]}} [jsonrpc] e[08:23:08.727] <-- textDocument/hover[12] {"jsonrpc":"2.0","id":12,"result":null} [jsonrpc] e[08:23:09.013] --> textDocument/didChange {"jsonrpc":"2.0","method":"textDocument/didChange","params":{"textDocument"= :{"uri":"file:///home/troy/junk/hello_world.gpr","version":8},"contentChang= es":[{"text":"project Hello_World is\n\n package Format is\n\n for End_Of_Line\n \n end Format;\n\nend Hello_World;\n"}]}} [jsonrpc] e[08:23:09.281] <-- textDocument/publishDiagnostics {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"uri"= :"file:///home/troy/junk/hello_world.gpr","diagnostics":[{"range":{"start":= {"line":6,"character":3},"end":{"line":6,"character":3}},"severity":1,"sour= ce":"project","message":"Expected 'use', got 'end'"}]}} [jsonrpc] e[08:23:09.518] --> textDocument/hover[13] {"jsonrpc":"2.0","id":13,"method":"textDocument/hover","params":{"textDocum= ent":{"uri":"file:///home/troy/junk/hello_world.gpr"},"position":{"line":4,= "character":21}}} [jsonrpc] e[08:23:09.531] <-- textDocument/hover[13] {"jsonrpc":"2.0","id":13,"result":null}
bug-gnu-emacs@HIDDEN
:bug#74807
; Package emacs
.
Full text available.Received: (at submit) by debbugs.gnu.org; 12 Dec 2024 08:30:32 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Dec 12 03:30:32 2024 Received: from localhost ([127.0.0.1]:37540 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tLeaa-0007sc-EH for submit <at> debbugs.gnu.org; Thu, 12 Dec 2024 03:30:31 -0500 Received: from lists.gnu.org ([209.51.188.17]:46276) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <joaotavora@HIDDEN>) id 1tLeaY-0007sQ-3z for submit <at> debbugs.gnu.org; Thu, 12 Dec 2024 03:30:27 -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 <joaotavora@HIDDEN>) id 1tLeaV-0005zv-RR for bug-gnu-emacs@HIDDEN; Thu, 12 Dec 2024 03:30:25 -0500 Received: from mail-oa1-x34.google.com ([2001:4860:4864:20::34]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <joaotavora@HIDDEN>) id 1tLeaT-0002up-1K for bug-gnu-emacs@HIDDEN; Thu, 12 Dec 2024 03:30:22 -0500 Received: by mail-oa1-x34.google.com with SMTP id 586e51a60fabf-29ff5c75c21so796786fac.0 for <bug-gnu-emacs@HIDDEN>; Thu, 12 Dec 2024 00:30:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1733992217; x=1734597017; darn=gnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=/0eklhr7jwy4sbFPhYBI0reMHnz4KMr1KiSPJjSIpsg=; b=gsC6TBpXD/YUNXMUqs4VD55vHr6HkzKAJ881gmGENalztpHbwh5bEwtTpQobNoSCm3 Gu50HfVrW8gqD8Ue4Ww238/0EhAkqULJBrcVJraI7m5gQCDQKtPkP27Vj501cX9RA3Dz i0lGMkKZmLbiCxmB1oDyzpsbNb+iGy4hhwoqA6ZrebKRyVxvymUMD635jg1ZLkaiezFo zTCCK8tEJGRWN8bVIHAoWRxcXcLZtyhbb+CoeFioMq3oZqJyhvEZM8kSYxDn6lz/opxF cxLExTSYMhCRBWERQOLTY5ufJhYxn7K2zUjnJXZ+WJz07ZEcZjUrp9K71m46BHXQoq94 RCwA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733992217; x=1734597017; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=/0eklhr7jwy4sbFPhYBI0reMHnz4KMr1KiSPJjSIpsg=; b=vJEs2H0bUMitr0FpL+j0w07wxAClqbSpq4/5uwd+H7eku+VsYT6WUJqX1emIJtx+6T r7E4ht/DvpyYxM1YGBZn1AROMqQyX6LNoWqBK4RzvH6n3kzhaWiwqC1o3XCt8clF37mN CQOw+I2lBPXXtVPgyu5+5B0glSFhU5zG1GRgwJ8LjriyqaDM3JnnotvaX0izJrsO23/g wQqZPBsj+b/OYSAKsfFMDwy0YL+X4ZY3ixkrYXl9h0CQ/rCnv92bQgaVuSEozoJdMyc4 3sS1SSLFcUqH0cbfenHQEiSpWBJwceI0Sv8lxOPeswFXvte1HJhGjLYHKb1vxmnnbNhO La5Q== X-Gm-Message-State: AOJu0YwIXCmpkzXv8Qxr8fupljO90G0AN9IpMMi0Sl6KPK7wwLyMy2TT qNCkVA7qbci9UXvTj0cgEgjzLlhEGcPy3tJKXtBuB3laXlWrbQitx5zN3CfY/3F6nxp2JIo5D+W QCuE8sS0p/nnC0bh0FDxFoIzWq/A= X-Gm-Gg: ASbGncukdUOlrlcFxlOK20YjOrxOVCcrn5YAIy0Td5/0CSmLXb0x9k1dBgR0lrEcU5/ BjqCtUzZZCzJDDCp8ejRx/GszRwSJNlgJZ+hZlw== X-Google-Smtp-Source: AGHT+IF4PPARS5dWyul2Dky9KJszoIt5NxojJDCniBu53WQL6qMGmBJaK0uqQiQXSTsBepknFckSl4qnURx9uh8IcE8= X-Received: by 2002:a05:6870:148e:b0:297:2955:b009 with SMTP id 586e51a60fabf-2a3852f54ebmr1484487fac.1.1733992217391; Thu, 12 Dec 2024 00:30:17 -0800 (PST) MIME-Version: 1.0 References: <CABvCZ42xu6aAhsmqxZm=PJ6=PX4YWsJkqT=RGreV4bRVPPiFgw@HIDDEN> In-Reply-To: <CABvCZ42xu6aAhsmqxZm=PJ6=PX4YWsJkqT=RGreV4bRVPPiFgw@HIDDEN> From: =?UTF-8?B?Sm/Do28gVMOhdm9yYQ==?= <joaotavora@HIDDEN> Date: Thu, 12 Dec 2024 08:30:05 +0000 Message-ID: <CALDnm53iKC=4XY5M=1HZXZBMCZbxmLgabM1inuZrpdQ0k5Voug@HIDDEN> Subject: Re: 30.0.90; Eglot: Non-Markdown strings rendered as Markdown To: Troy Brown <brownts@HIDDEN> Content-Type: multipart/alternative; boundary="000000000000293e7906290e8648" Received-SPF: pass client-ip=2001:4860:4864:20::34; envelope-from=joaotavora@HIDDEN; helo=mail-oa1-x34.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.3 (-) X-Debbugs-Envelope-To: submit Cc: "simon254--- via Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@HIDDEN>, Felician Nemeth <felician.nemeth@HIDDEN> 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: -3.3 (---) --000000000000293e7906290e8648 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Please provide more of the eglot events log. Thanks, Jo=C3=A3o On Thu, Dec 12, 2024, 00:46 Troy Brown <brownts@HIDDEN> wrote: > I've run across a situation where Eglot receives a documentation > string as part of a "completionItem/resolve". The documentation is > being provided as a regular "string", not MarkupContent, yet it is > being rendered as markup. Since the string contains characters which > are being interpreted as markdown (e.g., ":"), it causes the > documentation to be rendered incorrectly. > > [jsonrpc] e[19:22:22.458] <-- completionItem/resolve[21] > > {"jsonrpc":"2.0","id":21,"result":{"label":"End_Of_Line","documentation":= "End > of line sequence: lf | crlf","data":["Format","End_Of_Line"]}} > > I believe this is because `eglot-completion-at-point` calls > `eglot--format-markup` for the documentation string provided in the > CompletionItem without first checking to see if it really should be > formatted (i.e., if it is a string it shouldn't be formatted). While > `eglot--format-markup` will handle strings, it should only be passed > strings which are intended to be markup formated (specified as > MarkedString in the specification). > > I believe this issue might affect more than just the documentation > string for CompletionItem, it's possible this also affects other > places which specify fields as "string | MarkupContent" (such as the > SignatureInformation documentation field). > --000000000000293e7906290e8648 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"auto">Please provide more of the eglot events log.=C2=A0<div di= r=3D"auto"><br></div><div dir=3D"auto">Thanks,=C2=A0</div><div dir=3D"auto"= >Jo=C3=A3o</div></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" class= =3D"gmail_attr">On Thu, Dec 12, 2024, 00:46 Troy Brown <<a href=3D"mailt= o:brownts@HIDDEN">brownts@HIDDEN</a>> wrote:<br></div><blo= ckquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left= :1px solid rgb(204,204,204);padding-left:1ex">I've run across a situati= on where Eglot receives a documentation<br> string as part of a "completionItem/resolve".=C2=A0 The documenta= tion is<br> being provided as a regular "string", not MarkupContent, yet it i= s<br> being rendered as markup.=C2=A0 Since the string contains characters which<= br> are being interpreted as markdown (e.g., ":"), it causes the<br> documentation to be rendered incorrectly.<br> <br> [jsonrpc] e[19:22:22.458]=C2=A0 =C2=A0 =C2=A0<-- completionItem/resolve[= 21]<br> {"jsonrpc":"2.0","id":21,"result":{= "label":"End_Of_Line","documentation":"E= nd<br> of line sequence: lf | crlf","data":["Format",&quo= t;End_Of_Line"]}}<br> <br> I believe this is because `eglot-completion-at-point` calls<br> `eglot--format-markup` for the documentation string provided in the<br> CompletionItem without first checking to see if it really should be<br> formatted (i.e., if it is a string it shouldn't be formatted).=C2=A0 Wh= ile<br> `eglot--format-markup` will handle strings, it should only be passed<br> strings which are intended to be markup formated (specified as<br> MarkedString in the specification).<br> <br> I believe this issue might affect more than just the documentation<br> string for CompletionItem, it's possible this also affects other<br> places which specify fields as "string | MarkupContent" (such as = the<br> SignatureInformation documentation field).<br> </blockquote></div> --000000000000293e7906290e8648--
bug-gnu-emacs@HIDDEN
:bug#74807
; Package emacs
.
Full text available.Received: (at submit) by debbugs.gnu.org; 12 Dec 2024 00:46:21 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Dec 11 19:46:21 2024 Received: from localhost ([127.0.0.1]:36902 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tLXLQ-0006rM-U2 for submit <at> debbugs.gnu.org; Wed, 11 Dec 2024 19:46:21 -0500 Received: from lists.gnu.org ([209.51.188.17]:44406) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <troy.s.brown@HIDDEN>) id 1tLXLP-0006r9-H8 for submit <at> debbugs.gnu.org; Wed, 11 Dec 2024 19:46:20 -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 <troy.s.brown@HIDDEN>) id 1tLXLP-0004oW-6m for bug-gnu-emacs@HIDDEN; Wed, 11 Dec 2024 19:46:19 -0500 Received: from mail-ej1-f48.google.com ([209.85.218.48]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <troy.s.brown@HIDDEN>) id 1tLXLN-000340-GM for bug-gnu-emacs@HIDDEN; Wed, 11 Dec 2024 19:46:18 -0500 Received: by mail-ej1-f48.google.com with SMTP id a640c23a62f3a-aa69251292dso3679766b.2 for <bug-gnu-emacs@HIDDEN>; Wed, 11 Dec 2024 16:46:16 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733964374; x=1734569174; h=cc:to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=t9w3Xqh4ofTfXsQOVvval77cXIOULfDz/UsqHuxsebE=; b=j7avH8SoVtNFR+2fqK5LsH75h8GpnCsznwkQ4u4R4eLjg9f17yh+IsRkkSKbPKuu0l qlWxFOvvCTNid5Z1zpX8HdEMyLDvOQ0Yk68SPq41G7lxmed6lUp0B/1F+MnjrhPm+4Y/ CTYV2rjdXv93eHGnpmLwUQO8QX+HmgnzsC/oMrZy/GnHw3DARKA7hNI0XnToXy/Entu4 rD8PQOZKkPG9ZqD4P8NkpniZfffUkf51VAj+/bhBJm0x0vwZT7ow1Z84tJ1dTMZx2Q6b Mr3S06+7IJmWJYn2Gmbi1ks1Pg3XxrPaiwWZvI9Wm4YYRcTDdoNJYLiTVPRdRimQd3FQ X/ow== X-Gm-Message-State: AOJu0YzIaYOXdlwZoLi1yyl5E0Ca8k+Wi9rP28RJtfpM07YAgAd4J64+ FuJ2TAa6xFVMxppodelpru/cFsBFbJLSR9EVaH6gu/KI1nJOLI0D6zxFPOflWKE= X-Gm-Gg: ASbGncuPPlTd+mOLGTd7NhPQEYQh/lDEDpw0XK4bLiDFK/+G/FGjPWVFd5ym6JE1sMk E6AyLML3IBC5v2sWQ9LO1JfWPmIjIJSFQWM5ACqdq1AoGqX1lYvFR9rUl84jRQO1FUTtEiby3Om 5Yd7NkOdFNxCoFeQ2AKJlLzGvh6yv8929/Iza3qJ8KYj85SNvByiHp7QmoptjoyhYAYwnZmvqAE vbU3oAjNF7Q2+Lh2+IbU2cWEPANdMBE4c7uP1CLILcoFnEqTsLQQFYodtWwy8UggaXhxRv6YlIO YFQ3pkDeH/zInD/hW+Ew X-Google-Smtp-Source: AGHT+IHjEoXSrHAj0uGVbYw4DB1Gyly/sXEWW4pgYm3+RgOw2hiQFHtdHqF02nsDxZ+t+eX/vAqDsQ== X-Received: by 2002:a17:906:9d2:b0:aa6:8520:718b with SMTP id a640c23a62f3a-aa6b13df104mr437469766b.56.1733964374362; Wed, 11 Dec 2024 16:46:14 -0800 (PST) Received: from mail-ej1-f44.google.com (mail-ej1-f44.google.com. [209.85.218.44]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-aa69dd81272sm373407266b.161.2024.12.11.16.46.14 for <bug-gnu-emacs@HIDDEN> (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 11 Dec 2024 16:46:14 -0800 (PST) Received: by mail-ej1-f44.google.com with SMTP id a640c23a62f3a-aa69251292dso3677666b.2 for <bug-gnu-emacs@HIDDEN>; Wed, 11 Dec 2024 16:46:14 -0800 (PST) X-Received: by 2002:a17:906:3cb1:b0:aa6:a501:9b3b with SMTP id a640c23a62f3a-aa6b11a33f8mr481558766b.19.1733964373948; Wed, 11 Dec 2024 16:46:13 -0800 (PST) MIME-Version: 1.0 From: Troy Brown <brownts@HIDDEN> Date: Wed, 11 Dec 2024 19:46:03 -0500 X-Gmail-Original-Message-ID: <CABvCZ42xu6aAhsmqxZm=PJ6=PX4YWsJkqT=RGreV4bRVPPiFgw@HIDDEN> Message-ID: <CABvCZ42xu6aAhsmqxZm=PJ6=PX4YWsJkqT=RGreV4bRVPPiFgw@HIDDEN> Subject: 30.0.90; Eglot: Non-Markdown strings rendered as Markdown To: bug-gnu-emacs@HIDDEN Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=209.85.218.48; envelope-from=troy.s.brown@HIDDEN; helo=mail-ej1-f48.google.com X-Spam_score_int: -15 X-Spam_score: -1.6 X-Spam_bar: - X-Spam_report: (-1.6 / 5.0 requ) BAYES_00=-1.9, FREEMAIL_FORGED_FROMDOMAIN=0.001, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.1 (-) X-Debbugs-Envelope-To: submit Cc: Felician Nemeth <felician.nemeth@HIDDEN>, =?UTF-8?B?Sm/Do28gVMOhdm9yYQ==?= <joaotavora@HIDDEN> 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: -2.1 (--) I've run across a situation where Eglot receives a documentation string as part of a "completionItem/resolve". The documentation is being provided as a regular "string", not MarkupContent, yet it is being rendered as markup. Since the string contains characters which are being interpreted as markdown (e.g., ":"), it causes the documentation to be rendered incorrectly. [jsonrpc] e[19:22:22.458] <-- completionItem/resolve[21] {"jsonrpc":"2.0","id":21,"result":{"label":"End_Of_Line","documentation":"End of line sequence: lf | crlf","data":["Format","End_Of_Line"]}} I believe this is because `eglot-completion-at-point` calls `eglot--format-markup` for the documentation string provided in the CompletionItem without first checking to see if it really should be formatted (i.e., if it is a string it shouldn't be formatted). While `eglot--format-markup` will handle strings, it should only be passed strings which are intended to be markup formated (specified as MarkedString in the specification). I believe this issue might affect more than just the documentation string for CompletionItem, it's possible this also affects other places which specify fields as "string | MarkupContent" (such as the SignatureInformation documentation field).
Troy Brown <brownts@HIDDEN>
:bug-gnu-emacs@HIDDEN
.
Full text available.bug-gnu-emacs@HIDDEN
:bug#74807
; Package emacs
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.