1

When I open emacs from a terminal with the emacs& command, I get a lot of debug messages on that terminal. This obscures what I was doing before. Is there a way of suppressing debug message output to the terminal?

Thanks!

user1118764
  • 9,255
  • 18
  • 61
  • 113
  • 1
    It should work in linux `emacs& &>/dev/null`, see http://stackoverflow.com/questions/2292847/how-to-silent-output-in-a-bash-script – artscan Jan 22 '13 at 09:55

2 Answers2

1

Redirect stderr to /dev/null.

emacs 2>/dev/null& command

This alias should to the trick, just put in in .bashrc or your shells rc file.

alias emacs="emacs 2>/dev/null"
McNisse
  • 198
  • 3
0

It depends on your OS, but you seem to be on Linux.
If it is the case, create a launcher icon, eg for Ubuntu.

This way the desktop environment, like Gnome or KDE, starts the process instead of the terminal, and messages do not appear.

Community
  • 1
  • 1
Déjà vu
  • 28,223
  • 6
  • 72
  • 100