From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii 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 22:29:16 +0200 Message-ID: <865xnq2cbn.fsf@gnu.org> References: <20241211200119.92243-1-hong@topbug.net> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20156"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 74799@debbugs.gnu.org To: Hong Xu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Dec 11 21:30:13 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 1tLTLY-00058I-R9 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 11 Dec 2024 21:30:13 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tLTLS-0005pn-D8; Wed, 11 Dec 2024 15:30:06 -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 1tLTLP-0005pS-9W for bug-gnu-emacs@gnu.org; Wed, 11 Dec 2024 15:30:03 -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 1tLTLP-0005oQ-0U for bug-gnu-emacs@gnu.org; Wed, 11 Dec 2024 15:30:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=References:In-Reply-To:From:Date:To:Subject; bh=AK5hxS0Lo9pZCbvGDNrJl+zD3PsS4CbUxsPSf6su0gg=; b=e57QfEzFUY7LEx7l56ZSJJXTAxKN6kbn59aVOH9GdQw4t6pRefHkL8Dz3ZHsoStzGIQhTM/2heEfJ1qfeIJunGGVa5uUuDTQpihqjLDw8JpA2n5qLBzZUbXn8Y30E0GFN3v2A+2WIpergkbkobGiYG6X47zhhACugQkZKBGPxuz6XEpEzcG38TpKwmH0IxNFHrD7Gvy7nYo74/4g/9NYDz6w7p7IeuCQb9AKNjBFmBAi1zOTlLAc0Fz6WfYLLEkfZ4Ygos7Z1/67oSgMjBf4RHNrZsgq8UgtRiAJtW/y4z9sWk7tN4F/mdVVFQ1L9Y7IxGNR18ncEHeJPylIzpw6Kw==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tLTLO-0005AQ-QR for bug-gnu-emacs@gnu.org; Wed, 11 Dec 2024 15:30:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 11 Dec 2024 20:30:02 +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.173394897719784 (code B ref 74799); Wed, 11 Dec 2024 20:30:02 +0000 Original-Received: (at 74799) by debbugs.gnu.org; 11 Dec 2024 20:29:37 +0000 Original-Received: from localhost ([127.0.0.1]:36401 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tLTKz-000590-8G for submit@debbugs.gnu.org; Wed, 11 Dec 2024 15:29:37 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:53476) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tLTKw-00058g-Po for 74799@debbugs.gnu.org; Wed, 11 Dec 2024 15:29:35 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tLTKq-0005jf-Pe; Wed, 11 Dec 2024 15:29:28 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=AK5hxS0Lo9pZCbvGDNrJl+zD3PsS4CbUxsPSf6su0gg=; b=RLfaMYZxLP8p jMlcCGX+m3+GqKOXgd2U6Mq1bWW60JcV/iAkRjPfYcmQ9RY5syG+8nuBZ7dEt61Q9F4ViYn/bMyW6 cXQeEuIQxe4ykElxnAcmQaXTIuN1pb02lOKRU77qCMsgTQBoUt/oZlx+3++FfdXqf8SciwvgUe2Zv pAJ0hLTeJcai6P2HkxH2txrYXM5FltNsMQFodULko3rNtstcNg2Khgt0rOQOOZBkAUroeEtb0i675 OoiMgUOT00RLphG8uE+DCE+3T1tHbpWK8aWEksHXAf9pBbXbnRSivlX37OjrDcKtjh4gLhjHGvzZn mmkCvqq2920JQFodFMC6bg==; In-Reply-To: <20241211200119.92243-1-hong@topbug.net> (message from Hong Xu on Wed, 11 Dec 2024 12:00:57 -0800) 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:296865 Archived-At: > 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?