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 1027639
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T12:16:07+00:00 2026-05-16T12:16:07+00:00

When the (version controlled) file is updated, emacs doesn’t show the status instantly. With

  • 0

When the (version controlled) file is updated, emacs doesn’t show the status instantly. With TextMate, if something changes with the file that I’m editing, it notifies me right away.

  • Is there any way to make the notification instant?
  • M-x load-file is the only way to check if something is changed?

ADDED

(custom-set-variables
 '(auto-revert-interval 1))
(global-auto-revert-mode 1)

It sets 1 seconds for revert interval, and it seems to work pretty well.

  • 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-05-16T12:16:07+00:00Added an answer on May 16, 2026 at 12:16 pm

    You should look into “auto-revert-mode”. As the name implies, it’ll automatically revert buffers if the underlying file has changed.

    Note that you still won’t get instant notifications; instead, Emacs will in effect “poll” the files every so often (configurable via “auto-revert-interval”; I think I use five seconds for most stuff, and one second for log files that I’m carefully monitoring).

    I have it turned on for everything, like this:

    (defvar running-on-windows
       (memq system-type '(windows-nt cygwin32 cygwin))
       "True if and only if we're running on Windows.  Both Win32 and
    Cygwin count.")
    
    (when (fboundp 'global-auto-revert-mode)
    
      ;; All the "reverting buffer foo" messages are _really_ distracting.
      (setq auto-revert-verbose nil)
    
      (global-auto-revert-mode 1)
    
      ;; just as the docs warn, this can really make Emacs sluggish.
      (if running-on-windows
          (if (fboundp 'lwarn)
              (lwarn
               'global-auto-revert-mode
               :warning
               "I just turned on global-auto-revert-mode.  It's nifty,
    but it's REALLY SLOW when you have buffers that are visiting
    remote files.  And despite its documentation, it does NOT ignore
    those files, if you're using windows, and the file name begins
    with a drive letter and a colon."))
        (setq global-auto-revert-non-file-buffers t)))
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

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.