From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Joel Reicher Newsgroups: gmane.emacs.help Subject: Re: outline-minor-mode heading levels in C, C++, and html Date: Sat, 17 Aug 2024 21:48:30 +1000 Message-ID: <86wmkf1ib5.fsf@gmail.com> References: <864j7nnwwe.fsf@gmail.com> <86bk1um0bi.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; format=flowed Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29942"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Stefan Monnier To: Stefan Monnier via Users list for the GNU Emacs text editor Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sat Aug 17 13:50:01 2024 Return-path: Envelope-to: geh-help-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 1sfHwW-0007aL-3q for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 17 Aug 2024 13:50:00 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sfHvV-0005K9-90; Sat, 17 Aug 2024 07:48:57 -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 1sfHvT-0005Ji-7h for help-gnu-emacs@gnu.org; Sat, 17 Aug 2024 07:48:55 -0400 Original-Received: from mail-oo1-xc30.google.com ([2607:f8b0:4864:20::c30]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sfHvR-0006WI-KP for help-gnu-emacs@gnu.org; Sat, 17 Aug 2024 07:48:54 -0400 Original-Received: by mail-oo1-xc30.google.com with SMTP id 006d021491bc7-5d5ed6f51cfso1871901eaf.0 for ; Sat, 17 Aug 2024 04:48:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1723895332; x=1724500132; darn=gnu.org; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=aDe5pVTamlukCPM/3IUr1F5wbtT6bfplj3ipmxgBhiI=; b=RoKuvzGS+3j76UzPEIMwNMg+CJONKX42G8pVUP+e8hgj8OaVY++4qGSVpSG94qn4mv 72rJ+M31nTSHW3TRQfcwxmeVNuejfw+DQ7dRl8FXaQMjbQc7oUDM99Qt2F3tp0KlZYTK MHpdnAGCFYu2vNj0jh+MyJ3kntKjdMNAA2LL6qFtWWG/wVr//KQniIx1WlsoFaJkSyKT wEhXWsCrsrMgwbDnchCSxMYL58fLtdsFKtOS7kOewLdi//a/UdX8VKu6gZuptirX4Xbv X/xtA268CTzv3Da3zjrCAF3idXJp2/QG+O9TmKQ9tJhGf1IY3Eyiwe+8nxmV3xanw+c9 sAWw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1723895332; x=1724500132; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=aDe5pVTamlukCPM/3IUr1F5wbtT6bfplj3ipmxgBhiI=; b=KAnwrBPSZGtKMBA5qtBeClIFq2J3TaU35zsYiZJyNkOFcxBS+WbZXnTz+a01ZK/82W tvtqfFDD/QG5fa72KkAQR3IHcIHkGYaagOFroO7rV0x7JVJyfoO7hlXjgzGPy+kqQ1Ku J+XluAxnCulsr9FVvcqLGgLTzaAb/TEFBuhZe/XCGcU9h9/Qxz31ckVMYZhA+ySyAvzP 4KjFWj5MqL9X0JXtJ0W/JTpw1vDjxySj1uqcLiU7UuZ2jffg0IdGYGtATKHZuHVEJnSJ OtAqYfxNML3IFbDyagtl44ZgUULEKCq9p0sqFz6rLjD1bMtkUTK+gC0fW0qzXu6EjWR+ 0aNw== X-Gm-Message-State: AOJu0Yz+6pLxZjmcwyGfe0/teaY6OiD2nTmH1aUFvnqxz1lR8siW7vm2 FUsd2yx/F/HDfY0y26IE9DSdAJ+9maghPri03Z6thP4cj+ddmrQLtphlXA== X-Google-Smtp-Source: AGHT+IH4C1WmiYqoGUbX4ONN+TUPyidTNSLWapxBx83VWUjgVH7SGjD4/elmSmncYYCRZv7B6q4gBg== X-Received: by 2002:a05:6358:a083:b0:1aa:c4b4:b26f with SMTP id e5c5f4694b2df-1b3932d95cbmr741547455d.26.1723895331732; Sat, 17 Aug 2024 04:48:51 -0700 (PDT) Original-Received: from LAPTOP-ACR66VVN (139-218-25-158.sta.wbroadband.net.au. [139.218.25.158]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-7127add7261sm3914720b3a.35.2024.08.17.04.48.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 17 Aug 2024 04:48:51 -0700 (PDT) In-Reply-To: (Stefan Monnier via Users list for the's message of "Fri, 16 Aug 2024 07:20:38 -0400") Received-SPF: pass client-ip=2607:f8b0:4864:20::c30; envelope-from=joel.reicher@gmail.com; helo=mail-oo1-xc30.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, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:147725 Archived-At: Stefan Monnier via Users list for the GNU Emacs text editor writes: >> This is common, but not universal, and is not part of elisp. > > That depends whether you consider > > @section Tips on Writing Comments > > to be part of the "definition" of ELisp. It would depend on what you take to be a language's definition, of course, but I don't want to be philosophical. I think many people take a language to be defined by the behaviour of the tooling for that language, although this understanding would probably vary according to experience, mindset, and hairstyle. For a programming language the syntax would be determined by the compiler/interpreter, and the semantics by the runtime behaviour. That's why I think it's useful to regard this commenting idiom/convention as not part of elisp, because, as far as I know, it's not "comprehended" by the runtime tooling. It is, however, comprehended by the outline-regexp value set in lisp-mode, so I think it might make sense to talk about this as lisp-mode's comment syntax, because although a major mode is usually regarded as supporting a language rather than defining one, the major mode in this case is the tooling that determines the behaviour. Cheers, - Joel