From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: Variable pitch mode line Date: Fri, 24 Dec 2021 10:21:59 +0200 Organization: LINKOV.NET Message-ID: <86ee62o4bs.fsf@mail.linkov.net> References: <87zgosdbo1.fsf@gnus.org> <86mtkszhnq.fsf@mail.linkov.net> <87o858e5r2.fsf@gnu.org> <86fsqjcqd8.fsf@mail.linkov.net> <87zgor41oc.fsf@gnus.org> <86lf0b6uf0.fsf@mail.linkov.net> <87v8zf40qw.fsf@gnus.org> <8635mj5ept.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39339"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (x86_64-pc-linux-gnu) Cc: Lars Ingebrigtsen , Tassilo Horn , emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Dec 24 09:46:03 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 1n0gDC-000A0m-H4 for ged-emacs-devel@m.gmane-mx.org; Fri, 24 Dec 2021 09:46:02 +0100 Original-Received: from localhost ([::1]:32974 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n0gDB-0001Yk-3w for ged-emacs-devel@m.gmane-mx.org; Fri, 24 Dec 2021 03:46:01 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:58004) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n0gBJ-0000X0-PA for emacs-devel@gnu.org; Fri, 24 Dec 2021 03:44:05 -0500 Original-Received: from relay10.mail.gandi.net ([217.70.178.230]:39255) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n0gBG-00035J-F0; Fri, 24 Dec 2021 03:44:05 -0500 Original-Received: (Authenticated sender: juri@linkov.net) by relay10.mail.gandi.net (Postfix) with ESMTPSA id 2FFAD240006; Fri, 24 Dec 2021 08:43:56 +0000 (UTC) In-Reply-To: (Stefan Monnier's message of "Thu, 23 Dec 2021 14:50:26 -0500") Received-SPF: pass client-ip=217.70.178.230; envelope-from=juri@linkov.net; helo=relay10.mail.gandi.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, 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" Xref: news.gmane.io gmane.emacs.devel:283104 Archived-At: >> I don't believe that distro packagers might want to include Info manuals >> in the HTML format when only Emacs will display them but not the standalone >> Info reader. > > I'm not sure they include Info manuals mainly for the standalone info > viewer either. But in any case, currently I don't think any doc viewer > has a good story for "use HTML as replacement for Info", so it's clear > that if we want it to happen, we need to start by making Emacs support > it well. And only later, *maybe*, distros and other Info viewers will > follow suit. Then better to start with own dog food, and first display Emacs manuals from HTML. There is already a make target that produces HTML files: make html Currently HTML files are generated in the source dir, that is wrong: doc/emacs/emacs.html The correct place would be in the Info output dir: info/emacs.html so it could reuse INFOPATH to find HTML Info manuals as well. Then after visiting the generated HTML with eww, when proportional fonts are enabled with `eww-toggle-fonts`, the output looks nice. But rendering a large HTML file takes too much time. So while a single HTML file is still preferable over multifile Info manuals, the Info reader should limit rendering to the currently displayed Info node only. Using a single HTML file will also make online reading of remote HTML manuals easier. For example, simply point the Emacs Info reader to https://www.gnu.org/software/emacs/manual/html_mono/emacs.html and it could fetch the whole HTML file, then navigate its nodes.