From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#60105: [PATCH] Add yaml-ts-mode Date: Thu, 15 Dec 2022 16:20:04 -0800 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="717"; mail-complaints-to="usenet@ciao.gmane.io" Cc: casouri@gmail.com To: Randy Taylor , 60105@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Dec 16 01:21:25 2022 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 1p5yTc-000AZJ-QY for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 16 Dec 2022 01:21:24 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p5yTK-0000ph-El; Thu, 15 Dec 2022 19:21:06 -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 1p5yTG-0000nz-KC for bug-gnu-emacs@gnu.org; Thu, 15 Dec 2022 19:21:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p5yTG-0006hF-BZ for bug-gnu-emacs@gnu.org; Thu, 15 Dec 2022 19:21:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1p5yTF-0005wk-Rs for bug-gnu-emacs@gnu.org; Thu, 15 Dec 2022 19:21:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 16 Dec 2022 00:21:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 60105 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 60105-submit@debbugs.gnu.org id=B60105.167115001522792 (code B ref 60105); Fri, 16 Dec 2022 00:21:01 +0000 Original-Received: (at 60105) by debbugs.gnu.org; 16 Dec 2022 00:20:15 +0000 Original-Received: from localhost ([127.0.0.1]:45788 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p5ySU-0005vX-Jy for submit@debbugs.gnu.org; Thu, 15 Dec 2022 19:20:15 -0500 Original-Received: from mail-oa1-f54.google.com ([209.85.160.54]:41921) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p5ySQ-0005vK-6U for 60105@debbugs.gnu.org; Thu, 15 Dec 2022 19:20:13 -0500 Original-Received: by mail-oa1-f54.google.com with SMTP id 586e51a60fabf-1441d7d40c6so1453538fac.8 for <60105@debbugs.gnu.org>; Thu, 15 Dec 2022 16:20:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:from:to:cc:subject:date:message-id:reply-to; bh=HeFK+ntmL+FmAOMV4R+BMVHsloCfCfq11cgmFASwDK4=; b=ixirHwxfv7VENVKD9UmZdTnhrMKcX2XGIEgYF4HrYYJiixkuiPOdgrOfT0XmJEM0uR ybtAYNfxnjT9taP0W1FDA28pFlRX3cFEDvBkPPYchcmgk3+XxvjSkynpQxaBjoN7geEd xqtEwPQfxCmQ3KoOsc5MB/MxFCEpCTN0o5IvkEeOgYSZnh23daN5hRpSkZa8Pxh7JyaK 4T3IyUL3g9IPjLLPxQx0QIQLzL1Ok1zKgtgN1L1HV0cFu6t5qGgI31zYD7aWMVS81VQb +DYQylctKdwHKm/Dys2Bbg5sd1PGVBAlWVcS4iDcyYaOHO6ZZzmrZ02Fkk2H+YTYM9YG zCTw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=HeFK+ntmL+FmAOMV4R+BMVHsloCfCfq11cgmFASwDK4=; b=dld7+DjFQHNlbItBr/fFVtfcbdUJTRsButoIw9z5H02kWcS6s6VG2CrLW+i+kX0t8l f0eEAxy2bUivz7HvQV2BhapdT5OvkX/CwmxxR4JQkju6dJHjeEvdSTAo4OYjgxFr2Xhk okVO7QXLv9agJ9vydTULb9QkSbYY7R8GEvz7J3xVdLyrL341IDFyFEqxXglLVmhQ3rIx QCFfl7AJ5EfuVN3euQdzKiW6AOQ2DmwIDv121rbF2uEIVE83IGCREaWjf3k2G6QmlfGR DubTcQiHp9Sx1QgLimJnD+3RgOKEAaH53yj1xcMLofYt1EKlIDdBJ9rmQRj6gKGaXJuL Qh0g== X-Gm-Message-State: AFqh2kqcesmHlTf1RcRZcBHkqHxvNaIYuf9W9QY14UgeJn6HWPnwXfaF opQD8m/szzJKHWKseNbl4RTgWkroimnls/+5zjU= X-Google-Smtp-Source: AMrXdXtaEF0zf53fPgomt8JxH5ZbIHklAllCob8z1koNBdzeRuZzofAX9h4HBNb/qBR4XF2O9BhrL/1C6vPin8Aelac= X-Received: by 2002:a05:6870:a54a:b0:148:28c1:3d46 with SMTP id p10-20020a056870a54a00b0014828c13d46mr300548oal.199.1671150004398; Thu, 15 Dec 2022 16:20:04 -0800 (PST) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Thu, 15 Dec 2022 16:20:04 -0800 In-Reply-To: X-Hashcash: 1:20:221216:60105@debbugs.gnu.org::D9VeWihUdIQ2LPic:664m 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:251162 Archived-At: Randy Taylor writes: > diff --git a/lisp/progmodes/eglot.el b/lisp/progmodes/eglot.el > index 9c5a361df7..4319623e64 100644 > --- a/lisp/progmodes/eglot.el > +++ b/lisp/progmodes/eglot.el > @@ -224,7 +224,7 @@ eglot-server-programs > ((tex-mode context-mode texinfo-mode bibtex-mode) > . ,(eglot-alternatives '("digestif" "texlab"))) > (erlang-mode . ("erlang_ls" "--transport" "stdio")) > - (yaml-mode . ("yaml-language-server" "--stdio")) > + ((yaml-mode yaml-ts-mode) . ("yaml-language-server" "--stdio")) This is a nit, but I think it might make more sense to users if we put the built-in mode first in the list. After all, the one we ship with Emacs is, or will be, the standard mode.