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#72597: 30.0.60; Eglot: MarkedString with embedded Carriage Return Date: Tue, 13 Aug 2024 17:35:57 -0400 Message-ID: References: <86h6bohdsd.fsf@gnu.org> <87v804mfyz.fsf@betli.tmit.bme.hu> 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="6106"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , 72597@debbugs.gnu.org, Felician Nemeth 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 Tue Aug 13 23:36:57 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1sdzCK-0001Qo-W3 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 13 Aug 2024 23:36:57 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sdzBv-0005ko-7A; Tue, 13 Aug 2024 17:36:31 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sdzBt-0005kH-4z for bug-gnu-emacs@gnu.org; Tue, 13 Aug 2024 17:36:29 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sdzBs-0000G2-Sm for bug-gnu-emacs@gnu.org; Tue, 13 Aug 2024 17:36:28 -0400 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=7b6C247eVgj12aIPeZPu6ZcDOyI4mW7PGmZKbPhlJTk=; b=cfUZV33AnYpLbnvUh2lS7gw3C/zpK30bfAf7ymWvGn2Cokl4EP+rQwo+dRKI09Fjks+yH119OwNvYgrSj33v1xSFD7eC9sspSlTNZ2PbuTgQ2rCzyDqtOJ8BpxPz5ZJ8KSkxKFPZ8vXNZbrgoqp60Rp50t/CIlvGui++gw1biJz4eiimGHgHCpZZCzFV2HJ5ElmfSy9oSz49yJMpfbX5bejixRcGsOLx/cbQiqELuH3jkDm0DOYeJcNZI5kKBTfM7wVyaHX33G1i2RVN1WamUysbV6tOBGrunjbMNgMezXc9fBJEnyOMoDM5PSiKCFwZk6ATA+0Y3GAtV/4EXjdDLw==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sdzCQ-0001ct-PP for bug-gnu-emacs@gnu.org; Tue, 13 Aug 2024 17:37:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Troy Brown Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 13 Aug 2024 21:37:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72597 X-GNU-PR-Package: emacs Original-Received: via spool by 72597-submit@debbugs.gnu.org id=B72597.17235850166227 (code B ref 72597); Tue, 13 Aug 2024 21:37:02 +0000 Original-Received: (at 72597) by debbugs.gnu.org; 13 Aug 2024 21:36:56 +0000 Original-Received: from localhost ([127.0.0.1]:45596 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sdzCJ-0001cM-TG for submit@debbugs.gnu.org; Tue, 13 Aug 2024 17:36:56 -0400 Original-Received: from mail-lj1-f179.google.com ([209.85.208.179]:60926) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sdzCE-0001bn-OJ for 72597@debbugs.gnu.org; Tue, 13 Aug 2024 17:36:51 -0400 Original-Received: by mail-lj1-f179.google.com with SMTP id 38308e7fff4ca-2f136e23229so63925211fa.1 for <72597@debbugs.gnu.org>; Tue, 13 Aug 2024 14:36:16 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1723584970; x=1724189770; 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=7b6C247eVgj12aIPeZPu6ZcDOyI4mW7PGmZKbPhlJTk=; b=qHEGk0xuuRG2qehERNMvwiWN0EIojfs2T7RmJAyUBeLMdxJUotzYHo/dlj1x4jMuCW pLr/sBqkCelFrl5Tuv4gJVV33mZdk797K25CsLzZDm5604MRgC8OvItu7WcO/kJ95RyQ eqDK97PkiVWL5ChYKo1Tr7IgMG+6bgjnImId0Vf2lWlyaxTJZ8J60H2PMyRc8x328eME 1XqPP9KbWvrCM3FEIIUXbz0e8bvQUMo8D1MDRcauDdRPWFjAug1PWw14yB/nk2cBA81E e0XRxt54AZFxQvtwZfnglnQXW28SZ2qJKydjzwIAkuZwZClEk2iGajqrUo6B15NzsS7I T05Q== X-Forwarded-Encrypted: i=1; AJvYcCXCV3QwVJUxRE0xi43nXlybVI5eSBv3gx4IPxTWrJUCA5XiXSg7IiOfRsYOcOawj1hW6WyWsHmLKIpGlEd2jsEoqHeA86M= X-Gm-Message-State: AOJu0Yyra9bIiD8a4Bgq4JHZgtUTwIuFxALJ8ksqu6lS2PRfgaLE5DxB xUYfAWbevR1TCvdx1Gq/nOX51zjjDHC7DfBYcPQ8B2l+Pnp832ZyMWRXyS3xWTY= X-Google-Smtp-Source: AGHT+IFalbU+YS93uPoZPO+01nXJaclUcxEOl0QVXTQNKd9YnVzdvH4eEYlX6R3gWUOy+26EoyNyQQ== X-Received: by 2002:a2e:1319:0:b0:2ef:2c4b:b799 with SMTP id 38308e7fff4ca-2f3aa1d3e86mr3688361fa.28.1723584969545; Tue, 13 Aug 2024 14:36:09 -0700 (PDT) Original-Received: from mail-ed1-f44.google.com (mail-ed1-f44.google.com. [209.85.208.44]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-5bd1a5e1109sm3442616a12.68.2024.08.13.14.36.09 for <72597@debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 13 Aug 2024 14:36:09 -0700 (PDT) Original-Received: by mail-ed1-f44.google.com with SMTP id 4fb4d7f45d1cf-5bb477e3a6dso5794655a12.0 for <72597@debbugs.gnu.org>; Tue, 13 Aug 2024 14:36:09 -0700 (PDT) X-Forwarded-Encrypted: i=1; AJvYcCWBDADNIi5O23CMbKePnp4429Ev17GWI/Abh60BYotr5bAugMUUstJHAaQYnlBo4mqYimraXH05Ax39KGGoESU7Y2vkdfI= X-Received: by 2002:a05:6402:4412:b0:5ab:324c:d77d with SMTP id 4fb4d7f45d1cf-5bea1c6a9a0mr571394a12.1.1723584968994; Tue, 13 Aug 2024 14:36:08 -0700 (PDT) In-Reply-To: X-Gmail-Original-Message-ID: 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:290094 Archived-At: On Tue, Aug 13, 2024 at 2:45=E2=80=AFPM Jo=C3=A3o T=C3=A1vora wrote: > > On Tue, Aug 13, 2024 at 7:32=E2=80=AFPM Felician Nemeth > wrote: > > > The way I understand it, Eglot calls gfm-view-mode to format this text. > > So even if the observed behavior is not in line with the LSP > > specification, it is the fault of gfm-view-mode and not directly > > Eglot's. > > > > gfm-view-mode is part of the markdown-mode package, which is NonGNU > > ELPA. > > Very correct. Worth noting, though, that markdown-mode is an _optional_ > dependency of Eglot. It doesn't need it (but it will use it if it finds i= t). > I don't think it's gfm-view-mode's fault. I can get the same problematic behavior with MarkupContent of "plaintext" (which uses text-mode), as follows: (eglot--format-markup '(:value "foo\rbar" :kind "plaintext"))