I read that Emacs 24.4 should restore the desktop by default. It works perfectly except that the window configuration is not retained. It is saved because I can clearly read it in the desktop file, but when it starts up there is only one window in full screen. The others are loaded in their buffers but they are not displayed.

  • Does this happen with emacs -Q?
    – Malabarba
    Dec 14 '14 at 2:43
  • -Q appears to prevent emacs from loading the desktop file all together. So no luck.
    – gurghet
    Dec 14 '14 at 7:34
  • But I just discovered that if I launch the GUI it restore windows correctly.
    – gurghet
    Dec 14 '14 at 7:55
  • How do you load the package?
    – NVaughan
    Feb 16 '15 at 23:46
  • 1
    That information should be in your question, sounds like a bug. Use --debug-init and toggle-debug-on-entry to get a backtrace for the error. That information would also be helpful for people viewing your question. I can reproduce this with no other customizations. You should consider using M-x report-emacs-bug to send the error to the developers. May 18 '15 at 14:05

The reason that Emacs behaves differently when it is launched from the GUI than it is when launched from a shell, very likely is that these are actually different versions of Emacs. Apple ships an ancient version of Emacs with OS X and correctly places it on $PATH.

Unfortunately most of the third-party Emacs packages for OS X don't place the executable on $PATH so you have to do that yourself, e.g. in ~/.bashrc if you use bash.

  • v24.4 as said in the title.
    – gurghet
    Jan 18 '15 at 18:38

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.