emacs-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] autorevert.el -- revert fix for Windows platform


From: martin rudalics
Subject: Re: [PATCH] autorevert.el -- revert fix for Windows platform
Date: Sat, 24 Mar 2007 11:52:16 +0100
User-agent: Mozilla Thunderbird 1.0 (Windows/20041206)

> It seems to me that auto-revert-tail-mode already exists to deal with
> this specific use case.

Doesn't this

(defun auto-revert-tail-handler ()
  (let ((size (nth 7 (file-attributes buffer-file-name)))
    ...
    (when (> size auto-revert-tail-pos)
          ...
          (insert-file-contents file nil auto-revert-tail-pos size)))
      (undo-boundary)
      (setq auto-revert-tail-pos size)
      ...

suffer from the buffer-size file-size dichotomy as well?  Or are we on
the safe side here?






reply via email to

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