Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Those are the messages that would normally show up in the <code>*Messages*</code> buffer, which are instead going to stderr. Here are a few ways to silence it, in increasing order of sophistication: </p> <ul> <li><p>The simplest fix would be to redirect stderr, if you're not going to use it:</p> <pre><code>emacs -batch 2&gt;/dev/null </code></pre></li> <li><p>Those messages are coming from something loaded in the <a href="http://www.gnu.org/software/emacs/manual/html_node/elisp/Init-File.html">site-wide initialization</a>. If you don't need any other functionality from your initialization files, you can try:</p> <pre><code>emacs -batch --no-site-file ... # ignore system-wide emacs -batch -Q ... # ignore everything </code></pre></li> <li><p>In theory one can achieve this via <code>(setq force-load-messages nil)</code>, but the fact that the site-file is the one printing here means you likely can't do it early enough.</p></li> <li><p>advise the <code>load</code> function so that it is always called with <code>NOMESSAGE</code>. Here's a sketch:</p> <pre><code>(defadvice load (before quiet-loading (&amp;optional NOMESSAGE) activate) (setq NOMESSAGE t)) (load site-run-file t) </code></pre> <p>This should just force load to always pass <code>t</code> in the <code>NOMESSAGE</code> argument, and then loads the <code>site-run-file</code>, ignoring errors if no such file is present. (Note that at least on all 2 of the machines I use emacs on, there's no <code>site-run-file</code>; I have no idea how common that is in the wild.)</p></li> </ul>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload