From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Denis Bueno" Newsgroups: gmane.emacs.devel Subject: Bug (CVS HEAD): highlight-changes-mode with auto-revert-tail-mode edit buffer Date: Fri, 06 Jul 2007 09:05:15 -0600 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1183734366 29144 80.91.229.12 (6 Jul 2007 15:06:06 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 6 Jul 2007 15:06:06 +0000 (UTC) To: "emacs-devel@gnu.org" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jul 06 17:05:59 2007 connect(): Connection refused 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 1I6pNF-0000Zy-MU for ged-emacs-devel@m.gmane.org; Fri, 06 Jul 2007 17:05:47 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I6pNF-0002K7-7k for ged-emacs-devel@m.gmane.org; Fri, 06 Jul 2007 11:05:33 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1I6pNB-0002GR-PF for emacs-devel@gnu.org; Fri, 06 Jul 2007 11:05:29 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1I6pNA-0002EU-Td for emacs-devel@gnu.org; Fri, 06 Jul 2007 11:05:29 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I6pNA-0002E0-Ki for emacs-devel@gnu.org; Fri, 06 Jul 2007 11:05:28 -0400 Original-Received: from mm03snlnto.sandia.gov ([132.175.109.20] helo=sentry.sandia.gov) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1I6pN9-0000iK-MK for emacs-devel@gnu.org; Fri, 06 Jul 2007 11:05:28 -0400 Original-Received: from [134.253.164.148] by sentry.sandia.gov with ESMTP (SMTP Relay 01 (Email Firewall v6.3.1)); Fri, 06 Jul 2007 09:05:15 -0600 X-Server-Uuid: AA8306FD-23D1-4E5B-B133-B2D9F10C3631 Original-Received: from ES21SNLNT.srn.sandia.gov ([134.253.164.104]) by ES24SNLNT.srn.sandia.gov with Microsoft SMTPSVC(6.0.3790.3959); Fri, 6 Jul 2007 09:05:15 -0600 Original-Received: from 134.253.202.158 ([134.253.202.158]) by ES21SNLNT.srn.sandia.gov ([134.253.164.116]) with Microsoft Exchange Server HTTP-DAV ; Fri, 6 Jul 2007 15:05:15 +0000 User-Agent: Microsoft-Entourage/11.3.3.061214 Thread-Topic: Bug (CVS HEAD): highlight-changes-mode with auto-revert-tail-mode edit buffer Thread-Index: Ace/3w7ITR6iAivSEdyaBAAX8tQlcQ== X-OriginalArrivalTime: 06 Jul 2007 15:05:15.0774 (UTC) FILETIME=[0F3EE1E0:01C7BFDF] X-TMWD-Spam-Summary: TS=20070706150519; SEV=2.2.2; DFV=B2007070611; IFV=2.0.4,4.0-9; AIF=B2007070611; RPD=5.02.0125; ENG=IBF; RPDID=7374723D303030312E30413031303230312E34363845354132432E303031442C73733D312C6667733D30; CAT=NONE; CON=NONE X-MMS-Spam-Filter-ID: B2007070611_5.02.0125_4.0-9 X-WSS-ID: 6A9085A125C763467-01-01 X-detected-kernel: Windows 2000 SP4, XP SP1+ 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:74396 Archived-At: I realise the subject line is pretty obscure. The symptom is that when I enable both of those modes in a buffer with a background appending process, eventually I get asked if I'm sure I want to modify the buffer, which of course I don't. Here's a recipe for GNU Emacs 22.1.50.2 (i386-apple-darwin8.9.1, Carbon Version 1.6.0) of 2007-07-06: 1. emacs -Q 2. Visit an existing file, say /tmp/foo 3. M-x auto-revert-tail-mode 4. Execute appending process in a shell like so: $ while true; do echo "Hello, number $RANDOM." >> /tmp/crap.log; sleep 4; done (Buffer at this point should revert once at least.) 5. M-x highlight-changes-mode 6. M-x highlight-changes-rotate-faces (n times) I wrote "n times" on step 6 because you have to execute it until the "really edit the buffer?" message appears in the minibuffer. It only took me two executions to get it to appear, but, I think the error is caused by auto-revert-tail-mode and highlight-changes-mode stepping on each other's feet, which might take more than one execution of step 6 to occur. I'm not sure. Anyway, that's the best I can muster for a bug report. I have no idea how to investigate this further. Thank you. -Denis