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 uKvqGsqxQF9AIwAA0tVLHw (envelope-from ) for ; Sat, 22 Aug 2020 05:48:58 +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 8BGrFsqxQF/KIwAAbx9fmQ (envelope-from ) for ; Sat, 22 Aug 2020 05:48: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 9168594051B for ; Sat, 22 Aug 2020 05:48:57 +0000 (UTC) Received: from localhost ([::1]:41586 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k9MOd-0000af-8I for larch@yhetil.org; Sat, 22 Aug 2020 01:48:55 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33454) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k9MOH-0000aJ-1R for emacs-orgmode@gnu.org; Sat, 22 Aug 2020 01:48:33 -0400 Received: from mail-pf1-x42c.google.com ([2607:f8b0:4864:20::42c]:40990) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k9MOF-0008KN-Cx for emacs-orgmode@gnu.org; Sat, 22 Aug 2020 01:48:32 -0400 Received: by mail-pf1-x42c.google.com with SMTP id a79so2110135pfa.8 for ; Fri, 21 Aug 2020 22:48:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=bwGyz+BPdSGqXyg2o5GXAO07V9R367WSRVuxpTnownY=; b=WFc9hScdapaWAh6tL1dpZ/ZjIgZnP85OtjaZMWkTRmB7JNUF79FBpelgd/hWkfq/kB aSnpZXw67UI6JPcgyCzZHIoFcEPB1Y9Tl3le5khfBxTfk7/cxzwLHVUzSKqzbthkZU2N cC+r63MZLarhWBsr5johpv/IlZLlcwk+/cslK6Wl/M1OFB+1rAkqmCbQq11LkJo50Xcz PP+WSCwg7WJFDTZXWiDQu+Sd4Fzvg+f2IKZSx19wmqZo5hllGqljBIi3MKdSuzMjg4d4 2KYR6wJvRDGE4MHVqdOem0fmXy4T9RG26WikHXQ9FBni6Tk175fED0wxjnW27IBPcRXs yLJA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=bwGyz+BPdSGqXyg2o5GXAO07V9R367WSRVuxpTnownY=; b=nhqBxLP7+gNNCJknwRWEf9QA2di363W/YJVtdLtfeiPdq09DRtxf2dqPW/a5qCpRL9 Neko93TiuVrCKbiZE/qzNbiTc3gSodZlyU9OONcxaQOdOJMHJDk/tDuv6jDTdaqoD+Zg YGcJlcit1MCgXnyw4dL/KDNMSA08cnGAh/1LWhjSLBe4oi7nULeH491eeIV2ib84sFan TeSv37zHszeBahMnFCNiOuFh+yiBTPmv7LYiZ02VwGMkYZHjdoSXuvFwPCsixIfnQmwk pQxsFbkoZmO+I7soRsQfQC5VYdtROKGGeHET3l0s+M9z7XkHTcwbSMIOTwYB4nschgCW 5M5Q== X-Gm-Message-State: AOAM533nx+rt+RwXrkHglK0K5u4GWlz6opsmUDjfrBM1mqSoBsagCv6H yHWphpFGHu8FIoV0M3OPYxAk11pMuRaQn/X4Pg0= X-Google-Smtp-Source: ABdhPJx2r/D7abIKqhKoH6v/xceKqrDmzochP0C2wmWU4J/XLk55yR8n9e702eNpcVRba9xs+P6joWiYO+9E3E4DFJI= X-Received: by 2002:a62:d084:: with SMTP id p126mr5214088pfg.287.1598075309388; Fri, 21 Aug 2020 22:48:29 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a05:6a10:d104:0:0:0:0 with HTTP; Fri, 21 Aug 2020 22:48:28 -0700 (PDT) In-Reply-To: <877dtrwa55.fsf@kyleam.com> References: <877dtrwa55.fsf@kyleam.com> From: Samuel Wales Date: Fri, 21 Aug 2020 22:48:28 -0700 Message-ID: Subject: Re: using completion on header name to insert link To: Kyle Meyer Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2607:f8b0:4864:20::42c; envelope-from=samologist@gmail.com; helo=mail-pf1-x42c.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: -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 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-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=WFc9hScd; 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-Spam-Score: -1.71 X-TUID: f9qBLVytzd4w thank you. i think the problem needs specifying better than i specified it. basically, i use org-refile for refile and goto, and i just want exactly the same thing for inserting links also. this is close to that other thread, but i want to emphasize that the goal is specifically to merely use the org-refile mechanism for inserting links also. [i guess the idea is that org-refile is in principle a generic headline-filtering tool that is currently only used for refiling and goto. i want to have it do insert also. perhaps the headline filtering can be factored out as a generic tool and used to insert. not sure.] [more detail: i have various org-refile variables and a verify function set to show me headers exactly right. i use ido-hacks to make the completion ido-ish, but that's not the relevant part.] [more detail: org-id is also not the relevant part [except that, as a bonus feature, inserting a link to a header without an org-id would, only in this particular case, create an org-id in the target and link using org-id, regardless of org-id settings].]