[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: widen-one-level [was: Emacs's handling of line numbers]
From: |
Drew Adams |
Subject: |
RE: widen-one-level [was: Emacs's handling of line numbers] |
Date: |
Mon, 19 Apr 2010 13:22:15 -0700 |
> If we add a stack of buffer boundaries, we need an easy way to pop
> out of all levels. The natural thing is that ESC ESC ESC
> should do it.
Try the code I pointed to:
http://www.emacswiki.org/emacs/wide-n.el
You have these ways to widen completely:
1. C-x n w (ordinary `widen')
2. C-u C-x n x (equivalent to `widen')
3. C-0 C-x n x (widen and empty the ring)
#1 and #2 leave the ring as it was. #3 empties the ring.
You can cycle among restrictions by repeating `x':
`C-x n x x x x...'.
You can use a numeric prefix arg (e.g. `C-3 C-x n x') to restore a particular
restriction from the ring. A negative prefix arg does that too, but it also pops
off all entries up to the target one.
IOW, if you use a negative prefix arg, you get stack behavior:
`C-x n n' pushes, and `C-- C-x n x' pops'.
- Re: Emacs's handling of line numbers [from bug#5042], (continued)
- Re: Emacs's handling of line numbers [from bug#5042], Eli Zaretskii, 2010/04/17
- Re: Emacs's handling of line numbers [from bug#5042], Mark Lillibridge, 2010/04/17
- Re: Emacs's handling of line numbers [from bug#5042], Eli Zaretskii, 2010/04/17
- Re: Emacs's handling of line numbers [from bug#5042], Juanma Barranquero, 2010/04/17
- RE: Emacs's handling of line numbers [from bug#5042], Drew Adams, 2010/04/17
- widen-one-level [was: Emacs's handling of line numbers], Drew Adams, 2010/04/18
- Re: widen-one-level [was: Emacs's handling of line numbers], Juri Linkov, 2010/04/18
- RE: widen-one-level [was: Emacs's handling of line numbers], Drew Adams, 2010/04/18
- Re: widen-one-level [was: Emacs's handling of line numbers], Davis Herring, 2010/04/18
- Re: widen-one-level [was: Emacs's handling of line numbers], Richard Stallman, 2010/04/19
- RE: widen-one-level [was: Emacs's handling of line numbers],
Drew Adams <=
- Re: widen-one-level [was: Emacs's handling of line numbers], Juri Linkov, 2010/04/19
- Re: widen-one-level [was: Emacs's handling of line numbers], Leo, 2010/04/18
- RE: widen-one-level [was: Emacs's handling of line numbers], Drew Adams, 2010/04/18
- Re: widen-one-level [was: Emacs's handling of line numbers], Leo, 2010/04/19
- RE: widen-one-level [was: Emacs's handling of line numbers], Drew Adams, 2010/04/19
- Re: widen-one-level [was: Emacs's handling of line numbers], Leo, 2010/04/19
- RE: widen-one-level [was: Emacs's handling of line numbers], Drew Adams, 2010/04/19
- Re: widen-one-level [was: Emacs's handling of line numbers], Leo, 2010/04/22
- Re: Emacs's handling of line numbers [from bug#5042], Eli Zaretskii, 2010/04/17
- Re: Emacs's handling of line numbers [from bug#5042], Juanma Barranquero, 2010/04/17