all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Skip Montanaro <skip.montanaro@gmail.com>
To: Emanuel Berg <moasenwood@zoho.eu>,
	Help GNU Emacs <help-gnu-emacs@gnu.org>
Subject: Re: Web mode warts - help ...
Date: Wed, 2 Feb 2022 10:15:12 -0600	[thread overview]
Message-ID: <CANc-5Uzf8n+ktNCK6jk9QODX9ybLVcqL_8Oy47sX_EMXMwBDBQ@mail.gmail.com> (raw)
In-Reply-To: <875ypyf1wi.fsf@zoho.eu>

> 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 <li> (and <p>) 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
<https://en.wikipedia.org/wiki/Robustness_principle> ("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. <wink>*

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 "<wink>". 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.)


  reply	other threads:[~2022-02-02 16:15 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-31 14:08 Web mode warts - help Skip Montanaro
2022-02-01 20:14 ` Lele Gaifax
2022-02-02  2:17   ` Emanuel Berg via Users list for the GNU Emacs text editor
2022-02-02 16:15     ` Skip Montanaro [this message]
2022-02-02 19:20       ` Emanuel Berg via Users list for the GNU Emacs text editor
2022-02-02 16:02   ` Skip Montanaro

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CANc-5Uzf8n+ktNCK6jk9QODX9ybLVcqL_8Oy47sX_EMXMwBDBQ@mail.gmail.com \
    --to=skip.montanaro@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=moasenwood@zoho.eu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.