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

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

Re: delete-indentation should work on regions too


From: Kevin Rodgers
Subject: Re: delete-indentation should work on regions too
Date: Tue, 28 Dec 2004 10:11:06 -0700
User-agent: Mozilla Thunderbird 0.9 (X11/20041105)

Dan Jacobson wrote:
delete-indentation should work on regions too.  Probably something
like (indent-region (region-beginning) (region-end) -99999)

,----[ C-h k M-^ ]
| M-^ runs the command delete-indentation
|    which is an interactive compiled Lisp function in `simple'.
| (delete-indentation &optional ARG)
|
| Join this line to previous and fix up whitespace at join.
| If there is a fill prefix, delete it from the beginning of this line.
| With argument, join this line to following line.
`----

I've always wished that it would interpret a prefix argument to mean
"join this line and ARG preceding lines, or this line and ARG following
lines if ARG is negative".

--
Kevin Rodgers




reply via email to

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