[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: help with double spaces etc.
From: |
Kai Großjohann |
Subject: |
Re: help with double spaces etc. |
Date: |
Thu, 26 Sep 2002 10:27:05 +0200 |
User-agent: |
Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.3.50 (i686-pc-linux-gnu) |
Todd Wylie <twylie@watson.wustl.edu> writes:
> I would really like to be able to have a mode in emacs that would
> let the user view text in a different manner than emacs saves the
> buffer ... almost a "revert on save" ability. For example, I would
> really like to view text in emacs as double-spaced with auto-fill
> word-wrapping - but to lose the wrapping and line returns when
> saved.
> Are there any libraries that do something like this? I've never
> written lisp -- is this a very hard thing to write?
The "format" feature allows this. See the variable format-alist.
If you have a shell command which double-spaces a file (well, standard
input) and another un-double-spaces it, then you almost need no Lisp
at all.
kai
--
~/.signature is: umop ap!sdn (Frank Nobis)