From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 0B9bBQcHnWEG1AAAgWs5BA (envelope-from ) for ; Tue, 23 Nov 2021 16:21:43 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id oAn7AAcHnWFyMAAAB5/wlQ (envelope-from ) for ; Tue, 23 Nov 2021 15:21:43 +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 40D8E24554 for ; Tue, 23 Nov 2021 16:21:42 +0100 (CET) Received: from localhost ([::1]:36944 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mpXc4-0002bu-Iy for larch@yhetil.org; Tue, 23 Nov 2021 10:21:40 -0500 Received: from eggs.gnu.org ([209.51.188.92]:43708) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mpXbL-0002Zb-1F for emacs-orgmode@gnu.org; Tue, 23 Nov 2021 10:20:55 -0500 Received: from [2a00:1450:4864:20::435] (port=44798 helo=mail-wr1-x435.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mpXbJ-0001Qc-5n for emacs-orgmode@gnu.org; Tue, 23 Nov 2021 10:20:54 -0500 Received: by mail-wr1-x435.google.com with SMTP id l16so1633392wrp.11 for ; Tue, 23 Nov 2021 07:20:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=BLdHhhE87vGjqPFadjTfEVps6Wd25dfRT+cK16m+l3o=; b=CF9G5nIrMHmBr/Ce/OGpep+FloKQe0nlZu/K+tHXrE7IcAuy3DyoeFgEJyJFcfmVev BKuBF0PrjjjlaZ4/yTWYK5wL2CM2idk1PttrF01GWvSjohSp6dmMGYtHr+G/aKYT1Ea4 nuGr0rLh228ZG7OG/J3VD6ow1nVc9Wv4aLQEcrFinGipR7iFFp6J+Ahp4FgzXudlTShM iI/zOWBwnzES6MmAVZCFk8QICRBWFSR1qnGfJr63K/VhfOf8ZkKr+6Ur9BI6zIddGNzH mqw2pHNkT8F7+gzuyOlyr+8xL4LZwaNgHgkmgFyuMJM+97+0k9NukGMR3JzNW/hxVvu1 dYFg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=BLdHhhE87vGjqPFadjTfEVps6Wd25dfRT+cK16m+l3o=; b=4vFh8DywEVAurHcfQq44VZDm91JsU8qqIrqWM0K7ZFni/9oWedVacr7YEI9zffmSzH GbsM/boOI6zuRnN4o+yANGv/KRtkKIOtGd1EBIfrEf/sil+mH5PmPPVjAvk+2cBWRB9q tYpHlt1s5buZhQad+En72cqYFGJSKbyrdeq7InixEiYktggGCq/50MySl1/nEIW9kGXF i5FFUI+NGdJB2fkoE6hOQExW6jufo7vyt7fVBIEGm6JQ5Ko4+jIPZVIOWn9TqSJjt49b KJ38EwYQR0L+mtAjCGyCrXmEvD9DFZYT+NduQLwHYWFS8ag65jVV6GrmmIGypotvlK1K +AOA== X-Gm-Message-State: AOAM532onND1x10OsyI7riow64MbdSl1WA7ZFCZAOZ35QjAtGQCcXaN7 B8HXxd1EF0rIr21iTIcOObeJiYsxMt2lcMIy8764VQBXDcM= X-Google-Smtp-Source: ABdhPJzno4aFbwYBLuww1XZS7QwKsMGLt5Aa42xYFjNYWhoMZpneHs59TsvAzV9zu0qL2OeKjBhConjHvrQM0ZZM8HA= X-Received: by 2002:a5d:5850:: with SMTP id i16mr7810850wrf.410.1637680850128; Tue, 23 Nov 2021 07:20:50 -0800 (PST) MIME-Version: 1.0 References: <877dd7mdx7.fsf@mat.ucm.es> <87r1bfnln2.fsf@ucl.ac.uk> <87o86ilw9a.fsf@mat.ucm.es> <87ilwqlvh5.fsf@mat.ucm.es> <87bl2ilqtr.fsf@mat.ucm.es> <87a6i2k90e.fsf@mat.ucm.es> In-Reply-To: <87a6i2k90e.fsf@mat.ucm.es> From: "Bruce D'Arcus" Date: Tue, 23 Nov 2021 10:20:45 -0500 Message-ID: Subject: Re: insert automatically a reference to a section header and a link To: org-mode-email Content-Type: text/plain; charset="UTF-8" X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::435 (failed) Received-SPF: pass client-ip=2a00:1450:4864:20::435; envelope-from=bdarcus@gmail.com; helo=mail-wr1-x435.google.com X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 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, 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: , 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=1637680902; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=BLdHhhE87vGjqPFadjTfEVps6Wd25dfRT+cK16m+l3o=; b=NZdxC4jMrOSTgDslWeByTArJ0ygFEr7JV6BL1kVUf6Ah22LG2p3GqEZF9lJPb0MwoVWOav 5amvm5d/0ctYSEL5pNlqUWv9+sf/fHRxbnfFV4qpmdyS7Xy8hkUFtUN/U3mRX2malESH3X ul4VYqumA2D29cpCaxw22yUfnW1py0Xq6AIAUP+qsveXkpd1LQVvoAqpCnNR1NGUqxkLfe ZAUaSVjWHRlOqN7Gwicbt7/rJiS1jRrvpVyLXhz6IOkftMqwALaxt4+f2c3bvj1ANOKi+I D1m8qhCjPJvIsO2PDphKS9FkRTsu+TTn/aOBn8cXdfks2TSvpTUPzyRAjUAAoA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1637680902; a=rsa-sha256; cv=none; b=drBzZLYkS9VqrZrolp/9Afb6ZgKN9lJspqBvezxhLL2lpXBGRkKJAZA6odR6w4yMEW+m/Q qGq3kgzsCkcXohf0xngudqubTck09DpHcqqDsJhBjmPsRWLSmBDd0vuFTZcZdRlq3O2Jlq quEP7ojhmqdziv0D2vp6sb1rBr/cBFaajURvqw5guRq8AxZKPu/LcEVoIfGGJuG+KLx6Lc mofGJ5EKQiWwNkeUjwsUQWzvoxCuk8V6QyoeiGJaoVGzbxvSZBkp9LL2fQpqieEnsuor+Z QE+C4RMCJHUMDoiMlkbN8syYsoL4zNYKYX+OAhGJ0ud4GEBElw9VZdt5UoF32w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=CF9G5nIr; 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: -4.08 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=CF9G5nIr; 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: 40D8E24554 X-Spam-Score: -4.08 X-Migadu-Scanner: scn0.migadu.com X-TUID: 0rguaaXVIhZT On Wed, Nov 17, 2021 at 12:18 PM Uwe Brauer wrote: > > I type "As we have seen in section [[*Intro]]" (literally, I tend to > > not use any keybindings or function to insert the link). This (the > > "*Intro" inside double square brackets) is called an internal link to > > headlines and they are a default feature of Org: > > Yes, but, what do you do, if you have a 10 header and each has 20 > subheaders. How do you remember all these names? Seems like completion could help, either at point, or with completing-read? I've been playing a bit with something using the latter, and it's not alway so straightforward how to do this given the flexibility of org, but here's what it looks like using the Emacs 28 grouping support and Emacs 27 annotation support: https://raw.githubusercontent.com/bdarcus/oxr/main/images/oxr-insert.png Bruce