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

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

Re: kill-sentence trailing whitespace intentions


From: Kevin Rodgers
Subject: Re: kill-sentence trailing whitespace intentions
Date: Mon, 02 Apr 2001 15:12:12 -0600

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.

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

-- 
Kevin Rodgers <address@hidden>          Lead Software Engineer
Information Handling Services           Electronic Systems Development
15 Inverness Way East, M/S A114         GO BUFFS!
Englewood CO 80112-5776 USA             1+ (303)
397-2807[voice]/705-4258[fax]



reply via email to

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