From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Simias Newsgroups: gmane.emacs.devel,gmane.emacs.pretest.bugs Subject: 23.0.50; hexl-mode and auto-revert-mode incompatibilities Date: Mon, 21 Jan 2008 02:58:21 +0100 Message-ID: <8663xouegy.fsf@simias.hd.free.fr> NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1200887891 3891 80.91.229.12 (21 Jan 2008 03:58:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 21 Jan 2008 03:58:11 +0000 (UTC) To: emacs-pretest-bug@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jan 21 04:58:29 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 1JGnnl-0002Sl-Qj for ged-emacs-devel@m.gmane.org; Mon, 21 Jan 2008 04:58:26 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JGnnM-00016s-C7 for ged-emacs-devel@m.gmane.org; Sun, 20 Jan 2008 22:58:00 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JGlvq-0006Kr-1a for emacs-devel@gnu.org; Sun, 20 Jan 2008 20:58:38 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JGlvo-0006Kf-Q5 for emacs-devel@gnu.org; Sun, 20 Jan 2008 20:58:37 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JGlvo-0006Kc-KP for emacs-devel@gnu.org; Sun, 20 Jan 2008 20:58:36 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JGlvo-0005ON-6P for emacs-devel@gnu.org; Sun, 20 Jan 2008 20:58:36 -0500 Original-Received: from mail.gnu.org ([199.232.76.166] helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1JGlvn-0001yx-SE for emacs-pretest-bug@gnu.org; Sun, 20 Jan 2008 20:58:35 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1JGlvk-0005Nx-Sc for emacs-pretest-bug@gnu.org; Sun, 20 Jan 2008 20:58:35 -0500 Original-Received: from nf-out-0910.google.com ([64.233.182.188]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JGlvk-0005Nh-DT for emacs-pretest-bug@gnu.org; Sun, 20 Jan 2008 20:58:32 -0500 Original-Received: by nf-out-0910.google.com with SMTP id f5so214206nfh.26 for ; Sun, 20 Jan 2008 17:58:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:message-id:from:to:subject; bh=4/bDN07MUGHdQ9y8cT+XtL4T4mhDQcWBmY52Iiq0Hak=; b=IQQneFY34sAbmrSmrAXB1VPgOkCej6XuCDUGXZU7TsFrZ3dI+TFUxN2Z8UPdA69QX3PKkG4LoVHbx5fNGlhhdEjNZFKG+DT2+P+6YrCNQ6+RW44nYdOoIlIMG+08zSsRzkrjsS8ybOK3r5nrYmQhVn7PQtuvVZTTWUQOf3J69/I= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:message-id:from:to:subject; b=jb9R5AISP+QiE7ACLvl68LoJb1yuEgQZhjVAps0OqVBwDF4b+/JLOk2bAHViBltsozD4eyQj6s6v6UCfztTLDuUWk84XE5MQTPOF/CKdi1cDTgxEu5UobQ7JP4KHAjW3Q1/7qCEZ91okkNFgntPAcbIvOB4RmSVkfawclLKZM74= Original-Received: by 10.78.190.10 with SMTP id n10mr8355624huf.37.1200880710645; Sun, 20 Jan 2008 17:58:30 -0800 (PST) Original-Received: from simias.hd.free.fr ( [82.243.51.8]) by mx.google.com with ESMTPS id 2sm2143626nfv.38.2008.01.20.17.58.27 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 20 Jan 2008 17:58:28 -0800 (PST) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-Mailman-Approved-At: Sun, 20 Jan 2008 22:57:55 -0500 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:87181 gmane.emacs.pretest.bugs:20711 Archived-At: If I open a file in emacs, enable both hexl-mode and auto-revert-mode in its buffer and then modify the content of the file externally, the buffer gets refreshed but its content seems... rather littered. C-l doesn't fix it. I have similar problems with "auto-revert-tail-mode", but not when I revert the buffer "manually" with M-x revert-buffer. It seems that when the buffer gets refreshed, it behaves as if hexl-mode was not here (for instance with auto-revert-tail-mode, it just appends the text, without printing the hex values) but I'm not sure about what's going on here. To sum up, here's how to reproduce the bug: - open emacs - open a file - enable both hexl-mode and auto-revert-mode - modify the file externally (echo blah >> /the/file should suffice) - ???????? - profit!! In GNU Emacs 23.0.50.2 (i386-unknown-freebsd7.0, X toolkit) of 2008-01-21 on simias.hd.free.fr Windowing system distributor `The X.Org Foundation', version 11.0.10400000 configured using `configure '--prefix=/usr/local/' '--mandir=/usr/local/man' '--with-x-toolkit=lucid' '--without-toolkit-scroll-bars'' Important settings: value of $LC_ALL: en_US.UTF-8 value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: nil locale-coding-system: utf-8 default-enable-multibyte-characters: t Major mode: C++/l Minor modes in effect: auto-revert-mode: t icomplete-mode: t iswitchb-mode: t show-paren-mode: t display-time-mode: t shell-dirtrack-mode: t tooltip-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t unify-8859-on-encoding-mode: t utf-translate-cjk-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t abbrev-mode: t hs-minor-mode: t Recent input: e x m o C-h C-h SPC m o M-x M-p M-p M-p M-p C-a C-a C-k C-k C-x C-s C-x o o x C-_ C-x b RET C-x b e s h RET M-p C-x o C-x o C-n C-p C-b C-b C-b C-b C-b C-b C-b C-a C-x C-x C-g C-f C-f C-b C-b C-b M-x e m a c s SPC r e C-h C-h b u C-h C-h C-h C-h C-h C-h C-h C-h C-h C-h C-h b u g C-h C-h C-h e m a c s C-h C-h C-h C-h C-h C-h r e p o r b a u t o - C-h C-g M-x M-p M-p C-g M-p C-_ M-x M-p M-p RET C-g C-g C-x k RET M-x M-p M-p C-g C-x C-f / / t m c a C-h C-h t u C-h RET c a RET M-x h e x l SPC m o C-x o C-x o M-p C-p C-p C-p C-p C-p C-p C-p C-p C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-p C-p C-k C-k C-y C-y C-s C-g C-x C-s M-p C-p C-k C-k C-x C-s C-c c M-p C-x o C-x o M-x a u t o SPC r e m o C-x k RET C-x C-f M-p M-x h e x SPC m o M-x a u t o SPC r e v m o C-p C-k C-k C-y C-y C-x C-s C-c c C-x o C-x o M-p M-x M-p M-p M-p M-p M-p M-p Recent messages: Wrote /home/simias/dev/cpp/jisho/trunk/src/DictCache.cc (No files need saving) History item: 128 Reverting buffer `cache'. Auto-Revert mode enabled Mark set [2 times] Wrote /home/simias/dev/cpp/jisho/trunk/src/DictCache.cc (No files need saving) History item: 128 Reverting buffer `cache'.