No. The bug is that if the size of the ring is larger than the length, the current version of `ring-elements' introduces fake `nil' elements. The delq gets rid of all nil's, fake ones and potentially legitimate ones, because certain ring elements could _really_ be nil. The nconc re-adds the correct number of legitimate nil's. See the ielm run below.
Ok. If you want to do a little work, I am sure you could write a single loop that produces the right elements in the right order. Then you could rotate it properly with a single call to setcdr followed by nconc'ing the pieces in the opposite order. _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-devel