[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

emacs-24.4.1 memory corruption

From: Neal Becker
Subject: emacs-24.4.1 memory corruption
Date: Mon, 27 Apr 2015 08:59:44 -0400
User-agent: KNode/4.14.6

I am seeing that if a file is changed on the underlying filesystem, and I 
use revert-buffer, the resulting buffer is (at least sometimes) corrupted.  

Here is the actual code I'm using to update the buffer:

(defun refresh-file ()
  (revert-buffer t (not (buffer-modified-p)) t)

(global-set-key [f5] 'refresh-file)

This is on linux fedora 21.  Filesystem is btrfs (let's hope that's not the 

Those who fail to understand recursion are doomed to repeat it

reply via email to

[Prev in Thread] Current Thread [Next in Thread]