From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id QI/lMWdBbWbchgAAqHPOHw:P1 (envelope-from ) for ; Sat, 15 Jun 2024 07:23:19 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id QI/lMWdBbWbchgAAqHPOHw (envelope-from ) for ; Sat, 15 Jun 2024 09:23:19 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=csRP6bQN; 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"; dmarc=pass (policy=none) header.from=gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1718436199; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc: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=EcemCVjiQnGUMVP1w9ru2So8hokSlADKChYv0wxr5qU=; b=FUFQZJ6TJ7eHfV0eqp58Ve6fdkLeJUOMbY8oOsHy55VvvPQcphFax548l+aILOo0jWrjKv D9ErbYMfKB1i21Ssncb1FAhXWl91GPeuqd898aWjz0OwcAqYh3ziWG+yuCY7izXERKBIfl q3AWpBVYQnw7BYe1vR5PLVtslkaj6OSR0D5ae7LUkdvfUa4fzWbv92Ud6S3HSnn0AwXQqZ h6OgLdCIVh71oJUjDvBdUUolznGeeHA+NMzzA53qqwWZJubdDFY9YjUY2HDODDItRaj8jJ nlP24O7x1mGaQ2MeoQ/tuvxvC7SNHN/Y0mbx+6oQAEwKtyQxshIRWWZ6YcK1RQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=csRP6bQN; 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"; dmarc=pass (policy=none) header.from=gmail.com ARC-Seal: i=1; s=key1; d=yhetil.org; t=1718436199; a=rsa-sha256; cv=none; b=FbsSoi742uhd8uNKilI+OwJLe41zirdbwuPBqx69OoyuU5HuL/qmuDUtDs0TAYebkGShY1 5S2S/AFijpilyGiYANRfEEvMi+oTYSKqdfXeqCIEfRJllkqFSDjyL2jTHRBsPZ0s7Peh9S yUSjhFl0hff86C063NygGh0db73UG2807Okz3m0neX+Q8rEE/1I61OWT069upMAEuo4su0 J/PHqZalr7w1tYf32A8DcaKqMqjS4PKCpTZVA0j7gJ+njdWNbLSlam0IO3MXqqw5O34CpM YZUwhLnt9BsqzIwnARQpgWNzFgsYfXpC3lTwfhRpYUabghyqEk5/FJB3+g6Ahw== 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 113E83FF20 for ; Sat, 15 Jun 2024 09:23:19 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sINk3-0002Y1-6q; Sat, 15 Jun 2024 03:22:27 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sINk1-0002XT-Ia for emacs-orgmode@gnu.org; Sat, 15 Jun 2024 03:22:25 -0400 Received: from mail-lf1-x12e.google.com ([2a00:1450:4864:20::12e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sINjz-0001KI-UH for emacs-orgmode@gnu.org; Sat, 15 Jun 2024 03:22:25 -0400 Received: by mail-lf1-x12e.google.com with SMTP id 2adb3069b0e04-52a559e4429so390661e87.0 for ; Sat, 15 Jun 2024 00:22:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1718436141; x=1719040941; darn=gnu.org; h=cc:to:subject:message-id:date:from:references:in-reply-to :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=EcemCVjiQnGUMVP1w9ru2So8hokSlADKChYv0wxr5qU=; b=csRP6bQNzTWOMeMFIW09yXifFxCx9LoFu+Hyt2RbCdrcydaLI+LpS9BDqJNCywIlcp SkjcRWIsxUeQMC+bYT20ekBIxMK7PNrWOCDdECYLP3Ud2Db6RCH4CC129WNoXZf6diJb K6kU8eMuTe/zaayIdTcnRQ9yXbo+UVHnRni+M/07/lt+ZyJFSw984brDhD7pkI/JdmAx AWmiMhGdhMMbAx2zJeGO/X40rD6nZxGuS9IHVITSaIhoNa4cKNJR82L1Fh39aBf5ZJjg Li7r2MsVqxkWeeXUc8BPWNJPFiCpIbERNCZUhyznM+mXFytung/JJZErMSV9XldLyoNa xiyQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718436141; x=1719040941; h=cc:to:subject:message-id:date:from:references:in-reply-to :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=EcemCVjiQnGUMVP1w9ru2So8hokSlADKChYv0wxr5qU=; b=EW7DgG+2jTm0XqJrH5zjEItQ9ttbgoc9lR8ELwIJJvRT3CUAB5AgwHXvtCNM3FeCGb Ogr12X1X8n6uxutvKHKTrQymR6j4VvibiX/DZb2PsN5tJlb6iHBO4iR4nt07YsKyPzXo I+Si2OLnXuF3/D3Wd1eZX5H8urBTaoEpSCAB1tRGMBQ3ir9RDfyVMCyi2xVII6d4dEAF egjqt7TcgXqgvAZmd9b+OVLZ+ybX3L5FceRZMPIKut1nCU7Q2suNYN4AZyMQQ2Af7kXY ZuGU0EFCjDhVjtMZneTWTHU9fHlgvti3o9P9QHhPO3UwmMbAcV5zX32P7MMyOpLjU8Mx 7Z0w== X-Gm-Message-State: AOJu0Yy0Ds2U6vf8F49viBwQTD/sze6Z4J5thBB6Gc2M3CpuQxd/WAGx D27afRZpvcfhVjhpxEDq45c6NMB18OlapziHc0O6b43Hvw8roHYAG/cT5cE2LY0+E+KAeQe6Uu3 I9Chvbb69quG5mYx+VzyNHKJ8IvE= X-Google-Smtp-Source: AGHT+IEzAGaN5cU1Lcy66VH+iUi8ElWxGXvwIeFwXnJBeAz+1siC+4CeOn9s/oCqmnfK3sa9S3PPVDP3xFnXeWfYVjg= X-Received: by 2002:a05:6512:3ba1:b0:52c:a88c:1db8 with SMTP id 2adb3069b0e04-52ca88c2155mr2882929e87.2.1718436141103; Sat, 15 Jun 2024 00:22:21 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:aa6:cb56:0:b0:297:bc1d:ee7a with HTTP; Sat, 15 Jun 2024 00:22:19 -0700 (PDT) In-Reply-To: References: From: Samuel Wales Date: Sat, 15 Jun 2024 00:22:19 -0700 Message-ID: Subject: Re: imenu vs. refile goto (was Re: [PATCH] lisp/org-compat.el: Allow using imenu to visit non-leaf headlines) To: Morgan Smith Cc: "emacs-orgmode@gnu.org" Content-Type: multipart/alternative; boundary="000000000000c28252061ae897e0" Received-SPF: pass client-ip=2a00:1450:4864:20::12e; envelope-from=samologist@gmail.com; helo=mail-lf1-x12e.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, HTML_MESSAGE=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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -9.68 X-Spam-Score: -9.68 X-Migadu-Queue-Id: 113E83FF20 X-Migadu-Scanner: mx13.migadu.com X-TUID: JOZRRsZ1uk+v --000000000000c28252061ae897e0 Content-Type: text/plain; charset="UTF-8" if i am not mistaken, imenu only works for a single buffer, while org refile goto can go to any file configured for it. at least, i /think/ imenu cannot be configured to, for example, find a shell function definition that is not in the current file. for example, you might be in a script called myscript1, with a call like "myscript2 myfunc", where myscript2 is a script that defines myfunc and calls it when its first argument is it. if htat made sense.... then again maybe xref and dumb-jump cannot either. i have not investigated. -- The Kafka Pandemic A blog about science, health, human rights, and misopathy: https://thekafkapandemic.blogspot.com --000000000000c28252061ae897e0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
if i am not mistaken, imenu only works for a single buffer, while org = refile goto can go to any file configured for it.

<= div>at least, i /think/ imenu cannot be configured to, for example, find a = shell function definition that is not in the current file.=C2=A0 for exampl= e, you might be in a script called myscript1, with a call like "myscri= pt2 myfunc", where myscript2 is a script that defines myfunc and calls= it when its first argument is it.=C2=A0 if htat made sense....=C2=A0 then = again maybe xref and dumb-jump cannot either.=C2=A0 i have not investigated= .



--
The Kafka Pandemic

A blog a= bout science, health, human rights, and misopathy: https://thekafkapandemic.blogspot.com

--000000000000c28252061ae897e0--