From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.devel Subject: Re: Variable pitch mode line Date: Sun, 26 Dec 2021 13:02:32 +0100 Message-ID: <87fsqfy3on.fsf@gnus.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> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29550"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: luangruo@yahoo.com, juri@linkov.net, emacs-devel@gnu.org, monnier@iro.umontreal.ca, tsdh@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Dec 26 13:04:13 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 1n1SG5-0007TX-27 for ged-emacs-devel@m.gmane-mx.org; Sun, 26 Dec 2021 13:04:13 +0100 Original-Received: from localhost ([::1]:42860 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n1SG3-0007Lh-KM for ged-emacs-devel@m.gmane-mx.org; Sun, 26 Dec 2021 07:04:11 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:54320) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n1SEj-0005Gx-Ho for emacs-devel@gnu.org; Sun, 26 Dec 2021 07:02:49 -0500 Original-Received: from [2a01:4f9:2b:f0f::2] (port=49052 helo=quimby.gnus.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n1SEg-0003SC-9X; Sun, 26 Dec 2021 07:02:49 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=K7DK4nuKOTYoRPKpkcgh29C5+uc7hGp3H8kEg0OHD38=; b=kexENw7FR55M9IIRCiD/cX8JH/ sBm+PALoDqZ+ohkAdzkhdXKodNt8sEmd8H3OajXLmPRQpii/4Uh6vpOaMYCunfgxEWAmcpxzO9cX5 1ckQhcFqmF/QNtq7eqZiIoK5NU2Jsst1yXv3K1p2tUVGlU+UonJtOvsdopLRcDcwvJFY=; Original-Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1n1SEV-0004eg-FO; Sun, 26 Dec 2021 13:02:38 +0100 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAgMAAAAqbBEUAAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAADFBMVEVWTFCpYWg3MTT/ //+VP7zNAAAAAWJLR0QDEQxM8gAAAAd0SU1FB+UMGgsaLhCnYp4AAAEqSURBVCjPbdJBasMwEAXQ iUjAaNWUeO92FeYUpdB9GuJNj5BTiNBFyLInmGY1/FP2j+SkLlQGW88jyaORRR4k+1YyRFTYYArg LJjgwCU3FLWMM4jFKz5z+cC31kgySdJJREThEitMwF+khqWoYpFwgj8TOfsT8AU/clhOELhancNF BW2ORQqi18uVKMRqHMd9wIk+cBs2/gufg4uv79A5cpkBJfW/cJlgWyL3h4rSRb6BHcEkr9g08POW UDb9QR4jwiqXzWICS1GW7298EkNgHS9LmjYcrWROuTXTVj6LmzNn4OjDlrY4PKgPHbupAieeCSw3 xHZhLeLclGip8JqSWq2ysdpqPEslolip1DpHJDFFXoHS0FXIas+SvNTfw9sp3LHa1W4DW6wlP+Oo wtnMVjPkAAAAQnRFWHRjb21tZW50AENSRUFUT1I6IGdkLWpwZWcgdjEuMCAodXNpbmcgSUpHIEpQ RUcgdjgwKSwgcXVhbGl0eSA9IDEwMAqhrIJaAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDIxLTEyLTI2 VDExOjI2OjQ2KzAwOjAwf7sMEwAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMS0xMi0yNlQxMToyNjo0 NiswMDowMA7mtK8AAAAASUVORK5CYII= X-Now-Playing: Anne Clark's _R.V.S.P._: "Sleeper In Metropolis" In-Reply-To: <83y247o9za.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 26 Dec 2021 13:56:41 +0200") X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a01:4f9:2b:f0f::2 (failed) Received-SPF: pass client-ip=2a01:4f9:2b:f0f::2; envelope-from=larsi@gnus.org; helo=quimby.gnus.org X-Spam_score_int: -35 X-Spam_score: -3.6 X-Spam_bar: --- X-Spam_report: (-3.6 / 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, RCVD_IN_DNSWL_MED=-2.3, RDNS_NONE=0.793, 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:283313 Archived-At: Eli Zaretskii writes: > The text that needs to be reflowed doesn't include newlines, except at > ends of paragraphs, right? So those are very long lines that > visual-line-mode will divide into screen line by wrapping. > > By contrast, in
 blocks each line ends in a newline, and the lines
> are supposed to be short enough to fit in a normal-size window.  So
> now wrapping should be needed.

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). 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.
-- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no