From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id +MjROnwsbGbwJQAA62LTzQ:P1 (envelope-from ) for ; Fri, 14 Jun 2024 11:41:49 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id +MjROnwsbGbwJQAA62LTzQ (envelope-from ) for ; Fri, 14 Jun 2024 13:41:49 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=outlook.com header.s=selector1 header.b=WUddEB8o; dmarc=pass (policy=none) header.from=outlook.com; arc=pass ("microsoft.com:s=arcselector9901:i=1"); 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" ARC-Seal: i=2; s=key1; d=yhetil.org; t=1718365308; a=rsa-sha256; cv=pass; b=T2u2LUAzThsFzSVWQZcDHiVWuNGIWJqgkW+8VqCdpIXeXSzgMPo1M3JclZv/lWyiAEPsvp rEPvYm38FPoby62OQep2DhWYKWh1pn6yq0lE+/RQ+Kts9cqNd/Z8amtqs7HXA1ZnHMBtst NTM0iMeTqUCLeguKfzp3ZWrih0Ux6T2N0GTDZcPTg7LF79rQ6ueV1fzXvWfDNKZVMu8MBG wH+oDoqXnRF+ZkfXHU5kQWseW1ugXnX4GL+bpN5gaUn4OxE+4KFdQHkn48vp2cHiT9XiRT NT8nlNeC8jFA3Lo9i49M8jgcG7OVTBptIfH1DzncCSfnE/c2ZWC3pBw7nUwC5g== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=pass header.d=outlook.com header.s=selector1 header.b=WUddEB8o; dmarc=pass (policy=none) header.from=outlook.com; arc=pass ("microsoft.com:s=arcselector9901:i=1"); 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" ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1718365308; 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=auNG3CuDDA6scRMfQGvUaodfzoHsLsxEMd3QMcsIy/g=; b=sWknNUC33RNZk0HthX1kpJJl/Mk3pyPYmMEFtgcWjfKnjINUWLJ0D8ZfJGicmMgFSbSeeo FT5b9OGCXS7Toong5YAjMrIEGn5WaiTbc8UENwDGvD7L5e0GrCPy/9frF6E0VDND+Aisz9 X44H+lcXFwnJYxwTbUk7SnQ6Tu/e+CmZA174r4Mom/XlW9GKTxTw1evAPtHGIjqla9npGM GcHkDd6sIpj6NeRS5TyAlFmCAcj2G6C2egI3J8837qiOJ/H0idjn7MeTGrwHLrJWXWf+Ra lMys9HVhcstPI0dheWRPZ6XT5PQXLe6OnDG3ZkZdg88dNLcCuzE8XuTv/r+tow== 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 9BB1636DD5 for ; Fri, 14 Jun 2024 13:41:48 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sI5Iq-0007Vg-Px; Fri, 14 Jun 2024 07:41:11 -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 1sI5In-0007Uy-G6 for emacs-orgmode@gnu.org; Fri, 14 Jun 2024 07:41:05 -0400 Received: from mail-bn8nam04olkn2069.outbound.protection.outlook.com ([40.92.47.69] helo=NAM04-BN8-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sI5Il-0006dr-DV for emacs-orgmode@gnu.org; Fri, 14 Jun 2024 07:41:05 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=GWVAeTP0a6z+GQNyL4m6O15KGpbvZZU4W/GHHYrnJCl/ZZHf6emj7t1ljBwhDQNvylUEk21HJ40/IAj32sz3sqCEmEid3cQDzvcTQeMiL7N+ePIudyXGiwRHP6dJC/3dPAjtPLwEr0UiCWgQgDJbmsb7fRAyIMNL6BvPj29skAAhLsKzdGsoV51qk/45LX2s0M1FRF42vWBh2AYib94WXrExL+zUN/oHXHeu/CRaNexLSnG9GzIhjOvY2l2k7PEibFi2PniI4gBIbfBvZUbqo7qQQxj3IFBaHZRAIhFlGsSymjKoDkPnNBES0o7BcPSVsUwlNW8qNf+hGM62mjW/xA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=auNG3CuDDA6scRMfQGvUaodfzoHsLsxEMd3QMcsIy/g=; b=J8WqwGwh+nArpmx2p8Sge0IWkVs2BUsE4Efdb/mAaiMBy0unjPwgZwh4P+ox9SVshCRjPF8JZW8n/5j+TPEdrh7rlrr6go4Z+X1k/wyloIdKw49v17EYF0Sf7E0bJNikIfiOFahZ71JfWU8jqy8LxwjGBxz67+L6BQN3Q/wlgRP4aHn0ZmHNMrOKKxHgudTsbXKvrUemB1LKbGq7Icysuak6Lsfnx+J6bKzDz6i991TXGKcrQZPFYcKydZoSJjFy1wYOaRYqoRQ6dQhMbiHmyMlfClCxOxWUkdgH1uKJuywVzTyIAwfmrBU8fnYqO7DUJzoPv7rBesSobRrMYGC79w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=auNG3CuDDA6scRMfQGvUaodfzoHsLsxEMd3QMcsIy/g=; b=WUddEB8oyG0Ib6Byyer1XVvC3xNJiASGY0ATm40l9fG8liDnRqXcdY4QEzJNvoPi7mj5SJk34eO3stAGxatPh4GpoEgr+Ndn0rmhcXYfY7JxCa700ItRKwycYxu5s4YuIEPUmoapAzhFk86VFiQLwkPvk3tGXeCLmqbUMT43u/zVjW4YVhu5CzKt9ZYJBrPVzbFYXkjGCngryCRZl+optZwKtYpmzz+OKhGa8FaEZrefSyrLNpi/sNGikMW/TWIAYepleQ2PbWYXQ7QWoW2hAS6G2ApK6cXlAncb4h+sz2tfKRyD0PXCPlI0+bnRw3jQa/g4L8SAPNk/q9Ck2Tp4OA== Received: from CH3PR84MB3424.NAMPRD84.PROD.OUTLOOK.COM (2603:10b6:610:1c4::17) by PH7PR84MB1368.NAMPRD84.PROD.OUTLOOK.COM (2603:10b6:510:152::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7677.25; Fri, 14 Jun 2024 11:35:59 +0000 Received: from CH3PR84MB3424.NAMPRD84.PROD.OUTLOOK.COM ([fe80::5c77:7a58:48ed:9aef]) by CH3PR84MB3424.NAMPRD84.PROD.OUTLOOK.COM ([fe80::5c77:7a58:48ed:9aef%3]) with mapi id 15.20.7677.024; Fri, 14 Jun 2024 11:35:59 +0000 From: Morgan Smith To: Samuel Wales Cc: "emacs-orgmode@gnu.org" Subject: Re: imenu vs. refile goto (was Re: [PATCH] lisp/org-compat.el: Allow using imenu to visit non-leaf headlines) In-Reply-To: (Samuel Wales's message of "Thu, 13 Jun 2024 23:10:48 -0700") References: X-Hashcash: 1:20:240614:samologist@gmail.com::ZjL1Whisw0eQyvwd:20rV X-Hashcash: 1:20:240614:emacs-orgmode@gnu.org::jlemxdK7TkEm59IG:2Zdn Date: Fri, 14 Jun 2024 07:35:52 -0400 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Content-Type: text/plain X-TMN: [Hqo+gGY2SPyrr2gc3NCaGCFUtr2Z6FXD] X-ClientProxiedBy: YQXP288CA0035.CANP288.PROD.OUTLOOK.COM (2603:10b6:c00:41::37) To CH3PR84MB3424.NAMPRD84.PROD.OUTLOOK.COM (2603:10b6:610:1c4::17) X-Microsoft-Original-Message-ID: <87zfrn3gfb.fsf@outlook.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH3PR84MB3424:EE_|PH7PR84MB1368:EE_ X-MS-Office365-Filtering-Correlation-Id: a2c038b9-5477-4ce1-dfdc-08dc8c662971 X-Microsoft-Antispam: BCL:0; ARA:14566002|461199025|3412199022|440099025|56899030; X-Microsoft-Antispam-Message-Info: U+J1Xdqvxa6yL0YP4kgH4aC87yIWjiQY/3EIQiCRAE869lbbP/18faEUJVZSExLDqKjjQ6D4RLpw5byT+oDpTf+bB5GFulZqq41Mwj2sslVm8USTG7zTCVH1t0dLGdhTpOF01qZPWlJZG6c7jLiCIlt3TgTVkCgt7dEmGL1i5EKgi5VuGKOrYreV0gQ467hON1yYoc0SkDUsmRqS2B936thH4dE9Kd8BLmwJrDZ4R+wH5Yf4tX1uFs9SqmmbVZouZ+4aictay5rDI59svlzLfCf4KnQBmEX8qQZKxDHDh/fxW2qWWvydCcxNaNL0SI75BxfpXT1JSMTKjrHMpi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qtaEqu96/Rfw9q3y/R/ornq2TU7u1KAVJtFQ?= =?us-ascii?Q?URdj85aND08lqqdDhU1tCgI3P3PQ29oHJjcHNKoILZI+gWHwix2iDaaAIL1R?= =?us-ascii?Q?lGV527Fr1jrgjZEt3W3oJLb6sFGEXw2EwDpcA3Ry6wAyNw0tKWarxXD3ZILU?= =?us-ascii?Q?nfOMPNnAY3J1f4NueGUiQ/qKBexgyZEhpfOWgXEy2aovvVFdO8PK8FaqhXyG?= =?us-ascii?Q?l0AIolgK26+bJgqzIyEd9JvOYzPiYgJQFNfp9pYBo/sX8amQXPpXS5dTPNaF?= =?us-ascii?Q?Loz0BwvsyLRNF0xhESU93gTPZHY6EJRRVrmtRqKCnHgaz0VjKvIStYqB3meR?= =?us-ascii?Q?EnvkWZ3kl/nrn6dpVUDxmX3oIv3OPDTNRxAEFd2M0TsIul+hRhtz1wC6SuxS?= =?us-ascii?Q?8RB9UuYHw53eNk1KWoYCylEpruDyiU9DXJrewB5H806y+oiYcuKCZdSqf2Uo?= =?us-ascii?Q?fyJEc9lXO+qjlyPrBqpO9X9XImks/rHEfB9wOnncXu4mela4jr0nTAVCYZU4?= =?us-ascii?Q?IdfyjsOdOt0gcOUklbHx2thhFLhnBfyBfa6JHyBB5T95HguN9Iff5ljuB9Qq?= =?us-ascii?Q?BlQOESrnVKsBb3xrlQ5AJP/ISvJdUVDlR0tb+//nkxOM8FeH/4Ln/RIrheIb?= =?us-ascii?Q?2Ua5obTIvFzMRjL8vxH5?= X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: a2c038b9-5477-4ce1-dfdc-08dc8c662971 X-MS-Exchange-CrossTenant-AuthSource: CH3PR84MB3424.NAMPRD84.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Jun 2024 11:35:59.1299 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH7PR84MB1368 Received-SPF: pass client-ip=40.92.47.69; envelope-from=morgan.j.smith@outlook.com; helo=NAM04-BN8-obe.outbound.protection.outlook.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, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-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-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Queue-Id: 9BB1636DD5 X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -9.15 X-Spam-Score: -9.15 X-TUID: IKxg+6MobDDe Samuel Wales writes: > how does imenu compare against completion systems like ido combined with org > refile set to goto? when would you use imenu vs. other completion? For my specific use case, all I want is a simple minibuffer completion that offers me all the headings in the current buffer and allows me to jump to the one I select. Something which sounds easy, but in practice I haven't found a good solution yet. I assume you are suggesting `C-u M-x org-refile'. This is a solution I haven't seen before. Being the refile command doesn't make it an intuitive solution and I wonder if users would be able to find this easily (I wasn't able to). In order to get completion for subheadings I had to add this to my configuration file: `(setopt org-refile-targets '((nil . (:maxlevel . 5))))' I'm actually quite pleased with this interface and it is really nice. It is exactly what I'm trying to get from imenu. My only gripe is that it is org specific whereas imenu isn't. If I get imenu working the way I like, then I'll benefit in other modes as well.