X-Loop: help-debbugs@HIDDEN Subject: bug#76018: 31.0.50; wrap-prefix properties from visual-wrap-prefix-mode proliferate Resent-From: =?UTF-8?Q?K=C3=A9vin?= Le Gouguec <kevin.legouguec@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: jporterbugs@HIDDEN, bug-gnu-emacs@HIDDEN Resent-Date: Sun, 02 Feb 2025 17:51:02 +0000 Resent-Message-ID: <handler.76018.B.173851865410366 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 76018 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 76018 <at> debbugs.gnu.org Cc: Jim Porter <jporterbugs@HIDDEN> X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN X-Debbugs-Original-Xcc: Jim Porter <jporterbugs@HIDDEN> Received: via spool by submit <at> debbugs.gnu.org id=B.173851865410366 (code B ref -1); Sun, 02 Feb 2025 17:51:02 +0000 Received: (at submit) by debbugs.gnu.org; 2 Feb 2025 17:50:54 +0000 Received: from localhost ([127.0.0.1]:36182 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tee7S-0002h8-3y for submit <at> debbugs.gnu.org; Sun, 02 Feb 2025 12:50:54 -0500 Received: from lists.gnu.org ([2001:470:142::17]:41428) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <kevin.legouguec@HIDDEN>) id 1tee7P-0002gk-DK for submit <at> debbugs.gnu.org; Sun, 02 Feb 2025 12:50:52 -0500 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 <kevin.legouguec@HIDDEN>) id 1tee7J-0005Or-Ql for bug-gnu-emacs@HIDDEN; Sun, 02 Feb 2025 12:50:45 -0500 Received: from mail-wr1-x432.google.com ([2a00:1450:4864:20::432]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <kevin.legouguec@HIDDEN>) id 1tee7I-0005Ys-4q for bug-gnu-emacs@HIDDEN; Sun, 02 Feb 2025 12:50:45 -0500 Received: by mail-wr1-x432.google.com with SMTP id ffacd0b85a97d-385e971a2a0so197652f8f.1 for <bug-gnu-emacs@HIDDEN>; Sun, 02 Feb 2025 09:50:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1738518642; x=1739123442; darn=gnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:from:to:cc:subject:date:message-id:reply-to; bh=WfOit+35NzyU4k2KDPDfISOA/tFOy07Mk/TiXRJUE0E=; b=AB7g3WnEKsmBmSuoatrNO884iUWnb9hxgi3580pHVoYa41asQw6Hp5YbULqFHMnlVk aLIGmStLNyOLKA0zBc0DP9YVA1lSoWo49jZ8FYBCVrOTnkI/k9/9Q5YMeE7G/Biv+fVt DpCBaQ1QcPw02fkbTFomWfpsi9Weu8SbA9NyXf6NC08CPPPSZyBH12dIEb7tRIUJTfVT Gi/DrM4rT/cxUw9Y5Gn3NN5vC3AbvI2c0bjvOY5Wqg6fz624lLPbjiRN9P4l7v/TT2Za dbkCUNFaBIqmqCREnXKYTounakbaX2eoPPOCZymEpavI+K856VJhWmmnn3NwqiJ09piG B76w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1738518642; x=1739123442; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=WfOit+35NzyU4k2KDPDfISOA/tFOy07Mk/TiXRJUE0E=; b=RgrggemP46g5xnyWy1uFAITBxEedr9KixGSbMLOpzfAvq8amQ8tQOzHhBO3sXZG5m+ lQHCBJlRFBcGVdSgjAHdPjCjhlshlNLtko4ffAUwJgr7jAfz3TBqUkkYfDqi2TstAI/t wmEZ3aI0/8uoWiN5Vg/LX9SxHO1+xXMopBnpdiuvh3wdnFN1pULkmHpNocTf2wZ+kyyu R4S2ghJ6+/duzUZWRdd6UKdEu/Bbi55ZRW0WyFHzcJoROQWq3MrtNSxO9aIGOZU4uzFr KS4CI24SKEXhbE3K6lmSxX9gxTGW3P51XulROCCsCOAwyHet3nImCuf37fz9imAZdgIg kwEQ== X-Gm-Message-State: AOJu0YzXx5BUyZNvlpT4vDkvRtLxj1vjzAmhs3HDgxiizGNoXSB4Gdqg AjUbSFqtJXICaiidqkq5xTl7wDMdhQ8AoA333sveMjLZ7cRJjtsXMHH7cg== X-Gm-Gg: ASbGncvZjDOQ0VV+hKOC/YTPrt1t0oEMrJPb39+QKOXbNzsqixL1x5TSf3hn7HwaLJi u9xL1OXzD1lj/GL3idTJbiSILTbcQTp1X5DLgaZ56TcnIKJwFk/qisNirmj/lFHNTHM7wnh774g A+VUSoo3kVFnhwxotkDBSW4YVEpmTEHSZsptIR1kNt9n9TfleV2BxexGH1vy7JBDgbeGScz9AcB zCxMwlyzz5aHmfRy7zCbY2BHmvW/NoPhYKdKrfGkUtnr0r4PPvzXWfNLNDvAyugNLAbQTPkGZd+ 3mIMee7erz75f90+N58= X-Google-Smtp-Source: AGHT+IHmOgigCReVboDIdKisiDBLCZeF5QsPd7bCXH/uTDK+wLzSVP67PQzKxAGczpQhtw411wNf5g== X-Received: by 2002:a05:6000:1544:b0:38d:9e86:2b24 with SMTP id ffacd0b85a97d-38d9e862bb7mr321777f8f.8.1738518642293; Sun, 02 Feb 2025 09:50:42 -0800 (PST) Received: from amdahl30 ([2a01:e0a:253:fe0:2ef0:5dff:fed2:7b49]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-438dcc13139sm161888015e9.3.2025.02.02.09.50.41 for <bug-gnu-emacs@HIDDEN> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 02 Feb 2025 09:50:41 -0800 (PST) From: =?UTF-8?Q?K=C3=A9vin?= Le Gouguec <kevin.legouguec@HIDDEN> Date: Sun, 02 Feb 2025 18:50:40 +0100 Message-ID: <87a5b42q33.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::432; envelope-from=kevin.legouguec@HIDDEN; helo=mail-wr1-x432.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.0 (+) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.0 (/) Heya! To reproduce from emacs -Q: C-x b repro M-x visual-wrap-prefix-mode - first line of [words=E2=80=A6] RET RET second line of [words=E2=80=A6] C-o Expectation: continuation lines for the "second line of [words=E2=80=A6]" s= hould not have any indentation. Observation: text on that second line has these properties: There are text properties here: fontified t wrap-prefix (space :align-to (2 . width)) (NB: "C-o" in the recipe ensures there is a character at point, otherwise "C-u C-x =3D" shows nothing on account of being at EOB) Denoting "hard spaces" (buffer text) with "=C2=B7" and "visual spaces" (visual-wrap-prefix-mode decoration) with " ", text thus wraps like this: -=C2=B7first=C2=B7line=C2=B7of=C2=B7 words=C2=B7words second=C2=B7line=C2=B7of words=C2=B7words Not sure what the right fix is; having just learned about text property "stickiness", I can at least work around the issue with=E2=80=A6 (push '(wrap-prefix . t) text-property-default-nonsticky) =E2=80=A6 but I have not dogfooded this much yet. Thanks for your time! In GNU Emacs 31.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.43, cairo version 1.18.2) of 2025-01-18 built on amdahl30 Repository revision: 840057bb1bfc05a52519793c620d729688ea1d8f Repository branch: master Windowing system distributor 'SUSE LINUX', version 11.0.12401004 System Description: openSUSE Tumbleweed Configured using: 'configure --prefix=3D/home/peniblec/apps/.emacs.2025-01-18 --with-cairo --with-native-compilation=3Dno --with-sqlite3 --with-xinput2' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG LCMS2 LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 M17N_FLT MODULES NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER WEBP X11 XDBE XIM XINPUT2 XPM GTK3 ZLIB Important settings: value of $LC_TIME: en_GB.UTF-8 value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: =?UTF-8?Q?K=C3=A9vin?= Le Gouguec <kevin.legouguec@HIDDEN> Subject: bug#76018: Acknowledgement (31.0.50; wrap-prefix properties from visual-wrap-prefix-mode proliferate) Message-ID: <handler.76018.B.173851865410366.ack <at> debbugs.gnu.org> References: <87a5b42q33.fsf@HIDDEN> X-Gnu-PR-Message: ack 76018 X-Gnu-PR-Package: emacs Reply-To: 76018 <at> debbugs.gnu.org Date: Sun, 02 Feb 2025 17:51:02 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. As you requested using X-Debbugs-CC, your message was also forwarded to Jim Porter <jporterbugs@HIDDEN> (after having been given a bug report number, if it did not have one). Your message has been sent to the package maintainer(s): bug-gnu-emacs@HIDDEN If you wish to submit further information on this problem, please send it to 76018 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 76018: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D76018 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.