From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 6IzZGhJj6WIDVwAAbAwnHQ (envelope-from ) for ; Tue, 02 Aug 2022 19:46:58 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id UHe+GhJj6WIdOwAA9RJhRA (envelope-from ) for ; Tue, 02 Aug 2022 19:46:58 +0200 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 01AEA2E88A for ; Tue, 2 Aug 2022 19:46:57 +0200 (CEST) Received: from localhost ([::1]:53366 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oIvyq-0002gc-FU for larch@yhetil.org; Tue, 02 Aug 2022 13:46:56 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54924) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oIvx3-0002gN-7u for emacs-orgmode@gnu.org; Tue, 02 Aug 2022 13:45:05 -0400 Received: from mail-vs1-xe36.google.com ([2607:f8b0:4864:20::e36]:39676) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oIvx1-00077c-Lr for emacs-orgmode@gnu.org; Tue, 02 Aug 2022 13:45:04 -0400 Received: by mail-vs1-xe36.google.com with SMTP id c3so15338335vsc.6 for ; Tue, 02 Aug 2022 10:45:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:content-transfer-encoding:mime-version:subject:message-id:date :to; bh=fXH/ZVN9irgelgFuz4e+xwPud6hafHycP6igo0In3UY=; b=E7w42crqRFmgmSSJaZx2WtVwvzclBTGIh3Su/f3al9l/e3gvKLYjFCsFylmf1oGOPC wpI24Y6AwYyGLtXgWioc5AJkUiG0WXq7B8OXJZhfqSeYecRb+g5sT+14LEJ49pIQ+6lG +NqStb2dqfrM+sQTHD24zG0XnESKgiELXCdlpMeoXxSLBhj+DQS2FihHDWP/cn1mG3rB 6yH6ysfO2HVMsVxDl+/ljWXajp2Ycwe30nIBw5piHZ0VJs1GjBFOlnAeDsyzqEU1OJdT fdzN/Rbm7ePG56Ao/NOk1JEzZfYf8oV+W1e4zh+3WhJ+gQX5CoOirosXPlvg0k7Z/v0Q KO4w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:content-transfer-encoding:mime-version :subject:message-id:date:to; bh=fXH/ZVN9irgelgFuz4e+xwPud6hafHycP6igo0In3UY=; b=Vnog30D8dAe7OxqUgggrw8aPYqmCABTYEQ0PUKE0tdutgsgLco8sfRLwHyDDj0vXVg IEXk1G58TFcyWk5JFpBFkSWn1AvNlBYa1Nhay3JNo85aaPrckOMasEUeHZX8liw9xfvw JiUixRg+UIBGPwHa69it1YZSgGcCGWaRSLqVN7YDl3urAOJOX7OTRYXUCFnhfo1HAXCF ydHdJ07KRmg+01dVmYk+SCACsmOqn0+87EmJpyE2Z1xMk6rjowV1EOcIlNQccYjTDP/V Cc8GQbnNX7z8iWZ6tgfatLdJr1rQrXsJLknyaRHd8CdiKiYCvb51SJbQUkfDK8TX34DO hVgQ== X-Gm-Message-State: ACgBeo28aWD5accIuqZSb7c4yVHUiWDsrRKaGCxriPiVSwYSEkT3q4SR 5Z0VXGnzmZ9Pl0gkvrat28ogRqrIT2pF0Q== X-Google-Smtp-Source: AA6agR5Fc3F+iy/nIxYmapsWOTYPpZXihGAj0zavIcYwy7mbvyxUztW28EvRO4JZOWK+0WINzdFCIw== X-Received: by 2002:a05:6102:2437:b0:387:4683:7569 with SMTP id l23-20020a056102243700b0038746837569mr2976362vsi.81.1659462300773; Tue, 02 Aug 2022 10:45:00 -0700 (PDT) Received: from smtpclient.apple ([186.138.192.247]) by smtp.gmail.com with ESMTPSA id t13-20020ab0688d000000b0038275916987sm8695694uar.14.2022.08.02.10.45.00 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 02 Aug 2022 10:45:00 -0700 (PDT) From: Carlos Pita Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.100.31\)) Subject: Adding target and custom id links doesn't ask for description Message-Id: Date: Tue, 2 Aug 2022 14:44:58 -0300 To: emacs-orgmode@gnu.org X-Mailer: Apple Mail (2.3696.100.31) Received-SPF: pass client-ip=2607:f8b0:4864:20::e36; envelope-from=carlosjosepita@gmail.com; helo=mail-vs1-xe36.google.com 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_HELO_NONE=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" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1659462418; 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: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=fXH/ZVN9irgelgFuz4e+xwPud6hafHycP6igo0In3UY=; b=nre+BA1Ik46mGySEKsr7hXe9Ad6U1NMGyuh6H0mt5LwzDozXU4JQg7f2bD268ATZ1KvlGf yKwJywSuGk/6bd68TSQgg/7SSq5w2xfztD3vi1MQN9OVMilWtCq/8dv2XuTCo32nmhWxHM +JsHDtNkWNBviXDowd5CC5OJD22VaKV5oHMYM38I+x9vDqsOT7cGDuDWpSVcGS22w0L2Aj Y4bg2lieozMOgsYWDGQwiKRZeVwljXT0hxDT7qm+hFFcRvlTTbdMnrzt5oJG43Hk7Zq7tf RA7/1MfaVn0m9mBVljmm1YiZGm0O7kTEXBTjUpuL4HjCTod/qZxyCHO7buKjvQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1659462418; a=rsa-sha256; cv=none; b=hH8iqxhCzkvxxlAQmmyBySb9Na/7Y/VWr4gGcYCOQRQ+ILLRNxWfhG8LQOFe7c3dzXpq5n ZxTdgOzzksySB48KJihbg1XofyrKlFLh3rbS+qoo9H0a+cyO/aWSVV5/vWUty4inVPYrem iVMFihpoxJBJL8I7zO9zelUhYbvM63Ceylmkz5+CnqOc2hHN0jzsur4es7HVYGmYCk0NNz quixJKIX9pdSueWFdSNYGpQ8BLHQmyQ7uBoyO/RiHshA6zlIsLPXUCk6Em5MExZtlhBmQE MFXJGPJf+Yt0MolPKEKWYSRXIyzgdMZDYYxUJsKHjsAsXLEKXAAOo3RmS4tq8w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=E7w42crq; 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: -6.92 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=E7w42crq; 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: 01AEA2E88A X-Spam-Score: -6.92 X-Migadu-Scanner: scn0.migadu.com X-TUID: ailPW3+iON1q Hi all, When storing a <> or CUSTOM_ID link with org-store-link and then = adding it with C-c C-l, org doesn=E2=80=99t ask for a description but = automatically inserts an ugly description like: ~/Desktop/Org/captures.org::target or: ~/Desktop/Org/captures.org::#7EFBCEA1-0D17-45B9-A125-10FE581752F8 The entire path is inserted even when the target itself is simply = =E2=80=9Ctarget=E2=80=9D. But, more importantly, no chance to change the = description is given to the user. This behavior is not observed when an ID link is stored, which seems = pretty inconsistent since there is no clear difference wrt the CUSTOM_ID = case. The inconvenience of this behavior and the inconsistent treatment of ID = vs CUSTOM_ID makes me believe that this is not intended but a bug = (perhaps a regression, but I=E2=80=99ve not been using org-mode for long = enough to say). The source of this behavior is in org-store-link: ;; If store function actually set `:description' property, use ;; it, even if it is nil. Otherwise, fallback to link value. (setq desc (if (plist-member org-store-link-plist :description) (plist-get org-store-link-plist :description) link))) so that auto-desc is later assumed in org-insert-link, even then the = store function has provided no description at all! Best regards =E2=80=94 Carlos