From: "Mickey Ferguson" <MFerguson@peinc.com>
Subject: reading binary, non-unix file
Date: Fri, 22 Oct 2004 11:47:33 -0700 [thread overview]
Message-ID: <C835362391A2CF4F84E985842A075187014AA1AB@maui.peinet.peinc.com> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 1307 bytes --]
I'm using emacs 21.1.1 on Windows 2000 SP4, and I'm having trouble
reading a file. The file is a Dr. Watson crash dump. Apparently it's
got some binary characters in the file, causing emacs to think it's a
Unix file, when it isn't. When the file loads into Emacs, the mode line
at the bottom says "(Unix)", and it displays a bunch of control
character kinds of stuff. If I just open the file in ordinary notepad,
it views fine.
Question 1: How do I load this file into emacs so that it's viewable,
just like it is in notepad? Of course I could open it in notepad, copy
the entire buffer contents, and then paste it into an emacs buffer, but
that's clunky. I just want to be able to use ordinary find-file, or
start up emacs directly with the file. Alternatively, if loading it
directly won't work, at least have some kind of function I can use so I
can load it and edit.
Question 2: How do I prevent emacs from ever loading in a file in this
(unix) manner? I'm never going to be loading any unix-created files on
my system, and just want them loaded just the same as if I had loaded in
notepad.
Please reply directly to me at MFerguson (AT) peinc (DOT) com, since I
have no access to any usenet news host and thus can't read any responses
in the newsgroups. Thanks!
[-- Attachment #1.2: Type: text/html, Size: 2372 bytes --]
[-- Attachment #2: Type: text/plain, Size: 152 bytes --]
_______________________________________________
Help-gnu-emacs mailing list
Help-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs
next reply other threads:[~2004-10-22 18:47 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-10-22 18:47 Mickey Ferguson [this message]
2004-10-22 19:27 ` reading binary, non-unix file J. David Boyd
[not found] ` <mailman.4677.1098473798.2017.help-gnu-emacs@gnu.org>
2004-10-22 19:57 ` Mickey Ferguson
2004-10-25 6:40 ` Mathias Dahl
2004-10-25 17:48 ` Mickey Ferguson
2004-10-26 1:08 ` Daniel Pittman
2004-10-26 9:05 ` Mathias Dahl
2004-10-26 17:00 ` Mickey Ferguson
2004-10-27 7:46 ` Mathias Dahl
2004-10-27 16:20 ` Mickey Ferguson
2004-10-27 16:39 ` Reiner Steib
2004-10-27 16:41 ` Drew Adams
2004-10-25 21:43 ` Mickey Ferguson
2004-10-25 23:55 ` Kevin Rodgers
2004-10-23 3:44 ` Daniel Pittman
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=C835362391A2CF4F84E985842A075187014AA1AB@maui.peinet.peinc.com \
--to=mferguson@peinc.com \
/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.
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).