From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Variable pitch mode line Date: Fri, 24 Dec 2021 08:50:28 +0200 Message-ID: <83ee62ts23.fsf@gnu.org> References: <87zgosdbo1.fsf@gnus.org> <86mtkszhnq.fsf@mail.linkov.net> <87o858e5r2.fsf@gnu.org> <86fsqjcqd8.fsf@mail.linkov.net> <87zgorawar.fsf@logand.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9458"; mail-complaints-to="usenet@ciao.gmane.io" Cc: larsi@gnus.org, tsdh@gnu.org, emacs-devel@gnu.org, juri@linkov.net To: Tomas Hlavaty Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Dec 24 08:03:09 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 1n0ebc-0002Fc-Sr for ged-emacs-devel@m.gmane-mx.org; Fri, 24 Dec 2021 08:03:09 +0100 Original-Received: from localhost ([::1]:51832 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n0ebb-0001vA-Kz for ged-emacs-devel@m.gmane-mx.org; Fri, 24 Dec 2021 02:03:07 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:37148) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n0ePH-0001Bv-0y for emacs-devel@gnu.org; Fri, 24 Dec 2021 01:50:23 -0500 Original-Received: from [2001:470:142:3::e] (port=50864 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n0ePF-0005mm-TC; Fri, 24 Dec 2021 01:50:21 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=xWlUNj0yT/5IIig04ob9U1D0XgWYnH8AWfIBXXooYJI=; b=AgCzLy4hmpz4 aaiG5qoSrxE5J8mPz9cppCfZY7cf0zO43SKzO7iXlJXqmhVSoTe0K5ie3n1XIsSBjVb+CvWHnSU4v Df1VniGtO3FrsbDRebl/194xLzcIlymu0s78CGhaH8X3Pdgf2YHwBHB/cA+vjtwQJOBwxWiDthK6z KPeYvyOsaDumiUFDGYsDbgxUFQDiLzkI3uZm+cONzTPEoRiIk3ZnB8Xl6UYOVSY8MeZj3xpnOk/fD v4IlVopq6Kfzz0hoDqXvGQvt9FBKpyRjm4XwWzBiCnK/CHcdRsgmk1z0NaJmltyqFjIbZdLcnVwpY E1xJZZfDNoSkdq+klTLjBw==; Original-Received: from [87.69.77.57] (port=2476 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n0ePF-0001HK-Dj; Fri, 24 Dec 2021 01:50:21 -0500 In-Reply-To: <87zgorawar.fsf@logand.com> (message from Tomas Hlavaty on Thu, 23 Dec 2021 21:41:32 +0100) 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:283088 Archived-At: > From: Tomas Hlavaty > Date: Thu, 23 Dec 2021 21:41:32 +0100 > Cc: Lars Ingebrigtsen , emacs-devel@gnu.org > > iirc info files are not that complex. How difficult would it be to > transform an info file to html in Lisp and display it with eww/shr on > the fly? In my emacs-unoffice package, I explored this for various > office formats and it seems like a reasonably useable solution. That doesn't work well enough because many of the Texinfo directives get lost in the Info format, and the way Texinfo markup is expressed in Info doesn't allow mapping back to the original markup. This has been tried before, and turned out to be unworkable. If you are not convinced, I suggest a careful reading of the Texinfo manual, which describes for each directive and markup how it is translated into Info. Then try to see how you would produce the reverse translation. You will quickly see that the translation is not reversible.