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: Sun, 26 Dec 2021 14:11:48 +0200 Message-ID: <83sfufo9a3.fsf@gnu.org> References: <87zgosdbo1.fsf@gnus.org> <87bl162nnz.fsf@gnus.org> <87ee62chea.fsf@yahoo.com> <877dbu2mfw.fsf@gnus.org> <875yrecfjc.fsf@yahoo.com> <8735mi2kky.fsf@gnus.org> <83fsqiruak.fsf@gnu.org> <87y24a15cr.fsf@gnus.org> <83ee62rtpa.fsf@gnu.org> <87tuey14q7.fsf@gnus.org> <83czlmrs1m.fsf@gnu.org> <87pmpm11rt.fsf@gnus.org> <837dburq1r.fsf@gnu.org> <87lf0a101b.fsf@gnus.org> <835yrerl3n.fsf@gnu.org> <877dbs28vv.fsf@gnus.org> <83h7awriq1.fsf@gnu.org> <87mtknzjt4.fsf@gnus.org> <834k6vpp5c.fsf@gnu.org> <87wnjry468.fsf@gnus.org> <83y247o9za.fsf@gnu.org> <87fsqfy3on.fsf@gnus.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29520"; mail-complaints-to="usenet@ciao.gmane.io" Cc: luangruo@yahoo.com, juri@linkov.net, emacs-devel@gnu.org, monnier@iro.umontreal.ca, tsdh@gnu.org To: Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Dec 26 13:12:25 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 1n1SNz-0007QO-K3 for ged-emacs-devel@m.gmane-mx.org; Sun, 26 Dec 2021 13:12:23 +0100 Original-Received: from localhost ([::1]:48820 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n1SNx-0003TX-Nv for ged-emacs-devel@m.gmane-mx.org; Sun, 26 Dec 2021 07:12:21 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:55742) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n1SND-0002ac-Rg for emacs-devel@gnu.org; Sun, 26 Dec 2021 07:11:35 -0500 Original-Received: from [2001:470:142:3::e] (port=52732 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 1n1SND-0004aE-3A; Sun, 26 Dec 2021 07:11:35 -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=KdULPwTvzHio7a0+EkdzOFhvqRPr+Xjd+VfjOIrA8pc=; b=acnSO6SN1vIc VWUh0OE6Cci9GBVcED8HVAHGyWeh3lHfTB3erFT2joqKcA9akWDPxwJ2US4ivyRq+wMKPCw8iHvUN BLYxTQ/z66eilYi+LEep5htcWvitmJvqYTqlQ1jH0MUFCtuC6RGhXQqz40SXiKFios93O8HeUowEo xgiXxrAXB6F3VMoakO83XgvAw52itA7Y5lFTXjh9BnjZo/oUfgAeL48UMyDu7TN9ulv5GS6l215f2 TCChSZHf63QVeh96MnZ0UPlXAhfEpQK5QP8Mm8U/FdvD1ADogi62oLemasVu4Mv0vhy/rYJ/lHSU3 72XskUl9vtfi7wXYe6F08g==; Original-Received: from [87.69.77.57] (port=3323 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 1n1SNC-00066o-M8; Sun, 26 Dec 2021 07:11:34 -0500 In-Reply-To: <87fsqfy3on.fsf@gnus.org> (message from Lars Ingebrigtsen on Sun, 26 Dec 2021 13:02: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:283316 Archived-At: > From: Lars Ingebrigtsen > Cc: luangruo@yahoo.com, tsdh@gnu.org, emacs-devel@gnu.org, > monnier@iro.umontreal.ca, juri@linkov.net > Date: Sun, 26 Dec 2021 13:02:32 +0100 > > In the HTML, newlines are just whitespace like anything else. When > rendering most elements, the newlines are transformed to spaces. (But > that's not done when rendering
 elements.)
> 
> 

When a form is a macro call, it expands into a new form for Lisp to > evaluate. We show the result of the expansion with > ‘’. We may or may not show the result of the > evaluation of the expanded form. >

>
>
(third '(a b c))
>      → (car (cdr (cdr '(a b c))))
>      ⇒ c
> 
> > Nothing special about the newline characters (or the lack of them). In that case, I guess we will need to convert newlines to spaces inside "

..

", but not inside
.

> Anyway, your suggestion was to have shr not do the reflow, but leave
> that to redisplay.  My question was whether we have a way to avoid that
> on certain pre-formatted lines, like if you have:
> 
> 
This is a line that will be reflowed by visual-line-mode because it's too wide for the window, but it shouldn't be reflowed.
We could convert spaces into NBSPs, I guess? But if the above a frequent situation in GNU manuals?