Hi all, I was wondering if there is any way to detect that \nonstopmode (or any other mode) is active. This could come in handy to activate some interaction (e.g. \read-1\somemacro), unless \nonstopmode is active (as when compiled from within Emacs). Any idea, anyone? -- I drive way too fast to worry about cholesterol.