hard and soft newlines
ben at xemacs.org
Tue Dec 13 23:09:13 EST 2005
Aidan Kehoe wrote:
> Ar an triú lá déag de mí na Nollaig, scríobh Uwe Brauer:
> > The whole issue has to do with wikipedia. There is a wikipedia-mode,
> > which I am currently try to extend. Wikipedia is in a way like tex
> > with respect to line breaks. `soft newlines' in paragraphs as inserted
> > by filling functions are ignored. Now if you use xemacs as an external
> > editor for those wikipedia articles, most lines a very long since the
> > internal editor does not break them. Thats why the author of
> > wikipedia-mode recommends to use longlines.el which handles this
> > issue and inserts `hard newlines'.
> > What I am not sure about is whether this is really needed or whether
> > it would be fine to use `soft newlines' and filling for long
> > paragraphs.
>That should be fine if Wikipedia is like TeX in this.
wikipedia is just like html, and ignores newlines, so don't worry about
the hard/soft distinction. (in fact, wikipedia's format is just a macro
language on top of html, and you can directly insert html if you want.)
More information about the XEmacs-Beta