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:00:57 -0800 Message-ID: <20241211200119.92243-1-hong@topbug.net> Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33558"; mail-complaints-to="usenet@ciao.gmane.io" To: 74799@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Dec 11 21:02:36 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 1tLSuo-0008ZT-75 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 11 Dec 2024 21:02:34 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tLSuZ-00052v-Vk; Wed, 11 Dec 2024 15:02:20 -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 1tLSuI-0004z7-UH for bug-gnu-emacs@gnu.org; Wed, 11 Dec 2024 15:02:05 -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 1tLSuI-00026M-LD for bug-gnu-emacs@gnu.org; Wed, 11 Dec 2024 15:02: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:From:To:Subject; bh=aV3afJK4ET8yGOfcMTE3s47e6Vex81lDmZ9jk3sGgaA=; b=vEIHCR1rBsM0HM2M2bePdeTz7OyHkIYb26lcCf/cIc1VUh0eHB0/wvlASXjnzU/O0+jUDORROBxstTtzqb6HwmvVx4mt+btsVbrNqi++Hmg4WjxCZuvfN7lYcHICn0rrWFEMf1glZX4Iccukm4GVINRiMLP8cGZZnikrBbDeQ9mW3YXD0kS9d0FgpfWGZE0820u2cmU23VxbB9RMwj1GXNqpPxpVcSsF5PV0YlLzHjJ7uDwFiXMVZiMpwt1mj6tcu/R+BW9rQKP9L2RuUTybZulf2wucewPAogjKeEZH4zsczy4gkdShhJS3GCvVSNsaAfNkLIMn0jZD/G7/kew0Vg==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tLSuI-0002oc-F5 for bug-gnu-emacs@gnu.org; Wed, 11 Dec 2024 15:02:02 -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:02:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 74799 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.173394729410689 (code B ref -1); Wed, 11 Dec 2024 20:02:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 11 Dec 2024 20:01:34 +0000 Original-Received: from localhost ([127.0.0.1]:36339 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tLStp-0002mL-K9 for submit@debbugs.gnu.org; Wed, 11 Dec 2024 15:01:33 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:51898) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tLStn-0002m2-A4 for submit@debbugs.gnu.org; Wed, 11 Dec 2024 15:01:32 -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 1tLStn-0004sv-3W for bug-gnu-emacs@gnu.org; Wed, 11 Dec 2024 15:01:31 -0500 Original-Received: from sender4-of-o54.zoho.com ([136.143.188.54]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tLStl-00023W-CK for bug-gnu-emacs@gnu.org; Wed, 11 Dec 2024 15:01:30 -0500 ARC-Seal: i=1; a=rsa-sha256; t=1733947283; cv=none; d=zohomail.com; s=zohoarc; b=T2wvpYqbqHFwQ4iPOewj0de67mM+Gy4+QW+6X8TazRQMp3Mn9+YjMh7z+yw7X7X7UdFd3+P5Zu3GQTw4o6jtQknyZUPzaRvA12x61H3h/1Q5HsjPtzkqC/stYwu7mPD4xMqBcMYmWh4nqlqadtnnADmWY0fIupDvz1rT2UVMH2s= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1733947283; h=Content-Transfer-Encoding:Date:Date:From:From:MIME-Version:Message-ID:Subject:Subject:To:To:Message-Id:Reply-To:Cc; bh=aV3afJK4ET8yGOfcMTE3s47e6Vex81lDmZ9jk3sGgaA=; b=GIuqFnOBIR4ylwq33StGD+FMV51CgQyJbK2hAgGb4LWqt4xEaOkj6gNTPydhNSQZGxjeLmcIm/xm1crgrZ8YC0RQ4c9weX3zmDSpytxOh/ouGY1l1IZTi61R70wgwysSC/N8US9FLRT2wPMu7fpoludACdCS9lFjo9aM6x4Nj40= 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=1733947283; s=zoho; d=topbug.net; i=hong@topbug.net; h=From:From:To:To:Subject:Subject:Date:Date:Message-ID:MIME-Version:Content-Transfer-Encoding:Message-Id:Reply-To:Cc; bh=aV3afJK4ET8yGOfcMTE3s47e6Vex81lDmZ9jk3sGgaA=; b=au3zKvUgNwDMbvZvwgKHVcmg3ETNJx/CUdZ++5OYBSiEFGhW7TgS2jpSYgJwz52o 3xq8sh0HTcxOdWY+RViqKz1Q2X0vQqdhVbk9l0RiNTNiuVfCcP/X5k7azj93wPvI9sv 6XiHap/RVzR/r62g2cNXQy1jM6SRovmDVsy8n7MA= Original-Received: by mx.zohomail.com with SMTPS id 173394728021161.30563147817497; Wed, 11 Dec 2024 12:01:20 -0800 (PST) X-Mailer: git-send-email 2.45.2 X-ZohoMailClient: External Received-SPF: pass client-ip=136.143.188.54; envelope-from=hong@topbug.net; helo=sender4-of-o54.zoho.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, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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:296864 Archived-At: --- 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) -- 2.45.2