From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#53945: saveplace should save the buffer's mark list too Date: Sat, 12 Feb 2022 21:30:31 +0200 Organization: LINKOV.NET Message-ID: <86pmnsyme4.fsf@mail.linkov.net> References: <28eJAsN6tTuTwmTMhyX_qB5yiH1zr0LVMGh5-fRLCCHWyrGXgIM-L1FAQpUprjWO2Kt6OP7QJAFPCmqvLI2GmIVd62gAs07jWUOjyRz-Chg=@protonmail.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28460"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (x86_64-pc-linux-gnu) Cc: laszlomail@protonmail.com To: 53945@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Feb 12 20:49:44 2022 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 1nIyOu-0007Dg-5K for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 12 Feb 2022 20:49:44 +0100 Original-Received: from localhost ([::1]:41646 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nIyOs-0000Ol-Ne for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 12 Feb 2022 14:49:42 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:33830) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nIyOF-0000MN-IN for bug-gnu-emacs@gnu.org; Sat, 12 Feb 2022 14:49:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:41802) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nIyOF-00010B-1U for bug-gnu-emacs@gnu.org; Sat, 12 Feb 2022 14:49:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nIyOF-0002Ko-1L for bug-gnu-emacs@gnu.org; Sat, 12 Feb 2022 14:49:03 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 12 Feb 2022 19:49:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53945 X-GNU-PR-Package: emacs X-Debbugs-Original-To: emacsq via "Bug reports for GNU Emacs, the Swiss army knife of text editors" X-Debbugs-Original-Cc: emacsq , 53945@debbugs.gnu.org Original-Received: via spool by 53945-submit@debbugs.gnu.org id=B53945.16446952828830 (code B ref 53945); Sat, 12 Feb 2022 19:49:02 +0000 Original-Received: (at 53945) by debbugs.gnu.org; 12 Feb 2022 19:48:02 +0000 Original-Received: from localhost ([127.0.0.1]:35691 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nIyNF-0002IB-QO for submit@debbugs.gnu.org; Sat, 12 Feb 2022 14:48:02 -0500 Original-Received: from relay8-d.mail.gandi.net ([217.70.183.201]:36419) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nIyND-0002HD-Pk for 53945@debbugs.gnu.org; Sat, 12 Feb 2022 14:48:00 -0500 Original-Received: (Authenticated sender: juri@linkov.net) by mail.gandi.net (Postfix) with ESMTPSA id BAB8B1BF203; Sat, 12 Feb 2022 19:47:51 +0000 (UTC) In-Reply-To: <28eJAsN6tTuTwmTMhyX_qB5yiH1zr0LVMGh5-fRLCCHWyrGXgIM-L1FAQpUprjWO2Kt6OP7QJAFPCmqvLI2GmIVd62gAs07jWUOjyRz-Chg=@protonmail.com> (emacsq via's message of "Fri, 11 Feb 2022 21:36:06 +0000") 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:226744 Archived-At: > saveplace is great when I open a file and I'm right there where I was last > time. > > But sometimes I remember being at various locations in the file and I want > to quickly visit some of them via the mark ring, but alas the mark ring is > not restored. > > The mark locations are also places in a file, so saveplace should save and > restore the buffer's mark ring too, in addition to the last cursor > location, so that the mark ring info is not lost. Did you know that desktop-save-mode saves the mark ring of every buffer?