[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: Mon, 22 Nov 2010 21:35:13 +0100

2009/12/31 Deniz Dogan <address@hidden>:
> 2009/8/14 Daniel Colascione <address@hidden>:
>> On Aug 13, 2009, at 7:30 PM, Deniz Dogan wrote:
>>> Not a bad idea. I'd like to take your idea and revise it a bit: If
>>> there are only whitespace characters characters between point and EOL,
>>> nuke including newlines. Otherwise, nuke excluding newlines.
>> just-one-space with a negative prefix argument is currently meaningless
>> (more precisely, negative arguments are treated as 0). Why not make a
>> negative argument mean "kill including newlines"? That way, you can just
>> whack M-- M-SPC to get the behavior you want.
> Attached is a bzr bundle which does this. If the user passes the
> argument -N, it will remove any whitespace characters (spaces, tabs,
> carriage returns, newlines) and leave N spaces. Unfortunately I
> couldn't think of a good way to make e.g. "M-- M-0 M-SPC" leave 0
> spaces.

Almost a year has passed and this has probably been forgotten. Would
anyone mind if we make this change?

I do feel that it's not entirely semantic to change the behavior of
the keybinding this drastically with just a negative argument, but I
definitely think it's useful enough to think about.

Deniz Dogan

reply via email to

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