From f7372de802daafa16c99d3e1e0a8ac029be227ea Mon Sep 17 00:00:00 2001 From: Gerard Vermeulen Date: Sat, 11 Dec 2021 15:45:52 +0100 Subject: [PATCH] Explain narrowing and widening --- README.org | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/README.org b/README.org index ce7dd54..865d8fc 100644 --- a/README.org +++ b/README.org @@ -984,13 +984,16 @@ Emacs prevents new users from shooting themselves in the feet. (call-interactively this-command))) #+end_src - ** [[info:emacs#Narrowing][Narrowing]] :PROPERTIES: :CUSTOM_ID: sec:narrowing :END: -[[https://endlessparentheses.com/emacs-narrow-or-widen-dwim.html][Emacs narrow-or-widen-dwim]] +Narrowing means focusing in on some portion of the buffer and widening means +focussing out on the whole buffer. This allows to concentrate temporarily on +for instance a particular function or paragraph by removing clutter. The "Do +What I Mean" [[https://endlessparentheses.com/emacs-narrow-or-widen-dwim.html][narrow-or-widen-dwim]] function allows to toggle between narrowed and +widened buffer states. #+begin_src emacs-lisp (defun narrow-or-widen-dwim (p)