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: Luc Teirlinck
Subject: Re: [PATCH] autorevert.el -- revert fix for Windows platform
Date: Sat, 24 Mar 2007 19:24:29 -0500 (CDT)

Kim Storm wrote:

   I didn't think deeply about the implications of using (buffer-size)
   directly, but what about using (position-bytes (buffer-size)) instead?

Just as wrong, and again, I have actually files for which
(position-bytes (buffer-size)) is very different from the size of the
file on disk.  The internal contents of an Emacs buffer are _not_ the
same as the contents of the file on disk, unless `find-file-literally'
was used (see for instance `(elisp)Coding Systems').

Sincerely,

Luc Teirlinck.
 LocalWords:  elisp




reply via email to

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