From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id cIb2CN/tjGdmGgEAqHPOHw:P1 (envelope-from ) for ; Sun, 19 Jan 2025 12:19:43 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id cIb2CN/tjGdmGgEAqHPOHw (envelope-from ) for ; Sun, 19 Jan 2025 13:19:43 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b="YmT/UD0N"; 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"; dmarc=pass (policy=none) header.from=posteo.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1737289183; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=zICpWga6vSkgmiH45zdzl/Hs71WaY7u3Sw1mQDg5AEU=; b=hxi8SFSBGViBAQU0dPqf+6Jq0i8y0J99xPsnS7dmeorJs1e9LRHnQ9ADW3tEwmTAdFys3R mVpBFDywm21F/Qs6drb1KjZgggoY2jkBhARa0RDCkcwni4lIMrSTT1UvlPCmSo7CjkfhOS DxiZhr/8lsr3csmOERWua3tAbJW5/YKcPD/s3WZRiGpC/DrAPV5s1u2tv5Y4FRo1NheGmG n/DbeLSlW9EwSEWeHlLmV6XgK4jqTIosulBOVI9bQL9DKIJVRtOg5suXAvTEmFDDixbhWO VvtkD/rXeFV4qA1DQ8jB1k/8AK4lseuMylUQa46yr+fhm+CK99yTOXe4rrcwMg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b="YmT/UD0N"; 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"; dmarc=pass (policy=none) header.from=posteo.net ARC-Seal: i=1; s=key1; d=yhetil.org; t=1737289183; a=rsa-sha256; cv=none; b=itLLGCKGyeMQPyWmdMBOjybAjXhErXWYFxtQzLp0WW1DFF8FQ5U9TMcRRVtDj9ULo7QD/J 8metEjrMFUaJNC9YMj8QUGaj8fRPaRWTrwNb2smhyUfte60cwT4R37Yg94usfHLTho8tha 6X0HY9ud/70BCYI9+6juuE3NSYTh2BcQB3OqsYBgMdpfdbuC5wnTWzh9Y6mfuCaiSrPdtA 9Tp4MC8cap98DGE+GW/tn6bw4WjunMm8m9XpUvMBOxEAMFs+RbUIw25nk4gAZSGT3jCarF 8lITU9vJmqEQEdyYyOh+g4x/uutniRAD9AS97NXqyAlW5fh9rFlc0CBh0d7ryQ== 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 0D48D7FB3D for ; Sun, 19 Jan 2025 13:19:43 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tZUGW-0004j1-WC; Sun, 19 Jan 2025 07:18:58 -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 1tZUGG-0004iU-1c for emacs-orgmode@gnu.org; Sun, 19 Jan 2025 07:18:42 -0500 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tZUGC-0003ze-Hc for emacs-orgmode@gnu.org; Sun, 19 Jan 2025 07:18:39 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id DB499240028 for ; Sun, 19 Jan 2025 13:18:29 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1737289109; bh=NSulH9LDwiOFerg+6t2yGoNEjxDVBaKq7HsQaJMd7ew=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=YmT/UD0N1CyrsMbe4ZiWOmRxwRW6wCj4CADn4Fa291cy2QMPPMfL9CeRPONU6t8x7 a2VgzabEmEIBaV61CbTCYeaiGjt6jOB+ionQm7Nmirt4CmuLAe255K/wb6L6JrvC82 hyRA0HkYtkRjsR/i1x0m6XIklRQ4n+fqgNm0DwMTmyY8FdBMLsQvjCKIfRTaPi/5MH FMXU/cqVEkywViduLQygRFqxMDDMhgjC+vikh2OYrEVZ1mnqvIywjxs9iD+Ei3PJhM 98Ee7owO1E4EYGAkg4fUpKBp+gPFYYJ3EdEF/yK4LzOrS5ffEH+Tei5JqtDRhmhvPC rDNkP9VnWLWDA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4YbXYw69xPz9rxK; Sun, 19 Jan 2025 13:18:28 +0100 (CET) From: Ihor Radchenko To: Lei Zhe Cc: emacs-orgmode@gnu.org Subject: Re: [Patch]: Ignore search option when org-lint local file link In-Reply-To: References: <87plkjceei.fsf@localhost> Date: Sun, 19 Jan 2025 12:20:41 +0000 Message-ID: <87frlfc7vq.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.65; envelope-from=yantar92@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -53 X-Spam_score: -5.4 X-Spam_bar: ----- X-Spam_report: (-5.4 / 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_MED=-2.3, RCVD_IN_MSPIKE_H5=-1, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Queue-Id: 0D48D7FB3D X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -3.63 X-Spam-Score: -3.63 X-TUID: yFO7UaM2xetU Lei Zhe writes: > Sorry, it was [[attachment:example.pdf::2]]. > The lint for [[file:example.pdf::2]] is fine, since > org-element-context returns the raw path without the search option. > However, this is not the case for [[attachment:example.pdf::2]]. I can reproduce this one. Applied, onto bugfix, with minor amendments after adding a proper commit message. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=c54340b8a8 -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org mode at . Support Org development at , or support my work at