From unknown Thu Sep 11 12:42:04 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#79340 <79340@debbugs.gnu.org> To: bug#79340 <79340@debbugs.gnu.org> Subject: Status: [PATCH] * lisp/saveplace.el (save-places-to-alist): Checkdoc, add docstring Reply-To: bug#79340 <79340@debbugs.gnu.org> Date: Thu, 11 Sep 2025 19:42:04 +0000 retitle 79340 [PATCH] * lisp/saveplace.el (save-places-to-alist): Checkdoc,= add docstring reassign 79340 emacs submitter 79340 Jeremy Bryant severity 79340 normal tag 79340 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Fri Aug 29 17:49:04 2025 Received: (at submit) by debbugs.gnu.org; 29 Aug 2025 21:49:04 +0000 Received: from localhost ([127.0.0.1]:43556 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1us6xz-0003E7-Jp for submit@debbugs.gnu.org; Fri, 29 Aug 2025 17:49:03 -0400 Received: from lists.gnu.org ([2001:470:142::17]:37054) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1us6xw-0003C6-Jy for submit@debbugs.gnu.org; Fri, 29 Aug 2025 17:49:01 -0400 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 1us6xi-0006hh-Qk for bug-gnu-emacs@gnu.org; Fri, 29 Aug 2025 17:48:47 -0400 Received: from out-189.mta1.migadu.com ([2001:41d0:203:375::bd]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1us6xg-0002qa-1l for bug-gnu-emacs@gnu.org; Fri, 29 Aug 2025 17:48:45 -0400 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jeremybryant.net; s=key1; t=1756504118; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=Ov7z1EuyaoKQ1FLsx/rJP4tz9UEYKqX+brYu4N77CnU=; b=bouNo3Jx/4vBxUH+WYqmEDjEDaCDh3forA/3amrgVaUIP5/4e7x4zIbHWI/ufddU96+WTY E/23xmrqmydm2BVmBp9opeu8hUbVlktP2u2LLVJoqcha+GGZ1lutEN5uDJcTmQSoW6R5CJ SCUBQX7UL7VEwbszUV95EUKMY8261nY4V96/bPilIrxZtyukPIhSCu+igyAeR4lE2IRzD3 pky2RUYigLKEKB5AIFG9bsD3TNZi8vt0Y7ugdEEVi5s+k4CaYDy/YSVxQT/798SWIdyfGR 3l90qAF114dssbSlifhz/mZMpOznbaQOwsadKr/PQ3/K6mU2z4CHLPPBJMlGdw== From: Jeremy Bryant To: bug-gnu-emacs@gnu.org Subject: [PATCH] * lisp/saveplace.el (save-places-to-alist): Checkdoc, add docstring Date: Fri, 29 Aug 2025 22:48:33 +0100 Message-ID: <87iki5n6j2.fsf@jeremybryant.net> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Migadu-Flow: FLOW_OUT Received-SPF: pass client-ip=2001:41d0:203:375::bd; envelope-from=jb@jeremybryant.net; helo=out-189.mta1.migadu.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, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.9 (/) X-Debbugs-Envelope-To: submit 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: -0.1 (/) --=-=-= Content-Type: text/plain Proposed patch to add a docstring in saveplace.el --=-=-= Content-Type: text/x-diff Content-Disposition: attachment; filename=0001-lisp-saveplace.el-save-places-to-alist-Checkdoc-add-.patch >From ac3b2bae68cdc5b34413ff3ab77ae6e710041bfb Mon Sep 17 00:00:00 2001 From: Jeremy Bryant Date: Fri, 29 Aug 2025 22:41:40 +0100 Subject: [PATCH] * lisp/saveplace.el (save-places-to-alist): Checkdoc, add docstring Replace previous comment and simplify wording by refering to the function save-place-to-alist being called on all buffers. --- lisp/saveplace.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/saveplace.el b/lisp/saveplace.el index 1f36196408a..51df1edeaa7 100644 --- a/lisp/saveplace.el +++ b/lisp/saveplace.el @@ -406,8 +406,8 @@ save-place-alist-to-file (file-error (message "Saving places: can't write %s" file))))))) (defun save-places-to-alist () - ;; go through buffer-list, saving places to alist if save-place-mode - ;; is non-nil, deleting them from alist if it is nil. + "Save all buffer filenames and positions to `save-place-alist'. +See `save-place-to-alist'." (let ((buf-list (buffer-list))) (while buf-list ;; put this into a save-excursion in case someone is counting on -- 2.47.2 --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sat Aug 30 12:18:08 2025 Received: (at 79340-done) by debbugs.gnu.org; 30 Aug 2025 16:18:08 +0000 Received: from localhost ([127.0.0.1]:49317 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1usOHF-00023T-3c for submit@debbugs.gnu.org; Sat, 30 Aug 2025 12:18:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36582) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1usOGz-00022A-IH for 79340-done@debbugs.gnu.org; Sat, 30 Aug 2025 12:17:57 -0400 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 1usOGs-0006cy-T3; Sat, 30 Aug 2025 12:17:42 -0400 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=TBtxRP/H979aIi+eg6gQyHvKCvZy3uOfu1FQMZ66jQU=; b=I+Wr2RoHS89g ilRtscFxpCxzRCML5CraMpNdgpmcrW/qc3zMuaiKhQ2RgZ/52R7gRvokQyf0sXNg2rntA6kM/ZdoE Q83r2b+ZSXDi87lvWcBNsBeLmaFo0LpMapCWv+fZ5/WapPhJiSigqRrQyWL68H5sigN2G9XdjoWZ9 Byk8/JZ1zxiJ2l5nqyWLNl/nAQr0c5KaT2AYG7vzXqbX92egIqTGmVboNmEQk7gBoY/VwtwquPSnu zfFltBMeAxTH3GIcg6b/oWwooJH9r7iFMd1vxltVD01a2EXyKJAJnCjsiRtTuKG0c36HY9wRZvP8/ qF/RFOzxXHgIQZauWLXPGw==; Date: Sat, 30 Aug 2025 19:16:23 +0300 Message-Id: <86ldn0pyy0.fsf@gnu.org> From: Eli Zaretskii To: Jeremy Bryant In-Reply-To: <87iki5n6j2.fsf@jeremybryant.net> (bug-gnu-emacs@gnu.org) Subject: Re: bug#79340: [PATCH] * lisp/saveplace.el (save-places-to-alist): Checkdoc, add docstring References: <87iki5n6j2.fsf@jeremybryant.net> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 79340-done Cc: 79340-done@debbugs.gnu.org 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: -3.3 (---) > Date: Fri, 29 Aug 2025 22:48:33 +0100 > From: Jeremy Bryant via "Bug reports for GNU Emacs, > the Swiss army knife of text editors" > > Proposed patch to add a docstring in saveplace.el Thanks, installed on master, and closing the bug.