From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id wKaiHgEX0F7qJQAA0tVLHw (envelope-from ) for ; Thu, 28 May 2020 19:54:41 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id iB2GGgEX0F5TXQAAB5/wlQ (envelope-from ) for ; Thu, 28 May 2020 19:54:41 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id F1D6B940367 for ; Thu, 28 May 2020 19:54:40 +0000 (UTC) Received: from localhost ([::1]:33800 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jeObu-00026K-I2 for larch@yhetil.org; Thu, 28 May 2020 15:54:38 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51774) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jeObW-00025w-De; Thu, 28 May 2020 15:54:14 -0400 Received: from mail-wr1-x444.google.com ([2a00:1450:4864:20::444]:39596) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jeObV-0006cJ-CX; Thu, 28 May 2020 15:54:14 -0400 Received: by mail-wr1-x444.google.com with SMTP id t18so530177wru.6; Thu, 28 May 2020 12:54:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version; bh=CHbD13Ux0GzofygY3l0IPN9zq5Fqfwa+RnWGIp7eJ5w=; b=ARxMSyVo3NU0KfO07Tk29MbpN08UFWt9YtoSTGQ44Fm/5PBk/HUkDtu9O03zlsrKzM Lrms5fiD8xrQHushBSzB+KphumT1XH9pUmAOmzxubWhxif0WzVM9UE0gR6vx0D8h2nnD QKg0XKdcqXe2cTBkxwftJUGRJMDEVeKKCv4mTiGofoQRCgOmdp8Ced1dxKKqhdr/rm4s slmKRf5B9yNgZtVaEmtG3oTRwP87BIr7GyX/96gtYoHzDl3d4g/SvGUvcewB1/sfP5jb XRrt6kp97lhGc9UmTv8II1uG4/YMuCdlsSBEYYJZDgzI0eK+KhjLVfpOHwnx7lG+mhPZ GHNA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version; bh=CHbD13Ux0GzofygY3l0IPN9zq5Fqfwa+RnWGIp7eJ5w=; b=WA3g61k5G1LIwiv+mqDAH11zhMni9IW8Czn/+r9B/XAm9sZ4rLr80CzvzuJ2gI514u iJWW6qO9UrRiJYa7YE89of38myqgg2ZT8PJfBtxNQEFiyHlmSggwz1uSjMP8e92+IApR WumZJ9yFdoCHprm9FuGAWJ/jAI0S7xiJcFoW3wuIf217Yn3vbbulhg5eOqKCtJqIpdyw He1iRctlSID5PCZXAvcJXgyz61zs2yyZVzFym8/0K9Em6VGW26cxnh9POLzoDCnTcarR lyheysGb9AD8bcioqcwX6cCiPPK7mbpQ3SKzyZI1CFC/DFmO7ikfnROnTXtTwXsRegQO Rb4A== X-Gm-Message-State: AOAM530fRl8DX4B5XoveltOCy2SkbwsC6r0KTnuaWN6Nqx0WfzD1BX73 hKGgiDoY+kVDe9mXltprptcaQLY1 X-Google-Smtp-Source: ABdhPJyFya58uRRLwChZLJ8/+PHfN20jilHgeKjuDn/Q1JIscpOtzub9Ujr+bs5wA0/PofLGz9a9Hw== X-Received: by 2002:adf:d089:: with SMTP id y9mr5011453wrh.26.1590695651165; Thu, 28 May 2020 12:54:11 -0700 (PDT) Received: from my-little-tumbleweed (200.143.13.109.rev.sfr.net. [109.13.143.200]) by smtp.gmail.com with ESMTPSA id h20sm7784590wma.6.2020.05.28.12.54.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 May 2020 12:54:10 -0700 (PDT) From: =?utf-8?Q?K=C3=A9vin_Le_Gouguec?= To: bug-gnu-emacs@gnu.org Subject: 26.3; org-indent-mode's line-prefix text property flickers near overlays Date: Thu, 28 May 2020 21:54:09 +0200 Message-ID: <87a71rhm3i.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2a00:1450:4864:20::444; envelope-from=kevin.legouguec@gmail.com; helo=mail-wr1-x444.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. 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_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: emacs-orgmode@gnu.org, Dmitry Gutov Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=gmail.com header.s=20161025 header.b=ARxMSyVo; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Spam-Score: 0.09 X-TUID: jjiVAnhutrdu Hello, The line-prefix text property set by org-indent-mode sometimes vanishes when typing near a line where an overlay is applied. To reproduce: - emacs -Q - C-x C-f repro.org - M-x org-indent-mode - M-: (insert "* heading\ntext") - M-: (let ((ov (make-overlay (point-at-bol) (point-at-bol))) (val (propertize " " 'display '((left-fringe right-triangle))))) (overlay-put ov 'before-string val)) - RET - a When "a" is inserted, org-indent-mode's line-prefix disappears on the *previous* line ("text"). It remains gone as long as I type self-inserting characters, until - I type certain commands, e.g. RET or C-j, or - I insert a closing delimiter that makes blink-paren-post-self-insert-function blink the corresponding opening delimiter, e.g. ')' or ']'. Then the line-prefix shows up again. This recipe is simplified; I originally found this bug in Org files under version control with diff-hl-flydiff-mode enabled. When typing in new content, the preceding line is shoved to the left until I stop typing; after diff-hl-flydiff-delay, diff-hl's idle timer kicks in and updates its overlay, which as a side-effect makes org-indent-mode's line-prefix come back up. See [1] for my original bug report to diff-hl and some crude "analysis". I'm clearly out of my depth; at least I hope I used the correct terms to describe the symptoms I've observed. Let me know if there is anything I can do to help debug this. Thank you for your time. [1] https://github.com/dgutov/diff-hl/issues/142 In GNU Emacs 28.0.50 (build 21, x86_64-pc-linux-gnu, GTK+ Version 3.24.20, cairo version 1.16.0) of 2020-05-18 built on my-little-tumbleweed Repository revision: b1fe27d77db8f819641231ca46725f3eed0b4d9b Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12008000 System Description: openSUSE Tumbleweed Configured using: 'configure --with-xwidgets --with-cairo' Configured features: XPM JPEG TIFF GIF PNG RSVG CAIRO SOUND GPM DBUS GSETTINGS GLIB NOTIFY INOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE HARFBUZZ M17N_FLT LIBOTF ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES THREADS XWIDGETS JSON PDUMPER LCMS2 GMP Important settings: value of $LC_CTYPE: en_US.UTF-8 value of $LC_TIME: en_GB.UTF-8 value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=local locale-coding-system: utf-8-unix