From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jim Porter Newsgroups: gmane.emacs.bugs Subject: bug#72485: Support 'visual-wrap-prefix-mode' in SHR/EWW Date: Sun, 18 Aug 2024 11:28:40 -0700 Message-ID: <7fdfc885-3685-bc56-f3c7-bf7343711cc1@gmail.com> 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> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14476"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 72485@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Aug 18 20:30:54 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 1sfkg2-0003bZ-Bi for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 18 Aug 2024 20:30:54 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sfkfc-0007UF-9d; Sun, 18 Aug 2024 14:30:28 -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 1sfkfZ-0007Tw-ML for bug-gnu-emacs@gnu.org; Sun, 18 Aug 2024 14:30:26 -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 1sfkfW-0002zQ-Dg for bug-gnu-emacs@gnu.org; Sun, 18 Aug 2024 14:30:23 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=In-Reply-To:From:References:MIME-Version:Date:To:Subject; bh=gZLYUqkDp5FnlCepKgg0HHbasvdb4U9wZ6v7qSvkH+w=; b=l2Y8FXJXQy4kr4hMD5s5LKSHnPZI6p8oPyEfCCy9kHu91a7zKRTuDzKtKX5B5L7VAutNrrVFB1V8OEQeviGPm4Oqy/zM3nPJzfdiyN0/3ADIf2cElxPgFmtBzRePV1sgQLvhbQ0joeUMqdGyDOXyOKvUM5sBKKbcSCKS+3ji1qU47vXVpk3K432BlYUzHz7MTEAiLN8sfxejMi1o58aXQsrqMXpiVisV8LY38rfY9BqjdBnwr+veBgr2HqRFvDzqowb5phi7LipB6sNcEB7eTZFy5xdnQAsT6fr5bMTrnf9ujPMyS3AXTZ89U/u60tTccIff4Sc0jC2DvyO4ISml7Q==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sfkgA-0006kr-Hr for bug-gnu-emacs@gnu.org; Sun, 18 Aug 2024 14:31:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jim Porter Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 18 Aug 2024 18:31: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.172400582725914 (code B ref 72485); Sun, 18 Aug 2024 18:31:02 +0000 Original-Received: (at 72485) by debbugs.gnu.org; 18 Aug 2024 18:30:27 +0000 Original-Received: from localhost ([127.0.0.1]:56797 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sfkfb-0006jt-HX for submit@debbugs.gnu.org; Sun, 18 Aug 2024 14:30:27 -0400 Original-Received: from mail-pj1-f43.google.com ([209.85.216.43]:54682) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sfkfa-0006jg-3P for 72485@debbugs.gnu.org; Sun, 18 Aug 2024 14:30:26 -0400 Original-Received: by mail-pj1-f43.google.com with SMTP id 98e67ed59e1d1-2d3c396787cso2738833a91.1 for <72485@debbugs.gnu.org>; Sun, 18 Aug 2024 11:29:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1724005719; x=1724610519; darn=debbugs.gnu.org; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:mime-version:date:message-id:from:to:cc :subject:date:message-id:reply-to; bh=gZLYUqkDp5FnlCepKgg0HHbasvdb4U9wZ6v7qSvkH+w=; b=bO4jnBxXWlabHhiAm0MWjQAiseAXB0zH+t7x2h9Ccj/VXxxcges9L/UMTZvz05ptjg MEUDl2R4gBhXXwfk9aZE1Eb74BsWb9KWZ+Mp45U2KtNTlUe0YX3cZB1uXa2eQ3ekMgdp 38FmcxoiFcD/dMd29Cj0GVD/tXIWBzau8RVI+9nPEAIeYTT5jyGlgg4sGtM+leR56xC+ EPMRnysd4C+MRe/1fLFTVbN4jV46HJRqTZvMIsYkzhM9DwnJjvC1masNWN6bP/gHpSfI kICaYqc4OlAjPZzXvh5PnyVg+GEF9G+i0aOPQ/1MdoBNIIIo556kxST8tQV4cKX9V613 15jg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1724005719; x=1724610519; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=gZLYUqkDp5FnlCepKgg0HHbasvdb4U9wZ6v7qSvkH+w=; b=Hu8LCQurpoQdfY5j9lCZRr6hDAUcRf+bJ7MT7uBTkTt5XaqCe/tM+xNxZbV855hhN3 M4UPWZRVkVk2560klFB25/IIW7vajsUYYBsBktL5qO5/LFljlBT9aJFdy7FkdDrniw6i tcWG+GdMgJ76WGJpjTZ+tSXrMsagfM82/oz/5bZtv/GSl13CPoSaVmnCT/RPWwpfcaeu ycZVCVMmMTdsJ3jS8QGTDLYCjxwD02ATbRU493aYnprzlSfSooB2OgF9Gl6qq89daMn3 axv/8OK7fRsbmuW0DF+179hlKob8tYgZiiWJl3PBv1PzCPStFDs0/Pi6d+Su4vB0h6FQ +R6w== X-Gm-Message-State: AOJu0Yz30OzsvPEOakTSozZRWypMVnHRoqEYqkjY8K9hHLCg+tHFp/Vm w8BTj1fYoqptxWWgwU1y6WygdsG5gYN9suJbeao1skQdV18MTEtp X-Google-Smtp-Source: AGHT+IH5mDYKOUStbHkDU9KlGFF00bD6z+wYrRJ+SpVoLx7Po3WncXnYXJ43ge3zGuj/kuuRuYIZng== X-Received: by 2002:a17:90a:f001:b0:2ca:8b71:21f4 with SMTP id 98e67ed59e1d1-2d3dfc61aa6mr10051833a91.18.1724005719480; Sun, 18 Aug 2024 11:28:39 -0700 (PDT) Original-Received: from [192.168.1.2] (syn-023-240-098-037.res.spectrum.com. [23.240.98.37]) by smtp.googlemail.com with ESMTPSA id 98e67ed59e1d1-2d3f0f1f51bsm5218799a91.32.2024.08.18.11.28.38 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 18 Aug 2024 11:28:39 -0700 (PDT) Content-Language: en-US In-Reply-To: <86zfp9ya2u.fsf@gnu.org> 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:290347 Archived-At: 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.)