From unknown Sun Jun 15 13:01:43 2025 X-Loop: help-debbugs@gnu.org Subject: bug#53945: saveplace should save the buffer's mark list too Resent-From: emacsq Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 11 Feb 2022 21:37:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 53945 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 53945@debbugs.gnu.org X-Debbugs-Original-To: "Bug reports for GNU Emacs, the Swiss army knife of text editors" Reply-To: emacsq Received: via spool by submit@debbugs.gnu.org id=B.16446153825664 (code B ref -1); Fri, 11 Feb 2022 21:37:01 +0000 Received: (at submit) by debbugs.gnu.org; 11 Feb 2022 21:36:22 +0000 Received: from localhost ([127.0.0.1]:32891 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nIdaY-0001TH-4t for submit@debbugs.gnu.org; Fri, 11 Feb 2022 16:36:22 -0500 Received: from lists.gnu.org ([209.51.188.17]:55930) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nIdaW-0001TA-2N for submit@debbugs.gnu.org; Fri, 11 Feb 2022 16:36:20 -0500 Received: from eggs.gnu.org ([209.51.188.92]:35006) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nIdaV-0001Q3-SE for bug-gnu-emacs@gnu.org; Fri, 11 Feb 2022 16:36:19 -0500 Received: from mail-0201.mail-europe.com ([51.77.79.158]:58833) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nIdaQ-0005Ya-TV for bug-gnu-emacs@gnu.org; Fri, 11 Feb 2022 16:36:16 -0500 Date: Fri, 11 Feb 2022 21:36:06 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1644615368; bh=bjo6zeWN0JorD1AKgWM3Bf7s29VO3+8EDOMSJqXjdDo=; h=Date:To:From:Reply-To:Subject:Message-ID:From:To:Cc:Date:Subject: Reply-To:Feedback-ID:Message-ID; b=W4Wu0PGiUGrw5hmwNd39o+Ekbwg9SoETiVV/k5udQplOyiouz4ubFz4HTu62yEPfU altK9H59GRGmwD+wEdhoosxpNx0nvaFldEl31J4+/s+/CfthY+JL0r0GauQydT0Czz wHdiQy7w8zPmQAa9DFqTM0YmPzYv0R+V2KYjFm/M3PXMjeUHYHiJpdnVOvALn3cRFz VnHUS1OVeonp8wLpgFiW61AjAIefwgESrAkKLO5FbJrhUKK8iLJ/6lEjkNAQw3Y1Ot Io1d1IzYjzNxb7NRxQkt/GuVZr6u35dEdBfsclBuwM5ZO1bJzMiQtYHiDLRs2DXKgN j6cs5BM1wgxbw== From: emacsq Message-ID: <28eJAsN6tTuTwmTMhyX_qB5yiH1zr0LVMGh5-fRLCCHWyrGXgIM-L1FAQpUprjWO2Kt6OP7QJAFPCmqvLI2GmIVd62gAs07jWUOjyRz-Chg=@protonmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="b1_eQ2LeCFTCN8xJ8SpQKy8s0c0DxzOPips87FwOGe8" X-Spam-Status: No, score=-1.2 required=10.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,HTML_MESSAGE, T_SCC_BODY_TEXT_LINE shortcircuit=no autolearn=disabled version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on mailout.protonmail.ch Received-SPF: pass client-ip=51.77.79.158; envelope-from=laszlomail@protonmail.com; helo=mail-0201.mail-europe.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.2 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) This is a multi-part message in MIME format. --b1_eQ2LeCFTCN8xJ8SpQKy8s0c0DxzOPips87FwOGe8 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: base64 c2F2ZXBsYWNlIGlzIGdyZWF0IHdoZW4gSSBvcGVuIGEgZmlsZSBhbmQgSSdtIHJpZ2h0IHRoZXJl IHdoZXJlIEkgd2FzIGxhc3QgdGltZS4KCkJ1dCBzb21ldGltZXMgSSByZW1lbWJlciBiZWluZyBh dCB2YXJpb3VzIGxvY2F0aW9ucyBpbiB0aGUgZmlsZSBhbmQgSSB3YW50IHRvIHF1aWNrbHkgdmlz aXQgc29tZSBvZiB0aGVtIHZpYSB0aGUgbWFyayByaW5nLCBidXQgYWxhcyB0aGUgbWFyayByaW5n IGlzIG5vdCByZXN0b3JlZC4KClRoZSBtYXJrIGxvY2F0aW9ucyBhcmUgYWxzbyBwbGFjZXMgaW4g YSBmaWxlLCBzbyBzYXZlcGxhY2Ugc2hvdWxkIHNhdmUgYW5kIHJlc3RvcmUgdGhlIGJ1ZmZlcidz IG1hcmsgcmluZyB0b28sIGluIGFkZGl0aW9uIHRvIHRoZSBsYXN0IGN1cnNvciBsb2NhdGlvbiwg c28gdGhhdCB0aGUgbWFyayByaW5nIGluZm8gaXMgbm90IGxvc3Qu --b1_eQ2LeCFTCN8xJ8SpQKy8s0c0DxzOPips87FwOGe8 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: base64 c2F2ZXBsYWNlIGlzIGdyZWF0IHdoZW4gSSBvcGVuIGEgZmlsZSBhbmQgSSdtIHJpZ2h0IHRoZXJl IHdoZXJlIEkgd2FzIGxhc3QgdGltZS48YnI+PGJyPkJ1dCBzb21ldGltZXMgSSByZW1lbWJlciBi ZWluZyBhdCB2YXJpb3VzIGxvY2F0aW9ucyBpbiB0aGUgZmlsZSBhbmQgSSB3YW50IHRvIHF1aWNr bHkgdmlzaXQgc29tZSBvZiB0aGVtIHZpYSB0aGUgbWFyayByaW5nLCBidXQgYWxhcyB0aGUgbWFy ayByaW5nIGlzIG5vdCByZXN0b3JlZC48YnI+PGJyPlRoZSBtYXJrIGxvY2F0aW9ucyBhcmUgYWxz byBwbGFjZXMgaW4gYSBmaWxlLCBzbyBzYXZlcGxhY2Ugc2hvdWxkIHNhdmUgYW5kIHJlc3RvcmUg dGhlIGJ1ZmZlcidzIG1hcmsgcmluZyB0b28sIGluIGFkZGl0aW9uIHRvIHRoZSBsYXN0IGN1cnNv ciBsb2NhdGlvbiwgc28gdGhhdCB0aGUgbWFyayByaW5nIGluZm8gaXMgbm90IGxvc3QuPGJyPjxk aXYgc3R5bGU9ImZvbnQtZmFtaWx5OiBhcmlhbDsgZm9udC1zaXplOiAxNHB4OyI+PGJyPjwvZGl2 Pg== --b1_eQ2LeCFTCN8xJ8SpQKy8s0c0DxzOPips87FwOGe8-- From unknown Sun Jun 15 13:01:43 2025 X-Loop: help-debbugs@gnu.org Subject: bug#53945: saveplace should save the buffer's mark list too 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-GNU-PR-Keywords: To: 53945@debbugs.gnu.org Cc: laszlomail@protonmail.com 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 Received: via spool by submit@debbugs.gnu.org id=B.16446952898886 (code B ref -1); Sat, 12 Feb 2022 19:49:02 +0000 Received: (at submit) by debbugs.gnu.org; 12 Feb 2022 19:48:09 +0000 Received: from localhost ([127.0.0.1]:35697 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nIyNM-0002JF-Oq for submit@debbugs.gnu.org; Sat, 12 Feb 2022 14:48:08 -0500 Received: from lists.gnu.org ([209.51.188.17]:47722) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nIyNJ-0002Iq-5T for submit@debbugs.gnu.org; Sat, 12 Feb 2022 14:48:05 -0500 Received: from eggs.gnu.org ([209.51.188.92]:33682) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nIyNI-0007yR-Uw for bug-gnu-emacs@gnu.org; Sat, 12 Feb 2022 14:48:04 -0500 Received: from relay8-d.mail.gandi.net ([217.70.183.201]:59175) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nIyNG-0000vH-HS for bug-gnu-emacs@gnu.org; Sat, 12 Feb 2022 14:48:03 -0500 Received: (Authenticated sender: juri@linkov.net) by mail.gandi.net (Postfix) with ESMTPSA id BAB8B1BF203; Sat, 12 Feb 2022 19:47:51 +0000 (UTC) From: Juri Linkov Organization: LINKOV.NET References: <28eJAsN6tTuTwmTMhyX_qB5yiH1zr0LVMGh5-fRLCCHWyrGXgIM-L1FAQpUprjWO2Kt6OP7QJAFPCmqvLI2GmIVd62gAs07jWUOjyRz-Chg=@protonmail.com> Date: Sat, 12 Feb 2022 21:30:31 +0200 In-Reply-To: <28eJAsN6tTuTwmTMhyX_qB5yiH1zr0LVMGh5-fRLCCHWyrGXgIM-L1FAQpUprjWO2Kt6OP7QJAFPCmqvLI2GmIVd62gAs07jWUOjyRz-Chg=@protonmail.com> (emacsq via's message of "Fri, 11 Feb 2022 21:36:06 +0000") Message-ID: <86pmnsyme4.fsf@mail.linkov.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=217.70.183.201; envelope-from=juri@linkov.net; helo=relay8-d.mail.gandi.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.7 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.7 (--) > 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? From unknown Sun Jun 15 13:01:43 2025 X-Loop: help-debbugs@gnu.org Subject: bug#53945: saveplace should save the buffer's mark list too Resent-From: emacsq Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 12 Feb 2022 20:11:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53945 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Juri Linkov Cc: 53945@debbugs.gnu.org X-Debbugs-Original-Cc: "emacsq via \"Bug reports for GNU Emacs, the Swiss army knife of text editors\"" , 53945@debbugs.gnu.org Reply-To: emacsq Received: via spool by submit@debbugs.gnu.org id=B.164469660810959 (code B ref -1); Sat, 12 Feb 2022 20:11:02 +0000 Received: (at submit) by debbugs.gnu.org; 12 Feb 2022 20:10:08 +0000 Received: from localhost ([127.0.0.1]:35712 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nIyie-0002qh-4G for submit@debbugs.gnu.org; Sat, 12 Feb 2022 15:10:08 -0500 Received: from lists.gnu.org ([209.51.188.17]:54622) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nIyib-0002qN-2J for submit@debbugs.gnu.org; Sat, 12 Feb 2022 15:10:05 -0500 Received: from eggs.gnu.org ([209.51.188.92]:37354) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nIyiZ-0005Js-Tn for bug-gnu-emacs@gnu.org; Sat, 12 Feb 2022 15:10:04 -0500 Received: from mail-4027.protonmail.ch ([185.70.40.27]:13695) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nIyiW-0008Ua-3Y for bug-gnu-emacs@gnu.org; Sat, 12 Feb 2022 15:10:03 -0500 Date: Sat, 12 Feb 2022 20:09:53 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1644696596; bh=qe4EWQgQJtTVpvSzQJ04SiDXT+kbxowlNG5d6jhaK+w=; h=Date:To:From:Cc:Reply-To:Subject:Message-ID:In-Reply-To: References:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID; b=AUdu0Cp+sRT43WGUSclb6GH+9MUkSUhUaB7PcCGDL0FYTO2Wl+2sEJnXl6sCKA0zV /FrRK46M9XngRtPYuc1qqUPqEWSo2XLuvuM7tO2n2IcJPAfaHx1HGXmMXzlwqAcVkF B/hEI+V28hTrGTenFkCaJiohUTWPMdaU5tkmn5k9mLFMleBiMs+21KrSc5WRSYGxqT brdwVLuBK8I79jlV6tZ/KkAn7K6/X+FURDBsM8W9pUVOK+awCt+ucuqgfOIdRXQIxN +RK5YG6HTkZsriJpICYUwguttDPIuJIYZYAriAvbADY46AhX4HJet9ibtbJcnbwA96 Qx04KvPeokLog== From: emacsq Message-ID: In-Reply-To: <86pmnsyme4.fsf@mail.linkov.net> References: <28eJAsN6tTuTwmTMhyX_qB5yiH1zr0LVMGh5-fRLCCHWyrGXgIM-L1FAQpUprjWO2Kt6OP7QJAFPCmqvLI2GmIVd62gAs07jWUOjyRz-Chg=@protonmail.com> <86pmnsyme4.fsf@mail.linkov.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.2 required=10.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, T_SCC_BODY_TEXT_LINE shortcircuit=no autolearn=disabled version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on mailout.protonmail.ch Received-SPF: pass client-ip=185.70.40.27; envelope-from=laszlomail@protonmail.com; helo=mail-4027.protonmail.ch X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) > Did you know that desktop-save-mode saves the mark ring of every buffer? No, but I don't use desktop mode, I like to start with no buffers when I restart emacs. But when I open a file then I like it when it puts the cursor to where it was last time. That's why I use saveplace to save this location info and also saving other useful locations in the file (the mark ring) is a logical and handy improvement to it. From unknown Sun Jun 15 13:01:43 2025 X-Loop: help-debbugs@gnu.org Subject: bug#53945: saveplace should save the buffer's mark list too Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 13 Feb 2022 18:46:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53945 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: emacsq Cc: 53945@debbugs.gnu.org Received: via spool by 53945-submit@debbugs.gnu.org id=B53945.164477793926517 (code B ref 53945); Sun, 13 Feb 2022 18:46:02 +0000 Received: (at 53945) by debbugs.gnu.org; 13 Feb 2022 18:45:39 +0000 Received: from localhost ([127.0.0.1]:38873 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nJJsR-0006td-GV for submit@debbugs.gnu.org; Sun, 13 Feb 2022 13:45:39 -0500 Received: from relay11.mail.gandi.net ([217.70.178.231]:33549) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nJJsP-0006tC-JL for 53945@debbugs.gnu.org; Sun, 13 Feb 2022 13:45:38 -0500 Received: (Authenticated sender: juri@linkov.net) by mail.gandi.net (Postfix) with ESMTPSA id 3518B100002; Sun, 13 Feb 2022 18:45:29 +0000 (UTC) From: Juri Linkov Organization: LINKOV.NET References: <28eJAsN6tTuTwmTMhyX_qB5yiH1zr0LVMGh5-fRLCCHWyrGXgIM-L1FAQpUprjWO2Kt6OP7QJAFPCmqvLI2GmIVd62gAs07jWUOjyRz-Chg=@protonmail.com> <86pmnsyme4.fsf@mail.linkov.net> Date: Sun, 13 Feb 2022 20:38:29 +0200 In-Reply-To: (emacsq's message of "Sat, 12 Feb 2022 20:09:53 +0000") Message-ID: <86wnhzvsme.fsf@mail.linkov.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) >> Did you know that desktop-save-mode saves the mark ring of every buffer? > > No, but I don't use desktop mode, I like to start with no buffers > when I restart emacs. But when I open a file then I like it when it > puts the cursor to where it was last time. That's why I use saveplace > to save this location info and also saving other useful locations in the > file (the mark ring) is a logical and handy improvement to it. The format used by saveplace.el allows adding more data, so it's easy to add the mark ring. But are you sure that the package with the name "saveplace" is a suitable place to save the mark ring? For example, saveplace.el is optimized to not save the location when point is at the beginning of the buffer. So in such cases the mark ring will not be saved too. You said that don't want to use the desktop mode. What if someone would like to save only the mark ring, but not to save locations in files? From unknown Sun Jun 15 13:01:43 2025 X-Loop: help-debbugs@gnu.org Subject: bug#53945: saveplace should save the buffer's mark list too Resent-From: emacsq Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 13 Feb 2022 19:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53945 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Juri Linkov Cc: 53945@debbugs.gnu.org Reply-To: emacsq Received: via spool by 53945-submit@debbugs.gnu.org id=B53945.164478002030063 (code B ref 53945); Sun, 13 Feb 2022 19:21:02 +0000 Received: (at 53945) by debbugs.gnu.org; 13 Feb 2022 19:20:20 +0000 Received: from localhost ([127.0.0.1]:38936 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nJKQ0-0007on-0I for submit@debbugs.gnu.org; Sun, 13 Feb 2022 14:20:20 -0500 Received: from mail-4324.protonmail.ch ([185.70.43.24]:50843) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nJKPy-0007oY-OJ for 53945@debbugs.gnu.org; Sun, 13 Feb 2022 14:20:19 -0500 Date: Sun, 13 Feb 2022 19:20:11 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1644780012; bh=MTxHIP2Z5NKM/as6JKDmaDQFwpwLQywsrug89mVeSHQ=; h=Date:To:From:Cc:Reply-To:Subject:Message-ID:In-Reply-To: References:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID; b=Awge/GryJNisLEPYs1k1Ubc+OGU4JwN2tRtudarPrZqIrwDgODhqPbOSNL3W/YbHy in6h4vl3+TzeqyEt4fi/MnBVq1jUjTFgBy1fiJHKEbdrhW8W4ZJd+eMOAFnXBcB8iV DdZkaWQqxihthhM5IboKdPtf6yq75OBIaz30r0gfhE4LXLHt7H0Nq7gb6YFQGsX3r6 fXMC841U1FSMTJ52guVcYamD3bU0qTBOONhU5oYKokWfiC00u/Vy8AebrRjDi+O3Wk fLB653yjA+RalMIwTggLf6d6KRwViTc9glxYZjWTKixtJ3VHLOtpQwFdl0sEdreT+9 hj9MbZpS6eviA== From: emacsq Message-ID: In-Reply-To: <86wnhzvsme.fsf@mail.linkov.net> References: <28eJAsN6tTuTwmTMhyX_qB5yiH1zr0LVMGh5-fRLCCHWyrGXgIM-L1FAQpUprjWO2Kt6OP7QJAFPCmqvLI2GmIVd62gAs07jWUOjyRz-Chg=@protonmail.com> <86pmnsyme4.fsf@mail.linkov.net> <86wnhzvsme.fsf@mail.linkov.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.2 required=10.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, T_SCC_BODY_TEXT_LINE shortcircuit=no autolearn=disabled version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on mailout.protonmail.ch X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) > But are you sure that the package with the name "saveplace" > is a suitable place to save the mark ring? Since marks are also places in the file it's not unnatural if saveplace saves other places too. . > For example, saveplace.el is optimized to not save the location > when point is at the beginning of the buffer. So in such cases > the mark ring will not be saved too. I guess it's not hard to disable this optimization if marks are also saved. > What if someone would like to save only the mark ring, > but not to save locations in files? This can be solved with a new option if the need ever arises, and the option may not even affect the saving part (who cares if the current location is saved along with the marks, just one more number), only the restoring of the position is skipped when the file is opened.