all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Vasilij Schneidermann <mail@vasilij.de>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 62991@debbugs.gnu.org
Subject: bug#62991: 30.0.50; normal-backup-enable-predicate does not consider /dev/shm
Date: Fri, 21 Apr 2023 14:10:18 +0200	[thread overview]
Message-ID: <ZEJ9Kpi0PhFXG44E@odonien> (raw)
In-Reply-To: <83cz3x4ffh.fsf@gnu.org>

[-- Attachment #1: Type: text/plain, Size: 729 bytes --]

> 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.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

      reply	other threads:[~2023-04-21 12:10 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-21 10:49 bug#62991: 30.0.50; normal-backup-enable-predicate does not consider /dev/shm Vasilij Schneidermann
2023-04-21 11:56 ` Eli Zaretskii
2023-04-21 12:10   ` Vasilij Schneidermann [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ZEJ9Kpi0PhFXG44E@odonien \
    --to=mail@vasilij.de \
    --cc=62991@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.