Article View: gnu.emacs.bug
Article #1136Re: small problem with vip-mode and picture-mode
From: nate
Date: Tue, 01 Nov 1988 19:36
Date: Tue, 01 Nov 1988 19:36
38 lines
1754 bytes
1754 bytes
In article <8810282343.AA05448@cpocel.local> you write:
> M-x vip-mode
> C-z
> M-x picture-mode
> C-z
> C-c C-c
>
>It works fine if you leave picture mode in the same major mode as you
>started picture mode with.
Randy,
One of the problems you might be having is with your invocation of
picture-mode. The function you probably want to use instead is
M-x edit-picture
Just invoking picture-mode doesn't save the key-maps correctly;
edit-picture does some mucking about with lisp variables, and *then*
calls picture-mode.
In fact, if you call edit-picture from inside of vi mode, you'll notice
that C-z doesn't switch you to Emacs mode, but leaves you in vi mode.
This is a feature. The idea of picture-mode is to jump into it for a
little while, do the p-m editing you need to do, and then get back out.
[That is, if you have called edit-picture, and you want to be in Emacs
mode instead of vi mode, you have to C-c C-c, switch to Emacs, and then
call edit-picture again.]
Hope this helps,
--woodstock
--
"What I like is when you're looking and thinking and looking
and thinking...and suddenly you wake up." - Hobbes
woodstock@sc.intel.com ...!{decwrl|hplabs!oliveb|amd}!intelca!mipos3!nate
Technical Details
Message-ID:
<8811011936.AA08071@mipos2.intel.com>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!watmath!uunet!tut.cis.ohio-state.edu!mipos2.intel.com!nateReferences:
<8810282343.AA05448@cpocel.local>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watmath!uunet!tut.cis.ohio-state.edu!mipos2.intel.com!nate From: nate@mipos2.intel.com Newsgroups: gnu.emacs.bug Subject: Re: small problem with vip-mode and picture-mode Message-ID: <8811011936.AA08071@mipos2.intel.com> Date: 1 Nov 88 19:36:21 GMT References: <8810282343.AA05448@cpocel.local> Sender: daemon@tut.cis.ohio-state.edu Reply-To: woodstock@sc.intel.com Distribution: gnu Organization: Intel Corporation, Santa Clara, CA Lines: 38