The hexl-max-address usually set to buffer-size, but when the buffer
contain a multiple byte character or the file associated to the buffer is
encoded by multibyte coding system such as utf-16, the hexl-max-address is
usually less the the real byte of buffer.
Here is my solution to set hexl-max-address which might help:
(setq hexl-max-address
(1- (if buffer-file-name
(nth 7 (file-attributes buffer-file-name))
(length
(decode-coding-string (buffer-string)
buffer-file-coding-system)))))
--
使用 Opera 革命性的电子邮件客户程序: http://www.opera.com/mail/
_______________________________________________
emacs-pretest-bug mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug