Explain narrowing and widening
This commit is contained in:
parent
d5eaaaef9c
commit
f7372de802
@ -984,13 +984,16 @@ Emacs prevents new users from shooting themselves in the feet.
|
|||||||
(call-interactively this-command)))
|
(call-interactively this-command)))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
|
|
||||||
** [[info:emacs#Narrowing][Narrowing]]
|
** [[info:emacs#Narrowing][Narrowing]]
|
||||||
:PROPERTIES:
|
:PROPERTIES:
|
||||||
:CUSTOM_ID: sec:narrowing
|
:CUSTOM_ID: sec:narrowing
|
||||||
:END:
|
: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
|
#+begin_src emacs-lisp
|
||||||
(defun narrow-or-widen-dwim (p)
|
(defun narrow-or-widen-dwim (p)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user