Thanks for investigating, era. You're right, my report was incomplete. It seems to only happen when emacs is started as root. I just reproduced it on a fresh install from ubuntu raring install media (ubuntu-13.04-desktop-i386.iso). Following install and an "apt-get dist-upgrade", I installed emacs24, sudo'ed to a bash shell, ran emacs, and entered "M-x shell <RET>". The emacs process hung immediately.
However, the shell batch command you suggested runs as expected, both as root and as an unprivileged user. On a related note, running emacs in a terminal window with "emacs -nw" and then entering M-x shell causes the expected behavior. So X is probably involved in the process getting hung, somehow. Best regards, Alex -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1200354 Title: shell-command-to-string hangs emacs24 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/emacs24/+bug/1200354/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
