From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Troy Brown Newsgroups: gmane.emacs.bugs Subject: bug#74807: 30.0.90; Eglot: Non-Markdown strings rendered as Markdown Date: Wed, 8 Jan 2025 18:37:22 -0500 Message-ID: References: <86y100t6i7.fsf@gnu.org> <87bjwkkvfq.fsf@gmail.com> <87tta9k6j6.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="1713"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , 74807@debbugs.gnu.org, felician.nemeth@gmail.com To: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jan 09 00:38:34 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 1tVfdB-0000H6-OS for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 09 Jan 2025 00:38:34 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tVfcj-0002fS-Dz; Wed, 08 Jan 2025 18:38:05 -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 1tVfch-0002fE-MQ for bug-gnu-emacs@gnu.org; Wed, 08 Jan 2025 18:38:03 -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 1tVfch-0005HU-CW for bug-gnu-emacs@gnu.org; Wed, 08 Jan 2025 18:38:03 -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=69EBLjc+a9vQe4+zrJytOes1wD+OGl+hO23tR9GifSw=; b=BH+rEMCEcGhetB39Ve6f6qBm8BHZENY2m0l6gYHSL+p31KMHz/0DOcQxCr9COce7S6wYdxmdk6WgcYlBya+6DlsnfDwIrc4i7KbXwTzuQpX1q0WYsO/fsnvumLQ1DmganwoNKD3uUqgmFdlFzw8iNlhzPM64UHHF4aUdcqxSQWSUsIiiiAsAz1USF0jplnrVIgUe0igKT8gv+jWEOWNGAscZcP2GxHSeJYPffn6x3Q2OZ3beViigIq4U4AIfmwqZufmGjrsn5TKe1NppEqYzA+5hIMRPq5oI9zkLXPjbv2zlUg01TTdj91ZEuCCjfTzepSVEIyxkLg9tDxmsGTotNQ==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tVfcg-0001qK-BK for bug-gnu-emacs@gnu.org; Wed, 08 Jan 2025 18:38:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Troy Brown Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 08 Jan 2025 23:38: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.17363794647046 (code B ref 74807); Wed, 08 Jan 2025 23:38:02 +0000 Original-Received: (at 74807) by debbugs.gnu.org; 8 Jan 2025 23:37:44 +0000 Original-Received: from localhost ([127.0.0.1]:49511 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tVfcN-0001pa-SV for submit@debbugs.gnu.org; Wed, 08 Jan 2025 18:37:44 -0500 Original-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 ) id 1tVfcL-0001pL-W9 for 74807@debbugs.gnu.org; Wed, 08 Jan 2025 18:37:42 -0500 Original-Received: by mail-ed1-f49.google.com with SMTP id 4fb4d7f45d1cf-5d3cf094768so437732a12.0 for <74807@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) Original-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@debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 08 Jan 2025 15:37:33 -0800 (PST) Original-Received: by mail-ej1-f52.google.com with SMTP id a640c23a62f3a-ab2aea81cd8so52247166b.2 for <74807@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) In-Reply-To: <87tta9k6j6.fsf@gmail.com> X-Gmail-Original-Message-ID: X-Gm-Features: AbW1kvZruucjiOkKlSRuyuD8COSH95EFhKLGDh2zrMwGltTZx5fYKwe8ivabzxA 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:298796 Archived-At: On Wed, Jan 8, 2025 at 4:18=E2=80=AFAM Jo=C3=A3o T=C3=A1vora 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.