unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Editing Binary Files
@ 2003-08-17  0:33 Paul
  2003-08-17  1:02 ` Jesper Harder
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Paul @ 2003-08-17  0:33 UTC (permalink / raw)


Someone suggested that Emacs has a hex edit mode but I can't seem to find
it?

Thanks
Paul

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Editing Binary Files
  2003-08-17  0:33 Editing Binary Files Paul
@ 2003-08-17  1:02 ` Jesper Harder
  2003-08-17  1:04 ` Jose A. Ortega Ruiz
  2003-08-18 17:07 ` Kevin Rodgers
  2 siblings, 0 replies; 4+ messages in thread
From: Jesper Harder @ 2003-08-17  1:02 UTC (permalink / raw)


"Paul" <pault@HiWAAY.net> writes:

> Someone suggested that Emacs has a hex edit mode but I can't seem to
> find it?

The command to use is `hexl-find-file' to open a new file, or
`hexl-mode' to edit an existing buffer in hex mode.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Editing Binary Files
  2003-08-17  0:33 Editing Binary Files Paul
  2003-08-17  1:02 ` Jesper Harder
@ 2003-08-17  1:04 ` Jose A. Ortega Ruiz
  2003-08-18 17:07 ` Kevin Rodgers
  2 siblings, 0 replies; 4+ messages in thread
From: Jose A. Ortega Ruiz @ 2003-08-17  1:04 UTC (permalink / raw)


"Paul" <pault@HiWAAY.net> writes:

> Someone suggested that Emacs has a hex edit mode but I can't seem to find
> it?
>

interactively:

M-x hexl-mode

or, to associate it to files with, say,  .hex extension:

(add-to-list 'auto-mode-alist '("\\.hex\\'" . hexl-mode))

in your .emacs.

hth,
jao
-- 
Sometimes I think we're alone in the universe, and sometimes I think we're
not. In either case, the idea is quite staggering. -Arthur C Clarke,
science fiction writer (1917- )

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Editing Binary Files
  2003-08-17  0:33 Editing Binary Files Paul
  2003-08-17  1:02 ` Jesper Harder
  2003-08-17  1:04 ` Jose A. Ortega Ruiz
@ 2003-08-18 17:07 ` Kevin Rodgers
  2 siblings, 0 replies; 4+ messages in thread
From: Kevin Rodgers @ 2003-08-18 17:07 UTC (permalink / raw)


Paul wrote:

> Someone suggested that Emacs has a hex edit mode but I can't seem to find
> it?

Type `M-x hex ?'.


-- 
Kevin Rodgers

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2003-08-18 17:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-08-17  0:33 Editing Binary Files Paul
2003-08-17  1:02 ` Jesper Harder
2003-08-17  1:04 ` Jose A. Ortega Ruiz
2003-08-18 17:07 ` Kevin Rodgers

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