GNU bug report logs - #62991
30.0.50; normal-backup-enable-predicate does not consider /dev/shm

Previous Next

Package: emacs;

Reported by: Vasilij Schneidermann <mail <at> vasilij.de>

Date: Fri, 21 Apr 2023 10:50:02 UTC

Severity: normal

Found in version 30.0.50

Full log


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

From: Vasilij Schneidermann <mail <at> vasilij.de>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 62991 <at> debbugs.gnu.org
Subject: Re: bug#62991: 30.0.50; normal-backup-enable-predicate does not
 consider /dev/shm
Date: Fri, 21 Apr 2023 14:10:18 +0200
[Message part 1 (text/plain, inline)]
> We could indeed teach normal-backup-enable-predicate about /dev/shm on
> systems where that is appropriate, but I'm curious why you say this is
> not customizable: normal-backup-enable-predicate is called via a
> variable, backup-enable-predicate, so you could customize that by
> writing your own predicate function, and assigning
> backup-enable-predicate to that function.  Or what am I missing?

It's a defvar, not a defcustom. The code doesn't seem to have been
touched in a while, so I assume setting that variable is safe, but if
it's intended to be used that way, a defcustom would communicate that
option clearly.

I think a list of additional directories to search would be a better
candidate for a defcustom though.
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 2 years and 57 days ago.

Previous Next


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