From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id yIiwAyW4lGJ7OQEAbAwnHQ (envelope-from ) for ; Mon, 30 May 2022 14:27:17 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id YHynAyW4lGJPdQEA9RJhRA (envelope-from ) for ; Mon, 30 May 2022 14:27:17 +0200 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 B4A0353F3 for ; Mon, 30 May 2022 14:27:16 +0200 (CEST) Received: from localhost ([::1]:35382 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nveUN-0005px-NS for larch@yhetil.org; Mon, 30 May 2022 08:27:15 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47988) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nveOv-0002rp-5D for emacs-orgmode@gnu.org; Mon, 30 May 2022 08:21:39 -0400 Received: from mail-qv1-xf2b.google.com ([2607:f8b0:4864:20::f2b]:46718) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nveOp-0004H3-Ja for emacs-orgmode@gnu.org; Mon, 30 May 2022 08:21:36 -0400 Received: by mail-qv1-xf2b.google.com with SMTP id i19so4229944qvu.13 for ; Mon, 30 May 2022 05:21:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version; bh=MLw9KTieIierzNoUJfdXJPgyluPlCLOPQsrU+VuNUGE=; b=fT87DIKpG1pcdmjOC8LQr56xgTtGqTfsh+8yb0mS3Kv2wDmM6ifK+9DNcQuw3mOe7b ajqnXnGaCV0UXNn+f5q/0ytFio+2ns4bo/j+XFleX32pCqhEFh5TAFTx4r/fkiKKjz6+ cSQO3Hf2zsG6eq5P3u4KvvYuLZmQESjtWaG9m04oFOUoWVlU8nXGeStF1hru3fSgxKBE +vLl+a4bF8r9SbKcRsFne1FGHIKeZOJ4ItPIxXSkhY7vnK3rZxwMAZn/ryDi61u09poe ZbiY76E9xp0mZoLaaoXXCDiIwIBM1z9CkLdWZ9yuH94knMkMMrIh2+gVjr8s1Z/yMsGc sNTA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version; bh=MLw9KTieIierzNoUJfdXJPgyluPlCLOPQsrU+VuNUGE=; b=OixGrBb08NTQ5RKpGYIDUjQBC89cDcYOpGs2eVifclroq7Ssd8qwP0kxw9vrEWAEWW JnhRuV35B2t4d8F/7SvATVPhC4oS06qlv0rlGOmlS2h8TqHSxVvvJyLmRa/bgQgqVYKL cr57qARR4KSXyR9FZhM6otu1PkO9PDV94swB3+IjKpN+EzDthwGGMNzMTHsCs7MpS3li FSCEGCXtRIpR6nFGCeqV9zHHmjvDuV0wNBAF13H0G8Le6d1Smm582cVDG58QbDbduFpw rpTBkkx2ara60hc90piakCvnyOsTOX14tn6538pNvs57JhwWDua0G8ONa68yzR+n5zVU qAXg== X-Gm-Message-State: AOAM531UstHQ432XKnUQ/M/wIvxfrh045z4I1ZIoh8dOQbXj4wJWJkuI Rmv758h8gy/IMD7mqsTyRJCOeJl4zwzK4NJf X-Google-Smtp-Source: ABdhPJyp/EaP9dqdw0kZdGBVnRhZZALFy90Xwa1ztPQ7+0iJaAtuFssh3tZ+C1i65hdcyz+du2KOpA== X-Received: by 2002:a05:6214:e4c:b0:45a:f6a7:413d with SMTP id o12-20020a0562140e4c00b0045af6a7413dmr45513266qvc.88.1653913290315; Mon, 30 May 2022 05:21:30 -0700 (PDT) Received: from localhost (22.b2.a86c.ip4.static.sl-reverse.com. [108.168.178.34]) by smtp.gmail.com with ESMTPSA id c13-20020a05622a024d00b002f942e6bd88sm7723990qtx.48.2022.05.30.05.21.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 May 2022 05:21:29 -0700 (PDT) From: Ihor Radchenko To: Adam Porter Cc: emacs-orgmode@gnu.org Subject: Re: [PATCH] org-imenu-get-tree: Allow parent headings to be selected themselves In-Reply-To: References: Date: Mon, 30 May 2022 20:22:10 +0800 Message-ID: <877d631a8d.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::f2b; envelope-from=yantar92@gmail.com; helo=mail-qv1-xf2b.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 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_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=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" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1653913636; 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=MLw9KTieIierzNoUJfdXJPgyluPlCLOPQsrU+VuNUGE=; b=fBQcCnGwmTJ8Mm6f5JCZVT7sXkV/P0dQwV3zrIFRtzghiGR/4eBx9WpvGpWFkM22qV996U JqVK/XYRxbJWEz7Ddb4zY4rWs+69RnN6C3hDocEPQ31HP0LiBBWbs0UPUMoAvkUrPSmW0M 3hVS9yLTnveFZx4kMX/lHVoHwX8MBkdlSlobKmmesCVoVj1aW+Fbs+eGlAVRXI1C1gR7gN 3VzcQ59QnxfPL9DZO4iOmlkGCPt1NawUk8oh/ebKxIJiwF95tGFzgXXyu6PqPLml+ISrU3 ym6NG5zY45i/iHoKHbGgM3lLuHI9ZVYVSB8KaRfui89z5WhiE3P6SmRTECzM7g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1653913636; a=rsa-sha256; cv=none; b=Wq5QXW/yW8o8Sjsvx4Mea1J3U14QChS26w2zf3TEZiawcDiaHWMqmU9ZrKMKiy1G3K8g4O o/IEYMDwqmBw/u9KCKTKWGiavKNybCw437bKmVLl9sSyo6dJr3IS8gcZobByeMYbyHp3uI iLUWMi2HgbVyErLb9ZxbWYWxeJBQwU7Tn+ZGkIuIsYIWfdu/gGgl3g2po6R8CWx/+YqZ1x GpWMhVxa0PEnsIOhPsvY8hUjMkV1YSnu68W3rXQSkGQQytgaLlfwFWgi5vGb4IH5DSDT4P G93OzWo8rlPUHQWdpzoImPpX0zJldYalBUx9wlnyxgvLcBos3/ZE/4NWji+AGQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=fT87DIKp; 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: -3.53 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=fT87DIKp; 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: B4A0353F3 X-Spam-Score: -3.53 X-Migadu-Scanner: scn1.migadu.com X-TUID: h6ehgYazUlxs Adam Porter writes: > Please see the attached patch that remedies a longstanding, simple > shortcoming in Org's Imenu support. I tried to test your patch starting from emacs -Q and I am unable to select parent headings. Could you provide a detailed example demonstrating the difference before/after the patch? Best, Ihor