GNU bug report logs - #42430
26.3; Document `ring-next' and `ring-previous' in (elisp) Rings

Previous Next

Package: emacs;

Reported by: Drew Adams <drew.adams <at> oracle.com>

Date: Sun, 19 Jul 2020 19:34:02 UTC

Severity: normal

Found in version 26.3

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Drew Adams <drew.adams <at> oracle.com>
Subject: bug#42430: closed (Re: bug#42430: 26.3; Document `ring-next' and
 `ring-previous' in (elisp) Rings)
Date: Fri, 24 Jul 2020 14:56:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#42430: 26.3; Document `ring-next' and `ring-previous' in (elisp) Rings

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 42430 <at> debbugs.gnu.org.

-- 
42430: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=42430
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Eli Zaretskii <eliz <at> gnu.org>
To: Drew Adams <drew.adams <at> oracle.com>
Cc: 42430-done <at> debbugs.gnu.org
Subject: Re: bug#42430: 26.3;
 Document `ring-next' and `ring-previous' in (elisp) Rings
Date: Fri, 24 Jul 2020 17:55:37 +0300
> Date: Sun, 19 Jul 2020 19:32:52 +0000 (UTC)
> From: Drew Adams <drew.adams <at> oracle.com>
> 
> See this question:
> 
> https://emacs.stackexchange.com/q/59726/105
> 
> As the asker notes, the doc refers to ring "rotation", but it says
> nothing about how to rotate the ring (cycle to the next/previous
> element.

The manual says:

     For yanking, one entry in the kill ring is designated the front of
  the ring.  Some yank commands rotate the ring by designating a different
  element as the front.  But this virtual rotation doesn’t change the list
  itself—the most recent entry always comes first in the list.

That's all.  I don't see any reason to expand this description of a
"virtual rotation", since that would require bringing many internal
details into the ELisp manual, with no apparent gain.

So I'm closing this bug.

[Message part 3 (message/rfc822, inline)]
From: Drew Adams <drew.adams <at> oracle.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 26.3; Document `ring-next' and `ring-previous' in (elisp) Rings
Date: Sun, 19 Jul 2020 19:32:52 +0000 (UTC)
See this question:

https://emacs.stackexchange.com/q/59726/105

As the asker notes, the doc refers to ring "rotation", but it says
nothing about how to rotate the ring (cycle to the next/previous
element.


In GNU Emacs 26.3 (build 1, x86_64-w64-mingw32)
 of 2019-08-29
Repository revision: 96dd0196c28bc36779584e47fffcca433c9309cd
Windowing system distributor `Microsoft Corp.', version 10.0.18362
Configured using:
 `configure --without-dbus --host=x86_64-w64-mingw32
 --without-compress-install 'CFLAGS=-O2 -static -g3''



This bug report was last modified 4 years and 300 days ago.

Previous Next


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