From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Yuan Fu Newsgroups: gmane.emacs.devel Subject: Re: Variable pitch mode line Date: Thu, 23 Dec 2021 13:00:27 -0800 Message-ID: References: <87zgosdbo1.fsf@gnus.org> <86mtkszhnq.fsf@mail.linkov.net> <87o858e5r2.fsf@gnu.org> <86fsqjcqd8.fsf@mail.linkov.net> <87zgorawar.fsf@logand.com> <8B7890FE-9DFB-4282-8391-955032220234@gmail.com> <87wnjvavm2.fsf@logand.com> Mime-Version: 1.0 (Mac OS X Mail 15.0 \(3693.40.0.1.81\)) 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="17859"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Juri Linkov , Lars Ingebrigtsen , emacs-devel@gnu.org, Tassilo Horn To: Tomas Hlavaty Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Dec 23 22:01:31 2021 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 1n0VDO-0004SI-2c for ged-emacs-devel@m.gmane-mx.org; Thu, 23 Dec 2021 22:01:30 +0100 Original-Received: from localhost ([::1]:57958 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n0VDM-0000AP-Vx for ged-emacs-devel@m.gmane-mx.org; Thu, 23 Dec 2021 16:01:29 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:35082) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n0VCR-0007gn-Qa for emacs-devel@gnu.org; Thu, 23 Dec 2021 16:00:31 -0500 Original-Received: from [2607:f8b0:4864:20::52f] (port=35480 helo=mail-pg1-x52f.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n0VCQ-00050V-Cm; Thu, 23 Dec 2021 16:00:31 -0500 Original-Received: by mail-pg1-x52f.google.com with SMTP id v25so5915882pge.2; Thu, 23 Dec 2021 13:00:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=jeV896PsRbsKijnnU+F0lv1y4mNgM6ZRjuqQrLYkvEI=; b=k/gxAaigEYkO92a/dRSBmkyPbj9gJfrx5j5RSCczJXIAyQv885tBdLsqQLShFZqvem gJ3SJ2MwSHOdue/W69nDAn0myqB/7pV7J5kZZWOtUAZ+9yUXRE3fgNGiQhsCGI3jXo76 3PjIAgrCMb7ONcII7O3t42C+rULR+xRq7i/gfBkS5ETznUbfbPJZDI6h9ePxFhmf36LY 3Ai0GwQefksoGDEpzDHvWsnfhqO7KU22pJPSH6+NVV53Kzl4sUtWLvpAS/FTNowvj00e s8BS+XwQWH2Md3kW4O8yr27Fnc/wMoAq7I7ptOfjtXpCe9mRteLXVy2lX1hnNlq6LyMC G3FQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=jeV896PsRbsKijnnU+F0lv1y4mNgM6ZRjuqQrLYkvEI=; b=DsWMLzIUYtm7RaWgeX4o5E+UehNT7KQJmWJ9Vku1VHk88KPbypk1+pHJxXI9tVMuu9 F61ZFm/i1mYimxVV3eNci8MVEFn36Bll97C5zkvmtGgbkGvoSDes7o8To7EQ4i/i70jk XAIEO6DNAC/bf2m/TK/B/BA3z0T4jgLyxkAcKocMqOBjpnHFo5wwPl1RcAibXexd23Wt 5Qzq/zsoPt49X3Gl1d2ZwybOLH4yRSo2zoRivKZoyO0JOxJK/emeuPI8X33pGHQ6y3lN UYWr5paSgkT13wLpWc+QIfazOywVa30mU0UwtCXkwm0ZG4GAAuJ4Pv/3xLJoW7gCgnqP /BOg== X-Gm-Message-State: AOAM531Iwyb28QR4Tjl/rl5B7lHxPHgwlqk3xek/tmPY7Hat/1Dg6x6l Y/FvrP06F0+w/bFYXYZUYrg= X-Google-Smtp-Source: ABdhPJyuHZLB9wQ2lYvH5GIA0jG250+ZWK42kAHCXqepn+S7ZUf15sHrMnvKqlWT1/QkZuxuLoecUw== X-Received: by 2002:aa7:918e:0:b0:4bb:793:b7a7 with SMTP id x14-20020aa7918e000000b004bb0793b7a7mr4023555pfa.71.1640293228665; Thu, 23 Dec 2021 13:00:28 -0800 (PST) Original-Received: from smtpclient.apple ([2600:1700:2ec7:8c90:d149:cff8:e7a4:12f0]) by smtp.gmail.com with ESMTPSA id f20sm7573907pfe.166.2021.12.23.13.00.27 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 23 Dec 2021 13:00:28 -0800 (PST) In-Reply-To: <87wnjvavm2.fsf@logand.com> X-Mailer: Apple Mail (2.3693.40.0.1.81) X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::52f (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::52f; envelope-from=casouri@gmail.com; helo=mail-pg1-x52f.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, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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" Xref: news.gmane.io gmane.emacs.devel:283044 Archived-At: > On Dec 23, 2021, at 12:56 PM, Tomas Hlavaty wrote: >=20 > On Thu 23 Dec 2021 at 12:51, Yuan Fu wrote: >> I=E2=80=99ve tried that. Info files are not complex, but they can=E2=80= =99t be >> reliably parsed 100% of the time. My code works for like 95% of the >> nodes, but there are always some corner cases where it breaks. >=20 > Why doesn't texinfo html output suffer from this problem? HTML are structured, where as Info is more like plain text. Just to give = an example, in an info file, four spaces indent text could be a code = block, or just an indented paragraph, there is no way telling them = apart. In HTML, code is wrapped in (or maybe
), paragraphs =
are wrapped in 

. Yuan=