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: Tue, 7 Jan 2025 22:56:44 -0500 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="25092"; 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 Wed Jan 08 04:58:30 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 1tVNDA-0006Jw-6m for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 08 Jan 2025 04:58:28 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tVNCn-0001Qe-JA; Tue, 07 Jan 2025 22:58: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 1tVNCk-0001Q1-HF for bug-gnu-emacs@gnu.org; Tue, 07 Jan 2025 22:58: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 1tVNCk-0006Em-7r for bug-gnu-emacs@gnu.org; Tue, 07 Jan 2025 22:58: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=CP/TY8rFYr+qF7XkC5o0AAWWn6wH3lCevJnUjhfqGyM=; b=fAPX6MewxCH1DirnJ0q+1+K46sli/mjBGDd+Tbw5YpokjvzZGiEKjfxmqIsoxGsMqWseSzs9WR+fnwyO1wSBFu3hWAWm4dClCm4/NYPt8u8YlgJ6EBIv4Hf45Ssrf3Ny3aYiyJ6Zs1jK9YCQJJ94huVq4OgzFznrxL1dB5tUjHwXibRlFJAA8N0SDDHrRlQh+QANry6f1LMsh+3v9TtIRKOdG7z+yeqMNAb9V5AHeWB8ovu8jXizNEELSd8+Ek6wLAIe+GEDD2XdT71SX2RTX2AWzwsQ2QXnD+taiGN52uZ2AXZpHjxbIrJw0NEvOuNfiF1nTKGOTjSekulgRKCWrw==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tVNCj-0001o6-RK for bug-gnu-emacs@gnu.org; Tue, 07 Jan 2025 22:58:01 -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 03:58:01 +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.17363086256873 (code B ref 74807); Wed, 08 Jan 2025 03:58:01 +0000 Original-Received: (at 74807) by debbugs.gnu.org; 8 Jan 2025 03:57:05 +0000 Original-Received: from localhost ([127.0.0.1]:45504 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tVNBo-0001mm-P0 for submit@debbugs.gnu.org; Tue, 07 Jan 2025 22:57:05 -0500 Original-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 ) id 1tVNBm-0001mE-Jx for 74807@debbugs.gnu.org; Tue, 07 Jan 2025 22:57:03 -0500 Original-Received: by mail-ed1-f42.google.com with SMTP id 4fb4d7f45d1cf-5d3e829ff44so873773a12.0 for <74807@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) Original-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@debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 07 Jan 2025 19:56:55 -0800 (PST) Original-Received: by mail-ed1-f41.google.com with SMTP id 4fb4d7f45d1cf-5d3e829ff44so873761a12.0 for <74807@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) In-Reply-To: X-Gmail-Original-Message-ID: X-Gm-Features: AbW1kvZdGqmwpnwVSm3usgoSyj-QqNxFs0pcVwGOYwo08G5J6SZVnJL1n4ZNquA 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:298757 Archived-At: On Mon, Jan 6, 2025 at 7:28=E2=80=AFPM Jo=C3=A3o T=C3=A1vora 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