From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id SBsCCUbqmGGCawAAgWs5BA (envelope-from ) for ; Sat, 20 Nov 2021 13:29:58 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id IMOQBEbqmGHRfQAAbx9fmQ (envelope-from ) for ; Sat, 20 Nov 2021 12:29:58 +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 C877C368DA for ; Sat, 20 Nov 2021 13:29:57 +0100 (CET) Received: from localhost ([::1]:37746 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1moPVF-0000LP-0x for larch@yhetil.org; Sat, 20 Nov 2021 07:29:57 -0500 Received: from eggs.gnu.org ([209.51.188.92]:59978) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1moPS8-00050a-2g for emacs-orgmode@gnu.org; Sat, 20 Nov 2021 07:26:44 -0500 Received: from [2607:f8b0:4864:20::52f] (port=37598 helo=mail-pg1-x52f.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1moPS6-0007hm-AD for emacs-orgmode@gnu.org; Sat, 20 Nov 2021 07:26:43 -0500 Received: by mail-pg1-x52f.google.com with SMTP id 206so5944976pgb.4 for ; Sat, 20 Nov 2021 04:26:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-transfer-encoding; bh=5h9ZRDkWyjGaqoMnpX5hjaEiVbbmElGvZuK437sE3y0=; b=Dz43fqLzwvl+ZtCiKwRN6/XAZdzUabJKx/wG0otdxL9b+zKjM91RxTsddgx2Qgcaoc 6AcNGF+0z+mmMaVjTh4h6xQ0Y/OzyhFQH9orVJaH4hKKaRSd8QYyCtyr3A69kMAmWSkd +MquB3cyCL+6lmwyR5+nDBbb+pbpl8ehR9Ii2xXYjZ8ErKEr7tKbsE76++Vo8Q+2p8yo 8Nkc94tbVwSMMv1Cub0K/1JS9P2W187ief0vv8W6XyWpYIaONzPOeAkmRir5958CjQcg dtPnVi1gULJMgkkroXRbktleO/1hNhhRw5BwLKkqAXufntKvDhNo4/04LN30M6i0TTNd 6htA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version:content-transfer-encoding; bh=5h9ZRDkWyjGaqoMnpX5hjaEiVbbmElGvZuK437sE3y0=; b=rQGsoaaPq0maqGWbnc9OyRE2f4z8UM87H0ZszeicjEFvsVhmfEgnHVRNX8ZSfiPXXM Agu9uVUojXGpYcbExW9HTiz611M1JtVQqrPCOJebfT4D/gfDBm/jDhRAvmfU7rDaoZZ7 v2H4iaYs/t7/2jdsEfTurb5GQhwQ2Gj3sR3dYvqTcTQGCg4krHu6GG82wXy7O0wBdTXw N07nVq0GKvgUdV6ArU2J6FmQ8zNWeQC5rEysd/kLQP4gPGpOwCdNKVy4sdlMqg8iRxqk X4d8S5uZn8P+qWBVh73pOOtzM5Nd/s2g69HU2qOpcS6bxHruF+rx8KXD4arQ7Sz0zccK puXg== X-Gm-Message-State: AOAM533ss/uEJeW7hlfaqirhJ6tmlW7ZmvuBetJ8tCw4rh0xtTEq39+I bgn6QEefwtpXzfu6hh8MiYM= X-Google-Smtp-Source: ABdhPJwa3StseMh9R6jwglhBBLw5AQGOo7PQsewOCkc/OCDk+z7eaZ0nwtHAraG4lOcq0Zgp8hT6Cg== X-Received: by 2002:aa7:9197:0:b0:44d:a2e9:72cf with SMTP id x23-20020aa79197000000b0044da2e972cfmr30364471pfa.38.1637411197034; Sat, 20 Nov 2021 04:26:37 -0800 (PST) Received: from localhost ([103.125.234.161]) by smtp.gmail.com with ESMTPSA id k14sm2041611pga.65.2021.11.20.04.26.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 20 Nov 2021 04:26:36 -0800 (PST) From: Ihor Radchenko To: numbchild@gmail.com Subject: Re: [BUG] (org-element-context) on some link does not return search-option correctly In-Reply-To: References: Date: Sat, 20 Nov 2021 20:28:01 +0800 Message-ID: <87mtlzui3y.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::52f (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::52f; envelope-from=yantar92@gmail.com; helo=mail-pg1-x52f.google.com X-Spam_score_int: -10 X-Spam_score: -1.1 X-Spam_bar: - X-Spam_report: (-1.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_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, PDS_HP_HELO_NORDNS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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: , Cc: Org Mode Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1637411397; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=5h9ZRDkWyjGaqoMnpX5hjaEiVbbmElGvZuK437sE3y0=; b=YI+S+3g3tmR8U3TRUCtwvss3t0DewpCmvzs8XiqhlaeY0F0nkvMtlEa2yszcxwgiPKLeQw 1GCITNdkv6TWkx/Zcm6ohb7CfCamVKpKTbZKmT1Y/RyGqwHUyLsGcGxmDfQVxEBE5QQ/22 wxWD+5LHRp7opV54W5ZPrunvol4KcIOIlM3jXxtO4TChYRJj++iDuGQXl0SYipao5kQSj1 edNhFFaNByG5jFGI5Id/pgVI5o6DtQCg35U0T4uh3vkUk5VxDPDWUhVANOu7Z53MZO4mcb mLvoktn/4Y8Uobzn0rESSQWDrECA8bS1SOMFUh21wqvP9JipNKpVvcyd5Udw6g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1637411397; a=rsa-sha256; cv=none; b=TCOQEY3tsxppXWmBLlrcG800I385+A8enWYMzgVymlBgsAqYUikcoxnTmFrvOgqpKnVgov sRKo8tk6ZX4eL9k3AE0LbEDO/uYM0dMo9Lv0MaJ7zRuuf71BS8b70Qb//EhXQER09BL7Cq Y2I1S/4kPgL0UQHKWGfFjEm+H8yfehFKPPo5A9DfjjqVQrCB3db0RE/np1denYBq5KlXax 7eNU4j+nO0KzfL+z/hOyd2EbG8gy3qN/R0/C6DrJ5NcqX2munVkTQ1efAXSxf7nMNehaGw V9KtJkYAh3iqkgiJMxQRQyGtBAEx6ikX7ff2nvkcMuOMm7tiDik8yj53H0pM8w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=Dz43fqLz; dmarc=pass (policy=none) header.from=gmail.com; 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" X-Migadu-Spam-Score: -3.57 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=Dz43fqLz; dmarc=pass (policy=none) header.from=gmail.com; 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" X-Migadu-Queue-Id: C877C368DA X-Spam-Score: -3.57 X-Migadu-Scanner: scn0.migadu.com X-TUID: 2raIG9DUB+qW "Christopher M. Miles" writes: > When I put point on an custom org link: > > #+begin_src org > [[pdf:~/Org/Wiki/Computer Technology/Programming/Programming Languages/Cl= ojure/data/Books/Clojure=E7=BB=8F=E5=85=B8=E5=AE=9E=E4=BE=8B.pdf::40++0.00]= [Clojure=E7=BB=8F=E5=85=B8=E5=AE=9E=E4=BE=8B.pdf: Page 40]] > #+end_src > ... > You can see the result ~:search-option nil~. It suppose to be ~40++0.00~. AFAIK, only file: links are parsed to have search-option. If you want a custom link type to have search-option property, you should use link abbrev. Best, Ihor