GNU bug report logs -
#75837
[PATCH] Add autosave timer to save-place in harmony with savehist
Previous Next
Reported by: Ship Mints <shipmints <at> gmail.com>
Date: Sat, 25 Jan 2025 19:29:02 UTC
Severity: normal
Tags: patch
Done: Eli Zaretskii <eliz <at> gnu.org>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 75837 in the body.
You can then email your comments to 75837 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#75837
; Package
emacs
.
(Sat, 25 Jan 2025 19:29:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Ship Mints <shipmints <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Sat, 25 Jan 2025 19:29:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
* lisp/saveplace.el (save-place-autosave-interval):
Add supporting functions for save-place autosave idle timer.
I have a private implementation of this that I rely on that other people
might find helpful as a builtin.
-Stephane
[Message part 2 (text/html, inline)]
[0001-Add-autosave-timer-to-save-place-in-harmony-with-sav.patch (application/octet-stream, attachment)]
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#75837
; Package
emacs
.
(Sat, 01 Feb 2025 11:07:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 75837 <at> debbugs.gnu.org (full text, mbox):
> From: Ship Mints <shipmints <at> gmail.com>
> Date: Sat, 25 Jan 2025 14:26:40 -0500
>
> * lisp/saveplace.el (save-place-autosave-interval):
> Add supporting functions for save-place autosave idle timer.
>
> I have a private implementation of this that I rely on that other people might find helpful as a builtin.
Thanks, a few comments below.
> * lisp/saveplace.el (save-place-autosave-interval):
> Add supporting functions for save-place autosave idle timer.
This log message is incomplete. Please mention all the changes in all
the functions/variables.
> +(defcustom save-place-autosave-interval (* 5 60)
> + "The interval between autosaves of buffer places.
> +If set to nil, disables timer-based autosaving.
> +Use `setopt' or Customize commands to set this option."
> + :type '(choice (const :tag "Disabled" nil)
> + (integer :tag "Seconds"))
> + :version "31.1"
Why should we turn this on by default? I think it should be disabled
by default.
Finally, this needs a NEWS entry.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#75837
; Package
emacs
.
(Sat, 01 Feb 2025 13:18:01 GMT)
Full text and
rfc822 format available.
Message #11 received at 75837 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Thank you for the review. Revised patch attached.
On Sat, Feb 1, 2025 at 6:06 AM Eli Zaretskii <eliz <at> gnu.org> wrote:
> > From: Ship Mints <shipmints <at> gmail.com>
> > Date: Sat, 25 Jan 2025 14:26:40 -0500
> >
> > * lisp/saveplace.el (save-place-autosave-interval):
> > Add supporting functions for save-place autosave idle timer.
> >
> > I have a private implementation of this that I rely on that other people
> might find helpful as a builtin.
>
> Thanks, a few comments below.
>
> > * lisp/saveplace.el (save-place-autosave-interval):
> > Add supporting functions for save-place autosave idle timer.
>
> This log message is incomplete. Please mention all the changes in all
> the functions/variables.
>
> > +(defcustom save-place-autosave-interval (* 5 60)
> > + "The interval between autosaves of buffer places.
> > +If set to nil, disables timer-based autosaving.
> > +Use `setopt' or Customize commands to set this option."
> > + :type '(choice (const :tag "Disabled" nil)
> > + (integer :tag "Seconds"))
> > + :version "31.1"
>
> Why should we turn this on by default? I think it should be disabled
> by default.
>
> Finally, this needs a NEWS entry.
>
[Message part 2 (text/html, inline)]
[0001-Add-auto-save-timer-to-save-place-bug-75837.patch (application/octet-stream, attachment)]
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#75837
; Package
emacs
.
(Sat, 01 Feb 2025 14:25:02 GMT)
Full text and
rfc822 format available.
Message #14 received at 75837 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
I need to go back and double space those sentences. My attempt to automate
didn't work. Gimme a minute.
On Sat, Feb 1, 2025 at 8:15 AM Ship Mints <shipmints <at> gmail.com> wrote:
> Thank you for the review. Revised patch attached.
>
> On Sat, Feb 1, 2025 at 6:06 AM Eli Zaretskii <eliz <at> gnu.org> wrote:
>
>> > From: Ship Mints <shipmints <at> gmail.com>
>> > Date: Sat, 25 Jan 2025 14:26:40 -0500
>> >
>> > * lisp/saveplace.el (save-place-autosave-interval):
>> > Add supporting functions for save-place autosave idle timer.
>> >
>> > I have a private implementation of this that I rely on that other
>> people might find helpful as a builtin.
>>
>> Thanks, a few comments below.
>>
>> > * lisp/saveplace.el (save-place-autosave-interval):
>> > Add supporting functions for save-place autosave idle timer.
>>
>> This log message is incomplete. Please mention all the changes in all
>> the functions/variables.
>>
>> > +(defcustom save-place-autosave-interval (* 5 60)
>> > + "The interval between autosaves of buffer places.
>> > +If set to nil, disables timer-based autosaving.
>> > +Use `setopt' or Customize commands to set this option."
>> > + :type '(choice (const :tag "Disabled" nil)
>> > + (integer :tag "Seconds"))
>> > + :version "31.1"
>>
>> Why should we turn this on by default? I think it should be disabled
>> by default.
>>
>> Finally, this needs a NEWS entry.
>>
>
[Message part 2 (text/html, inline)]
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#75837
; Package
emacs
.
(Sat, 01 Feb 2025 14:28:02 GMT)
Full text and
rfc822 format available.
Message #17 received at 75837 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
I'll wait on this until we settle the timer discussion.
On Sat, Feb 1, 2025 at 9:22 AM Ship Mints <shipmints <at> gmail.com> wrote:
> I need to go back and double space those sentences. My attempt to automate
> didn't work. Gimme a minute.
>
> On Sat, Feb 1, 2025 at 8:15 AM Ship Mints <shipmints <at> gmail.com> wrote:
>
>> Thank you for the review. Revised patch attached.
>>
>> On Sat, Feb 1, 2025 at 6:06 AM Eli Zaretskii <eliz <at> gnu.org> wrote:
>>
>>> > From: Ship Mints <shipmints <at> gmail.com>
>>> > Date: Sat, 25 Jan 2025 14:26:40 -0500
>>> >
>>> > * lisp/saveplace.el (save-place-autosave-interval):
>>> > Add supporting functions for save-place autosave idle timer.
>>> >
>>> > I have a private implementation of this that I rely on that other
>>> people might find helpful as a builtin.
>>>
>>> Thanks, a few comments below.
>>>
>>> > * lisp/saveplace.el (save-place-autosave-interval):
>>> > Add supporting functions for save-place autosave idle timer.
>>>
>>> This log message is incomplete. Please mention all the changes in all
>>> the functions/variables.
>>>
>>> > +(defcustom save-place-autosave-interval (* 5 60)
>>> > + "The interval between autosaves of buffer places.
>>> > +If set to nil, disables timer-based autosaving.
>>> > +Use `setopt' or Customize commands to set this option."
>>> > + :type '(choice (const :tag "Disabled" nil)
>>> > + (integer :tag "Seconds"))
>>> > + :version "31.1"
>>>
>>> Why should we turn this on by default? I think it should be disabled
>>> by default.
>>>
>>> Finally, this needs a NEWS entry.
>>>
>>
[Message part 2 (text/html, inline)]
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#75837
; Package
emacs
.
(Sat, 01 Feb 2025 15:04:02 GMT)
Full text and
rfc822 format available.
Message #20 received at 75837 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Regular timer and, I hope proper formatting, etc. I've included the bug
number in the commit log.
On Sat, Feb 1, 2025 at 9:25 AM Ship Mints <shipmints <at> gmail.com> wrote:
> I'll wait on this until we settle the timer discussion.
>
> On Sat, Feb 1, 2025 at 9:22 AM Ship Mints <shipmints <at> gmail.com> wrote:
>
>> I need to go back and double space those sentences. My attempt to
>> automate didn't work. Gimme a minute.
>>
>> On Sat, Feb 1, 2025 at 8:15 AM Ship Mints <shipmints <at> gmail.com> wrote:
>>
>>> Thank you for the review. Revised patch attached.
>>>
>>> On Sat, Feb 1, 2025 at 6:06 AM Eli Zaretskii <eliz <at> gnu.org> wrote:
>>>
>>>> > From: Ship Mints <shipmints <at> gmail.com>
>>>> > Date: Sat, 25 Jan 2025 14:26:40 -0500
>>>> >
>>>> > * lisp/saveplace.el (save-place-autosave-interval):
>>>> > Add supporting functions for save-place autosave idle timer.
>>>> >
>>>> > I have a private implementation of this that I rely on that other
>>>> people might find helpful as a builtin.
>>>>
>>>> Thanks, a few comments below.
>>>>
>>>> > * lisp/saveplace.el (save-place-autosave-interval):
>>>> > Add supporting functions for save-place autosave idle timer.
>>>>
>>>> This log message is incomplete. Please mention all the changes in all
>>>> the functions/variables.
>>>>
>>>> > +(defcustom save-place-autosave-interval (* 5 60)
>>>> > + "The interval between autosaves of buffer places.
>>>> > +If set to nil, disables timer-based autosaving.
>>>> > +Use `setopt' or Customize commands to set this option."
>>>> > + :type '(choice (const :tag "Disabled" nil)
>>>> > + (integer :tag "Seconds"))
>>>> > + :version "31.1"
>>>>
>>>> Why should we turn this on by default? I think it should be disabled
>>>> by default.
>>>>
>>>> Finally, this needs a NEWS entry.
>>>>
>>>
[Message part 2 (text/html, inline)]
[0001-Add-auto-save-timer-to-save-place-bug-75837.patch (application/octet-stream, attachment)]
Reply sent
to
Eli Zaretskii <eliz <at> gnu.org>
:
You have taken responsibility.
(Sat, 01 Feb 2025 20:03:01 GMT)
Full text and
rfc822 format available.
Notification sent
to
Ship Mints <shipmints <at> gmail.com>
:
bug acknowledged by developer.
(Sat, 01 Feb 2025 20:03:02 GMT)
Full text and
rfc822 format available.
Message #25 received at 75837-done <at> debbugs.gnu.org (full text, mbox):
> From: Ship Mints <shipmints <at> gmail.com>
> Date: Sat, 1 Feb 2025 10:01:14 -0500
> Cc: 75837 <at> debbugs.gnu.org
>
> Regular timer and, I hope proper formatting, etc. I've included the bug number in the commit log.
Thanks, installed on master, and closing the bug.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sun, 02 Mar 2025 12:24:19 GMT)
Full text and
rfc822 format available.
This bug report was last modified 110 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.