Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] line ending in XEmacs
- Date: Sun, 30 Jun 2002 11:50:55 +0900
- From: Shimpei Yamashita <shimpei@example.com>
- Subject: Re: [tlug] line ending in XEmacs
- References: <20020629130401.GA8831@example.com> <15645.61308.942117.580663@example.com>
- Organization: Hummingbird Heaven
- User-agent: Mutt/1.4i
On Sat, Jun 29, 2002 at 01:33:48PM -0400, Viktor Pavlenko wrote: > I just did a small experiment in emacs (21.2.1). I opened a new file > and typed two lines, then added ^M (by typing ^q^m) in the end of the > first. Saved the file and opened it again. UNIX encoding and ^M in the > end of the first line. Then I added ^M in the end of the second line > so that every line in the file has DOS line ending. Reopened the > file. DOS in the mode line and no ^M visible. Right. It works in GNU emacs. How do I make it work in XEmacs? > Also, you can force coding system to be dos by typing "^x RET c dos" > before opening the file. To add missing ^M do "^x RET f dos" and save > the file. To convert open buffer to UNIX encoding do "^x RET f unix". Yeah, I knew that one. Doesn't seem to work, though. ^x RET f iso-8859-1-dos before or after opening a file still shows ^M after each line. And yes, there is one and only one ^M on each line. -- Shimpei Yamashita http://www.shimpei.org/ You can't have everything. Where would you put it? -- Steve Wright
- Follow-Ups:
- Re: [tlug] line ending in XEmacs
- From: Viktor Pavlenko
- References:
- [tlug] line ending in XEmacs
- From: Shimpei Yamashita
- Re: [tlug] line ending in XEmacs
- From: Viktor Pavlenko
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] linux/ms web page problem
- Next by Date: Re: Software Design (was: Re: [tlug] Confessions of a closet OpenBSD user)
- Previous by thread: Re: [tlug] line ending in XEmacs
- Next by thread: Re: [tlug] line ending in XEmacs
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links