emacs-devel
[Top][All Lists]
Advanced

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

Re: fixup-whitespace for scripts with no inter-word space


From: Eric Abrahamsen
Subject: Re: fixup-whitespace for scripts with no inter-word space
Date: Wed, 06 Nov 2013 15:09:36 +0800
User-agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3 (gnu/linux)

Stefan Monnier <address@hidden> writes:

>> I'm probably getting over-enthusiastic, but doesn't it seem like
>> `delete-indentation' could just delete the fill-prefix and then call
>> `fill-delete-newlines' on the appropriate region?
>
> They should definitely share more code.  But you can't just call
> fill-delete-newlines because (for example) it will (and should) add a space
> between "a" and ")" whereas fixup-whitespace won't (and shouldn't).

That's what I was afraid of. Let me have a stare at it, and I'll come up
with something that's more ambitious or less ambitious, depending on how
well I understand what's going on.

E




reply via email to

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