GNU bug report logs - #27507
[PATCH] Make `cycle-spacing' allow 'negative-zero in place of an integer

Previous Next

Package: emacs;

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


Message #19 received at control <at> debbugs.gnu.org (full text, mbox):

From: Noam Postavsky <npostavs <at> users.sourceforge.net>
To: Mekeor Melire <mekeor.melire <at> gmail.com>
Cc: 27507 <at> debbugs.gnu.org
Subject: Re: bug#27507: [PATCH] Make `cycle-spacing' allow 'negative-zero in
 place of an integer
Date: Mon, 16 Oct 2017 20:25:26 -0400
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.