GNU bug report logs -
#27507
[PATCH] Make `cycle-spacing' allow 'negative-zero in place of an integer
Previous Next
Reported by: Mekeor Melire <mekeor.melire <at> gmail.com>
Date: Tue, 27 Jun 2017 16:55:03 UTC
Severity: wishlist
Tags: moreinfo, patch
Done: Mekeor Melire <mekeor.melire <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
tags 27507 + moreinfo
quit
npostavs <at> users.sourceforge.net writes:
> Mekeor Melire <mekeor.melire <at> gmail.com> writes:
>
>> Well, the point is that delete-whitespace would mostly have the same
>> logic as cycle-spacing. So, should we define a more general function
>> then, which both delete-whitespace and cycle-spacing would be based
>> upon? So, currently `cycle-spacing' is used like this:
>>
>> (cycle-spacing &optional N PRESERVE-NL-BACK MODE)
>>
>> And the problem is that the sign(ature) of N is used to determine
>> whether to delete newlines as well. So, if N is zero, we have a
>> problem.
>
> I'm still a bit confused why you specfically want to use cycle-spacing
> to delete newlines and spaces. What logic of cycle-spacing would be
> applicable when N is zero? Can you give an example usage?
Ping?
This bug report was last modified 7 years and 199 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.