From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id SAc0HRYAimb0fgEAe85BDQ:P1 (envelope-from ) for ; Sun, 07 Jul 2024 02:40:22 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id SAc0HRYAimb0fgEAe85BDQ (envelope-from ) for ; Sun, 07 Jul 2024 04:40:22 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=BtbJClto; 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=1720320022; 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=fKzoIeU9VO6LartE/73w3+S3ZFGdxwDXl8W/OJ5LvAc=; b=Ern2JQrJtrx/m0s3FALtysk2PqUDI3ACyM7w4Ccqtp5efLNZl3XBB7Qo860sK9vhviszBJ eWmNLhAPgiKLFKxBQzvYz4WaIgF3jpzrqwSIPFJX+R2fAMJQs3XBtx9NJXmYzPzxypTVrU e+L41Ea6VqvUODuZis1c2QcJQV1QVuIks5YpaE06ub5kCtPpUPiyQWhvWlvo7nOMeS7fvJ OcRZjm0ysnUNOx5LDr1v2Zt1dvYIapJXINRkZtueZrSXOun8tq7/+mF5KnJ7D0MV447WOE 0Q5oLBmUcrtlNmJIIM21mLroTMbxrA3GQ2vqyW/9XcogR5taIelALf/HNhU1XA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=BtbJClto; 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=1720320022; a=rsa-sha256; cv=none; b=eDybwFT42jDm1wM+CWZDRSjQrF5P4vV6zSDbSov7lCU76vvIndzH8fdNrl/MCusOcI08kN ii0WNMlAH+wbfVG9rYhkatpJAecIOHc/e75OcTndD4Gq/5WNxaBu7p5f82zZopK+TjVmys qd32tE6kVwwAZQSBPgPxF1pqiXcIYI3KL1/rJdtAKocA/eZGsaV5IfolEOqzeJycJhuqg9 EYNkLJmqAglBpGexzs3cy8oprAQcEGs75/vjF3c8gTOUo0V/5IDaysJZ+c4IT9/8lS4/SB 7/XG5f4rH6A72cebC8sVj89a13RtClpU/aceI+azFTYcQmIJvLHpRL8HjkjLBQ== 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 2062F8740 for ; Sun, 7 Jul 2024 04:40:22 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sQHoC-0001Nm-J1; Sat, 06 Jul 2024 22:39:25 -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 1sQHo8-0001NT-C9 for emacs-orgmode@gnu.org; Sat, 06 Jul 2024 22:39:22 -0400 Received: from mail-lf1-x132.google.com ([2a00:1450:4864:20::132]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sQHo6-0002RP-Fl for emacs-orgmode@gnu.org; Sat, 06 Jul 2024 22:39:20 -0400 Received: by mail-lf1-x132.google.com with SMTP id 2adb3069b0e04-52e9901f858so323406e87.1 for ; Sat, 06 Jul 2024 19:39:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1720319954; x=1720924754; 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=fKzoIeU9VO6LartE/73w3+S3ZFGdxwDXl8W/OJ5LvAc=; b=BtbJCltoVfVHaQIg9pyLNFEMm2+cKkJ4VlSzeeTPP9seOkQcpmMGzIv2lNfkDk0a1/ pqNNZYS6LG85jO0ZOo+1Y3IomnUR/3vfDxFJgTr7C1AeznzOML33h1HnjgF9OcXZ2JME rwq673mV7QMPw9QxKW+/i9qIu8bDLkAEd5coRjcUv4OQZeDeuF/ErZFm90IcIzOggrwD 0/t71d1sUXOrq1vykk9kC53iSkxFKRR5tgUIIpwHfYMA6y55zLH5ToVibnvUyQCKiaoK aSCLsvjz7EsGMHhH3WMa6RuIewVJSq/fkyDyEEQhC2o2ORlhlt7xdHy3HF9iEqjSdVQG 1IhA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1720319954; x=1720924754; 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=fKzoIeU9VO6LartE/73w3+S3ZFGdxwDXl8W/OJ5LvAc=; b=hufVIxtEoRn7RgVnp1ZlCBLaqaFsRTf3ec4zc1aS3EIphBs50wyY+DbQziH1DAbm4F OrQvayZ27Lco7xXiVawCRk+cXGLAFzqF7DmqfQzpv1/Ys0ItnaPJz94ddjGlFOoq99pr Y3/KkTWpy1oTHjIhDq7IzqZl2JxeYtWhuhCH9NTUboFAWGxBd+Q6ja2hYCCZG4FSLYqL gaL0KYFipBRSdpQuGeTUHda6uaYKOTHszq+oU0CYnnos1MGiMxnLNUV180mcQ00hVA/u ih0UFHRLVPPjmEhhgOgF7fCXc6VZy3tLyfuQA8v+OQ7yMveC3Qh1KjHoFnlzsQwyARh/ 2ONA== X-Gm-Message-State: AOJu0YxjBYKpjAbInDWjEcgLaQ9+qd0rPrHQOc74VP5C6qLx7UHAh5Fx yE9AHeF6CGomYLDLnZHxIOqXlZGlqhYd0KbTO0eH9g//pt4BKNwiRtq8XAbUXyBi+5uBBDJXYIO 4PcXFdVjg6Q6FL5zEDJC/pmEpAGA= X-Google-Smtp-Source: AGHT+IHFzV0fATA7Ji/jJ/WIAuiclxZo2hEXs+Lhaene00kVstocYIwNbDAkiw5OZUid3kpSNHg9J4ZuZ55f/Knro5U= X-Received: by 2002:ac2:46db:0:b0:52c:d805:e8c9 with SMTP id 2adb3069b0e04-52ea0457d19mr5039490e87.0.1720319954052; Sat, 06 Jul 2024 19:39:14 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a9a:69c5:0:b0:299:8c4:60f2 with HTTP; Sat, 6 Jul 2024 19:39:12 -0700 (PDT) In-Reply-To: <87v81iilop.fsf@localhost> References: <87v81iilop.fsf@localhost> From: Samuel Wales Date: Sat, 6 Jul 2024 19:39:12 -0700 Message-ID: Subject: Re: [fr] refile goto: push mark in the target buffer first To: Ihor Radchenko Cc: "emacs-orgmode@gnu.org" Content-Type: multipart/alternative; boundary="000000000000c2f17f061c9f331f" Received-SPF: pass client-ip=2a00:1450:4864:20::132; envelope-from=samologist@gmail.com; helo=mail-lf1-x132.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 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-Spam-Score: -6.75 X-Migadu-Queue-Id: 2062F8740 X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -6.75 X-TUID: fRTHaGDjpc9O --000000000000c2f17f061c9f331f Content-Type: text/plain; charset="UTF-8" thank you! this would definitely meet my need. i was thinking of the local mark, but i use org-mark-ring-goto all the time also. On Saturday, July 6, 2024, Ihor Radchenko wrote: > Samuel Wales writes: > > > at least for my use case, refile goto should push mark in the target > buffer > > after visiting the buffer, before jumping. rationale: it can be a big > > jump. m-< pushes mark for that reason. i think i saw that in the manual > > years ago. :) > > > > i am often in my-big-subtree, someplace, and go someplace else. i want > to > > return to that place in my-big-subtree. refile goto loses the previous > > position. i want to c-u c-spc to get to where i was. > > See the attached tentative patch. > This is an easy addition. > > -- The Kafka Pandemic A blog about science, health, human rights, and misopathy: https://thekafkapandemic.blogspot.com --000000000000c2f17f061c9f331f Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
thank you!=C2=A0 this would definitely meet my need.
i was thinking of the local mark, but i use org-mark-ring-goto = all the time also.

On Saturday, July 6, 2024, Ihor = Radchenko <yantar92@posteo.net> wrote:
Samuel Wa= les <samologist@gmail.com>= ; writes:

> at least for my use case, refile goto should push mark in the target b= uffer
> after visiting the buffer, before jumping.=C2=A0 rationale: it can be = a big
> jump.=C2=A0 m-< pushes mark for that reason.=C2=A0 i think i saw th= at in the manual
> years ago.=C2=A0 :)
>
> i am often in my-big-subtree, someplace, and go someplace else.=C2=A0 = i want to
> return to that place in my-big-subtree.=C2=A0 refile goto loses the pr= evious
> position.=C2=A0 i want to c-u c-spc to get to where i was.

See the attached tentative patch.
This is an easy addition.



--
The Kafka Pandemic

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

--000000000000c2f17f061c9f331f--