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 ms9.migadu.com with LMTPS id UL+mHLAWEGVzOwAAG6o9tA:P1 (envelope-from ) for ; Sun, 24 Sep 2023 13:00:00 +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 UL+mHLAWEGVzOwAAG6o9tA (envelope-from ) for ; Sun, 24 Sep 2023 13:00:00 +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 E475455550 for ; Sun, 24 Sep 2023 12:59:59 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=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"; dmarc=fail reason="SPF not aligned (strict), No valid DKIM" header.from=posteo.net (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1695553200; 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; bh=o1Bt3aM5ZGNCAWZj+GorJkqyootAePrT7qzQ0rBRRJg=; b=EspHPbcR7QDgJuuj1jfV9kpQlRtWXavg5dMPA0esou1bM6EQyE6AwUSxsCFBWDy3yJ58oR JaeJW+GU85TG7uIXa4ypCAmgvOdA8sNpNMhc6Gl+fQnrf8cP/5mantQvkwwnfg8FVMN6XI yVkdQtcdns16+DhJmsDGCkX2DiamkcbwTd4yzwtn3lthItmNDKf9vvTkjZY7UkdOPJfD1n Yizzlygsz3ihR84p0Au0SAHDbquRGRQwoe11AH5AhB5/Q9qtu8wlO+HWQcW12HfA+dAe3L EWU0YaeRlH1i55q7Pq0seLjFraYRwYlkndf7Awmxm0Dggynqi4b45PoIeF45yg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=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"; dmarc=fail reason="SPF not aligned (strict), No valid DKIM" header.from=posteo.net (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1695553200; a=rsa-sha256; cv=none; b=SLymwYxdflLDBZZt18AqIxJiWEi+FSH8g1jhEJV83CCdf/hOHrL/H45LRVmHXEOTg5NjUR X+V54FVRkb6JrhFBgBCs+/w1hF08AIkrr0rbzncZzpFN/GSTv30HZ77K/i2lceYXywPhvp j/GOyes3tegi/H2MYPcKZTfLAd0eP9x1tyfXoc4rwM+vlQOe6ByTX72OiLncj0GNc6lkB5 4y8t+Qx0U+VDWiif3uKW5kDX6zdPyeUiAJ04atSQKbFfpxMpMZmWEcMJgN38SRqx+y3n91 kJVPqIrsv3iMNwhwsmzBLY5he3tM0bFqcvbempfYTd7z82QYqLtWMCkfHmzEdQ== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qkMpL-00048t-SK; Sun, 24 Sep 2023 06:59:03 -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 1qkMpK-00048l-E0 for emacs-orgmode@gnu.org; Sun, 24 Sep 2023 06:59:02 -0400 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qkMpI-0004pC-82 for emacs-orgmode@gnu.org; Sun, 24 Sep 2023 06:59:02 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 6F698240103 for ; Sun, 24 Sep 2023 12:58:57 +0200 (CEST) Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Rtjg45BHBz6txT; Sun, 24 Sep 2023 12:58:56 +0200 (CEST) From: Ihor Radchenko To: Max Nikulin Cc: emacs-orgmode@gnu.org Subject: Re: [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: <87r0mp2srd.fsf@localhost> Date: Sun, 24 Sep 2023 11:00:08 +0000 Message-ID: <877cof25vr.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -41 X-Spam_score: -4.2 X-Spam_bar: ---- X-Spam_report: (-4.2 / 5.0 requ) BAYES_00=-1.9, 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-Spam-Score: -3.75 X-Migadu-Scanner: mx2.migadu.com X-Migadu-Queue-Id: E475455550 X-Spam-Score: -3.75 X-TUID: 9F6twxx8LdOm Max Nikulin writes: > On 23/09/2023 15:33, Ihor Radchenko wrote: >> Gustavo Barros writes: >>> 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. > > Maybe the following is a false alarm. I hope `save-excursion' will not > break the "RET to open all" option, `org-open-at-point' is called > recursively this case. "Open all" is broken now. That said, your concern is valid - if we open internal link, it will be expected the point jumps to that link rather than staying on the heading. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at