Subject: bug#57321: 29.0.50; doc string and customization form for variable auto-save-file-name-transforms suboptimal

From: Lars Ingebrigtsen <[email-masked]>
Date: Mon, 22 Aug 2022 01:36:26 +0200

Gregor Zattler <[email-masked]> writes:

> (customize-variable 'auto-save-file-name-transforms)
>
> shows the customization form for this variable accompanied
> by a doc string.
>
> According to the doc string the argument UNIQUIFY may have
> on of more than two values but the form only gives access to
> a toggle switch.

I'm unable to reproduce this -- with "emacs -Q" in Emacs 29, I get:

> The documentation for UNIQUIFY, does not state clearly what
> happens if UNIQUIFY is nil and what the perils are.

Well, it doesn't make the names unique, so you could overwrite
a different autosave file, but does that need to be said?

> Where the doc now says "is non-nil" it probably should say
> "is t" instead.

No, all non-nil values (except the ones in secure-hash-algorithms) work
fine.