all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#13600: Bug in cycle-spacing (simple.el)
@ 2013-01-31 18:59 Nick Dokos
  0 siblings, 0 replies; only message in thread
From: Nick Dokos @ 2013-01-31 18:59 UTC (permalink / raw)
  To: 13600; +Cc: nicholas.dokos

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)
\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01\x01nil

(cycle-spacing 1 nil t)

The git commit in question is

,----
| commit 426db07fbc01417362044cac4e6539264a8b7768
| Author: Michal Nazarewicz <mina86@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






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-01-31 18:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-31 18:59 bug#13600: Bug in cycle-spacing (simple.el) Nick Dokos

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.