unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* reading binary, non-unix file
@ 2004-10-22 18:47 Mickey Ferguson
  2004-10-22 19:27 ` J. David Boyd
                   ` (2 more replies)
  0 siblings, 3 replies; 15+ messages in thread
From: Mickey Ferguson @ 2004-10-22 18:47 UTC (permalink / 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

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

end of thread, other threads:[~2004-10-27 16:41 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-22 18:47 reading binary, non-unix file Mickey Ferguson
2004-10-22 19:27 ` 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

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