all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#42430: 26.3; Document `ring-next' and `ring-previous' in (elisp) Rings
@ 2020-07-19 19:32 Drew Adams
  2020-07-24 14:55 ` Eli Zaretskii
  0 siblings, 1 reply; 2+ messages in thread
From: Drew Adams @ 2020-07-19 19:32 UTC (permalink / raw)
  To: 42430

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''





^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#42430: 26.3; Document `ring-next' and `ring-previous' in (elisp) Rings
  2020-07-19 19:32 bug#42430: 26.3; Document `ring-next' and `ring-previous' in (elisp) Rings Drew Adams
@ 2020-07-24 14:55 ` Eli Zaretskii
  0 siblings, 0 replies; 2+ messages in thread
From: Eli Zaretskii @ 2020-07-24 14:55 UTC (permalink / raw)
  To: Drew Adams; +Cc: 42430-done

> Date: Sun, 19 Jul 2020 19:32:52 +0000 (UTC)
> From: Drew Adams <drew.adams@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.





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-07-24 14:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-07-19 19:32 bug#42430: 26.3; Document `ring-next' and `ring-previous' in (elisp) Rings Drew Adams
2020-07-24 14:55 ` Eli Zaretskii

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.