* switch out of view mode
@ 2010-02-20 15:17 Neal Becker
2010-02-20 15:25 ` Tim Visher
0 siblings, 1 reply; 2+ messages in thread
From: Neal Becker @ 2010-02-20 15:17 UTC (permalink / raw)
To: help-gnu-emacs
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?
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: switch out of view mode
2010-02-20 15:17 switch out of view mode Neal Becker
@ 2010-02-20 15:25 ` Tim Visher
0 siblings, 0 replies; 2+ messages in thread
From: Tim Visher @ 2010-02-20 15:25 UTC (permalink / raw)
To: Neal Becker; +Cc: help-gnu-emacs
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-02-20 15:25 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-20 15:17 switch out of view mode Neal Becker
2010-02-20 15:25 ` Tim Visher
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).