all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* emacs-24.4.1 memory corruption
@ 2015-04-27 12:59 Neal Becker
  2015-04-27 15:39 ` Stefan Monnier
  0 siblings, 1 reply; 2+ messages in thread
From: Neal Becker @ 2015-04-27 12:59 UTC (permalink / raw)
  To: emacs-devel

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 ()
  (interactive)
  (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 
issue!)

-- 
Those who fail to understand recursion are doomed to repeat it




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: emacs-24.4.1 memory corruption
  2015-04-27 12:59 emacs-24.4.1 memory corruption Neal Becker
@ 2015-04-27 15:39 ` Stefan Monnier
  0 siblings, 0 replies; 2+ messages in thread
From: Stefan Monnier @ 2015-04-27 15:39 UTC (permalink / raw)
  To: Neal Becker; +Cc: emacs-devel

> 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.  

Not a known bug.  Please make it a bug-report with M-x report-emacs-bug,
and please try and give as many details as possible, starting with what
kind of corruption you see.


        Stefan



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-04-27 15:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-27 12:59 emacs-24.4.1 memory corruption Neal Becker
2015-04-27 15:39 ` Stefan Monnier

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.