[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
hexl-mode's offer to "Convert contents back to binary format?" doesn't
From: |
Chris |
Subject: |
hexl-mode's offer to "Convert contents back to binary format?" doesn't |
Date: |
Wed, 10 Jan 2007 21:24:25 +0100 |
$ emacs -Q
M-x shell RET
cd /tmp RET
echo hello > file RET
C-x 4 f file RET
M-x hexl-mode RET
C-x o
echo world >> file RET
C-x 4 f file RET
("File file changed on disk. Reread from disk? (yes or no)")
yes RET
(notice the contents of buffer 'file' are now in plain text, but the
buffer is still in hexl-mode)
("Convert contents back to binary format? (y or n)")
y
buffer 'file' is now in fundamental mode and contains one line:
------------------------------------------------------------------------
00000000: 83 .
------------------------------------------------------------------------
So Emacs has inserted the plain file contents into a hexl-mode buffer,
and then offered to unhexlify them.
In GNU Emacs 22.0.92.4 (i686-pc-linux-gnu, GTK+ Version 2.8.20)
of 2007-01-10 on trpaslik
X server distributor `The X.Org Foundation', version 11.0.70101000
configured using `configure '--with-gtk' '--prefix' '/usr/local' '--with-xpm'
'--with-jpeg' '--with-png' '--with-gif''
Important settings:
value of $LC_ALL: nil
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: en_GB.UTF-8
locale-coding-system: utf-8
default-enable-multibyte-characters: t
Major mode: Lisp Interaction
Minor modes in effect:
tooltip-mode: t
tool-bar-mode: t
mouse-wheel-mode: t
menu-bar-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
blink-cursor-mode: t
unify-8859-on-encoding-mode: t
utf-translate-cjk-mode: t
auto-compression-mode: t
line-number-mode: t
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- hexl-mode's offer to "Convert contents back to binary format?" doesn't,
Chris <=