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.bugs Subject: bug#72485: Support 'visual-wrap-prefix-mode' in SHR/EWW Date: Sun, 18 Aug 2024 21:53:54 +0300 Message-ID: <86sev1y859.fsf@gnu.org> References: <867ccf4jfm.fsf@gnu.org> <1936f13e-b10a-e4de-b26b-14a2d36a54fe@gmail.com> <868qwu1llq.fsf@gnu.org> <671bd15e-35f4-caca-d99c-ef6e92d6a588@gmail.com> <861q2m192q.fsf@gnu.org> <3a549122-156c-2993-34b0-2c4b071e8b38@gmail.com> <86zfp9ya2u.fsf@gnu.org> <7fdfc885-3685-bc56-f3c7-bf7343711cc1@gmail.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16134"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 72485@debbugs.gnu.org To: Jim Porter Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Aug 18 20:54:35 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1sfl2w-00041A-AZ for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 18 Aug 2024 20:54:34 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sfl2k-0002RH-O9; Sun, 18 Aug 2024 14:54:22 -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 1sfl2k-0002R6-0E for bug-gnu-emacs@gnu.org; Sun, 18 Aug 2024 14:54:22 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sfl2j-0005QS-Nm for bug-gnu-emacs@gnu.org; Sun, 18 Aug 2024 14:54:21 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=References:In-Reply-To:From:Date:To:Subject; bh=7iTKxg+p+7orp7nVspjLCwX4jAaDPSG34kek47lGHEc=; b=FwKV+RnXVSet/CfNSakdW5sFdjsvpPrNVYzR42b5tyhEoQVRA1CXua53k5EpzbTO75I6hhyssWBj2iLiH0khDwRyS7Y7ZmpssmQhb0+yZzt3UyGWhnACkGpU6/gl1qK8QhXER3UpkizmujcpcvBukYhQ4focincjPf9j3M+4znE1bMTzv6dHNo0NrOa58nBdmOzkdrCRajgem6WhsKYlrxrwnczs7d786K4kaw+Ntf0sRx8QxuAjzYIHIq9BR/waxW+q28MCla+nZvFitJthR7IbJL/ispdFADSqC0JnokKNQjnmZ+ve3nLHqYLxeB/WuZgvuZRSiRRCGRhTAV4iBg==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sfl3O-0007Lb-A2 for bug-gnu-emacs@gnu.org; Sun, 18 Aug 2024 14:55:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 18 Aug 2024 18:55:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72485 X-GNU-PR-Package: emacs Original-Received: via spool by 72485-submit@debbugs.gnu.org id=B72485.172400728428209 (code B ref 72485); Sun, 18 Aug 2024 18:55:02 +0000 Original-Received: (at 72485) by debbugs.gnu.org; 18 Aug 2024 18:54:44 +0000 Original-Received: from localhost ([127.0.0.1]:56819 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sfl36-0007Ku-41 for submit@debbugs.gnu.org; Sun, 18 Aug 2024 14:54:44 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:50128) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sfl34-0007Ki-KF for 72485@debbugs.gnu.org; Sun, 18 Aug 2024 14:54:43 -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 1sfl2K-0005Pz-Mo; Sun, 18 Aug 2024 14:53:56 -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=7iTKxg+p+7orp7nVspjLCwX4jAaDPSG34kek47lGHEc=; b=LVGv1SupX3R5 7IWkG1IdTRaO7rGzg2HDlZJsL3fWySqbRAgjjV8yXLgqT0mbxPMclOtPbfsuBFGU+OTnqTEV054ut VaSuW8X2M8BF7wXoabE+cMqQt/VXRk2x7eC5gn2R7JH+fK1zOnoImLoXSiVUj3808rJHUDt5wg1Oa Fo8GaCDiO0u+ulWNWs/dMkYbsEyXIFtFDwkDKBjlumqQoc0+rQQZZNpCPJAMzo1OteN7owe3iTS3h /dibNfgeUOidRfTdSClyHlZGjOB4ZhPD0chJje6oJ9PEUYrAKoUdquTwNRlFXPYn3NGvfZLLuOrvo cTertQZNz808ew59LjlKYA==; In-Reply-To: <7fdfc885-3685-bc56-f3c7-bf7343711cc1@gmail.com> (message from Jim Porter on Sun, 18 Aug 2024 11:28:40 -0700) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:290351 Archived-At: > Date: Sun, 18 Aug 2024 11:28:40 -0700 > Cc: 72485@debbugs.gnu.org > From: Jim Porter > > On 8/18/2024 11:12 AM, Eli Zaretskii wrote: > > *** EWW now enables 'visual-wrap-prefix-mode' when 'shr-fill-text' is nil. > > By default, 'shr-fill-text' is t, and EWW fills the text according to > > the width of the window. If you customize 'shr-fill-text' to nil, > > EWW will now automatically turn on 'visual-wrap-prefix-mode' in > > addition to 'visual-line-mode', so that long lines are wrapped at > > word boundaries near window edge and the continuation lines are > > indented using prefixes computed from surrounding context. > > That seems good to me, so I'll just use that as-is for Emacs 31. How > about this for the release branch? > > > *** New option 'shr-fill-text'. > When 'shr-fill-text' is non-nil (the default), SHR will fill the text > according to the width of the window. If you customize it to nil, SHR > will leave the text as-is; in that case, EWW will automatically enable > 'visual-line-mode' when displaying a page so that long lines are > visually wrapped at word boundaries. LGTM, thanks. > (If you think this makes the Emacs 31 NEWS entry partially redundant, I > can try to trim that one down to only discuss the new additions, but I > don't mind either way.) I see no reason to trim it.