On 25 Μαρ 2008, at 7:20 ΜΜ, Carsten Bormann wrote: >> and Emacs.app doensn't crash anymore upon trying to save that file! > > ...and while you are at it, you also might want to change > > diff -u -L /Applications/Emacs.app/Contents/Resources/lisp/ > frame.el.gz~ -L /Applications/Emacs.app/Contents/Resources/lisp/ > frame.el.gz /var/folders/F1/F1O-FmOa2RWcxU\+8ZRlBhU\+\+\+TI/-Tmp-/ > jka-com14629LAe /var/folders/F1/F1O-FmOa2RWcxU\+8ZRlBhU\+\+\+TI/- > Tmp-/jka-com14629lUq > --- /Applications/Emacs.app/Contents/Resources/lisp/frame.el.gz~ > +++ /Applications/Emacs.app/Contents/Resources/lisp/frame.el.gz > @@ -872,7 +872,7 @@ > (interactive) > (let ((type (framep (selected-frame)))) > (cond > - ((memq type '(x w32)) (iconify-or-deiconify-frame)) > + ((memq type '(x ns w32)) (iconify-or-deiconify-frame)) > ((eq type t) > (if (controlling-tty-p) > (suspend-emacs) > > Diff finished. Tue Mar 25 18:17:08 2008 > > to solve the little suspend-frame bug I mentioned. > > Thanks for motivating me to finally track that one down... > > Gruesse, Carsten > >
I'm glad that I've somehow helped... I applied (hopefully correctly) the change about the suspend-bug too. Thank you very much. I'd like though to ask what exactly is the change in the behavior that this patch for the suspend-bug is supposed to make. After applying the patch, pressing C-z in Emacs.app closes it again. If later I reopen Emacs.app, I 'm able to recover the file I was editing (M-x recover-session). Is this the expected behavior *after* applying this patch? (I'm very new to both emacs and unix. I tried in the terminal, and C-z indeed suspends Emacs. But in Emacs as a desktop app, C-z just exits?) C.C. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Emacs-app-dev- mailing list Emacs-app-dev-@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emacs-app-dev-