On Sat, Mar 22, 2025 at 7:17 AM Eli Zaretskii wrote: > > From: Ship Mints > > Date: Sat, 22 Mar 2025 07:04:08 -0400 > > Cc: 77157@debbugs.gnu.org > > > > We usually use the following style for such variables: > > > > Setting this variable directly will not usually take effect; > > use either \\[customize] or `setopt', or call `uniquify--set-option' > > or restart `uniquify-mode' after setting the variable directly. > > > > I'll adapt this language. Uniquify isn't implemented as a mode. It's > a rename buffer hook in buffer.c > > and depends on 'uniquify-buffer-name-style' to have a defined style. > > > > Even the function 'uniquify-unload-function' doesn't attempt to remove > the hook (it probably should set > > 'uniquify-buffer-name-style' to nil as part of its business). It's not > even clear if unload ever gets called > > by anyone. Perhaps a candidate to obsolete. > > > > The following seems more precise. Okay with you? > > > > Setting this variable directly will not usually take effect; use either > > \\[customize] or `setopt', or call `uniquify--set-option'; otherwise > > reload your buffers, or restart Emacs. > > Yes, but I'd omit the "restart Emacs" alternative, as too far-fetched > (we are talking about the ways to make the change take effect in the > same session). > > Thanks. > Revised patch attached. It's my pleasure.