From: Simias <simias.n@gmail.com>
To: emacs-pretest-bug@gnu.org
Subject: 23.0.50; hexl-mode and auto-revert-mode incompatibilities
Date: Mon, 21 Jan 2008 02:58:21 +0100 [thread overview]
Message-ID: <8663xouegy.fsf@simias.hd.free.fr> (raw)
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'.
next reply other threads:[~2008-01-21 1:58 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-21 1:58 Simias [this message]
2008-01-21 13:38 ` 23.0.50; hexl-mode and auto-revert-mode incompatibilities martin rudalics
2008-01-22 2:06 ` Simias
2008-01-22 13:50 ` martin rudalics
2008-01-25 8:55 ` Simias
2008-01-25 9:28 ` martin rudalics
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8663xouegy.fsf@simias.hd.free.fr \
--to=simias.n@gmail.com \
--cc=emacs-pretest-bug@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).