Re: ^M in emacs file
"Dhiraj" <[email protected]>
| Newsgroups | gmane.emacs.xemacs.general |
|---|---|
| Message-ID | <[email protected]> |
Hi, Your file is most probably in DOS format. You can use ESC-x toggle-buffer-file-coding-system to toggle it between DOS and UNIX formats. If you run this command and see a T in the bottom line left hand corner your file is now in DOS format, otherwise it is in UNIX format. You can put the following in your init file and use CTRL-T to toggle the file format. (global-set-key "\C-t" 'toggle-buffer-file-coding-system) regards Dhiraj ----- Original Message ----- From: "Sean Adam" <[email protected]> To: <[email protected]> Sent: Wednesday, September 10, 2003 9:03 PM Subject: ^M in emacs file > > > Hi, > > I am having an issue with some of my text files. When I view the file > using xemacs, > I do not see a ^M; however, when a co-worker views it with their xemacs > they get > see a ^M at the end of each line. > > Is there a xemacs setting to either: > 1. hide the ^M > 2. keep my xemacs from causing the ^M to appear in the first place > > Sean > > -- > ***************************************** > Sean P. Adam > Project Manager - Video Products Group > SMaL Camera Technologies > (617) 661-7600 x213 > > > > > > CONFIDENTIALITY NOTICE > > This message (including any attachments) is a confidential and privileged communication intended only for the addressee. Any unauthorized use, distribution or copying of this message (or any attachment) is prohibited. If you are not the addressee or a person authorized to receive messages for the addressee, you have received this message in error. In that case, please delete this message and call us at 617-661-7600 so that we can correct our records in order to avoid this mistake in the future. Thank you. >