Re: Problem with UNIX/DOS issue on Emacs for Windows

2005-08-02 Thread exits funnel
Thanks Jason. I never was able to figure out why Emacs thought the file was a UNIX file, but in any case the steps you provided got the file straightened out. Thanks agains. -exits --- [EMAIL PROTECTED] wrote: > exits funnel <[EMAIL PROTECTED]> writes: > > > So, what's going on? On what does

Re: Problem with UNIX/DOS issue on Emacs for Windows

2005-07-29 Thread Jason Rumney
"B.T. Raven" <[EMAIL PROTECTED]> writes: >> M-% C-q C-m RET RET Replace all ^M characters with nothing. > > ;; doesn't OP need a ! (bang) after the second RET? Yes, thanks for pointing out the omission. ___ Help-gnu-emacs mailing list Help-gnu-emac

Re: Problem with UNIX/DOS issue on Emacs for Windows

2005-07-29 Thread rob wahoo
Google for eol-conversion.el. It is an emacs package the provides you with a few user functions for changing files between DOS Unix, and MAC. It also adds these functions under your Edit button on the menu bar. ___ Help-gnu-emacs mailing list Help-gnu-em

Re: Problem with UNIX/DOS issue on Emacs for Windows

2005-07-29 Thread B.T. Raven
wrote in message news:[EMAIL PROTECTED] > exits funnel <[EMAIL PROTECTED]> writes: > > > So, what's going on? On what does emacs base the > > determination that the one file is a unix file while > > hte other is not? > > The line ends are inconsistent. Or there is a ^M in the middle > of a line

Re: Problem with UNIX/DOS issue on Emacs for Windows

2005-07-28 Thread Jason Rumney
exits funnel <[EMAIL PROTECTED]> writes: > So, what's going on? On what does emacs base the > determination that the one file is a unix file while > hte other is not? The line ends are inconsistent. Or there is a ^M in the middle of a line somewhere. If this is deliberate (part of a string maybe

Re: Problem with UNIX/DOS issue on Emacs for Windows

2005-07-28 Thread Peter Dyballa
Am 28.07.2005 um 22:41 schrieb exits funnel: each line ending is marked by a '0d0a' pair This in decimal 13 and 10 meaning C-m and C-j, i.e. they're CR-LF -- and this should be DOS. You could try to revert the buffer from the file with a new encoding: C-x RET r RET (revert-buffer-with-c

Problem with UNIX/DOS issue on Emacs for Windows

2005-07-28 Thread exits funnel
Hello, I'm running the native Emacs for windows version 21.3.1 on a Win2000 machine. I'm using it to edit two different java source files. One of the source files looks fine in the buffer but the other, while formatted correctly, displays '^M' olong with each carriage return. I also note that f