From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id WDEeK7SiDmVRBwEAG6o9tA:P1 (envelope-from ) for ; Sat, 23 Sep 2023 10:32:52 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id WDEeK7SiDmVRBwEAG6o9tA (envelope-from ) for ; Sat, 23 Sep 2023 10:32:52 +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 6B032404A4 for ; Sat, 23 Sep 2023 10:32:52 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=rRjhdF9G; 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=posteo.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1695457972; 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=75+87GIDzjF2cMEaUWbE3h0smyH0tJ7VjvsbAViKMU8=; b=BlnCKA12NvLGGmujzTagYCwR/k0i9VHQ47/1ZkmwyofRfANXrIbCP+5CFhaggrA5TZVF/7 nRkkh5wqLAX+U4Vp60NnX3WSQMSo/69QHCiqxyplOhP8lYq7OK6QNLxDhmwkFZaAjta2tj SuNojC29Fh3jE5jAOS1rglV3BAG/pdSS7xn7L38A4whxI+r27y/9wFl+AXMTOp1IVcJ2ym g6nXygSbvcOSnGL2F3js3yyKaFQ3n7+ZjH+Ag4zl+PjbQyxvtLQJONTUPyjW8qcUIDgyu2 VDBqb1WoiCisNBbSuHVGmLnJQTjidLvzRiFxhpJHlO9eJkf7Ver21q8QUrobEg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1695457972; a=rsa-sha256; cv=none; b=YJcblqtHTmU8vEkaeVr5FB6M5dp5ZofKAYcU31L2M1nq1f1EICbGlZk1HMTCOORYmHdbeY LDCCWBoy0rWjY2yCu4sR4t1KXV1W0c4xJU9mQ9TVZa8Asiyx4lPhu22JJ679k/3wA6KjfF Sgn0/iNHdDCm7856r/hIXBD5EvFN4+zjHQMzi7e35ebvnk9BzM5f8aQwTKAq6g54qwD0fW Avm74Aw2NBSR6wBomujJgDvirPeBektH6zim6baYFnvcySue9Jjqg2P4L9T58XluaGMTvj VD0jpsC6A85hu4XnjpysJ1fyqtzMrFFlNjdMCquT1QdkmYNnGcm1Dtgmnvhw6A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=rRjhdF9G; 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=posteo.net Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qjy41-0007lo-OX; Sat, 23 Sep 2023 04:32:33 -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 1qjy3z-0007ld-8h for emacs-orgmode@gnu.org; Sat, 23 Sep 2023 04:32:31 -0400 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qjy3w-00050M-G1 for emacs-orgmode@gnu.org; Sat, 23 Sep 2023 04:32:31 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id A048C240027 for ; Sat, 23 Sep 2023 10:32:26 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1695457946; bh=KeVL9ph0q7zxqC9VfIsc7L+XF2Od10/6kac/bABRbyo=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:From; b=rRjhdF9GSKeaBbqJM+wsgYxD4w6JogppNdlJN6p/esdPRbNlIjPcTVh/fxf0gsM32 IhZZ0xQoEHm3W8hvYAaBHTck3x4Gg1zXew82tbcmdTkxmgDstixIqZIxT4gYsDFwSq fYhxgT42bj3oJ15zSiUZHgWqzLQ/rbB3Emkbj3NXBCIQ9DbQCmt+c3s9wwuCeh0rnC cXFSjF91F4yz1zbPSyYHy53AzG1LEQkockP51MK2l3OhzGUT5nnMK3UFO4AEg+ojyn FOTle/DJ+tBdIyP0mc8EbDhIKZ0jlyaQJuwb24boPl/de45MbuzpHsBh3ZQ9Lev9W4 CTCjRDOCeTfwg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Rt2ST5q0Zz6twt; Sat, 23 Sep 2023 10:32:25 +0200 (CEST) From: Ihor Radchenko To: Gustavo Barros Cc: org-mode list Subject: [FR] Should we preserve point when calling `org-open-at-point' (C-c C-o) on a heading (was: [BUG] Point position with org-open-at-point on a heading [9.6.6 (release_9.6.6 @ /usr/local/share/emacs/29.1/lisp/org/)]) In-Reply-To: References: Date: Sat, 23 Sep 2023 11:33:42 +0300 Message-ID: <87r0mp2srd.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.65; envelope-from=yantar92@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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_MED=-2.3, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, 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: mx0.migadu.com X-Migadu-Spam-Score: -5.35 X-Spam-Score: -5.35 X-Migadu-Queue-Id: 6B032404A4 X-TUID: V7P81HWx3vhd Gustavo Barros writes: > When point is on a heading, `org-open-at-point' offers to open links > in the subtree. This is a very useful feature, and I use it a lot. > However, in this case, `org-open-at-point' not only opens the link, > but also moves point to said link. Perhaps there's some reason why > point is not preserved in this case. But for me at least, this is not > what I'd expect, and I find it somewhat disrupting, especially when > I'm working on a folded tree (defeats speed keys, etc.). I see no particular reason. > How about adding a `save-excursion' for this case inside `org-open-at-point'? +1. But maybe others have objections. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at