From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.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 4K6/KUo0umQCYwEASxT56A (envelope-from ) for ; Fri, 21 Jul 2023 09:31:22 +0200 Received: from aspmx1.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id sNyPKUo0umRnwQAAauVa8A (envelope-from ) for ; Fri, 21 Jul 2023 09:31:22 +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 40F77497EE for ; Fri, 21 Jul 2023 09:31:22 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=W3cGpxQw; 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=1689924682; 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=8fIxQ6vNMy5GHDRGY1oZKsDJn1qjsinU0Knxsp8vNMg=; b=WFK1Apak+VTmVrhBLxTxAgm2RO/M1ZrNKaijike5x7ZK7ocxd0eB9+JRSmQg8AJilWr++C E00Mm5/ItnxtmMR2MRVO6ALnaaBvZlNxWs2PsQ0o7XnuNa4DMK2wNDAL+G3kB2kPZw/YLu 5kMaTb5QYJcsC79h+L3YxIjfWxg6PVfUv4Lj0p9a7Q+ei6JvJR4es4AdpI+4paqdXuqonu +bHhquJLLD+LmhblbKR+g1AUduZQ0dRgL1JEdOwVUpuVAzjslHRGuLWtl+FRF+4/EEr7Ib zcZL5/JRA+J/hzYKUa/4OeQoAXlkmA6gC8w9603TSN4AidXbO0QQBTsLDMbDFA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1689924682; a=rsa-sha256; cv=none; b=jugbMW2z2OHYpKz20/K1/DY1N32JboHYBh9mLWhBb2+gRHkgii32kzdCOgv5UIkrTzYWSQ qg0Zw2D/pH3fVap/l5JfwOu2J5XReNAAN2qCjS6yOyvdRPpZXPKwGjpeyV5A+htnAmlSp8 58o2/wzPzdm+nx/AXCY4w8hmhLEuuNdVNyjeXK6nkF+NpnQiiSZVg/oDAwnO0wNQ4QMPTE fQVenXX1bITjX44yfwuh+/C0hCQanelH4IFgsX4stibXHh10vaSRZHwSW4mkg4pzS3EFGT 5r2C1uTcpTJLVUcX2QlPLQLi76WfuZ4ya8h141HUwZiExZEQEB3zOUzr3+GSOg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=W3cGpxQw; 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 1qMkaj-0005We-MC; Fri, 21 Jul 2023 03:30:22 -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 1qMkab-0005WL-Ni for emacs-orgmode@gnu.org; Fri, 21 Jul 2023 03:30:16 -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 1qMkaT-0001qA-KH for emacs-orgmode@gnu.org; Fri, 21 Jul 2023 03:30:12 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 1B552240028 for ; Fri, 21 Jul 2023 09:30:02 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1689924602; bh=Qmh0uqcMRpaGXcrsxCV0IpJM83eVqq+pqSPYo+HnCEA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:From; b=W3cGpxQwyAcnJEQtxZoPcLgLfnebmkGZ+uDJCHsvQ+1ggF/cc7h/oPERy7XFio44f Bgntz9F6LnjroaAgqyPhKdRZXzRwSVRIdqpdGBQzXRltn6FOZ+kX/RMk4H4kQSKU/1 q+y+PytQ/Y3irHAwRcPn+GHJbLXeUgXC0c6i4zH6p3QJppLf1bs8P2rkblpw+vLJVe nhbLqe11aApJ3rfxSQWdzxZEDEa/J9Fvpsj1Abk2S33k5XHy+yzfs21awizxgcmTEh cDAVqBc7tDMjV/XEIfxaeY+F/d3Dn0azXW6qKDwruoFjL2o7zNJR7LotjsImc1nS5F e9Jh1xTVdwJxg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4R6h6131D9z6v1s; Fri, 21 Jul 2023 09:30:01 +0200 (CEST) From: Ihor Radchenko To: Vlastimil Vondra Cc: emacs-orgmode@gnu.org Subject: Re: Unable to unfold a folded block having point directly after the folded block In-Reply-To: References: <4F0BFC4B.3030403@online.de> <70b0bea6-002f-ce0e-6d8e-e5bcdf291713@gmail.com> <87mszrq8b2.fsf@localhost> <87h6pzq6qq.fsf@localhost> Date: Fri, 21 Jul 2023 07:30:13 +0000 Message-ID: <87cz0l90xm.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, 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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx2.migadu.com X-Migadu-Spam-Score: -8.45 X-Spam-Score: -8.45 X-Migadu-Queue-Id: 40F77497EE X-TUID: PjQzJswIulEW Vlastimil Vondra writes: > Perfect, org-reveal is working as well, haven't known about that! But it > would be good that org-reveal is called automatically before org-cycle, > because when going through the task list, I'm just expanding by tab. It is > not really convenient to use tab and when reaching error (or no unfold) > then hitting C-c C-r. Maybe it's just me. Try to customize `org-cycle-emulate-tab'. That way, `org-cycle' will try to reveal current heading in more places instead of attempting to perform indentation. I do not think that calling org-reveal before org-cycle is a good idea - it may lead to unexpected results depending on `org-fold-show-context-detail'. You can also create your own custom `personal/org-cycle' command that will (1) call `org-reveal' (2) call `org-cycle'. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at