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: adaptive-wrap Date: Mon, 07 Aug 2023 19:49:51 +0300 Message-ID: <83h6paol00.fsf@gnu.org> References: <874jlc7ifu.fsf.ref@yahoo.com> <874jlc7ifu.fsf@yahoo.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28167"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Spencer Baugh Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Aug 07 18:50:29 2023 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 1qT3R7-00078W-LQ for ged-emacs-devel@m.gmane-mx.org; Mon, 07 Aug 2023 18:50:29 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qT3QE-0002wW-Cr; Mon, 07 Aug 2023 12:49:34 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qT3QD-0002wK-1e for emacs-devel@gnu.org; Mon, 07 Aug 2023 12:49:33 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qT3QC-0004y9-JW; Mon, 07 Aug 2023 12:49:32 -0400 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=To4XQvgreWz0vAmWkokA+/YBplHBmUofyg1Kr/vHbEk=; b=ETihlVyIHWZx vqOopk9YrXjLTZt5CLdVF86fHMBn5JHP7at1mLXFRjTu+At2YBq7X7T5Y3e3bSPoyzm5k6dd+VwE1 BmsAPaAUV5s1XiAq4eF9cFKNhwTxew96q1jNclYvWrUfki92NQ0PTEbCw12QmXPfRnF+yGY5PtXYn Jac0t+2TB9ODPEXzJElWzDT+seC+dUJ0P1brVl1k+ALPBb3cNpeu6HX9Ohw5L7Pkhx7qd2amt0W3v n2bXvT6DnQQ1JPSmRQbsFYEAvFbLf+EAh4GXK9Xhs5lLTxiQMqJWhl+WQS4lOYIEXxvyIILgQDZPp 1qUH5Ym5Fs+AEEfYY7couw==; In-Reply-To: (message from Spencer Baugh on Mon, 07 Aug 2023 12:01:51 -0400) 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-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:308418 Archived-At: > From: Spencer Baugh > Date: Mon, 07 Aug 2023 12:01:51 -0400 > > This would be nice in combination with some kind of dynamic > line-wrapping which simulates joining lines. Then comments would > appear as if they've been filled to the screen width, no matter what > the actual fill-column and screen width is. Which would be nice on > small displays. > > By dynamic word-wrapping I mean something which would display: > > foo foo foo foo foo foo foo > foo foo foo foo foo foo foo > > as > > foo foo foo foo foo > foo foo foo foo foo > foo foo foo foo > > on a 20-character width display. Instead of the default display > behavior: > > foo foo foo foo foo > foo foo > foo foo foo foo foo > foo foo Dynamic wrapping is incompatible with hard newlines. Don't use newlines except between paragraphs, and word-wrap we have in Emacs will do what you want.