GNU bug report logs - #56291
29.0.50; version-control versus gnus-backup-startup-file

Previous Next

Package: emacs;

Reported by: Mike Kupfer <mkupfer <at> alum.berkeley.edu>

Date: Wed, 29 Jun 2022 01:01:02 UTC

Severity: normal

Tags: moreinfo

Found in version 29.0.50

Fixed in version 29.1

Done: Lars Ingebrigtsen <larsi <at> gnus.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 56291 in the body.
You can then email your comments to 56291 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#56291; Package emacs. (Wed, 29 Jun 2022 01:01:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Mike Kupfer <mkupfer <at> alum.berkeley.edu>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Wed, 29 Jun 2022 01:01:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Mike Kupfer <mkupfer <at> alum.berkeley.edu>
To: bug-gnu-emacs <at> gnu.org
Subject: 29.0.50; version-control versus gnus-backup-startup-file
Date: Tue, 28 Jun 2022 18:00:07 -0700
Awhile back, I wanted to get numbered backup files for my Gnus
.newsrc.eld file, at least for a few days until I figured out why it was
getting trashed occasionally.  It took me quite some time to get it to
work, because I didn't know about gnus-backup-startup-file, and I
misunderstood part of the Info page "Backup Names".  That page says

    You can have Emacs set ‘version-control’ locally whenever you visit
    a given file (*note File Variables::).  Some modes, such as Rmail
    mode, set this variable.

I think that last sentence would be clearer as

    Some packages, such as Rmail, override the global setting of
    ‘version-control’ in this manner.

thanks,
mike




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#56291; Package emacs. (Wed, 29 Jun 2022 10:23:02 GMT) Full text and rfc822 format available.

Message #8 received at 56291 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Mike Kupfer <mkupfer <at> alum.berkeley.edu>
Cc: 56291 <at> debbugs.gnu.org
Subject: Re: bug#56291: 29.0.50; version-control versus
 gnus-backup-startup-file
Date: Wed, 29 Jun 2022 12:22:12 +0200
Mike Kupfer <mkupfer <at> alum.berkeley.edu> writes:

> Awhile back, I wanted to get numbered backup files for my Gnus
> .newsrc.eld file, at least for a few days until I figured out why it was
> getting trashed occasionally.  It took me quite some time to get it to
> work, because I didn't know about gnus-backup-startup-file, and I
> misunderstood part of the Info page "Backup Names".  That page says
>
>     You can have Emacs set ‘version-control’ locally whenever you visit
>     a given file (*note File Variables::).  Some modes, such as Rmail
>     mode, set this variable.
>
> I think that last sentence would be clearer as
>
>     Some packages, such as Rmail, override the global setting of
>     ‘version-control’ in this manner.

I don't think that's correct, though?  rmail-mode doesn't use file
variables, it does:

  (setq-local version-control 'never)

So it doesn't set version-control "in this manner", as far as I can tell?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Added tag(s) moreinfo. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Wed, 29 Jun 2022 10:23:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#56291; Package emacs. (Wed, 29 Jun 2022 14:39:01 GMT) Full text and rfc822 format available.

Message #13 received at 56291 <at> debbugs.gnu.org (full text, mbox):

From: Mike Kupfer <mkupfer <at> alum.berkeley.edu>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 56291 <at> debbugs.gnu.org
Subject: Re: bug#56291: 29.0.50;
 version-control versus gnus-backup-startup-file
Date: Wed, 29 Jun 2022 07:38:28 -0700
Lars Ingebrigtsen wrote:

> Mike Kupfer <mkupfer <at> alum.berkeley.edu> writes:
> >     Some packages, such as Rmail, override the global setting of
> >     ‘version-control’ in this manner.
> 
> I don't think that's correct, though?  rmail-mode doesn't use file
> variables, it does:
> 
>   (setq-local version-control 'never)
> 
> So it doesn't set version-control "in this manner", as far as I can tell?

Fair enough.  How about

    The usual way to set this variable is globally, through your init
    file or the customization buffer.  However, you can set
    ‘version-control’ locally in an individual buffer to control the
    making of backups for that buffer’s file (*note Locals::).  Some
    packages, such as Rmail, override the global setting of
    ‘version-control’ this way.  You can also have Emacs set
    ‘version-control’ locally whenever you visit a given file (*note File
    Variables::).

?

mike




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#56291; Package emacs. (Wed, 29 Jun 2022 14:45:02 GMT) Full text and rfc822 format available.

Message #16 received at 56291 <at> debbugs.gnu.org (full text, mbox):

From: Mike Kupfer <mkupfer <at> alum.berkeley.edu>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 56291 <at> debbugs.gnu.org
Subject: Re: bug#56291: 29.0.50;
 version-control versus gnus-backup-startup-file
Date: Wed, 29 Jun 2022 07:44:44 -0700
Mike Kupfer wrote:

> How about
> 
>     The usual way to set this variable is globally, through your init
>     file or the customization buffer.  However, you can set
>     ‘version-control’ locally in an individual buffer to control the
>     making of backups for that buffer’s file (*note Locals::).  Some
>     packages, such as Rmail, override the global setting of
>     ‘version-control’ this way.  You can also have Emacs set
>     ‘version-control’ locally whenever you visit a given file (*note File
>     Variables::).

Or maybe put the last sentence in a separate paragraph?

mike




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#56291; Package emacs. (Wed, 29 Jun 2022 16:06:01 GMT) Full text and rfc822 format available.

Message #19 received at 56291 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Mike Kupfer <mkupfer <at> alum.berkeley.edu>
Cc: 56291 <at> debbugs.gnu.org, larsi <at> gnus.org
Subject: Re: bug#56291: 29.0.50;
 version-control versus gnus-backup-startup-file
Date: Wed, 29 Jun 2022 19:05:38 +0300
> Cc: 56291 <at> debbugs.gnu.org
> From: Mike Kupfer <mkupfer <at> alum.berkeley.edu>
> Date: Wed, 29 Jun 2022 07:38:28 -0700
> 
> Lars Ingebrigtsen wrote:
> 
> > Mike Kupfer <mkupfer <at> alum.berkeley.edu> writes:
> > >     Some packages, such as Rmail, override the global setting of
> > >     ‘version-control’ in this manner.
> > 
> > I don't think that's correct, though?  rmail-mode doesn't use file
> > variables, it does:
> > 
> >   (setq-local version-control 'never)
> > 
> > So it doesn't set version-control "in this manner", as far as I can tell?
> 
> Fair enough.  How about
> 
>     The usual way to set this variable is globally, through your init
>     file or the customization buffer.  However, you can set
>     ‘version-control’ locally in an individual buffer to control the
>     making of backups for that buffer’s file (*note Locals::).  Some
>     packages, such as Rmail, override the global setting of
>     ‘version-control’ this way.  You can also have Emacs set
>     ‘version-control’ locally whenever you visit a given file (*note File
>     Variables::).
> 
> ?

The point of the example is to illustrate the local setting of the
variable, so talking about packages that set the global value misses
the point, and shouldn't be there.  If Rmail is a bad example, then we
should find a better one, and mention only those.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#56291; Package emacs. (Wed, 29 Jun 2022 16:18:01 GMT) Full text and rfc822 format available.

Message #22 received at 56291 <at> debbugs.gnu.org (full text, mbox):

From: Mike Kupfer <mkupfer <at> alum.berkeley.edu>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 56291 <at> debbugs.gnu.org, larsi <at> gnus.org
Subject: Re: bug#56291: 29.0.50;
 version-control versus gnus-backup-startup-file
Date: Wed, 29 Jun 2022 09:17:35 -0700
Eli Zaretskii wrote:

> > Cc: 56291 <at> debbugs.gnu.org
> > From: Mike Kupfer <mkupfer <at> alum.berkeley.edu>
> > Date: Wed, 29 Jun 2022 07:38:28 -0700
> > 
> > Fair enough.  How about
> > 
> >     The usual way to set this variable is globally, through your init
> >     file or the customization buffer.  However, you can set
> >     ‘version-control’ locally in an individual buffer to control the
> >     making of backups for that buffer’s file (*note Locals::).  Some
> >     packages, such as Rmail, override the global setting of
> >     ‘version-control’ this way.  You can also have Emacs set
> >     ‘version-control’ locally whenever you visit a given file (*note File
> >     Variables::).
> > 
> > ?
> 
> The point of the example is to illustrate the local setting of the
> variable, so talking about packages that set the global value misses
> the point, and shouldn't be there.  If Rmail is a bad example, then we
> should find a better one, and mention only those.

Okay, I guess "override the global setting" is too confusing.  Rmail
only sets it locally.  Does this work better:

    The usual way to set this variable is globally, through your init
    file or the customization buffer.  However, you can set
    ‘version-control’ locally in an individual buffer to control the
    making of backups for that buffer’s file (*note Locals::).  Some
    packages, such as Rmail, do this.  You can also have Emacs set
    ‘version-control’ locally whenever you visit a given file (*note
    File Variables::).

?

mike




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#56291; Package emacs. (Wed, 29 Jun 2022 17:22:01 GMT) Full text and rfc822 format available.

Message #25 received at 56291 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Mike Kupfer <mkupfer <at> alum.berkeley.edu>
Cc: 56291 <at> debbugs.gnu.org, larsi <at> gnus.org
Subject: Re: bug#56291: 29.0.50;
 version-control versus gnus-backup-startup-file
Date: Wed, 29 Jun 2022 20:21:56 +0300
> From: Mike Kupfer <mkupfer <at> alum.berkeley.edu>
> cc: larsi <at> gnus.org, 56291 <at> debbugs.gnu.org
> Date: Wed, 29 Jun 2022 09:17:35 -0700
> 
>     The usual way to set this variable is globally, through your init
>     file or the customization buffer.  However, you can set
>     ‘version-control’ locally in an individual buffer to control the
>     making of backups for that buffer’s file (*note Locals::).  Some
>     packages, such as Rmail, do this.  You can also have Emacs set
>     ‘version-control’ locally whenever you visit a given file (*note
>     File Variables::).

SGTM, thanks.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#56291; Package emacs. (Thu, 30 Jun 2022 09:22:01 GMT) Full text and rfc822 format available.

Message #28 received at 56291 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 56291 <at> debbugs.gnu.org, Mike Kupfer <mkupfer <at> alum.berkeley.edu>
Subject: Re: bug#56291: 29.0.50; version-control versus
 gnus-backup-startup-file
Date: Thu, 30 Jun 2022 11:21:24 +0200
Eli Zaretskii <eliz <at> gnu.org> writes:

>>     The usual way to set this variable is globally, through your init
>>     file or the customization buffer.  However, you can set
>>     ‘version-control’ locally in an individual buffer to control the
>>     making of backups for that buffer’s file (*note Locals::).  Some
>>     packages, such as Rmail, do this.  You can also have Emacs set
>>     ‘version-control’ locally whenever you visit a given file (*note
>>     File Variables::).
>
> SGTM, thanks.

Now pushed to Emacs 29.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




bug marked as fixed in version 29.1, send any further explanations to 56291 <at> debbugs.gnu.org and Mike Kupfer <mkupfer <at> alum.berkeley.edu> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Thu, 30 Jun 2022 09:22:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 28 Jul 2022 11:24:11 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 20 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.