From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Hong Xu Newsgroups: gmane.emacs.bugs Subject: bug#74799: [PATCH] Clarify that save-place-file must be set before save-place-mode starts Date: Wed, 11 Dec 2024 12:41:32 -0800 Message-ID: <87sequymtf.fsf@topbug.net> References: <20241211200119.92243-1-hong@topbug.net> <865xnq2cbn.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27536"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.12.7; emacs 30.0.92 Cc: 74799@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Dec 11 21:42:24 2024 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 1tLTXL-0006yi-4v for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 11 Dec 2024 21:42:23 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tLTX1-0007Rc-1d; Wed, 11 Dec 2024 15:42:03 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tLTX0-0007RT-E7 for bug-gnu-emacs@gnu.org; Wed, 11 Dec 2024 15:42:02 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tLTWz-0007Dl-Uv for bug-gnu-emacs@gnu.org; Wed, 11 Dec 2024 15:42:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=pPkh3Nzca1Q/WqtvJcrd/WdBjZui8qVHN8csWVvZwwE=; b=OmtpU0tTx2f2d6BoexPs6sL4rfKmgUDAqWK3M670WE7XiUk4GE+yTM0BXpZBCJkbbIqddbZWBzLoq2m1FNFCEYjIdNgfXGdBsxNWpx+b2Rw5jtiJtCwh7wntcWzK9Z7GksxDWfFQ5/eqlbnEzVNlq18ciyvnjwOqRNoumfqkNNFP8dMBQA1nCGcGmEChp/PfTb6eEsYNAglGs0lW39iiXK174156DLgkaOmD0pNsdp2MGZ1QUm78UVwUOaKaUK1EiQiDXv0LFvii89iFzf0pLW36vzNAhWJJUlgPk1NVNBLhM4hQPfuXnxV7HNUcjN/oOGiub7ieMUH3mLAPY994Zw==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tLTWz-0005vx-PC for bug-gnu-emacs@gnu.org; Wed, 11 Dec 2024 15:42:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Hong Xu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 11 Dec 2024 20:42:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74799 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 74799-submit@debbugs.gnu.org id=B74799.173394970522774 (code B ref 74799); Wed, 11 Dec 2024 20:42:01 +0000 Original-Received: (at 74799) by debbugs.gnu.org; 11 Dec 2024 20:41:45 +0000 Original-Received: from localhost ([127.0.0.1]:36432 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tLTWi-0005vF-F0 for submit@debbugs.gnu.org; Wed, 11 Dec 2024 15:41:44 -0500 Original-Received: from sender4-of-o52.zoho.com ([136.143.188.52]:21257) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tLTWg-0005v0-2Q for 74799@debbugs.gnu.org; Wed, 11 Dec 2024 15:41:42 -0500 ARC-Seal: i=1; a=rsa-sha256; t=1733949694; cv=none; d=zohomail.com; s=zohoarc; b=DEbbDjdjU/5nM8TwOwYBpCquYdj6yaCNcGgoRZH/Ep+OouD2FhGpKQxysOFHpiq5RJ/FVFk0q9b0t0Bx25JimJZa08FhRGvWNBMSrGC6PENIOWzXuGWaWBLoH3VbcbgLVKif58dtBgT1Cr1VZNkw6p0wwiwPJk6R/GlGMh4TrY4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1733949694; h=Content-Type:Cc:Cc:Date:Date:From:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:Subject:To:To:Message-Id:Reply-To; bh=pPkh3Nzca1Q/WqtvJcrd/WdBjZui8qVHN8csWVvZwwE=; b=Rzy69HJLVGm0vKY4BAFg2kUwvGFk+Ed3s1oNejEEK16Jhu1f+Rei87p2VJAlCUr2w8mbQqvU9S8GEHMsi68JFS+NHNNTwye+vw1XDi9JGOQv2DFJNWtAZi8/WUPrz0+JA+uDB6+NKnFQ6fYtMFN1ksV1QLjnDZnip4K0deJSUi0= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=topbug.net; spf=pass smtp.mailfrom=hong@topbug.net; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1733949694; s=zoho; d=topbug.net; i=hong@topbug.net; h=From:From:To:To:Cc:Cc:Subject:Subject:In-Reply-To:References:Date:Date:Message-ID:MIME-Version:Content-Type:Message-Id:Reply-To; bh=pPkh3Nzca1Q/WqtvJcrd/WdBjZui8qVHN8csWVvZwwE=; b=Aa2A5zFajZTGIFJQewQniXp/FRa18b76SyRVSxsvQI8gZJt2KtDz9eDCFocZcw0B 0J9A3lx7kDMunkrbnvJsLckPMiDi9rJ4wxLLbVzSQUKtWDqDZhDN/MjvfyL2gTlW8pv SeX22aBfavJq/FnUSOPrU0gaJMoD7MA5FTcfvaXI= Original-Received: by mx.zohomail.com with SMTPS id 17339496933861010.284287946085; Wed, 11 Dec 2024 12:41:33 -0800 (PST) In-Reply-To: <865xnq2cbn.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 11 Dec 2024 22:29:16 +0200") X-ZohoMailClient: External 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:296866 Archived-At: On 2024-12-11 Wed 12:29 GMT-08, Eli Zaretskii wrote: >> From: Hong Xu >> Date: Wed, 11 Dec 2024 12:00:57 -0800 >> >> --- >> lisp/saveplace.el | 3 ++- >> 1 file changed, 2 insertions(+), 1 deletion(-) >> >> diff --git a/lisp/saveplace.el b/lisp/saveplace.el >> index 012e305f7f45..ea67c4567b63 100644 >> --- a/lisp/saveplace.el >> +++ b/lisp/saveplace.el >> @@ -63,7 +63,8 @@ save-place-alist >> This alist is saved between Emacs sessions.") >> >> (defcustom save-place-file (locate-user-emacs-file "places" ".emacs-places") >> - "Name of the file that records `save-place-alist' value." >> + "Name of the file that records `save-place-alist' value. >> +Must be set before starting save-place-mode." >> :version "24.4" ; added locate-user-emacs-file >> :type 'file) > > Thanks, but how about removing the limitation instead? I'm not sure how to do this. It seems to me the limitation didn't exist in Emacs 29 but suddenly I have to set save-place-file before calling save-place-mode. I thought this was intended but maybe this is a regression? (It's difficult for me to try out Emacs 29 now to 100% confirm, sorry.) -- Hong