Perhaps you could create a wrapper /home/you/bin/emacs to add some debugging information. Here's a quick stab at something ...
#!/bin/sh -vx # doubtful whether the -vx adds more noise than useful information # FIXME: insecure temp files exec /usr/bin/emacs "$@" >/tmp/emacs.$$.out 2>/tmp/emacs.$$.err
Perhaps you could create a wrapper /home/you/bin/emacs to add some debugging information. Here's a quick stab at something ...
#!/bin/sh -vx
# doubtful whether the -vx adds more noise than useful information
# FIXME: insecure temp files
exec /usr/bin/emacs "$@" >/tmp/emacs.$$.out 2>/tmp/emacs.$$.err