From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.devel,gmane.emacs.pretest.bugs Subject: Re: 23.0.50; hexl-mode and auto-revert-mode incompatibilities Date: Fri, 25 Jan 2008 10:28:32 +0100 Message-ID: <4799ABC0.9040200@gmx.at> References: <8663xouegy.fsf@simias.hd.free.fr> <4794A050.3000902@gmx.at> <86wsq2txze.fsf@simias.hd.free.fr> <4795F4A7.4070302@gmx.at> <86k5lyuvx0.fsf@simias.hd.free.fr> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1201253618 16871 80.91.229.12 (25 Jan 2008 09:33:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 25 Jan 2008 09:33:38 +0000 (UTC) Cc: emacs-pretest-bug@gnu.org To: Simias Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jan 25 10:33:58 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JIKwZ-0002sz-5z for ged-emacs-devel@m.gmane.org; Fri, 25 Jan 2008 10:33:51 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JIKw7-0003Ey-1H for ged-emacs-devel@m.gmane.org; Fri, 25 Jan 2008 04:33:23 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JIKq0-0006dH-SX for emacs-devel@gnu.org; Fri, 25 Jan 2008 04:27:04 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JIKpw-0006bg-Mn for emacs-devel@gnu.org; Fri, 25 Jan 2008 04:27:02 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JIKpw-0006bN-2P for emacs-devel@gnu.org; Fri, 25 Jan 2008 04:27:00 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JIKpw-0007qB-08 for emacs-devel@gnu.org; Fri, 25 Jan 2008 04:27:00 -0500 Original-Received: from mx10.gnu.org ([199.232.76.166]) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1JIKpv-0007s9-99 for emacs-pretest-bug@gnu.org; Fri, 25 Jan 2008 04:26:59 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1JIKps-0007oy-2i for emacs-pretest-bug@gnu.org; Fri, 25 Jan 2008 04:26:59 -0500 Original-Received: from mail.gmx.net ([213.165.64.20]) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1JIKpr-0007og-Hi for emacs-pretest-bug@gnu.org; Fri, 25 Jan 2008 04:26:55 -0500 Original-Received: (qmail invoked by alias); 25 Jan 2008 09:26:53 -0000 Original-Received: from N706P009.adsl.highway.telekom.at (EHLO [62.47.32.41]) [62.47.32.41] by mail.gmx.net (mp022) with SMTP; 25 Jan 2008 10:26:53 +0100 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX1/rTCdZoJzrTJwNONXgg50jWF0F9IOY/JD7Rz81Hj rLJPZ7llOCfPy6 User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: de-DE, de, en-us, en In-Reply-To: <86k5lyuvx0.fsf@simias.hd.free.fr> X-Y-GMX-Trusted: 0 X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:87484 gmane.emacs.pretest.bugs:20746 Archived-At: > 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.