From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id kAyMOzDSgGMxTAAAbAwnHQ (envelope-from ) for ; Fri, 25 Nov 2022 15:33:21 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id mECROzDSgGOqdQEA9RJhRA (envelope-from ) for ; Fri, 25 Nov 2022 15:33:20 +0100 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 8BED06365 for ; Fri, 25 Nov 2022 15:33:20 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oyZkq-0004Fj-2p; Fri, 25 Nov 2022 09:32:37 -0500 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 1oyZke-000470-1j for emacs-orgmode@gnu.org; Fri, 25 Nov 2022 09:32:24 -0500 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 1oyZkY-0000fI-MX for emacs-orgmode@gnu.org; Fri, 25 Nov 2022 09:32:23 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id ADEB224002F for ; Fri, 25 Nov 2022 15:32:06 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1669386727; bh=4LWFN2zZIlPfVUZ3faxqwVMavjb46KAUlqaBoVMjQtY=; h=From:To:Cc:Subject:Date:From; b=UQz4HcAJeuFkJlm2Il2xnim7WFDBJ+h7hCV3LU95MuqCj8Y4pTJbkmySa8/CJ7Ai0 Gkhp/RotJ1OXA2LeLIXA2rNccDmEj4mLU7UtGUF7fW6fEQDkov6ZCboEo1D2KwWqv5 ZXnjlyn5hYNgnlXKYYumMk1IxO7Ca6X6U3RsDfgbsWExeWHiraUDdzdTd6pK6mYwZu LIYCis0bfpExPQ74V+oj5sA1uHzoFW+m5JiQCeUOXJe7y75V4LuykvWQWLHR6YeKCe sPt3Q74ooa1hRBtBmabWu+qLCJ2k2t9dnC28UWC5cYnAaEjPGVVkql+gjMmtogQNgf kJ2v8TPp9ShoQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4NJcks200Dz9rxW; Fri, 25 Nov 2022 15:32:04 +0100 (CET) From: Ihor Radchenko To: yuvallangerontheroad Cc: "emacs-orgmode@gnu.org" Subject: Re: [PATCH] Explain how to end a buffer narrowing. In-Reply-To: References: Date: Fri, 25 Nov 2022 14:32:25 +0000 Message-ID: <87cz9b9kau.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, SPF_PASS=-0.001, T_SPF_HELO_TEMPERROR=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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1669386800; 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=xgXx1bD4NCcrOtwWyJOJaczd7irPKtr/E6eTbhnK1gA=; b=R3b0jr3R/iypgmkmsqADIGVdz6jxhuBgc5avXQDm+fPq0/nnLMSF/ypTuW5Was24DWAKck uqqD2n/lzO9xKE64KrcyJZ4i+M1VEYULbSQ62K12gUNW8k4XeKQEd3O33pkqPKS/A2J0ZT BKbFFIEujSlu+Y/nNCm7bWF4QnERkp16v3dCAmh+wT+9dcPkBFNCIrnGj3KyehhT8E1CFi 7NiaSLo4DLsLQk4uVifdFs05UlZtCmw+w0UG7f10rMqo6aPRbuY42Xro5XxczBnkP4A3vM Os0vKUMII0qE6j7ctCNuLlol0mWflQlZwawWTZaUg6hW8T2KuQ1hS8Y0R9nBfg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1669386800; a=rsa-sha256; cv=none; b=XlWNRLBms2Fmi8+AvjlaPvN69gDkO03q8rvdysMlqfqYP4ORaaO+5LTqd2q06VvhP9195t TJqGhFQGBH9Nw1jRXZjbbLyqtGTkYV2VH6kj10qFx6FAk1FMQwoZG6+GL5W/TO1cmYVZUU o4qSSCuyjOJvAd9DBDJtIjjq+RAJtoonCSiszy88nixs2jG/8eBRtMLBPF4e7coT5dF/X1 N9wrR75Rzi6D5Tmi1X9+EqMlg102kSX0GZbsj5MVVhK60Nuq8kzDOvLd8qoyDnG0weJK8d SCgVjcc+S60Hs+LgIizS3YfKmHV+R23Z0qoA0EglN9Gh2vekuIB/5Cjoy+ZaRg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=UQz4HcAJ; dmarc=pass (policy=none) header.from=posteo.net; 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" X-Migadu-Spam-Score: -3.57 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=UQz4HcAJ; dmarc=pass (policy=none) header.from=posteo.net; 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" X-Migadu-Queue-Id: 8BED06365 X-Spam-Score: -3.57 X-Migadu-Scanner: scn1.migadu.com X-TUID: jHFUr0xwc87n yuvallangerontheroad writes: > I have added information on how to exit a narrowing. I could have used this information when I started using org-narrow-to-subtree. > ... > (defun org-narrow-to-subtree (&optional element) > - "Narrow buffer to the current subtree." > + "Narrow buffer to the current subtree. > + Use the command M-x widen to see the whole buffer again." Thanks! I am neutral wrt this addition. Could be useful. But please use `\\[widen]' instead of M-x widen. Then, Emacs will automatically display the actual key binding for widen or "M-x widen" if no binding is present. See 25.3 Substituting Key Bindings in Documentation section of Elisp manual. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at