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 ms9.migadu.com with LMTPS id QGI4G+Xkp2QHfQAASxT56A (envelope-from ) for ; Fri, 07 Jul 2023 12:11:49 +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 qIP/GuXkp2T4TAEA9RJhRA (envelope-from ) for ; Fri, 07 Jul 2023 12:11:49 +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 515C83FEDD for ; Fri, 7 Jul 2023 12:11:48 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qHiQN-0007sX-Io; Fri, 07 Jul 2023 06:10:51 -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 1qHiQL-0007sP-TF for emacs-orgmode@gnu.org; Fri, 07 Jul 2023 06:10:49 -0400 Received: from wout2-smtp.messagingengine.com ([64.147.123.25]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qHiQK-00034d-9N for emacs-orgmode@gnu.org; Fri, 07 Jul 2023 06:10:49 -0400 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id 27933320095B; Fri, 7 Jul 2023 06:10:45 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Fri, 07 Jul 2023 06:10:45 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= recursewithless.net; h=cc:content-type:content-type:date:date :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to; s=fm1; t= 1688724644; x=1688811044; bh=yV4osXD4yu43x+stj9WG8/pf8iobGZZ1Xdl ZnVnnPaw=; b=UIzOrv2Zsd1y3MULPWQFZTjijZbCg6z19Blh/YQte4VmNlZdzWZ 70jpTv7irwMoxGPKMTrdll1MUvTIx4D4wsIevLErX6iHnqcs7dYhnshBmTo0r9hW gj6K/SK6I/I8l73jLbQ4OHKVcHeT4r0HgR7VwxG2qdEP1Ny7J5VWR6uj2XMHrr97 b2tS+c/q+x+Vwt+Nxd2s+zwYahd4Pdd0XKoqs5jN4Far5oipqpjRorPkBXLc2PAp jCV016KVIZalCBMBYQ8LKsCyFT8m0WwLmaxqOs0FpBcK5aYOHmwvC74xzZMOUekT Xlk76OvLiJV25p5n5Jeaxhpuse0YmJ8YrGw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; t=1688724644; x=1688811044; bh=yV4osXD4yu43x +stj9WG8/pf8iobGZZ1XdlZnVnnPaw=; b=PfUDxtltD0X6BVAiM65J1NwX3p/Zz StnQQWPe4sGF+xZjPfGijAFCKRTIgyGGI5m2gQR5hw94j2Qi8s1mHrTTDp12owoB SMS+nWUQSMtK85asnKYIhDJDCCmhU0CJ6QDY2/B/P3ttxfn7nJ56hftNlLT17lOe FOSa5tuihxLY9gP4kMHw908nsd3n+ctLwIhAAdsBaz1lwGQPmu/FJ66K3ooEnfp+ Duzc1aVRX2q/kQYfg8fMHw1GCshumc24a69vzJ8NrYS0XUMHPCKt/1ENIsFGV5ky 9H5o7RxAGqYjBpujDBW6klqkHYAdNUHFNNe4GsfHDFwsa7aw5fKgHlHaw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedviedrvddugddvhecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvffujghffffkgggtsehttddttddttddtnecuhfhrohhmpeftihgthhgrrhgu ucfnrgifrhgvnhgtvgcuoehrfihlsehrvggtuhhrshgvfihithhhlhgvshhsrdhnvghtqe enucggtffrrghtthgvrhhnpeejfedugefhfeekvddttdeggfekueetgeettdevhfetueel gfdvffejjeefgeejhfenucffohhmrghinhepsggrtghkrdhorhhgnecuvehluhhsthgvrh fuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprhiflhesrhgvtghurhhsvgif ihhthhhlvghsshdrnhgvth X-ME-Proxy: Feedback-ID: if7394488:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 7 Jul 2023 06:10:43 -0400 (EDT) Received: from rwl by aquinas with local (Exim 4.94.2) (envelope-from ) id 1qHiQD-000EMX-TU; Fri, 07 Jul 2023 12:10:41 +0200 From: Richard Lawrence To: Marcin Borkowski , Org-Mode mailing list Subject: Re: How to go to an Org headline programmatically? In-Reply-To: <878rbtk7s4.fsf@mbork.pl> References: <878rbtk7s4.fsf@mbork.pl> Date: Fri, 07 Jul 2023 12:10:41 +0200 Message-ID: <87y1jsdobi.fsf@aquinas.mail-host-address-is-not-set> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=64.147.123.25; envelope-from=rwl@recursewithless.net; helo=wout2-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, RCVD_IN_DNSWL_LOW=-0.7, 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1688724709; 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=yV4osXD4yu43x+stj9WG8/pf8iobGZZ1XdlZnVnnPaw=; b=omZ0ZpJBTBraNl6bArKU8lzbPeY0kPZ6xgkCHC6y4Fswp3GBNpMG0ntiVwXcJe8P9XedFl EuIWL5nsHMc5vAZBAQnc578+JHvekSlMpwKrQ9tTFMJf0wLxT8rRfc+hUko72TT0jVyQVD YkQQBIFq3GVCmcmTRE746GG88WLwYXrALG7L9MI5Dn4reSDQq8xOUeIT4fIAVGl001l8kq JvmpJ935aNqbyIH6h65qIA/lakB3XNLLXdsOs+bhCZ6ICZYlWipUYu+aX8+yefwZb+bmGA 4Yfh2SnQnYf1X2KvRV4PIlff9xCL5DZJ5ZusvMfGlqJdEppgmMBZViTx7TtJOA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=recursewithless.net header.s=fm1 header.b=UIzOrv2Z; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm2 header.b=PfUDxtlt; dmarc=none; 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=1; s=key1; d=yhetil.org; t=1688724709; a=rsa-sha256; cv=none; b=TJdVfz0zvEreVgLsSlUKiNfyGYQ0GH0/Hjy6sysEdXw8ca1aWFPGmwO5DkSPbtaib4068v HoOWEvv/Epy9ec77zeRxkcamqz8FcXvVbKFd60VLIB/e10k0hKECq6Gz3/8xtXHFPg7WyX 4MX4Ppvr/o9xi20Mqf9qqAmZcwNeqktArQ+VctwxSbhLImaNbN6sN0Sa+MjcYcvVk15Tue Nojujvy9AtYR5XqP1kkq6Uwb2fZ8MTY1DQNGesy0Jv95SMl+GEFXLMss9aIunegYYbnkyN sy8s8FR2tJbVmKfpHPcXlxEU2cyJr4TkKl5ekUXulUTsdqgOWX9Eu5D4glBjRw== X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: 0.33 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=recursewithless.net header.s=fm1 header.b=UIzOrv2Z; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm2 header.b=PfUDxtlt; dmarc=none; 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: 515C83FEDD X-Spam-Score: 0.33 X-TUID: Mj+QOf1yO9Vz Hi Marcin, Marcin Borkowski writes: > I want to find an Org headline in Elisp. No need to make it visible, > for example - just move the point to the heading with a given title (it > may even be within `save-excursion', as in "go there, do something, go > back"). `org-link-search' seems to do what I want, but it does a lot > more - is there some simpler function to do that? Do any of org-find-top-headline org-find-exact-heading-in-directory org-find-exact-headline-in-buffer do what you want? -- Best, Richard