Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8226773
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T15:53:33+00:00 2026-06-07T15:53:33+00:00

Even when I invoke emacs -batch (that is, batch mode without actually doing anything),

  • 0

Even when I invoke emacs -batch (that is, batch mode without actually doing anything), emacs vomits out a whole pile of messages:

$ emacs -batch
Loading 00debian-vars...
Loading /etc/emacs/site-start.d/50autoconf.el (source)...
Loading /etc/emacs/site-start.d/50cmake-data.el (source)...
Loading /etc/emacs/site-start.d/50devhelp.el (source)...
Loading /etc/emacs/site-start.d/50dictionaries-common.el (source)...
Loading debian-ispell...
Loading /var/cache/dictionaries-common/emacsen-ispell-default.el (source)...
Loading /var/cache/dictionaries-common/emacsen-ispell-dicts.el (source)...
Loading /etc/emacs/site-start.d/50psvn.el (source)...

Is there any way to silence these messages? Google hasn’t been too helpful for this.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T15:53:35+00:00Added an answer on June 7, 2026 at 3:53 pm

    Those are the messages that would normally show up in the *Messages* buffer, which are instead going to stderr. Here are a few ways to silence it, in increasing order of sophistication:

    • The simplest fix would be to redirect stderr, if you’re not going to use it:

      emacs -batch 2>/dev/null
      
    • Those messages are coming from something loaded in the site-wide initialization. If you don’t need any other functionality from your initialization files, you can try:

      emacs -batch --no-site-file ... # ignore system-wide
      emacs -batch -Q ... # ignore everything
      
    • In theory one can achieve this via (setq force-load-messages nil), but the fact that the site-file is the one printing here means you likely can’t do it early enough.

    • advise the load function so that it is always called with NOMESSAGE. Here’s a sketch:

      (defadvice load (before quiet-loading
                         (&optional NOMESSAGE)
                         activate)
         (setq NOMESSAGE t))
      (load site-run-file t)
      

      This should just force load to always pass t in the NOMESSAGE argument, and then loads the site-run-file, 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 site-run-file; I have no idea how common that is in the wild.)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Even without a printer-friendly view to print directions, when I choose File->Print in my
Even though it's not part of HTTP 1.1/RFC2616 webapps that wish to force a
Even after studying the examples , I'm having trouble figuring out how to extract
I am curious to know why when we are doing P/invoke the dllimport call
I'm calling out to javascript from a SL component using the HtmlPage.Window.Invoke api, when
Is there anyway I can invoke a WCF service without adding service reference or
first of all, i am sorry that even if there's many given topic that
I need to invoke a method each time an event is occurred even if
Is there a way (perhaps with P/Invoke) to guarantee that the horizontal scrollbar will
I would like to invoke a method, using Java Reflection. The problem is that

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.