[Pythonmac-SIG] Aquamacs
Nicholas Riley
njriley at uiuc.edu
Tue Jun 21 20:38:49 CEST 2005
On Tue, Jun 21, 2005 at 11:19:27AM -0700, Russell E. Owen wrote:
> I tried Aquamacs but on the file I loaded it was displayed as one very
> long wrapped line with some funny character where the line endings
> should have been. I assume the editor was configured to demand a
> particular character for line endings and this file used a different
> convention. I looked through the prefs but didn't find any way of
> enabling universal newline support. Am I missing something?
Regular GNU Emacs, at least, should support different line endings and
detect CR, CR/LF and LF line endings automatically as long as the file
is internally consistent. It may be the file you are looking at has a
mix of line endings. You can specify an encoding/line ending format
with M-x revert-buffer-with-coding-system. The coding systems are
specified as charset-name-{dos,unix,mac}, so for example if you want
to read a UTF-8 formatted file with Mac line endings, you use
utf-8-mac. The line ending style, if non-Unix (LF) should be shown in
the bottom left corner of the status area.
--
Nicholas Riley <njriley at uiuc.edu> | <http://www.uiuc.edu/ph/www/njriley>
More information about the Pythonmac-SIG
mailing list