From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id EKPHDEGUvGWpagAAe85BDQ:P1 (envelope-from ) for ; Fri, 02 Feb 2024 08:05:37 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id EKPHDEGUvGWpagAAe85BDQ (envelope-from ) for ; Fri, 02 Feb 2024 08:05:37 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=quanticle.net header.s=fm3 header.b=YHd4qtgP; dkim=pass header.d=messagingengine.com header.s=fm3 header.b=qXOnU5xu; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1706857537; a=rsa-sha256; cv=none; b=Ufhayk0cqlYqqfC/hBZ1MUqEbbPTDoJsHc/4rKBiAYeXREkg5D3SyTUmO1Y/ppd2LJZ+hb ROdcsdhIH4Sdayp9x4DZXpSQu5wPZjR2gVo4rCXjLoSwRNXosScdiErlxwlFlJ8LGCRWwy LwU+HZmXdr7qwedvgsN9/SE+RYILUIGl491QSAnYnvow/9lDRR9OyVwDyN2SR+WXffgIVV emi4Em3iljJXvqUsaXdxkdgPfH0k8rq0wBNgMdJqxJSP063bGz9THNYMBFWMCFgqaj74Ri X2tCEtkQ+sXZfoc7lnOd/MSjEJwrqlma5FunXCtVqPHtkhEfxtsYaOrG4IMBkg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=quanticle.net header.s=fm3 header.b=YHd4qtgP; dkim=pass header.d=messagingengine.com header.s=fm3 header.b=qXOnU5xu; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1706857537; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=SoVSNVownnIakVhzvg7ArgNvQ+qaDipD184m+kgwK0U=; b=mY9437FxsxLyYT3pzsTyKlHFm4RaV5XX173s8VfviLxToC0OP3SfWFZVeQnCjcCgyTqbEf OCWbxYL5TGgVMmujI0JMxT6ZOxD176OR+HP7Cns9oRE85EWgheMexc/6wr16AenXQ88Yd0 TEmnxtZcVUdbxgJnl4Pjf1+m4sqpRmcU4jUlVNtKUYGiKgfQOLDs+Fi5QSJoLl3zojqcby T6a09rcNwa8fV78hUCCE4JVsyJCkYolbMMnDt8I/Ttdvqx/kNbByj/hk9ukKlIQIWhWX71 fJJhawvSpXwJDnrxOOmSdU4ErAO+9SX1UOf4dYSLhV/rBa0O0ixH9a7ygLGKGg== 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 728037F3AF for ; Fri, 2 Feb 2024 08:05:36 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rVnbX-0001Yj-Kz; Fri, 02 Feb 2024 02:04:53 -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 ) id 1rVnbR-0001XY-83 for emacs-orgmode@gnu.org; Fri, 02 Feb 2024 02:04:45 -0500 Received: from wout4-smtp.messagingengine.com ([64.147.123.20]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rVnbO-0001X0-VL for emacs-orgmode@gnu.org; Fri, 02 Feb 2024 02:04:45 -0500 Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id C6D483200A8C for ; Fri, 2 Feb 2024 02:04:39 -0500 (EST) Received: from imap44 ([10.202.2.94]) by compute2.internal (MEProxy); Fri, 02 Feb 2024 02:04:39 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quanticle.net; h=cc:content-type:content-type:date:date:from:from:in-reply-to :message-id:mime-version:reply-to:subject:subject:to:to; s=fm3; t=1706857479; x=1706943879; bh=SoVSNVownnIakVhzvg7ArgNvQ+qaDipD 184m+kgwK0U=; b=YHd4qtgPmKHUkmeP5rG9sAMaP53nIfuEUMTL/n6lw1J6xbU+ HPVLl+cZBZkHF8lZVJtoCAdKHEpm/ziqkAK9dl5yuPVVOLZXMIr4HdlBMDH5kGE1 TvvkThK+XgWbbCi7RE/tCWEFYVOj5j2CuKjgfuNX8QyBq29S+HkvIcwZTfIHaoLE khxqfK6ST9jY8WVulKaicUS3HRbBOY7UiVWu3eLDg0ySHYojjMxMrA+V6sK7RC21 khkqBNUVzs9koHaB/RKO3kGDRjtWzx4qePnsBrCZOsHPha7Vff8IAjM9vJumAfGq APbSUkX/xLlKcj6aZaX3QTwdGaIIkooMpnyCZw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:message-id :mime-version:reply-to:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t= 1706857479; x=1706943879; bh=SoVSNVownnIakVhzvg7ArgNvQ+qaDipD184 m+kgwK0U=; b=qXOnU5xuAAu64aDJOBEyV3nVW4AHy5TZXQpi5tW3eh86k61msSz KYICzDT1lyGOMfN+Ka0qTYynp5Fh8ny3qyy7FfA9q3R/1HYHo+vQj4RAP6bHfRpE QhyAwyWVIbyAIqnZeUyRozxl5LQ/ZGW7hd6Ea4ALpU4itkFsCrsL4DQmmKJ5qPeS 0vSRyyDGxcerkdfrU4I5J3x5rbAubLHjkRvdFg3yFhJQ7Z5Y8aGYnMTtaOakHFSJ 4u0ZWHF5PrsebZv3EVoVXXOnTu5e//saNh2r4x20JXmgm2E8uLxq0tnI7GLQjA0D RkuaKG8QIb5Ezmv1nZ+3CnsG8XCp2EZY1RQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrfedufedgvddvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefofgggkfffhffvufgtsehttdertd erredtnecuhfhrohhmpedftfhohhhithcurfgrthhnrghikhdfuceoqhhurghnthhitghl vgesqhhurghnthhitghlvgdrnhgvtheqnecuggftrfgrthhtvghrnhepfeehvddtudfhgf ehtdeiteeukeelvdfhffeftdevveeihedugfffkeektdegffefnecuffhomhgrihhnpehg ohhoghhlvgdrtghomhenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrih hlfhhrohhmpehquhgrnhhtihgtlhgvsehquhgrnhhtihgtlhgvrdhnvght X-ME-Proxy: Feedback-ID: i0db1457f:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id DBB0A36A0077; Fri, 2 Feb 2024 02:04:38 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.11.0-alpha0-144-ge5821d614e-fm-20240125.002-ge5821d61 MIME-Version: 1.0 Message-Id: <38cddb14-78a9-424a-b83f-5b9f9217f8bc@app.fastmail.com> Date: Fri, 02 Feb 2024 01:03:04 -0600 From: "Rohit Patnaik" To: emacs-orgmode@gnu.org Subject: [BUG] Newlines after links are fontified with the org-link face after an incremental search Content-Type: text/plain Received-SPF: pass client-ip=64.147.123.20; envelope-from=quanticle@quanticle.net; helo=wout4-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx10.migadu.com X-Spam-Score: -9.43 X-Migadu-Queue-Id: 728037F3AF X-Migadu-Spam-Score: -9.43 X-TUID: YncxJmsrUh40 Hello everyone, I've noticed a potential regression in the way that org-mode fontifies links in the latest git main branch version of org-mode. When the user conducts an incremental search that matches a link that runs to the end of the line, for some reason the =org-link= face is extended to cover the newline as well. Detailed repro steps: 1. Run =make repro= from the =main= branch 2. Switch the scratch buffer to org-mode with =M-x org-mode= 3. Add two lines - The first line should be a link, for example: [[https://www.google.com][Link]] - The second line should be a blank line 4. Place the point at the beginning of the first line 5. Hit =C-s= to begin an incremental search and search for the link description (i.e. =Link=) 6. Hit =RET= to leave the search 7. Note that the link underline now seems to extend past the end of the link text 8. Place the point at the end of the line and hit =M-x describe-char=. You should see that the character is a =C-j=, and the face is =org-link= The above result does not occur when I check out the =release_9.6.17= tag, which is why I think it might be a regression. My version of emacs is: GNU Emacs 29.1 (build 2, x86_64-pc-linux-gnu, X toolkit, cairo version 1.17.8, Xaw3d scroll bars) of 2023-08-02 My operating system is Fedora Linux 39, running Gnome 45.3 on Wayland. Thanks, Rohit Patnaik