[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 23.0.50; hexl-mode and auto-revert-mode incompatibilities
From: |
martin rudalics |
Subject: |
Re: 23.0.50; hexl-mode and auto-revert-mode incompatibilities |
Date: |
Fri, 25 Jan 2008 10:28:32 +0100 |
User-agent: |
Mozilla Thunderbird 1.0 (Windows/20041206) |
> Mmh, it behaves the same way as in the first patch for me, I hope I
> haven't made a mistake. auto-revert-tail-mode still breaks.
So even brute force won't help us here? Could you, for testing
purposes, insert at the beginning of `auto-revert-tail-handler' a
message like:
(defun auto-revert-tail-handler (size)
(message "%s" auto-revert-tail-is-revert-buffer) (ding)
(let ((modified (buffer-modified-p))
evaluate that and tell me what gets printed for hexl-mode buffers?
Basically,
(set (make-local-variable 'auto-revert-tail-is-revert-buffer) t)
in hexl-mode together with
(if (and auto-revert-tail-mode
(not auto-revert-tail-is-revert-buffer))
(auto-revert-tail-handler size)
in `auto-revert-handler' should assure that `auto-revert-tail-handler'
is _never_ called for hexl-mode buffers.