Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site burdvax.UUCP Path: utzoo!linus!security!genrad!grkermit!masscomp!clyde!akgua!psuvax!burdvax!hdj From: hdj@burdvax.UUCP Newsgroups: net.emacs Subject: Oops! - save-window-excursion etc. Message-ID: <1414@burdvax.UUCP> Date: Tue, 24-Jan-84 10:26:06 EST Article-I.D.: burdvax.1414 Posted: Tue Jan 24 10:26:06 1984 Date-Received: Fri, 27-Jan-84 08:06:44 EST Organization: System Development Corporation, Paoli PA Lines: 21 I just realized what the problem is - and it's not a bug! I said that something of the form (save-window-excursion (visit-file "somefile") (recursive-edit)) failed to execute the (recursive-edit) (I should have said that this happens only if "somefile" does not already exist). This is true, as far as it goes. Emacs considers it an error if you visit-file a non-existant file, even though it does the expected thing. Thus, the recursive-edit never gets done. When I changed the above to (save-window-excursion (error-occured (visit-file "somefile")) (recursive-edit)) it worked. Sorry for the false, though I hope instructive, alarm. Herb Jellinek