[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#27507: [PATCH] Make `cycle-spacing' allow 'negative-zero in place of
From: |
Noam Postavsky |
Subject: |
bug#27507: [PATCH] Make `cycle-spacing' allow 'negative-zero in place of an integer |
Date: |
Mon, 16 Oct 2017 20:25:26 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.0.90 (gnu/linux) |
tags 27507 + moreinfo
quit
npostavs@users.sourceforge.net writes:
> Mekeor Melire <mekeor.melire@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?
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bug#27507: [PATCH] Make `cycle-spacing' allow 'negative-zero in place of an integer,
Noam Postavsky <=