help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Mode for Manuscripts?


From: Kai Grossjohann
Subject: Re: Mode for Manuscripts?
Date: Wed, 17 Dec 2003 20:44:19 +0000
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.2 (gnu/linux)

address@hidden writes:

> Sure, I could do that.  But I'd like to write it in the way I described. 

Maybe you could play with format-alist to frob the file contents on
the way from file to Emacs and back.  That way, you wouldn't see the
double newlines, but they'd be in the file.

In order to see double newlines, I would if it might work to use
something similar to font-lock to place overlays on every newline with
a before-string or after-string property containing one or two
newlines.  I never tried, so I don't know if it works.

Hm.  I guess it would be really difficult to change Emacs in such a
way that M-q and friends and auto-fill do what you want for
double-spaced files.

Hm.  Isn't there a way to tweak the distance between baselines in
Emacs?  That would enable people to have the look of double-space
without actually having two consecutive newlines in the buffer.  Then
format-alist could add the newlines to the files.

Kai


reply via email to

[Prev in Thread] Current Thread [Next in Thread]