[Top][All Lists]

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

Re: Patch to change just-one-space

From: Deniz Dogan
Subject: Re: Patch to change just-one-space
Date: Fri, 14 Aug 2009 08:53:42 +0200

2009/8/14 Xah Lee <address@hidden>:
> i think that'd bring the next non-whitespace line to the current line,
> right?
> but in general, considering this thread in whole, i share your view with
> merging just-one-space with delete-blank-lines, and the behavior be
> depending on context. Something like a shrink-whitespace-dwim.
> I feel there are too many small functions on shrinking white spaces, esp
> those with a shortcut.
> e.g. C-x C-o for delete-blank-lines and just-one-space with M-SPC.
> i think that these can be merged into a single dwim version with a single
> shortcut, because i think most of the time context can correctly guess the
> desired behavior.
> i think this applies to few other emacs editing functions for user
> convenience. One example i came to is about the 9 or so commands on letter
> case changing. Some work on word, some on region... with transient-mark-mode
> on now, the region versions could be merged. The lower case and upper case
> and cap first versions can also be merged, i think, into one dwim version
> that just cycles.
> thanks.
>   Xah

I agree. E.g. upcase-word, downcase-word and capitalize-word could be
made to work on the region as well if active.

Deniz Dogan

reply via email to

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