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 oLGzMSQj/l9eIwAA0tVLHw (envelope-from ) for ; Tue, 12 Jan 2021 22:31:00 +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 uDBOLSQj/l85QQAAbx9fmQ (envelope-from ) for ; Tue, 12 Jan 2021 22:31:00 +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 37DF39402AF for ; Tue, 12 Jan 2021 22:31:00 +0000 (UTC) Received: from localhost ([::1]:33530 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kzSBm-0004C8-K2 for larch@yhetil.org; Tue, 12 Jan 2021 17:30:58 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:60116) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kzSAQ-0004Ba-96 for emacs-orgmode@gnu.org; Tue, 12 Jan 2021 17:29:37 -0500 Received: from mail-lf1-x12a.google.com ([2a00:1450:4864:20::12a]:42674) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kzSAM-00057n-9C for emacs-orgmode@gnu.org; Tue, 12 Jan 2021 17:29:33 -0500 Received: by mail-lf1-x12a.google.com with SMTP id b26so5749926lff.9 for ; Tue, 12 Jan 2021 14:29:29 -0800 (PST) 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=P8BUjgI422J9iN+Tk2blgXN7whLhwrp0Bz+zDPTOd6k=; b=LxlKLnBf6XsZIuwyMNPsDsOGVOzW4YAZ0gwTp5BDB6QxHsa5p6VHvWS+M5RxQ4MEX1 3SCYM1EoJbEZfNGXWPc9iCvkQ1LZ4e7aHLZhcC1nvZssWfzRAgyO5yBNoyAeiqyxhA4g bOqlfTspjgJ2+qdfurWB0kn9xd8U7BZZIilwmXm2sycFZ/NLNaeRi6ddTNtfqf9SR45I dWSFvWz5XvcLAw+BAVeNotxL1r+EDr/loxKtRvjNOzZbPCOj/1CLt3316xM+5Gs6mhw4 DoLnNLYW8Sj9H5rqCsSlG3a0xJcX4OzVgUB5aJEJJ9LjurIPgrTz+l0hY5Kgd/axR7RT EGAw== 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=P8BUjgI422J9iN+Tk2blgXN7whLhwrp0Bz+zDPTOd6k=; b=nT3k4EJ1f8FX3P+sC+Q/MRC7An8yzOf9iWJZCeDgpafB8ER/F/OtTNieew6HTKy9bp oukHtXVFXzyEv3SxpeGi0UFVVik+/K5dVXI9bbWfivQ+WYn5TQXAHWUrD1uClbyQzrSW Jyre0+YXDNP1jvhgsY6ww9IxQHHZYLUv5pY8+kpfwDAW2O2b3f87YdlcuTDPNFqBDX9M Z5jyzgsUUBsivYvanIBD/u43o73wskrr0YQEO7YuvEN3EjyEUBNO7Ypa8Gh/V8QmUR6x /aCQ84vcaKzZHoHOS3I2xU8ft+QY+0j1iiZMxFjLkoukZkb/OUf/+WOkQ/FdZJefPTDP eXvg== X-Gm-Message-State: AOAM532FffdDtv7gZ2/avUDnmGRHJx8adro1bx9KdF5HmAhcHqkmHJI1 StFDTLxcYpUwlNtSqF8LTTvo6W239nEqGLmPam4= X-Google-Smtp-Source: ABdhPJx3pzvWWQwpVhKt8xzT4Df0ekXqA3Rw6J+b8DEt30bV3O0m9OXT6x/h5Hr17EEG+IYEAxyb8mlK+uR/o5Xx73Q= X-Received: by 2002:ac2:5f68:: with SMTP id c8mr461483lfc.140.1610490568093; Tue, 12 Jan 2021 14:29:28 -0800 (PST) MIME-Version: 1.0 Received: by 2002:ab3:6450:0:0:0:0:0 with HTTP; Tue, 12 Jan 2021 14:29:27 -0800 (PST) In-Reply-To: References: <55473cf050e1b3f3c716f3c43bc5bce0@isnotmyreal.name> From: Samuel Wales Date: Tue, 12 Jan 2021 15:29:27 -0700 Message-ID: Subject: Re: ol-plo.el --- Orgmode Link type for navigating Ordered Plain Lists To: TRS-80 Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2a00:1450:4864:20::12a; envelope-from=samologist@gmail.com; helo=mail-lf1-x12a.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 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 X-Migadu-Spam-Score: -3.06 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=LxlKLnBf; 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: 37DF39402AF X-Spam-Score: -3.06 X-Migadu-Scanner: scn1.migadu.com X-TUID: zpViv03L8OLa one option is to name your targets with <>. i think, but have not tested, that these will disappear upon export, but they might or might not be annoying to you in the org buffer. you can get to them with [[my-target]] which can export to list number or so. On 1/12/21, TRS-80 wrote: > On 2021-01-12 15:33, Daniele Nicolodi wrote: >> On 12/01/2021 21:21, TRS-80 wrote: >>> Hello *, >>> >>> I just banged out a bit of Elisp implementing a new Orgmode link type >>> for navigating Ordered (i.e., numbered/lettered) Plain Lists.[0] >> >> How do you deal with the lists being re-numbered when you edit them? > > Currently, just manually updating the links. > > I guess in my usage, I mostly keep adding on to the bottom of the Plain > List (taking notes) so I rarely need to re-order anything. > > However you raise a good point, and suddenly I realize I have written an > "80% solution." Adding that other 20% would increase the complexity and > amount of code by...? For me, not worth it (for the time being). > > However, you are helping me to answer the question about where it should > "live." I now no longer[0] think it appropriate for that to be within > Orgmode itself (and perhaps not even in contrib). So, thanks for that. > :) > > Basically, what I wrote so far is a "first pass." > > Cheers, > TRS-80 > > [0] Not that I necessarily did in the first place. ;) > > -- The Kafka Pandemic Please learn what misopathy is. https://thekafkapandemic.blogspot.com/2013/10/why-some-diseases-are-wronged.html