[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Deleting surrounding spaces and CR's
- To: (BUG ZWEI) at MIT-AI, (BUG EMACS) at MIT-AI
- Subject: Deleting surrounding spaces and CR's
- From: GLS at MIT-AI (Guy L. Steele, Jr.)
- Date: Thu ,3 Jul 80 11:27:00 EDT
- Cc: GLS at MIT-AI
In the version of ZWEI on system 29.95 NWS, with microcode 669, on LISP Machine Eight:
I often have occasion to want all these operations as distinct commands, and
only a few are provided:
(1) Delete all white space surrounding cursor. This is M-\.
(2) Delete all white space and carriage returns.
(3) Delete all white space, and leave one space.
This is good to use between words of a sentence, between sexps, etc.
(4) Delete all white space and carriage returns, and leave one space.
This is also good to use between words. M-^ does a generalized special case of this
(special in that it flushes only one cr; general in that the cursor need not
be near the cr).
(5) Delete all white space and crs, and leave a cr. C-X C-O does some cases
of this but not all, and sometimes (usually) leaves two cr's. I want to do this
all the time when splitting a line of words. LF does this if TAB doesn't indent
in one's particular mode.
Anyway, I'd like to see a more complete and consistent command set for these operations.