After emergeing app-emacs/popwin-0.3: 1. Start emacs with "emacs-24 -q" from user's home directory 2. Type C-x C-f 3. At the ~/ prompt, press TAB twice for completion This will result in an error "Variable binding depth exceeds max-specpdl-size". With Emacs 23 the problem doesn't occur. However, as Emacs 24 is in pretest already, the bug needs to be fixed. Furthermore, the package's site file has some problems: 1. Don't call "require" or "load" as this increases Emacs's startup time. 2. Don't redefine variables like display-buffer-function. The guiding principle is that emerging a package should not change standard Emacs behaviour by itself. IMHO, the site-init-file should just add the directory to the load-path and then autoload the relevant function: (add-to-list 'load-path "@SITELISP@") (autoload 'popwin:display-buffer "popwin" "Display BUFFER-OR-NAME, if possible, in a popup window, or as usual. This function can be used as a value of `display-buffer-function'." t)
Sorry for the late response and thanks for your fix. I've added upstream Emacs24 support code as -r1.