> When I tried 'repunctuate-sentences', it stunned by its inefficiency: > it requires a confirmation even when there are already two spaces > at the end of the sentence! Why does it do this? If no one has a better idea for a simpler implementation, then this patch fixes the problem by skipping the sentences that already have two spaces at the end: