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!

1

2 Answers 2

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"
Sign up to request clarification or add additional context in comments.

Comments

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.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.