From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id sC8UKmcDkmDz3QAAgWs5BA (envelope-from ) for ; Wed, 05 May 2021 04:31:03 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id WH3cJWcDkmBsPgAA1q6Kng (envelope-from ) for ; Wed, 05 May 2021 02:31:03 +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 E8B5B1F0FB for ; Wed, 5 May 2021 04:31:02 +0200 (CEST) Received: from localhost ([::1]:42550 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1le7JW-0004hh-2E for larch@yhetil.org; Tue, 04 May 2021 22:31:02 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34298) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1le7J1-0004fx-AY for emacs-orgmode@gnu.org; Tue, 04 May 2021 22:30:31 -0400 Received: from mail-lf1-x131.google.com ([2a00:1450:4864:20::131]:40902) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1le7Iz-0002fW-2Q for emacs-orgmode@gnu.org; Tue, 04 May 2021 22:30:30 -0400 Received: by mail-lf1-x131.google.com with SMTP id c3so397964lfs.7 for ; Tue, 04 May 2021 19:30:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:in-reply-to:references:cc:date:message-id :mime-version; bh=bE101ciBz9f3RiusiIYmuX0Wplh0dl0uR0J4ffTj9vc=; b=WF80KijLGS/3EJcDsrmgtH+jrXd71cKFBcns4zmvW+E9ZScrZ2vV/cSqnXPYYgwlQW pbEHRTk4lHk3KDWSvIEzdPSn8uTc//QY9GYlzNAeTRvunpO4ADCVor384YmkQ6BsvK0+ X3CL2Ko/RhraJqUAeOnf+7mS8KLSX9laeXexB9AJsMkekf8zRPgckzRIgeTtebbqgRYi FxpuKBxP49UNAbw4Xeq3WnjNzlIVTAVcblb4xEhjEd+JCRQebWy6jGrTMgSWgxtlRu6A RxMlIe3S7Ur2XBVAJK9a0OExDmhb7eFON4mqMbkux2byZmrV3HFR1mgtHU2ftER/oBW8 3tQg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:in-reply-to:references:cc:date :message-id:mime-version; bh=bE101ciBz9f3RiusiIYmuX0Wplh0dl0uR0J4ffTj9vc=; b=QbUR8N3ZIkN0e1yS4atbd9kvixUSZ0c3vMZDJsJQfNZfB8mIUEqYHl5KWI0ks7oFvs LW1J2aVC0DK4uupkP9N69mxQiZlWKno4YTkBQ5QLRo/Y34YJth7SDxNVOg2AeYJ2C05f sVdIK6j87wCmI3zvteMetdLgMx4S56Qw/23EiLITFsJDV3E3x1Ti0AAiJYjdvoc5b2ay oyscF13lumEdvY68fDqLDmoTKmz2Vv8zuwaj+cxDKattJZ2KNzYKgWPuGb+nXJneZCzX xC2uePkTF4dX28b0Ox6xlGLiTP4l1aTf1umfHeh2aC4oJtsCv4njb0qBFN4MadM17NeA H8LA== X-Gm-Message-State: AOAM533DBU7pRlElrgSUgaKyqGPdHMf/ZSN0gZfOgA4RLG7lJ8GAIuxb x3CKfdlBs5xK20uN4QO6DzQ= X-Google-Smtp-Source: ABdhPJzNIT8WYpKd4QiEtG00L4UGnsytp2hljqDrXOTP4aSkGOf8e6ykKxABCP9GLJL4ivLNbxqJhw== X-Received: by 2002:a05:6512:6c2:: with SMTP id u2mr18752407lff.371.1620181826899; Tue, 04 May 2021 19:30:26 -0700 (PDT) Received: from localhost ([158.255.2.9]) by smtp.gmail.com with ESMTPSA id d22sm1657331ljl.15.2021.05.04.19.30.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 May 2021 19:30:26 -0700 (PDT) From: Ihor Radchenko To: Fr Ml Subject: Re: Bug: org-store-link uses CUSTOM_ID instead of target point [9.4.4 (release_9.4.4 @ /usr/share/emacs/27.2/lisp/org/)] In-Reply-To: References: X-Woof-Bug: confirmed Date: Wed, 05 May 2021 10:34:55 +0800 Message-ID: <87y2ctdi28.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2a00:1450:4864:20::131; envelope-from=yantar92@gmail.com; helo=mail-lf1-x131.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.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, FREEMAIL_ENVFROM_END_DIGIT=0.25, 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-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 Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1620181863; 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=bE101ciBz9f3RiusiIYmuX0Wplh0dl0uR0J4ffTj9vc=; b=l4JuVoSFGN1ln+Cz9h79wkxSi60GwwnyuyJRl7xfAbNHn9p3BxhHDVDpvUkE3w1wJy9E6x 8bG+wq18eh4q0pLwAc1ZcGPMU0iY3CRSKtwHGLfQdzFoCV/8B9rmLz3FBFkz2dHiVDOs1i rVRHFCqljKlMr2g+X31eKurJsT0HrilqD1V5Hp8JMq8p0W4NcvQXL092cP54w/RT8pqq4P gH55AHBg+8h7NNWwXpSDybu5mMUgLlslOWDQXM7fmRUawnvfPtEh8MgtCtj8uVbOjzjEji ec5qki1JRiMm3F0z5gJL2fRa6NVLJ6t0xZcE65tBN4BYYwdAOyTN76EZnLz7Cg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1620181863; a=rsa-sha256; cv=none; b=oLZ9gzIOHXXXJgcAXHYY9Hw23GCW1uN1EaUM2W2I4TbSHLvWY49URDElE308HeRbn/UP3i pcHyWRvEWQ0HNNKwXX6ficaHAlR6czFklLR9xfysgdAlx5S8KTmbDUV5lF5rQyUV0HW8D5 /NSjhUueg6Rerr0wviC04SkWGXA4odz99N3HOa4IOGdezBgMRSQknjTJ4LTdqanaQytY1C LGUWsWa2clKZorZ2/eWeiDpVtM3ainMZn8orjSLVoXg3Ajvg+ijgnXP1/7jWyYrvFSQcXT GI+wwlpqsost8altpQ5UHTE+w8dVhfkSkm1SKQftGVa80eI8fmZt1vCXrzt9Qw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=WF80KijL; dmarc=pass (policy=none) header.from=gmail.com; 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-Migadu-Spam-Score: -2.66 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=WF80KijL; dmarc=pass (policy=none) header.from=gmail.com; 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-Migadu-Queue-Id: E8B5B1F0FB X-Spam-Score: -2.66 X-Migadu-Scanner: scn0.migadu.com X-TUID: cetJ0g/C0knB Fr Ml writes: > If the cursor is on a <> and the item has a CUSTOM_ID then a > link to the headline (with the CUSTOM_ID) is stored - and not the link to the target. > This behavior is not always the same. Confirmed on master. Recipe: 1. Create the following org file: * test :PROPERTIES: :CUSTOM_ID: testasd :END: <> 2. Put point at the target 3. org-store-link 4. org-insert-link 5. The inserted link is pointing to the custom ID [[#testasd][file:/tmp/4.org::targetasd]] Best, Ihor