From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= Newsgroups: gmane.emacs.bugs Subject: bug#74807: 30.0.90; Eglot: Non-Markdown strings rendered as Markdown Date: Tue, 7 Jan 2025 00:28:47 +0000 Message-ID: References: <86y100t6i7.fsf@gnu.org> <87bjwkkvfq.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29847"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , 74807@debbugs.gnu.org, felician.nemeth@gmail.com To: Troy Brown Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jan 07 01:29:40 2025 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1tUxTX-0007dP-Vn for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 07 Jan 2025 01:29:40 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tUxSx-00027C-Mz; Mon, 06 Jan 2025 19:29:03 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tUxSw-00026o-LV for bug-gnu-emacs@gnu.org; Mon, 06 Jan 2025 19:29:02 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tUxSw-0004rV-DK for bug-gnu-emacs@gnu.org; Mon, 06 Jan 2025 19:29:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=Date:From:In-Reply-To:References:MIME-Version:To:Subject; bh=U7twCDThkY+McWkmdMfkzHOAeBJ6Lxl+xSk6rgMhs9I=; b=Azo4GLeVAlzK0yuS5j842TpmWI0xFP4xF0+uLwx5GTPTUi1buWoQdeDV2RvAwxA/wbvY0nyMk7T8Wmgj6saJREHGjiDV5AXjjatwm0q0F6cO0B4R296Gkc8sytTw4OoSeS6YGyh8xQzYEgt7i2SqAAtEcY0XYeQkMrvDbK6ytg7+j5NABKirUNsvbCw2vU32CyfQfcblPvtlijTzMMJ7hz4GOhRCdEwTNj/mTTXjGLFMSTtFWhlk6Li+tTW5WIWYGuJRbm+pfG3xnoHTgzrXKi1f9nCYBw2qiy/sWi0fUdeIrODJDtVo+WjRR2GUVeSq5Q/G64rXgh428zevRTCjjA==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tUxSw-00041d-6I for bug-gnu-emacs@gnu.org; Mon, 06 Jan 2025 19:29:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 07 Jan 2025 00:29:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74807 X-GNU-PR-Package: emacs Original-Received: via spool by 74807-submit@debbugs.gnu.org id=B74807.173620973615447 (code B ref 74807); Tue, 07 Jan 2025 00:29:02 +0000 Original-Received: (at 74807) by debbugs.gnu.org; 7 Jan 2025 00:28:56 +0000 Original-Received: from localhost ([127.0.0.1]:41039 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tUxSq-000412-Ck for submit@debbugs.gnu.org; Mon, 06 Jan 2025 19:28:56 -0500 Original-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 ) id 1tUxSn-00040r-E2 for 74807@debbugs.gnu.org; Mon, 06 Jan 2025 19:28:54 -0500 Original-Received: by mail-oa1-x2d.google.com with SMTP id 586e51a60fabf-29f88004a92so9964642fac.1 for <74807@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) In-Reply-To: X-Gm-Features: AbW1kvZ1SP2yzsrAh_AnUsdjDpLbnoaVizjR11qEqWhpGXdsrl3ZQ8WsqgpmHlY X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:298706 Archived-At: On Mon, Jan 6, 2025 at 11:56=E2=80=AFPM Troy Brown = 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