GNU bug report logs - #13600
Bug in cycle-spacing (simple.el)

Previous Next

Package: emacs;

Reported by: nicholas.dokos <at> hp.com

Date: Thu, 31 Jan 2013 19:01:02 UTC

Severity: normal

Merged with 13607

Found in version 24.3.50

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 13600 in the body.
You can then email your comments to 13600 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#13600; Package emacs. (Thu, 31 Jan 2013 19:01:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to nicholas.dokos <at> hp.com:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Thu, 31 Jan 2013 19:01:02 GMT) Full text and rfc822 format available.

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

From: Nick Dokos <nicholas.dokos <at> hp.com>
To: bug-gnu-emacs <at> gnu.org
Cc: nicholas.dokos <at> hp.com
Subject: Bug in cycle-spacing (simple.el)
Date: Thu, 31 Jan 2013 13:59:06 -0500
The new command ``cycle-spacing'' which is used by just-one-space
is buggy. Evaluating the following form in *scratch* illustrates
the problem:

(cycle-spacing 1 nil t)
nil

(cycle-spacing 1 nil t)

The git commit in question is

,----
| commit 426db07fbc01417362044cac4e6539264a8b7768
| Author: Michal Nazarewicz <mina86 <at> mina86.com>
| Date:   Wed Jan 30 21:57:35 2013 -0500
| 
|     * lisp/simple.el (cycle-spacing): New command.
|     (just-one-space): Use it.
`----

and the suspect line is l.808 in simple.el:

    (insert (make-string ?\s n))

which should be

    (insert (make-string n ?\s))

instead (iiuc).

Thanks,
Nick





bug closed, send any further explanations to 13600 <at> debbugs.gnu.org and nicholas.dokos <at> hp.com Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Fri, 01 Feb 2013 01:14:02 GMT) Full text and rfc822 format available.

Forcibly Merged 13600 13607. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Sat, 02 Feb 2013 18:56:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 03 Mar 2013 12:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 12 years and 110 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.