GNU bug report logs - #72485
Support 'visual-wrap-prefix-mode' in SHR/EWW

Previous Next

Package: emacs;

Reported by: Jim Porter <jporterbugs <at> gmail.com>

Date: Tue, 6 Aug 2024 03:49:02 UTC

Severity: normal

Done: Jim Porter <jporterbugs <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #29 received at 72485 <at> debbugs.gnu.org (full text, mbox):

From: Jim Porter <jporterbugs <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 72485 <at> debbugs.gnu.org
Subject: Re: bug#72485: Support 'visual-wrap-prefix-mode' in SHR/EWW
Date: Sun, 18 Aug 2024 11:28:40 -0700
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.


(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.)




This bug report was last modified 335 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.