$ 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


_______________________________________________
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug

Reply via email to