> 1.1 80, 132, and N characters per line > > Can you/how do you set Xemacs to automatically hard break on (or before) the > Nth character of a line (breaking on whitespace, or offering to hyphenate if > in a suitable mode)? Surely the function already exists and can be accessed > through a key-chord or M-x_function_name_. You want the fill functions. "C-h a fill" for more information. Some interesting ones for you purposes would include fill-paragraph, auto-fill-mode, and set-fill-column. There are plenty of other fill related things you can set/use that you'll see whe you pull up the help for them. > 1.2 End-of-Line (CrLf) in Xemacs. > > There are MANY time when I want Xemacs to NOT use the standard *nix Lf EOL. > One common mode is when I want to use Xemacs to prepare a text file for a > certain family of systems that use CrLf as the EOL and that have a commonly > used simple text editor that refuses to display Lf alone as anything other > than an in-line box. I haven't done any of this myself, but a quick browse through the xemacs help system shows a bunch of coding-system related functions that look like they'll let you set however you want the file to be encoded (including EOL). > I am even more annoyed when working on SGML or any of its descendents. Did > you know that SGML is implicitly record-oriented? Furthermore, SGML's > default End-of-Record is CrLf. (In addition, woe to the SGML author who > assumes that the CrLf EOR is necessarily the same as the system-SGML EOL.) > More precisely, the SGML standard left me with the impression that Lf > actually corresponds to "start of record" while Cr corresponds to "end of > record", so records are properly delimited with complimentary delimiters. > The exception is the start of a document or file's first line has an > "implicit" record start and the line prior to EOF has an implicit EOR. Beats me. (-= It's possibly a silly assuption, but it seems like sgml-mode should have the appropriate things to deal with whitespace correctly for it. You might have some luck looking up the mode's help information (C-h m). > Also, is there an easy way to make the stupid ^M's go away (and come back)? query-regex-replace would be what I'd use, but I tend to do strange things at times. > How do you enter a ^M? C-M doesn't seem bound to anything? You can enter any key you would like (even if it's bound to something) by using the quoted-insert command. This is generally bound to C-q by default, so try C-q C-m to enter one. --Nick --------------------------------------------------- PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us To subscribe, unsubscribe, or to change you mail settings: http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss