emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

23.0.50; hexl-mode and auto-revert-mode incompatibilities


From: Simias
Subject: 23.0.50; hexl-mode and auto-revert-mode incompatibilities
Date: Mon, 21 Jan 2008 02:58:21 +0100

  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 <tab> m o C-h C-h SPC m o <tab> <return> M-x M-p 
M-p M-p M-p <return> <switch-frame> C-a C-a C-k C-k 
C-x C-s <switch-frame> C-x o o x C-_ C-x b RET C-x 
b e s h RET M-p <return> 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 <switch-frame> 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 <tab> <tab> C-h C-h C-h C-h C-h 
C-h r e p <tab> o r <tab> b <tab> <return> 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 <switch-frame> C-x k RET M-x M-p M-p C-g C-x C-f 
/ / t m <return> c a C-h C-h t u C-h RET c a RET M-x 
h e x l SPC m o <tab> <return> C-x o C-x o M-p <return> 
<switch-frame> 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 <switch-frame> M-p <return> 
<switch-frame> C-p C-k C-k C-x C-s <switch-frame> <switch-frame> 
C-c c <switch-frame> M-p <return> <switch-frame> <switch-frame> 
C-x o C-x o M-x a u t o SPC r e <tab> m o <tab> <return> 
C-x k RET C-x C-f M-p <tab> M-x h e x <tab> SPC m o 
<tab> <return> M-x a u t o SPC r e v <tab> m o <tab> 
<return> <switch-frame> C-p C-k C-k C-y C-y C-x C-s 
C-c c <switch-frame> C-x o C-x o M-p <return> <switch-frame> 
M-x M-p M-p M-p M-p M-p M-p <return>

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'.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]