[Top][All Lists]

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

Re: kill-sentence trailing whitespace intentions

From: Dan Jacobson
Subject: Re: kill-sentence trailing whitespace intentions
Date: 14 Apr 2001 16:01:34 +0800
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7

>>>>> "Kevin" == Kevin Rodgers <address@hidden> writes:

Kevin> Dan Jacobson wrote:
>> Consider this sentence.  And this sentence too.
>> Go the beginning of line and hit M-k (kill-sentence).
>> Now it looks like:
>>   And this sentence too.
>> But I expected it to look like:
>> And this sentence too.

Kevin> (defadvice kill-sentence (after delete-horizontal-space activate)
Kevin>   "Delete trailing spaces and tabs as well."
Kevin>   (delete-horizontal-space))

Mmmm, thanks for your effort, but isn't writing all these advice
scripts focused on individual users.  Wouldn't it be better to make a
patch to the official function that would add a defvar and its
documentation to allow the user to customize this behaviour, and at
the same time the emacs maintainers could snap it in place into the
newest emacs future version...
http://www.geocities.com/jidanni Tel886-4-25854780 e-mail:restore .com.

reply via email to

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