From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Yuri Khan Newsgroups: gmane.emacs.devel Subject: Re: Should yaml-ts-mode inherit from prog-mode? Date: Mon, 13 Mar 2023 15:44:43 +0700 Message-ID: References: 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="10905"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Daniel Fleischer Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Mar 13 09:45:55 2023 Return-path: Envelope-to: ged-emacs-devel@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 1pbdoZ-0002bG-0w for ged-emacs-devel@m.gmane-mx.org; Mon, 13 Mar 2023 09:45:55 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pbdni-0003BF-0Q; Mon, 13 Mar 2023 04:45:02 -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 1pbdnf-00038V-J5 for emacs-devel@gnu.org; Mon, 13 Mar 2023 04:44:59 -0400 Original-Received: from mail-wr1-x42b.google.com ([2a00:1450:4864:20::42b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pbdnd-00040d-5X for emacs-devel@gnu.org; Mon, 13 Mar 2023 04:44:58 -0400 Original-Received: by mail-wr1-x42b.google.com with SMTP id l1so10453609wry.12 for ; Mon, 13 Mar 2023 01:44:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1678697094; 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=LXWnDBZsEehds1M1osTx2O2HUba5BGSnDAmDakSKkXw=; b=Ee8DIDzqzNtar7A2nOjQLRpVPMow/m2DK+B1TfZrT+p7Cb8g2BEOYXarJVzSYdzctd 4t7BkDiGNE4OcmxThLYFtw6po+Jhz6yWeDc/wiCZSmXFgufDrZoimALI+r9ZK2zrMuTW 0tRoux+bMMovSxMDvprIxSgEMm6JOYDuocn5Y4J/Ch8N+2hpVcuwXr96JcwniIC5Zx/K vfniCGw6oj4qSksyHyigLvQs/VP+XfanHkhLvL1WrTKgSKNE0STMNvzIZlofBXswW3K5 OEjb9dmeoScnDeRAhaRoiRiPd8WRsZE5XH9uRrBi/GrdLr1tVmVFR54IfuO8w1tneiuE dq3Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678697094; 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=LXWnDBZsEehds1M1osTx2O2HUba5BGSnDAmDakSKkXw=; b=JbVyNAmYYmP13OscCVt+GWSHmTli6fCGIWhuYZxbP9azMP7KY8TNcUJnK78wbDzJUF 9c1zo9UBS4NoMfsg8xKdv8eLgclZv98UoISIsU32eNVjx+mOHBr2lJp/paTTPRrZN9qe To8qq+B70UxFd5Ubu3hkgIdpT6Fz0SmiPybTUjy66vQQ/MWKqoTgd01TnZhNBkbfSjjm QUbYcDzoGMnhJTAGkL9v+RsmjBekUYr3I1c2QycAlNqKiHIUEwK5B/8nQO71lTjBVky5 D95xWG3SrMpiV13O1Y5E8Od6d3AfIhEBA5BPo+kjzhaO0iAy180D+OcBbF1ph8G/PD+w J0og== X-Gm-Message-State: AO0yUKW/ctyqL64fSJmZklBw+ymFvQns7022wINdM+jFACNtJ1+EdsQ3 AABYpQtpNxaVlqh9ZZQg9UbWvZ5bZ/JEb0ZWKNg= X-Google-Smtp-Source: AK7set+O9r/DMOl2avlwFm+c6+a8iep0aEISo2imRgpJXyv0mStj7vVQN82pIK1J4ol1FIhNSFcTxpJijyEvY0Eb/pA= X-Received: by 2002:a5d:650a:0:b0:2cf:8393:651d with SMTP id x10-20020a5d650a000000b002cf8393651dmr383760wru.5.1678697094440; Mon, 13 Mar 2023 01:44:54 -0700 (PDT) In-Reply-To: Received-SPF: pass client-ip=2a00:1450:4864:20::42b; envelope-from=yurivkhan@gmail.com; helo=mail-wr1-x42b.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:304388 Archived-At: On Sun, 12 Mar 2023 at 16:50, Daniel Fleischer wrote: > Please point out where in the YAML spec "yes" is used as a boolean. And > again, usefulness of highlighting different objects does not mean it's a > programming language. , referenced from https://yaml.org/spec/1.1/ =C2=A7 2.4. The latest version of YAML is 1.2.2, and it no longer specifies =E2=80=98y= =E2=80=99, =E2=80=98n=E2=80=99, =E2=80=98yes=E2=80=99, or =E2=80=98no=E2=80=99 as bool= eans. However, existing parser implementations are not all up to date and still implement 1.0 or 1.1 even in presence of the =E2=80=98%YAML 1.2=E2=80=99 tag in the input.