From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id GPLoEcf0OWXDOwAAG6o9tA:P1 (envelope-from ) for ; Thu, 26 Oct 2023 07:10:31 +0200 Received: from aspmx1.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id GPLoEcf0OWXDOwAAG6o9tA (envelope-from ) for ; Thu, 26 Oct 2023 07:10:31 +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 2D05B42C8B for ; Thu, 26 Oct 2023 07:10:26 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=lSVYR+5o; 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=1698297026; 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:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=S34V1r/o8mOl34Mg9Y7nF+oNtG6hCJtkOG10bH+FDfg=; b=QPfk1EB7XIfk4wQx81YjTxIESHMDkZ8tollDg67TKa9kSeteB0vZo9EAecorP5qAb3XayY +UZ0dlfWV3Y6VnQAyJuKPE0+XKO8CAeT0rDaolmPs8S69oBF0bK3Rs0mU1r5bEC7ovAr4s 59X3WGakhyMtdFfmYVNpOsr8boDcY93px9Axhuqwl3oeIFee9IMhGTYeTYVhfeQK1uOZiN B8LGaDb9FNwkmLZSI+jBxo06D1BPzm97wSWq+x8cHGbjTU57SMS1KITsjUdwJA9+23cl3v dRFKLjteqer0IkcjO3ZLRTfSLccF5/6vWYiFGdcTtdxk+FsQDXr8NME2wI/Low== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=lSVYR+5o; 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=1698297026; a=rsa-sha256; cv=none; b=GqCc82cDPPn5LUcl2PkHaM2g886PyiUSb+EQl0BO5J5+CXrdRXNMCsG6+iMd2ssDLRcBDB TZi/t/AMi1qb7bFkG4Ws7eF55HNHMZl1Oibx9Eq038EFslypH+BCx+ew8VNWk+MsTqZf/V Mxg4/ct88m6lhFGzPz4jtvtl6l+HbkvrOAbaU8h61oTb2aSPQilN7V3wspKlb1G2BuQ9zM oFHyeKPV1SHli0xdcW1X10sVG5KHBRBibdZIYUzmGnrIHL7p0T315yuzbegWuf3+dEEsHK AabeY7qFDj+0mMaOnT7etpQL7N/vE7rJvLbpfErCJshcRPbVbD7bJCFxYomc8w== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qvscZ-0003Q1-0e; Thu, 26 Oct 2023 01:09: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 1qvscV-0003LX-J8 for emacs-orgmode@gnu.org; Thu, 26 Oct 2023 01:09:24 -0400 Received: from mail-lj1-x22b.google.com ([2a00:1450:4864:20::22b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qvscT-0000ZM-90 for emacs-orgmode@gnu.org; Thu, 26 Oct 2023 01:09:22 -0400 Received: by mail-lj1-x22b.google.com with SMTP id 38308e7fff4ca-2c506d1798eso1596431fa.0 for ; Wed, 25 Oct 2023 22:09:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1698296953; x=1698901753; darn=gnu.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=S34V1r/o8mOl34Mg9Y7nF+oNtG6hCJtkOG10bH+FDfg=; b=lSVYR+5ojxB6WAIm9hBPjl/YK92k6muNIOGkLQcOt0TjVcTBurtLA5S6e79PDIe1p9 fJPqAvp0C+9PM9JodaJIuNDASyFDPL27Bv80FlwqRB9JEmbV8uRkW0NHYpJ7fGpvUCAH 3o5ZJGBoAhdLI4O3Jl0+oTpaZyS+Ll9IGoHFbTJv/WakH7kIEG3NKD+CKPULz98fxg0k RXNE2KnDCuAQta3EAqFfY3v6akynrMyz5R390hD3Zt9qN3DL3+0ma4Kvs+rVOf+32ROk Qjm2QF+TOiTD8LyHkCPeC0zxN1hecjtfjXj60EF+wZKlX2ZPAw2OSbznX/xM8dpSKt0W Xlsg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698296953; x=1698901753; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=S34V1r/o8mOl34Mg9Y7nF+oNtG6hCJtkOG10bH+FDfg=; b=hFRL9KqOleltm3UYptvMGd4oo1tiuS4eEbJl2ST+HqHyNr/ps2yh3Ei5Jhz4CDupRO zKGxBlRNcwTvD4YHeiXmU+q0tqiMOz6+grPjJYS7UEk182dnXGZbRTWkJsDJKYs7ghFS Cr3uTiVDAjDIAvoEGIWlp199VKypqxicpyGPtE6P/wojYT+gGviKZGcXqOpzErrLXwHa QzILwJ2bnN+VpiTWxIipCalVbpiu3vRX5F2WSrqyQ/ChmA55H0yoeLtoK5dNKmVTwS+p 67aMoTXq++yjIs/mYPbHUmgTQSueqYa/KK6EtRY+f5HIU6epNkvvE/hx+7d9Tjy0F7A6 4tWw== X-Gm-Message-State: AOJu0Yzrf5lFglM+lPQLZsyorrqtCTng8UnerNZFLZ4ae5iesIxvg99D eLf/zInJ9rZMadreCdZCd5eQHqfGpzHtRbj7FhNnVVVzEQzM1MSe X-Google-Smtp-Source: AGHT+IFqzJu+tdn5UxZ7u7nbbCGJMXpzvwv1y2CdqnU8eZ3Y41DKf7O9W8TwbIp5u64W3xjpXdwTA9KltBW50+zMQBg= X-Received: by 2002:a2e:721a:0:b0:2b9:e10b:a511 with SMTP id n26-20020a2e721a000000b002b9e10ba511mr11139427ljc.0.1698296952421; Wed, 25 Oct 2023 22:09:12 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a9a:71c4:0:b0:27b:ec88:a758 with HTTP; Wed, 25 Oct 2023 22:09:11 -0700 (PDT) From: Samuel Wales Date: Wed, 25 Oct 2023 22:09:11 -0700 Message-ID: Subject: [fr/rfc] switch to buffer that contains given heading without moving point To: emacs-orgmode@gnu.org Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2a00:1450:4864:20::22b; envelope-from=samologist@gmail.com; helo=mail-lj1-x22b.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.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-Scanner: mx2.migadu.com X-Migadu-Spam-Score: -6.40 X-Spam-Score: -6.40 X-Migadu-Queue-Id: 2D05B42C8B X-TUID: 5l9/BO8N/Y0c suppose i am in the middle of a subtree, and it is in a buffer that i am not in. suppose i want to go to the buffer without moving point in target buffer. remembering what buffer contains the heading that i can use completion to get to works with c-x b, but requires remembering where teh heading is refile goto takes me to the top heading it matches which could move point. so those are not solutions. i wonder if it is possible, or desirable, to have a wrapper around refile goto that would chek for a buffer where point is in the target subtree, and warn that you're not on the header, and take you to that buffer so that you can be at the point location you were at in that holon. i can imagine other solutions, such as using refile goto to go to the heading, then a move bcak to previous point command to get to where i was. example * computers *** good computers text^ *** bad computers -- The Kafka Pandemic A blog about science, health, human rights, and misopathy: https://thekafkapandemic.blogspot.com