[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Customising fill-paragrah
From: |
Sebastian Tennant |
Subject: |
Customising fill-paragrah |
Date: |
Tue, 10 Feb 2009 08:02:28 +0000 |
User-agent: |
Gnus/5.110011 (No Gnus v0.11) Emacs/22.2 (gnu/linux) |
Hi All,
I'd like to be able to fill (M-q) a paragraph that begins with a colon
(in column 0) followed by three SPC chars, without it reducing the three
spaces to one, i.e., so that I can type M-q on the example para below
without it having any affect.
: lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem
ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum
Also, the indentation of the second line is preserved (once it is set) but
it would be nice to have fill-paragraph automatically indent the second
line by four spaces (in auto-fill-mode) if the first line begins with a
colon.
Any tips/advice/suggestions/pointers much appreciated.
Sebastian
--
Emacs' AlsaPlayer - Music Without Jolts
Lightweight, full-featured and mindful of your idyllic happiness.
http://home.gna.org/eap
- Customising fill-paragrah,
Sebastian Tennant <=