[Top][All Lists]

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

delete-blank-lines: chew chunk above too if none below

From: Dan Jacobson
Subject: delete-blank-lines: chew chunk above too if none below
Date: 25 Feb 2002 03:01:25 +0800
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1

Gentlemen, place your cursor on the smiley

:-), or anywhere on this line, then hit C-x C-o [delete-blank-lines].
Isn't it a let down that it won't delete-blank-lines?

Some will say that that is exactly the correct behavior specified in
the help page.  However Dan says that it is enhancement time.  Indeed,
just 11 months ago, Dan wrote 

Dan> For C-x C-o [delete-blank-lines], I also propose that in addition to
Dan> -----------------------------
Dan> On blank line, delete all surrounding blank lines, leaving just one.
Dan> On isolated blank line, delete that one.
Dan> On nonblank line, delete any immediately following blank lines.
Dan> ------------------------------
Dan> one might add the functionality: If only the previous line is blank,
Dan> but not the current nor next line, then operate on the previous
Dan> line[s] too.

I remember Richard fixed something like this but probably not this,
anyway I don't seem to find it...
http://www.geocities.com/jidanni/ Taiwan(04)25854780

reply via email to

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