Re: Xemacs
Re: Xemacs
- Subject: Re: Xemacs
- From: "Charles R.Twardy" <email@hidden>
- Date: Thu, 13 Feb 2003 19:40:31 +1100
Brian> I know this is a bit off topic, but is there a usable Xemacs
out there
Brian> that will work with apple's X11 and Jaguar?
"fink install xemacs".
Also look at "Enhanced Carbon Emacs" especially if you edit LaTeX. Very
nice. I switched to it from Xemacs. Available from:
http://www.cs.man.ac.uk/~franconi/mac-emacs/
Built from a branch of the Emacs 21 for OS X CVS:
http://members.shaw.ca/akochoi-emacs/
edit an html file, the carriage-return characters show up as ^M. Ugly.
Probably because they came from another OS. If you don't have ^M when
you create a new file, this is the culprit. There are command-line
utilities to convert, or if you stick the following into your .emacs
(or your .xemacs/init.el) you can type "<Meta-X> dos-unix" in your file
and it will convert it.
;; Handy functions for removing ^M from DOS files, or vice-versa.
;; Originally due to Earl Stutes in Linux Gazette#10
(defun dos-unix ()
(interactive)
(goto-char (point-min))
(while (search-forward "\r" nil t) (replace-match "")))
(defun unix-dos ()
(interactive)
(goto-char (point-min))
(while (search-forward "\n" nil t) (replace-match "\r\n")))
.................................................................
Charles R. Twardy ctwardy [at] alumni.indiana.edu
Computer Sci. & Software Eng. ctwardy [at] csse.monash.edu.au
Monash University +61 (3) 9905 5823 (w) 5146 (f)
_______________________________________________
x11-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/x11-users
X11 for Mac OS X FAQ: http://developer.apple.com/qa/qa2001/qa1232.html
Report issues, request features, feedback: http://developer.apple.com/bugreporter
Do not post admin requests to the list. They will be ignored.