[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: switch out of view mode
From: |
Tim Visher |
Subject: |
Re: switch out of view mode |
Date: |
Sat, 20 Feb 2010 10:25:54 -0500 |
On Sat, Feb 20, 2010 at 10:17 AM, Neal Becker <ndbecker2@gmail.com> wrote:
> Any way to switch from view mode on a file, to normal editing, without
> closing the file and using C-x C-f to reopen?
As per the docs (24.3):
`M-x view-buffer' is much like `M-x view-file' (*note Misc File
Ops::) except that it examines an already existing Emacs buffer. View
mode provides commands for scrolling through the buffer conveniently
but not for changing it. When you exit View mode with `q', that
switches back to the buffer (and the position) which was previously
displayed in the window. Alternatively, if you exit View mode with
`e', the buffer and the value of point that resulted from your perusal
remain in effect.
So `q' to quit and return to where you started or `e' to turn off view
mode but leave point intact.
--
In Christ,
Timmy V.
http://burningones.com/
http://five.sentenc.es/ - Spend less time on e-mail