From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Skip Montanaro Newsgroups: gmane.emacs.help Subject: Re: Web mode warts - help ... Date: Wed, 2 Feb 2022 10:15:12 -0600 Message-ID: References: <87czk68hua.fsf@metapensiero.it> <875ypyf1wi.fsf@zoho.eu> 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="29774"; mail-complaints-to="usenet@ciao.gmane.io" To: Emanuel Berg , Help GNU Emacs Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Wed Feb 02 18:08:18 2022 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 1nFJ7B-0007YK-Cm for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 02 Feb 2022 18:08:17 +0100 Original-Received: from localhost ([::1]:46688 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nFJ79-0005NT-UG for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 02 Feb 2022 12:08:15 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:33368) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nFIIS-0005q5-M7 for help-gnu-emacs@gnu.org; Wed, 02 Feb 2022 11:15:54 -0500 Original-Received: from [2607:f8b0:4864:20::b31] (port=46992 helo=mail-yb1-xb31.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nFIIF-0005Nh-Nb for help-gnu-emacs@gnu.org; Wed, 02 Feb 2022 11:15:52 -0500 Original-Received: by mail-yb1-xb31.google.com with SMTP id p5so62489391ybd.13 for ; Wed, 02 Feb 2022 08:15:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=+D06dWAhJEQz1NoNZ0dEwyLn3YIjUKxtNkgupBbMDe8=; b=Hga36W3hpvMP+pgcOt6YmRAYZ1fLldkeD1nRQAWKjDbJTThitE/aaqcroO2jjDaq9q JAY5fZRmmdGrx2CQ7doj5kemFe+1ExvC/vMCVtarudJV02Pakx8ABEJmb4Tv8lRlJNDp JieKY5y7+RjlvdXXm/QvC4UiWiewm/R+BucN5CXizD/jGnDR6U0Ot3W5wzG69XKHzG9A 79f/s6/3nPCn0rQQOeiipxiZuwdRNzxURkCVM0HQC9AYgE/7PHJQCSS8euhqrLXOPcEa 71BI4qdtwD9r1APUK4BpLJcLGjc6K+swc14KAWLJTUB4AKh+HppZ5l0sRwmwujJkVdhb ljPg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=+D06dWAhJEQz1NoNZ0dEwyLn3YIjUKxtNkgupBbMDe8=; b=AXirUJqObrlmNr6TUiOOgBrUEou4pr5rbXUb7OAp87Ni1CFj2ZbRUuUN7NZnLGFrMA liicomuEkt80SxX3+Kl4IZupHPbQNtngjP+zbVzhaoQGwztjjG1bvW4rGc+38r7jfLLI +J7U8z9a29Mw3Hnk2pLb2KVAehTh0tURj0AZb93XM8PR8WEtTj7qVpoDW2RNcvC9s6S3 4qae0eFAiT4PkxN7LOArrwctFkMV3pJXnBF956yOpfSsNll7zt8rYeOWB4lFhYdFvz8X cI+YyDwMQ4kiTZdRMhU8mAzgbNTsl/FUodI8cx3mnH4XqyvYy6JaBZm/0TfEsfrFme1P 1/lw== X-Gm-Message-State: AOAM531WPq96X43fXcia/bPgg0dpsLC2QpK7oyI/R+qcm8L2Hp+QvKai rJ9dgKO66QYSGHicArOIxKdGQtpomPxHbwJGoqVyQKvJb2e9lyw= X-Google-Smtp-Source: ABdhPJzO2uBDdQS3vZizGW3gMHtzteFpOySPdG69n8W3TfEX5Dlk/fx8ROpSNxUG/gdeUS/9IcU0BtrAN9/ENyMnV3A= X-Received: by 2002:a25:2d0:: with SMTP id 199mr38280264ybc.31.1643818538636; Wed, 02 Feb 2022 08:15:38 -0800 (PST) In-Reply-To: <875ypyf1wi.fsf@zoho.eu> X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::b31 (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::b31; envelope-from=skip.montanaro@gmail.com; helo=mail-yb1-xb31.google.com X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 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, HTML_MESSAGE=0.001, PDS_HP_HELO_NORDNS=0.001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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" Xref: news.gmane.io gmane.emacs.help:135669 Archived-At: > CHAOS AND DISHARMONY IN THE GALAXY! > > Some people say you don't have to close list item tags because > they are closed implicitly either by the next list item tag or > by the end of the list. > > Other people disagree ... Thanks, yeah I'm aware (despite my absence from the front end of the web for a couple decades) that closing
  • (and

    ) has often been deemed optional. Still, you'd expect a tool intended to support construction of HTML(-derived) documents would do the consistent thing, especially since it seems to close paragraphs as expected. This brings to mind Postel's Law ("be conservative in what you do, be liberal in what you accept") and the Zen of Python ("Special cases aren't special enough to break the rules. Although practicality beats purity."). I'm not sure which of those clauses applies here. * crawling-back-into-my-hole-ly yr's, Skip * For those not familiar with Python (does anybody fall into that camp nowadays?) and its history, in addition to many other technical contributions to the language and its C implementation, Tim Peters wrote the Zen of Python many years ago (maybe 25?). You can view it by executing "import this" at a Python prompt. Instead of the more familiar ";-)" emoticon, Tim winks (when necessary) using "". He also signed off with a specifically styled phrase which I tried to replicate above. (In case you haven't figured this out by now, I hold Tim in high regard.)