From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?Andr=C3=A9?= A. Gomes Newsgroups: gmane.emacs.bugs Subject: bug#52417: Mark ring navigation could be two-way Date: Sat, 11 Dec 2021 20:11:50 +0000 Message-ID: <874k7ej3zt.fsf@gmail.com> References: <-j5gTcLQGFew-tw_ci6TkJS4FRkRAci7rQ_Blw_-TN1RWE9pvew0hgL9b78KA4pBSbBO7bVAGGslf5ilY8JbalPxdpPibWBkQ4oqm0hCOfo=@protonmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30061"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) Cc: laszlomail@protonmail.com, mardani29@yahoo.es To: 52417@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Dec 11 21:12:10 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mw8j4-0007da-Ns for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 11 Dec 2021 21:12:10 +0100 Original-Received: from localhost ([::1]:48134 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mw8j3-0002Fv-LE for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 11 Dec 2021 15:12:09 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:58144) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mw8ix-0002Fk-83 for bug-gnu-emacs@gnu.org; Sat, 11 Dec 2021 15:12:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:38505) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mw8iw-0003Cc-Vr for bug-gnu-emacs@gnu.org; Sat, 11 Dec 2021 15:12:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mw8iw-0000Xw-Ol for bug-gnu-emacs@gnu.org; Sat, 11 Dec 2021 15:12:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?Andr=C3=A9?= A. Gomes Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 11 Dec 2021 20:12:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52417 X-GNU-PR-Package: emacs X-Debbugs-Original-To: Daniel =?UTF-8?Q?Mart=C3=ADn?= via "Bug reports for GNU Emacs, the Swiss army knife of text editors" X-Debbugs-Original-Cc: 52417@debbugs.gnu.org, laszlomail@protonmail.com, Daniel =?UTF-8?Q?Mart=C3=ADn?= Original-Received: via spool by 52417-submit@debbugs.gnu.org id=B52417.16392535192085 (code B ref 52417); Sat, 11 Dec 2021 20:12:02 +0000 Original-Received: (at 52417) by debbugs.gnu.org; 11 Dec 2021 20:11:59 +0000 Original-Received: from localhost ([127.0.0.1]:50050 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mw8it-0000XY-Jr for submit@debbugs.gnu.org; Sat, 11 Dec 2021 15:11:59 -0500 Original-Received: from mail-wr1-f51.google.com ([209.85.221.51]:42947) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mw8ir-0000X8-AY for 52417@debbugs.gnu.org; Sat, 11 Dec 2021 15:11:58 -0500 Original-Received: by mail-wr1-f51.google.com with SMTP id c4so20460476wrd.9 for <52417@debbugs.gnu.org>; Sat, 11 Dec 2021 12:11:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=B9cpOfohxNLntPMaIB9mewrZRu+GMWlEcODxMgwav58=; b=fKOr7xt/h5TL0cGAwWK96uklxWa81eU0L12eu/5vJPElBH2u7m7pQ9oHK3yM3IwgQh RAp3/XPBecI9rBVtAJZp57KHpM3OKhL68FAHIktBIETfqWGLb4XvQJvdV8TugY/lwMPu A5XT6VfitGP8kR5bB1bf19de9m4m33m4gn7n/PqgzWnUDPn+W6RteYdOX4f8gSxyCeJ3 SwwZSZVPKeu3op0XpH2OVQFj27aozN4OzllqzdyxbLXce+04uYZhYu700BObL7V2Eqj0 AoamEpjjgnGAL5+RwYmRM81Y0QeqN9dw1heC7HyUAxrTpRxOACIjYVe3OpDy/B6axE5G x7UQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=B9cpOfohxNLntPMaIB9mewrZRu+GMWlEcODxMgwav58=; b=QPTh0YyJJRay21i6QSjSv/Fv2+F9vNqIUfRwiDY7aG3uRIurMFw1yp3DcRFiqHkbf8 IEL5pl+fzSP5RBIpnrF/CL75FbTotqYB6cH9A3aaszooeCzeEP0AT8JW0N7A8ziBKKIY sJbj7T0GBwG+CoNOBodQSFX8GFatndaVk6ys2p0oRk5PfUoHm8avrfvhRJ9KOfsJ4MHH F8Vn7Pat5DP6DsWJzXqSLvrdvN0joIuOtxX1GKDpntgfyTJe5MGStK+h/4bR9DF5ILVM 7Pl0VXwzvauVFHVlEHIC7eMfAXrIrtVUO0rpmxsv2VpKc4Mtj2kJWZZvrY9sbldviAFM +vgQ== X-Gm-Message-State: AOAM533A+hWpx1lEeBjs+YcEtYEOfZ+2lhIGUlEY89zaHwdGyWmXO6aq 0k/E0UNTC0GSRWj332bO60A= X-Google-Smtp-Source: ABdhPJwFj4U2sq4NQ66U+3bet4cvzVrRnJZsAErlRgz63jTA5UL7kAsrnYoCIGoeVggVatIRTUY4sQ== X-Received: by 2002:a5d:6211:: with SMTP id y17mr22203463wru.97.1639253511604; Sat, 11 Dec 2021 12:11:51 -0800 (PST) Original-Received: from guix-xps13 ([2001:818:daa9:6700:462d:384e:6de8:4a1c]) by smtp.gmail.com with ESMTPSA id n1sm2324084wmq.6.2021.12.11.12.11.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 11 Dec 2021 12:11:51 -0800 (PST) In-Reply-To: ("Daniel =?UTF-8?Q?Mart=C3=ADn?= via \"Bug reports for GNU Emacs, the Swiss army knife of text editors\""'s message of "Sat, 11 Dec 2021 16:44:13 +0100") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:222144 Archived-At: Daniel Mart=C3=ADn via "Bug reports for GNU Emacs, the Swiss army knife of text editors" writes: > ndame via "Bug reports for GNU Emacs, the Swiss army knife of text > editors" writes: > >> Other tools has similar features like the mark ring and they >> provide two-way navigation, so you can go back to some previous >> position to check something, and then you can go forward in the >> ring to get back to a more recent position or the latest position >> if you want. >> >> Emacs could have this too by providing a command which allows >> moving forward in the mark ring. > > +1. I agree that this is a useful feature that would improve the text > editing capabilities of Emacs. In Vim, you can use C-i and C-o to > navigate forwards and backwards, respectively. > > A similar thing happens with the kill-ring. M-y moves the last-yank > pointer in one direction, but there could be a command to move it in the > opposite direction. Even if the mark and kill ring cycle, it is > inconvenient to browse them in one direction only, because as modern > computers have more memory available, the rings can store more things. > > This is probably one of the reasons why there are a lot of external > packages that let you browse the contents of the mark-ring and kill-ring > in the minibuffer or a separate buffer. Regarding M-y, you can use negative prefixes to move in the opposite direction. Regarding the mark ring, I don't think it's possible. If indeed it's not, I think it's a good idea to add such functionality. --=20 Andr=C3=A9 A. Gomes "Free Thought, Free World"