From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id OH4OGJBdSF+bIgAA0tVLHw (envelope-from ) for ; Fri, 28 Aug 2020 01:27:44 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id MDzQE5BdSF9vfwAAbx9fmQ (envelope-from ) for ; Fri, 28 Aug 2020 01:27:44 +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 CDD0694051E for ; Fri, 28 Aug 2020 01:27:43 +0000 (UTC) Received: from localhost ([::1]:38412 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kBTB7-0007JW-0Z for larch@yhetil.org; Thu, 27 Aug 2020 21:27:41 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44538) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kBTAX-0007Ir-Uc; Thu, 27 Aug 2020 21:27:06 -0400 Received: from mail-pf1-x433.google.com ([2607:f8b0:4864:20::433]:35479) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kBTAU-0000Hj-OH; Thu, 27 Aug 2020 21:27:04 -0400 Received: by mail-pf1-x433.google.com with SMTP id o68so1063833pfg.2; Thu, 27 Aug 2020 18:27:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version; bh=ETAFVxgIbrgFpz2FStFmbs9a5EiXQvN+igjPNQ8eVoo=; b=RJ2XTizYoTaE5B5aG7QgIb2VWThaRfif02BugP2hPTE+Yb4iCWLk+aeVxtTARObYwM Fr/YotfYHt8K0CYqO+Tn3nQ9hZIy95zwmLZVsgZi/KwehSzPqRTo8qKo6ikkATJuZQRu mWTKcOJ3fawDCYC/lukfVdEQgqlsmg1PbeQUF6GT7QNst5NAVUD27D0gwR7OUJ7PoBx4 zla/umc+3HN0awz1oDJ+duxc2K+98pz21Zj5A1gRG6oEVV17neZka51jVLW1ctuAsGyL P5AL4rbS745nEjJXioE5aAMJJpkbH5jnG0gJ6nLdITFTdAgXPsQBbmeDBfltvHfZR7g8 6WoA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version; bh=ETAFVxgIbrgFpz2FStFmbs9a5EiXQvN+igjPNQ8eVoo=; b=f90Mft9X93hCiwulxWM37OLs9M7E9mEPGTtTGPWaMVYxjF4wmItlnXH79NSmhg2NGB E9WzU9CXtvmNpTZRrmyNyGT1r0vximWc5L0vPR6D3E1z0FYEVb0m26KsnLeIyrN/W64X 75+oiXVRpHryhTNg2kgEqbMy7by87p7b9CCyx0A+iHxg3sNA1vUsl70XizC1ibP2RZoi 8h9tNHEb/swK8LnCH0aL5qQoBrxx1U0KjboMKJSMz2xwnkhkc1JN/boKUb28pL94Rwyg 8hRoBAKelcadmlENVcQGSjdRoFlRrFiW9H29bkF3CBLKKGqAKVill3N0BsikCfPKj02T S7Kg== X-Gm-Message-State: AOAM532Kg6BykGN+5daL7D42jSBu5ENI/eww6UHIHL5wKAYnAv3D3hl+ K2ijDSaKiovNux4soY+w8Bo= X-Google-Smtp-Source: ABdhPJx2E3/CrC8hSHDpb3w3cqVPwmw1S9MepwHy9As8e6L+el9a2oOH5s3CRCs3CHjZvdCkopxHqA== X-Received: by 2002:a63:cd46:: with SMTP id a6mr16290109pgj.267.1598578019649; Thu, 27 Aug 2020 18:26:59 -0700 (PDT) Received: from localhost ([104.250.131.79]) by smtp.gmail.com with ESMTPSA id o9sm3269161pjs.47.2020.08.27.18.26.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 27 Aug 2020 18:26:58 -0700 (PDT) From: Ihor Radchenko To: TRS-80 Subject: Re: org-link-set-parameters :complete how to prompt for description? In-Reply-To: <11ea0c4fe8cc3cde08104d3071d902f2@isnotmyreal.name> References: <63e143a961c8eec498b0cfe234794df6@isnotmyreal.name> <87wo1k2ucb.fsf@localhost> <11ea0c4fe8cc3cde08104d3071d902f2@isnotmyreal.name> Date: Fri, 28 Aug 2020 09:26:01 +0800 Message-ID: <87wo1j7e8m.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::433; envelope-from=yantar92@gmail.com; helo=mail-pf1-x433.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. 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 , emacs-orgmode@gnu.org Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=gmail.com header.s=20161025 header.b=RJ2XTizY; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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-Spam-Score: 1.59 X-TUID: vats50Tgr0U8 > I am guessing you were referring to org-link-make-string? Well. Not really. But I am glad that you found the function you need. Normally, org-link-make-description-function should be called for any link inserted with org-insert-link to generate initial text for the description prompt. The (possibly empty) prompt should actually be shown regardless of the value of org-link-make-description-function. But I guess you can as well directly return the link with description in your completion function. Best, Ihor TRS-80 writes: >> On 2020-08-27 07:37, Ihor Radchenko wrote: >> >>> Any tips would be greatly appreciated. >> >> Take a look at org-link-make-description-function >> >> Best, >> Ihor > > Hi Ihor, > > I am guessing you were referring to org-link-make-string? > > I don't know how I missed that. All I can say is I don't think > it is actually in the Docs anywhere. Because I looked and > looked (as well as searching Internet)! > > In either case, I truly am greatly appreciative, as promised. :) > Thanks a lot, Ihor! > > --- > > @All, > > Apologies for any duplicates received, I seem to have some > trouble figuring out the correct thread and method to reply (even > though I don't usually have problem on other lists). > > Assuming I didn't overlook it, perhaps this is an opportunity to > improve said Docs? > > Cheers, > TRS-80