GNU bug report logs - #77157
[PATCH] 'uniquify' user option setters and automatic buffer refresh

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Ship Mints <shipmints@HIDDEN>; Keywords: patch; Done: Eli Zaretskii <eliz@HIDDEN>; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 77157-done <at> debbugs.gnu.org:


Received: (at 77157-done) by debbugs.gnu.org; 29 Mar 2025 12:08:17 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Mar 29 08:08:17 2025
Received: from localhost ([127.0.0.1]:57385 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tyUz3-0007fa-5P
	for submit <at> debbugs.gnu.org; Sat, 29 Mar 2025 08:08:17 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:59784)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1tyUyR-0007dv-GS
 for 77157-done <at> debbugs.gnu.org; Sat, 29 Mar 2025 08:07:39 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1tyUyM-0000g4-72; Sat, 29 Mar 2025 08:07:34 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From:
 Date; bh=/KvHfBzfVQf4KD48efIaed1bUa/hpC46SpkC1NuPn34=; b=Hw4rew5a/6Yurh1vVinx
 vI7pV9OjiF0ieAX1LkxPPAm2XCXqWNhy4WXtsQX1ZatWmxD/QLGhOgo5/S3G+TLx08NGARIfOnGck
 3eQPtY7PyDurc/2gc9ZnHhxsN5BxFRIofjiCVONViRRQAWoUEpZJpyPY1Cpy9RS8gktMe5dDkcC52
 AwUWgKcD5/sFPGy3Wv6K0nty5leTmCKoqhDHav/VkqcwsvIQmNLFhcW3Azq2gjgKp4HAjZAivr/5+
 Fw8lD6ago8UrgmMEr+x8h1qXURJ6hB3YYG3HeVDC6mhXGEnMVmBqjkD7FMmTmXICyYqbuxskr12b5
 mS9spWW7A5y6Mg==;
Date: Sat, 29 Mar 2025 15:07:31 +0300
Message-Id: <86ikns6nwc.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Ship Mints <shipmints@HIDDEN>
In-Reply-To: <CAN+1HbrQo-OQR6BMHXnHtzsLcMsNqrxB-x-qAy5EwL-sMxTeAg@HIDDEN>
 (message from Ship Mints on Sat, 22 Mar 2025 08:09:18 -0400)
Subject: Re: bug#77157: [PATCH] 'uniquify' user option setters and automatic
 buffer refresh
References: <CAN+1HboXKhaeEPMQGgfVL4herydwuUYm+PPmgsceooCxNJHJYA@HIDDEN>
 <864izmkvrx.fsf@HIDDEN>
 <CAN+1HbqrhL87uDsSx-hyd=H5zxT4VAu67jcZmxU7Dc5hsZJMDQ@HIDDEN>
 <861puplfst.fsf@HIDDEN>
 <CAN+1Hbq7gz_xhrEFK3gbcZ-928vZ-qH2MNMNxLphkOw0eFZOpA@HIDDEN>
 <CAN+1HbrABdQ1JvGj29izNWrU7mjrzd9MzacZVioXqjd_SV9xiQ@HIDDEN>
 <86h63ljowh.fsf@HIDDEN>
 <CAN+1Hbq_RN=AEiMevT4JCpANWr8-B1YvFo==zOw=ypZjNr_otQ@HIDDEN>
 <CAN+1HbrQo-OQR6BMHXnHtzsLcMsNqrxB-x-qAy5EwL-sMxTeAg@HIDDEN>
MIME-version: 1.0
Content-type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 77157-done
Cc: 77157-done <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Ship Mints <shipmints@HIDDEN>
> Date: Sat, 22 Mar 2025 08:09:18 -0400
> Cc: 77157 <at> debbugs.gnu.org
> 
> On Sat, Mar 22, 2025 at 7:40 AM Ship Mints <shipmints@HIDDEN> wrote:
> 
>  On Sat, Mar 22, 2025 at 7:17 AM Eli Zaretskii <eliz@HIDDEN> wrote:
> 
>  > From: Ship Mints <shipmints@HIDDEN>
>  > Date: Sat, 22 Mar 2025 07:04:08 -0400
>  > Cc: 77157 <at> 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.
> 
> With bug# added to commit log...

Thanks, installed on the master branch, and closing the bug.




Notification sent to Ship Mints <shipmints@HIDDEN>:
bug acknowledged by developer. Full text available.
Reply sent to Eli Zaretskii <eliz@HIDDEN>:
You have taken responsibility. Full text available.

Message received at 77157 <at> debbugs.gnu.org:


Received: (at 77157) by debbugs.gnu.org; 22 Mar 2025 12:09:37 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Mar 22 08:09:37 2025
Received: from localhost ([127.0.0.1]:41342 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tvxfU-0001dN-Jf
	for submit <at> debbugs.gnu.org; Sat, 22 Mar 2025 08:09:37 -0400
Received: from mail-vk1-xa29.google.com ([2607:f8b0:4864:20::a29]:47560)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.84_2) (envelope-from <shipmints@HIDDEN>)
 id 1tvxfS-0001d5-Q4
 for 77157 <at> debbugs.gnu.org; Sat, 22 Mar 2025 08:09:35 -0400
Received: by mail-vk1-xa29.google.com with SMTP id
 71dfb90a1353d-51eb1a714bfso3073484e0c.3
 for <77157 <at> debbugs.gnu.org>; Sat, 22 Mar 2025 05:09:34 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1742645369; x=1743250169; darn=debbugs.gnu.org;
 h=cc:to:subject:message-id:date:from:in-reply-to:references
 :mime-version:from:to:cc:subject:date:message-id:reply-to;
 bh=EKeo2LdvXkOtecEy4iZMvImDyUWr7xgLaj+CJMrFSfc=;
 b=T6PkkrqKa2KU53QU+BvHQc9u3mN1EDN+lh6qay/6Y1g22QrCpzFTJ49qFtdXvK6vx+
 WgYStdBzRMm4Y6EyXBXqsHXfgqRPjCjJcZfR0mMvd9wQyShDsyLfPFaju4ELYn87pFgf
 VTEGkNouapssJxz8TTgjigAe/Cj1HDOZg17YUCKcoKIsrDlcaNNIZ9xkcT396P9X03pp
 VXn+T7OyUlPsK7Tarji9z0czA0qiGDBBR/efAtkHgARtuB1TBsMX/aZWLYAZall/5Zh4
 FzMDZ7FiE0y6+zj3wspIsEzZZvmLhGfuMgKCvEXuT/Krsl69ynkQHYY6VNIx8kZ0SY+/
 AZzg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1742645369; x=1743250169;
 h=cc:to:subject:message-id:date:from:in-reply-to:references
 :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id
 :reply-to;
 bh=EKeo2LdvXkOtecEy4iZMvImDyUWr7xgLaj+CJMrFSfc=;
 b=VixnbVuxYXPWi/C+0LjCrrs0l+M/oSP2qaMi/KNP09OCyGBURHXlDa7p1WRmJnJ/j6
 9/WQQU0QjxpdQft7liNGvpnWwr+EdAT+DsRQCanuOKQT/oXm6Z0/vrlsQgCVAEmnDpfD
 tIpq32gDJP5tsP/GV2tImQ2iW88Qj3W4KYAvFUFK7YFmzJG7vMT9Jz/WakZ/rA9yYJx4
 n9lKwlFb7sbxZcSkyCGwE+F5iHX0GyTNOW5dn+GacPZHI5gixZE9yPptKNp6/akcEa6R
 YKoQlqMz+r6USOipUcVks1AqtbsYoUfZU2p4a4aqYV/QvywZTUvJLpwkZwR5VJr5yVsy
 OTqA==
X-Gm-Message-State: AOJu0YxjALj/I3vQhGPHz4Q+dOQfQiS0SJBB4hhfi/GQ5kdqQiXDmP2v
 Rg+j9YAfPanjSrNfp/CHbYWMGdv6og+dF+QQlQF5g/6qBR9vKxmIunyqpoF/AgloOfjK9PgMqlN
 sbV+s48842k4olxPhDUcFk183Xaakzs5w
X-Gm-Gg: ASbGnctZkCFW3QJLdAWL2rRsxE0Fx2D6TA5i+SZCkqn0Prq8kzKe67HE5P2rJqWqUSL
 AVVpMKnQSz5GCyiuF2Gq7hz9XItm3JYZOGfATd4DP3L6S5rkKqz3HU3Ktcw8+W+YGHcBeNNnKkc
 XBkE3aeBnrjI/L7S5cGbXTT8qeXA==
X-Google-Smtp-Source: AGHT+IEAcxu9VO8ZQJkRulhcsoQhPpK0322WKVV3l0X6vchbA2YkaUQFufxNeQBcLmdCFmIHEMvQCy35IN9Ug2a4Ys8=
X-Received: by 2002:a05:6122:d18:b0:520:62ce:98ed with SMTP id
 71dfb90a1353d-525a84c4815mr5890147e0c.6.1742645369096; Sat, 22 Mar 2025
 05:09:29 -0700 (PDT)
MIME-Version: 1.0
References: <CAN+1HboXKhaeEPMQGgfVL4herydwuUYm+PPmgsceooCxNJHJYA@HIDDEN>
 <864izmkvrx.fsf@HIDDEN>
 <CAN+1HbqrhL87uDsSx-hyd=H5zxT4VAu67jcZmxU7Dc5hsZJMDQ@HIDDEN>
 <861puplfst.fsf@HIDDEN>
 <CAN+1Hbq7gz_xhrEFK3gbcZ-928vZ-qH2MNMNxLphkOw0eFZOpA@HIDDEN>
 <CAN+1HbrABdQ1JvGj29izNWrU7mjrzd9MzacZVioXqjd_SV9xiQ@HIDDEN>
 <86h63ljowh.fsf@HIDDEN>
 <CAN+1Hbq_RN=AEiMevT4JCpANWr8-B1YvFo==zOw=ypZjNr_otQ@HIDDEN>
In-Reply-To: <CAN+1Hbq_RN=AEiMevT4JCpANWr8-B1YvFo==zOw=ypZjNr_otQ@HIDDEN>
From: Ship Mints <shipmints@HIDDEN>
Date: Sat, 22 Mar 2025 08:09:18 -0400
X-Gm-Features: AQ5f1Jop6hxrqjMLIrDRtMD0zJ_Qijz-UErIUEnLM6KVKkRPCUTIbvyyWspWVo0
Message-ID: <CAN+1HbrQo-OQR6BMHXnHtzsLcMsNqrxB-x-qAy5EwL-sMxTeAg@HIDDEN>
Subject: Re: bug#77157: [PATCH] 'uniquify' user option setters and automatic
 buffer refresh
To: Eli Zaretskii <eliz@HIDDEN>
Content-Type: multipart/mixed; boundary="00000000000031f0440630ed3efa"
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 77157
Cc: 77157 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

--00000000000031f0440630ed3efa
Content-Type: multipart/alternative; boundary="00000000000031f0430630ed3ef8"

--00000000000031f0430630ed3ef8
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

On Sat, Mar 22, 2025 at 7:40=E2=80=AFAM Ship Mints <shipmints@HIDDEN> wr=
ote:

> On Sat, Mar 22, 2025 at 7:17=E2=80=AFAM Eli Zaretskii <eliz@HIDDEN> wrot=
e:
>
>> > From: Ship Mints <shipmints@HIDDEN>
>> > Date: Sat, 22 Mar 2025 07:04:08 -0400
>> > Cc: 77157 <at> 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 remov=
e
>> 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 eithe=
r
>> > \\[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.
>

With bug# added to commit log...

--00000000000031f0430630ed3ef8
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div dir=3D"ltr"><div class=3D"gmail_default" style=3D"fon=
t-family:monospace"><span style=3D"font-family:Arial,Helvetica,sans-serif">=
On Sat, Mar 22, 2025 at 7:40=E2=80=AFAM Ship Mints &lt;<a href=3D"mailto:sh=
ipmints@HIDDEN">shipmints@HIDDEN</a>&gt; wrote:</span></div></div><di=
v class=3D"gmail_quote gmail_quote_container"><blockquote class=3D"gmail_qu=
ote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,20=
4);padding-left:1ex"><div dir=3D"ltr"><div dir=3D"ltr"><div style=3D"font-f=
amily:monospace"><span style=3D"font-family:Arial,Helvetica,sans-serif">On =
Sat, Mar 22, 2025 at 7:17=E2=80=AFAM Eli Zaretskii &lt;<a href=3D"mailto:el=
iz@HIDDEN" target=3D"_blank">eliz@HIDDEN</a>&gt; wrote:</span></div></div=
><div class=3D"gmail_quote"><blockquote class=3D"gmail_quote" style=3D"marg=
in:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1e=
x">&gt; From: Ship Mints &lt;<a href=3D"mailto:shipmints@HIDDEN" target=
=3D"_blank">shipmints@HIDDEN</a>&gt;<br>
&gt; Date: Sat, 22 Mar 2025 07:04:08 -0400<br>
&gt; Cc: <a href=3D"mailto:77157 <at> debbugs.gnu.org" target=3D"_blank">77157@d=
ebbugs.gnu.org</a><br>
&gt; <br>
&gt;=C2=A0 We usually use the following style for such variables:<br>
&gt; <br>
&gt;=C2=A0 =C2=A0 Setting this variable directly will not usually take effe=
ct;<br>
&gt;=C2=A0 =C2=A0 use either \\[customize] or `setopt&#39;, or call `uniqui=
fy--set-option&#39;<br>
&gt;=C2=A0 =C2=A0 or restart `uniquify-mode&#39; after setting the variable=
 directly.<br>
&gt; <br>
&gt;=C2=A0 I&#39;ll adapt this language.=C2=A0 Uniquify isn&#39;t implement=
ed as a mode.=C2=A0 It&#39;s a rename buffer hook in buffer.c<br>
&gt;=C2=A0 and depends on &#39;uniquify-buffer-name-style&#39; to have a de=
fined style.<br>
&gt; <br>
&gt;=C2=A0 Even the function &#39;uniquify-unload-function&#39; doesn&#39;t=
 attempt to remove the hook (it probably should set<br>
&gt;=C2=A0 &#39;uniquify-buffer-name-style&#39; to nil as part of its busin=
ess).=C2=A0 It&#39;s not even clear if unload ever gets called<br>
&gt;=C2=A0 by anyone.=C2=A0 Perhaps a candidate to obsolete.<br>
&gt; <br>
&gt; The following seems more precise.=C2=A0 Okay with you?<br>
&gt; <br>
&gt; Setting this variable directly will not usually take effect; use eithe=
r<br>
&gt; \\[customize] or `setopt&#39;, or call `uniquify--set-option&#39;; oth=
erwise<br>
&gt; reload your buffers, or restart Emacs.<br>
<br>
Yes, but I&#39;d omit the &quot;restart Emacs&quot; alternative, as too far=
-fetched<br>
(we are talking about the ways to make the change take effect in the<br>
same session).<br>
<br>
Thanks.<br></blockquote><div><br></div><div style=3D"font-family:monospace"=
>Revised patch attached.=C2=A0 It&#39;s my pleasure.</div></div></div></blo=
ckquote><div><br></div><div class=3D"gmail_default" style=3D"font-family:mo=
nospace">With bug# added to commit log...</div></div></div>

--00000000000031f0430630ed3ef8--

--00000000000031f0440630ed3efa
Content-Type: application/octet-stream; 
	name="0001-uniquify-user-option-setters-and-automatic-buffer-re.patch"
Content-Disposition: attachment; 
	filename="0001-uniquify-user-option-setters-and-automatic-buffer-re.patch"
Content-Transfer-Encoding: base64
Content-ID: <f_m8k61u9n0>
X-Attachment-Id: f_m8k61u9n0

RnJvbSAwN2M2N2UyNGMxYjNlZDhkMjIyMGNmZDViNWMzZWQzYjBkZjQ4NzM1IE1vbiBTZXAgMTcg
MDA6MDA6MDAgMjAwMQpGcm9tOiBzaGlwbWludHMgPHNoaXBtaW50c0BnbWFpbC5jb20+CkRhdGU6
IEZyaSwgMjEgTWFyIDIwMjUgMTM6NTk6MDMgLTA0MDAKU3ViamVjdDogW1BBVENIXSAndW5pcXVp
ZnknIHVzZXIgb3B0aW9uIHNldHRlcnMgYW5kIGF1dG9tYXRpYyBidWZmZXIgcmVmcmVzaAogKGJ1
ZyM3NzE1NykKClVzZSAnY3VzdG9taXplJywgJ3NldG9wdCcsIG9yICd1bmlxdWlmeS0tc2V0LW9w
dGlvbicgaW5zdGVhZCBvZgonc2V0cScgdG8gYmVuZWZpdC4KCiogbGlzcC91bmlxdWlmeS5lbCAo
dW5pcXVpZnktLWJ1ZmZlci1yZWZyZXNoKTogTmV3IGZ1bmN0aW9uLgoodW5pcXVpZnktLXNldC1v
cHRpb24pOiBOZXcgZnVuY3Rpb24uCih1bmlxdWlmeS1idWZmZXItbmFtZS1zdHlsZSk6IEFkZCA6
aW5pdGlhbGl6ZSBhbmQgOnNldCBmb3Jtcy4KKHVuaXF1aWZ5LWlnbm9yZS1idWZmZXJzLXJlKTog
QWRkIDppbml0aWFsaXplIGFuZCA6c2V0IGZvcm1zLgoodW5pcXVpZnktbWluLWR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7IHVzZSBlaXRoZXIKK1xcW2N1c3RvbWl6ZV0gb3IgYHNldG9wdCcsIG9yIGNhbGwg
YHVuaXF1aWZ5LS1zZXQtb3B0aW9uJzsgb3RoZXJ3aXNlCityZWxvYWQgeW91ciBidWZmZXJzLiIK
ICAgOnR5cGUgYChjaG9pY2UgKGZ1bmN0aW9uLWl0ZW0gOnRhZyAiVXNlIGRpcmVjdG9yeSBuYW1l
IGFzLWlzIiBpZGVudGl0eSkKICAgICAgICAgICAgICAgICAgKGZ1bmN0aW9uLWl0ZW0gOnRhZyAi
SW5jbHVkZSBwcm9qZWN0IG5hbWUgaW4gZGlyZWN0b3J5IG5hbWUiCiAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICwjJ3Byb2plY3QtdW5pcXVpZnktZGlybmFtZS10cmFuc2Zvcm0pCiAg
ICAgICAgICAgICAgICAgIGZ1bmN0aW9uKQorICA6aW5pdGlhbGl6ZSAjJ2N1c3RvbS1pbml0aWFs
aXplLWRlZmF1bHQKKyAgOnNldCAjJ3VuaXF1aWZ5LS1zZXQtb3B0aW9uCiAgIDp2ZXJzaW9uICIz
MC4xIgogICA6Z3JvdXAgJ3VuaXF1aWZ5KQogCi0tIAoyLjQ3LjEKCg==
--00000000000031f0440630ed3efa--




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#77157; Package emacs. Full text available.

Message received at 77157 <at> debbugs.gnu.org:


Received: (at 77157) by debbugs.gnu.org; 22 Mar 2025 11:41:03 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Mar 22 07:41:03 2025
Received: from localhost ([127.0.0.1]:41241 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tvxDq-0002kl-Jc
	for submit <at> debbugs.gnu.org; Sat, 22 Mar 2025 07:41:03 -0400
Received: from mail-vk1-xa2e.google.com ([2607:f8b0:4864:20::a2e]:48493)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.84_2) (envelope-from <shipmints@HIDDEN>)
 id 1tvxDo-0002kG-D7
 for 77157 <at> debbugs.gnu.org; Sat, 22 Mar 2025 07:41:00 -0400
Received: by mail-vk1-xa2e.google.com with SMTP id
 71dfb90a1353d-523dc190f95so1569560e0c.1
 for <77157 <at> debbugs.gnu.org>; Sat, 22 Mar 2025 04:41:00 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1742643655; x=1743248455; darn=debbugs.gnu.org;
 h=cc:to:subject:message-id:date:from:in-reply-to:references
 :mime-version:from:to:cc:subject:date:message-id:reply-to;
 bh=FfeczPy+R3aG1g1+20IXeyCdhXM4xnoNNs/AJL9fCdY=;
 b=b2FQr52B3xXY8RAvDqC1ZBe/7Vv3a2pqfSesH6AUoZ72Xurc0KYZ1fC6FXgYPQ0NTe
 TJrYYfA2vfP8KqmPLGp3qsRRtAQvCCLcD66wEgW9aDPurG7BX0FNfMFgaUZXSVWsC20L
 LeAdZ65fdH2vU/C/aU7ZG6c7h1F1ILcte3Yqp9olcwl1d66PKz5JxvfsNC5JjZj7WsK7
 iPWs2+SLrPMUEyX4Cgb+xhALOD6Z/Tn9BrVNyKHUAJZEaWqjhOo+EpUM3B7/wukcOUQa
 8l82GNB8SueZwKAgocb4MchF+bv8KePnTNqeQ6nrWL9qpGyzR3eeRZB5Njsq2X/xLHG1
 PC/A==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1742643655; x=1743248455;
 h=cc:to:subject:message-id:date:from:in-reply-to:references
 :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id
 :reply-to;
 bh=FfeczPy+R3aG1g1+20IXeyCdhXM4xnoNNs/AJL9fCdY=;
 b=we0M/r6EuJ3Nj3c+vKslqHR+MGO8c6krkpeuiQB7CoHGG2G393DqC9a22VM8oJNfVk
 etL+jofNPy3oP8HR+xWcAFUQt1S70P4PwAYPsJobv4K0mo/iU9NNoTivosPRKBEqxTUS
 DIy7Xgu/+uHpx4NHoiLxO47L3odhLGQ/ebxpB8KEcZiUz0qa1Eh+fR4wps1EwcVjbwBD
 i3H3QNBLICPFzwlAlD8Mtrbs+Q5/aOgpNj1OG+Yt9Kkl6CWDany9W8o9/kXyfxxhBl7v
 BOmOSObZKoo46LihVxWaZmXbDGQ8mkAilcuMQ29Iwjq0wUDE6oH4KOcltJBcKZSq4J9p
 3n7Q==
X-Gm-Message-State: AOJu0Yz+uiMCiHHe853Dk8hMWioYo8+WtQ+ObGmAyqcDpkvL8Z+EH1D5
 IPskoUxKAOyMKrEqEkDkOowcCZ+BgIw6pVxCzwbNjWzPzHZyRAySfdqDXgTC9NMv+F4p4fp0Vd8
 65uEbj8+8Q3uvR3v4LsxBaBGiY9I=
X-Gm-Gg: ASbGncs8b1hY04xYrVGIpGdBp0WMkiOhOnHqQbefrNbr79yf93VEjr4hnCNsxzBUhwb
 +PNYpuub1ZcHghIx/Y46gdiFWv2Wfr2dbUm5JvmjUJdKDxscWL4IyuEKAiKk8YMfEUhT6agouJh
 Emvh/yJzaz5VPZ9HM0Q2Gjj8n5Tw==
X-Google-Smtp-Source: AGHT+IHUySptZR8dDydaTApuNxjB0uxfm4RNsxZPBGwdCpHYV+ZC5gUqILjeCzzx81VPgfPML+07Rip3RvUwdd5GxHw=
X-Received: by 2002:a05:6102:950:b0:4b2:adfb:4f91 with SMTP id
 ada2fe7eead31-4c50d62bd9cmr4710863137.21.1742643654624; Sat, 22 Mar 2025
 04:40:54 -0700 (PDT)
MIME-Version: 1.0
References: <CAN+1HboXKhaeEPMQGgfVL4herydwuUYm+PPmgsceooCxNJHJYA@HIDDEN>
 <864izmkvrx.fsf@HIDDEN>
 <CAN+1HbqrhL87uDsSx-hyd=H5zxT4VAu67jcZmxU7Dc5hsZJMDQ@HIDDEN>
 <861puplfst.fsf@HIDDEN>
 <CAN+1Hbq7gz_xhrEFK3gbcZ-928vZ-qH2MNMNxLphkOw0eFZOpA@HIDDEN>
 <CAN+1HbrABdQ1JvGj29izNWrU7mjrzd9MzacZVioXqjd_SV9xiQ@HIDDEN>
 <86h63ljowh.fsf@HIDDEN>
In-Reply-To: <86h63ljowh.fsf@HIDDEN>
From: Ship Mints <shipmints@HIDDEN>
Date: Sat, 22 Mar 2025 07:40:43 -0400
X-Gm-Features: AQ5f1Jqp89-CMcyh9Pi68J-gyiqEQwWUJiia7P7Xne8BsRa6ApPLJp1u85mJcYA
Message-ID: <CAN+1Hbq_RN=AEiMevT4JCpANWr8-B1YvFo==zOw=ypZjNr_otQ@HIDDEN>
Subject: Re: bug#77157: [PATCH] 'uniquify' user option setters and automatic
 buffer refresh
To: Eli Zaretskii <eliz@HIDDEN>
Content-Type: multipart/mixed; boundary="0000000000000125060630ecd81c"
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 77157
Cc: 77157 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

--0000000000000125060630ecd81c
Content-Type: multipart/alternative; boundary="0000000000000125050630ecd81a"

--0000000000000125050630ecd81a
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

On Sat, Mar 22, 2025 at 7:17=E2=80=AFAM Eli Zaretskii <eliz@HIDDEN> wrote:

> > From: Ship Mints <shipmints@HIDDEN>
> > Date: Sat, 22 Mar 2025 07:04:08 -0400
> > Cc: 77157 <at> 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 no=
t
> 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.

--0000000000000125050630ecd81a
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div dir=3D"ltr"><div class=3D"gmail_default" style=3D"fon=
t-family:monospace"><span style=3D"font-family:Arial,Helvetica,sans-serif">=
On Sat, Mar 22, 2025 at 7:17=E2=80=AFAM Eli Zaretskii &lt;<a href=3D"mailto=
:eliz@HIDDEN">eliz@HIDDEN</a>&gt; wrote:</span></div></div><div class=3D"=
gmail_quote gmail_quote_container"><blockquote class=3D"gmail_quote" style=
=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding=
-left:1ex">&gt; From: Ship Mints &lt;<a href=3D"mailto:shipmints@HIDDEN"=
 target=3D"_blank">shipmints@HIDDEN</a>&gt;<br>
&gt; Date: Sat, 22 Mar 2025 07:04:08 -0400<br>
&gt; Cc: <a href=3D"mailto:77157 <at> debbugs.gnu.org" target=3D"_blank">77157@d=
ebbugs.gnu.org</a><br>
&gt; <br>
&gt;=C2=A0 We usually use the following style for such variables:<br>
&gt; <br>
&gt;=C2=A0 =C2=A0 Setting this variable directly will not usually take effe=
ct;<br>
&gt;=C2=A0 =C2=A0 use either \\[customize] or `setopt&#39;, or call `uniqui=
fy--set-option&#39;<br>
&gt;=C2=A0 =C2=A0 or restart `uniquify-mode&#39; after setting the variable=
 directly.<br>
&gt; <br>
&gt;=C2=A0 I&#39;ll adapt this language.=C2=A0 Uniquify isn&#39;t implement=
ed as a mode.=C2=A0 It&#39;s a rename buffer hook in buffer.c<br>
&gt;=C2=A0 and depends on &#39;uniquify-buffer-name-style&#39; to have a de=
fined style.<br>
&gt; <br>
&gt;=C2=A0 Even the function &#39;uniquify-unload-function&#39; doesn&#39;t=
 attempt to remove the hook (it probably should set<br>
&gt;=C2=A0 &#39;uniquify-buffer-name-style&#39; to nil as part of its busin=
ess).=C2=A0 It&#39;s not even clear if unload ever gets called<br>
&gt;=C2=A0 by anyone.=C2=A0 Perhaps a candidate to obsolete.<br>
&gt; <br>
&gt; The following seems more precise.=C2=A0 Okay with you?<br>
&gt; <br>
&gt; Setting this variable directly will not usually take effect; use eithe=
r<br>
&gt; \\[customize] or `setopt&#39;, or call `uniquify--set-option&#39;; oth=
erwise<br>
&gt; reload your buffers, or restart Emacs.<br>
<br>
Yes, but I&#39;d omit the &quot;restart Emacs&quot; alternative, as too far=
-fetched<br>
(we are talking about the ways to make the change take effect in the<br>
same session).<br>
<br>
Thanks.<br></blockquote><div><br></div><div class=3D"gmail_default" style=
=3D"font-family:monospace">Revised patch attached.=C2=A0 It&#39;s my pleasu=
re.</div></div></div>

--0000000000000125050630ecd81a--

--0000000000000125060630ecd81c
Content-Type: application/octet-stream; 
	name="0001-uniquify-user-option-setters-and-automatic-buffer-re.patch"
Content-Disposition: attachment; 
	filename="0001-uniquify-user-option-setters-and-automatic-buffer-re.patch"
Content-Transfer-Encoding: base64
Content-ID: <f_m8k50b500>
X-Attachment-Id: f_m8k50b500

RnJvbSBhMzVjNGUxY2Q3OTI5YmIzNmYzNmVlN2QwMjhjZTA5ZDg1M2FhNjMxIE1vbiBTZXAgMTcg
MDA6MDA6MDAgMjAwMQpGcm9tOiBzaGlwbWludHMgPHNoaXBtaW50c0BnbWFpbC5jb20+CkRhdGU6
IEZyaSwgMjEgTWFyIDIwMjUgMTM6NTk6MDMgLTA0MDAKU3ViamVjdDogW1BBVENIXSAndW5pcXVp
ZnknIHVzZXIgb3B0aW9uIHNldHRlcnMgYW5kIGF1dG9tYXRpYyBidWZmZXIgcmVmcmVzaAoKVXNl
ICdjdXN0b21pemUnLCAnc2V0b3B0Jywgb3IgJ3VuaXF1aWZ5LS1zZXQtb3B0aW9uJyBpbnN0ZWFk
IG9mCidzZXRxJyB0byBiZW5lZml0LgoKKiBsaXNwL3VuaXF1aWZ5LmVsICh1bmlxdWlmeS0tYnVm
ZmVyLXJlZnJlc2gpOiBOZXcgZnVuY3Rpb24uCih1bmlxdWlmeS0tc2V0LW9wdGlvbik6IE5ldyBm
dW5jdGlvbi4KKHVuaXF1aWZ5LWJ1ZmZlci1uYW1lLXN0eWxlKTogQWRkIDppbml0aWFsaXplIGFu
ZCA6c2V0IGZvcm1zLgoodW5pcXVpZnktaWdub3JlLWJ1ZmZlcnMtcmUpOiBBZGQgOmluaXRpYWxp
emUgYW5kIDpzZXQgZm9ybXMuCih1bmlxdWlmeS1taW4tZGlyLWNvbnRlbnQpOiBBZGQgOmluaXRp
YWxpemUgYW5kIDpzZXQgZm9ybXMuCih1bmlxdWlmeS1zZXBhcmF0b3IpOiBBZGQgOmluaXRpYWxp
emUgYW5kIDpzZXQgZm9ybXMuCih1bmlxdWlmeS1zdHJpcC1jb21tb24tc3VmZml4KTogQWRk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MtaXMiIGlkZW50
aXR5KQogICAgICAgICAgICAgICAgICAoZnVuY3Rpb24taXRlbSA6dGFnICJJbmNsdWRlIHByb2pl
Y3QgbmFtZSBpbiBkaXJlY3RvcnkgbmFtZSIKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgLCMncHJvamVjdC11bmlxdWlmeS1kaXJuYW1lLXRyYW5zZm9ybSkKICAgICAgICAgICAgICAg
ICAgZnVuY3Rpb24pCisgIDppbml0aWFsaXplICMnY3VzdG9tLWluaXRpYWxpemUtZGVmYXVsdAor
ICA6c2V0ICMndW5pcXVpZnktLXNldC1vcHRpb24KICAgOnZlcnNpb24gIjMwLjEiCiAgIDpncm91
cCAndW5pcXVpZnkpCiAKLS0gCjIuNDcuMQoK
--0000000000000125060630ecd81c--




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#77157; Package emacs. Full text available.

Message received at 77157 <at> debbugs.gnu.org:


Received: (at 77157) by debbugs.gnu.org; 22 Mar 2025 11:17:13 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Mar 22 07:17:13 2025
Received: from localhost ([127.0.0.1]:41094 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tvwqn-0006wy-8r
	for submit <at> debbugs.gnu.org; Sat, 22 Mar 2025 07:17:13 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:57064)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1tvwql-0006wj-1R
 for 77157 <at> debbugs.gnu.org; Sat, 22 Mar 2025 07:17:11 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1tvwqf-0002Tu-NH; Sat, 22 Mar 2025 07:17:05 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
 mime-version; bh=fd9OpzIliz5PTjfQPAaBe2uZM1R33SdQk7pvv2tLmq0=; b=H1fJO7hewjKU
 YuQSQqB5OsEngAUgg+6M9ERQiD/jHUVA6kN8pjaEJSQVAtWjOEPTD/vWLFdyq8zZCdCFg0wh659OT
 9kx9tw3b+Lga10HT6/3/Yt7EmJRX8HlUgMsrQGp8BPd15hg7pLgTO0iGZC6yMqai0IYJgiBarb9aR
 75kM8L9CiEvumRHTaCwCZSu68DAC5UsN6+rmDDdKZ6XnKb8pRy1mp1zAs0BHNEJpVMBiZrDAaHdI0
 ApsMn+c1m2MrwNVnjoy/Qfegalb2hQxX3y+7AidsahPlI43wLmzuhLdgV93XlTt4bP8mDmDVJ/rzN
 jxOYgX4lsi9jtqKVUzP8oQ==;
Date: Sat, 22 Mar 2025 13:17:02 +0200
Message-Id: <86h63ljowh.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Ship Mints <shipmints@HIDDEN>
In-Reply-To: <CAN+1HbrABdQ1JvGj29izNWrU7mjrzd9MzacZVioXqjd_SV9xiQ@HIDDEN>
 (message from Ship Mints on Sat, 22 Mar 2025 07:04:08 -0400)
Subject: Re: bug#77157: [PATCH] 'uniquify' user option setters and automatic
 buffer refresh
References: <CAN+1HboXKhaeEPMQGgfVL4herydwuUYm+PPmgsceooCxNJHJYA@HIDDEN>
 <864izmkvrx.fsf@HIDDEN>
 <CAN+1HbqrhL87uDsSx-hyd=H5zxT4VAu67jcZmxU7Dc5hsZJMDQ@HIDDEN>
 <861puplfst.fsf@HIDDEN>
 <CAN+1Hbq7gz_xhrEFK3gbcZ-928vZ-qH2MNMNxLphkOw0eFZOpA@HIDDEN>
 <CAN+1HbrABdQ1JvGj29izNWrU7mjrzd9MzacZVioXqjd_SV9xiQ@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 77157
Cc: 77157 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Ship Mints <shipmints@HIDDEN>
> Date: Sat, 22 Mar 2025 07:04:08 -0400
> Cc: 77157 <at> 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.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#77157; Package emacs. Full text available.

Message received at 77157 <at> debbugs.gnu.org:


Received: (at 77157) by debbugs.gnu.org; 22 Mar 2025 11:04:30 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Mar 22 07:04:30 2025
Received: from localhost ([127.0.0.1]:41032 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tvweT-0003G5-Qj
	for submit <at> debbugs.gnu.org; Sat, 22 Mar 2025 07:04:30 -0400
Received: from mail-vk1-xa32.google.com ([2607:f8b0:4864:20::a32]:43500)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.84_2) (envelope-from <shipmints@HIDDEN>)
 id 1tvweQ-0003Fo-Lz
 for 77157 <at> debbugs.gnu.org; Sat, 22 Mar 2025 07:04:27 -0400
Received: by mail-vk1-xa32.google.com with SMTP id
 71dfb90a1353d-523fa0df55dso3628194e0c.1
 for <77157 <at> debbugs.gnu.org>; Sat, 22 Mar 2025 04:04:26 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1742641461; x=1743246261; darn=debbugs.gnu.org;
 h=cc:to:subject:message-id:date:from:in-reply-to:references
 :mime-version:from:to:cc:subject:date:message-id:reply-to;
 bh=XUagYM/+fwi9e4zMS7CY05TC1/sCXFGpvuilSi7mWyw=;
 b=nefkX+tyjCaJaN04g/r9nDqomta04JaFPIZ1n5Qi7eGMTqrh81kPd1qdvMdZJprkev
 SD9GirLjdoY13ufVoX6HD8VT33EScWVM17pkmFrnXczUNqb9QxZrjKzg/Serb9kjvPUA
 pO9HNWTA0bgJhSr369iGfc6E4BdlGn9AK9vUDEev661zjjDqPCDm+t0TlzVbIYmWOLZX
 EPevRLbL5EWtjUtiMsFKdNHbQDlaR2VVGyQqOpZAwdcQRSYK4WF8dCIk3HMTLyZl4xv+
 7GIG9m2oHDUwIRChBVkuOGp4fIIO/Tha7BLo5Qa84Ebfy2Vgnqkem+BmvVkOMU3e5b48
 GCeA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1742641461; x=1743246261;
 h=cc:to:subject:message-id:date:from:in-reply-to:references
 :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id
 :reply-to;
 bh=XUagYM/+fwi9e4zMS7CY05TC1/sCXFGpvuilSi7mWyw=;
 b=u64bveep6kRswk21d8U/0jizPP6318d8Ir75rKIEJsM459QPpodbMWgn+iMeTPikBC
 BC/ettzyorWER8VNFLom9Qvki7fYvsIT3Dd1iWWqS+uXEIk5qsPD0WijIQNkJyAgsZRP
 lhLSs7QGreACMX7qBVTbQtmJQi1TFS/osR6r3XBz78OleUZMu6H8ZLxGL3/mK8LZ3jJh
 1mBB5Mt3AabMHLl8gj8rWyKt5+6neQoMs64s9Ot74P7MlNoCrrXaRVe09ZNUB5vnVbkC
 Umz7GHamZ4yYF1qZkePtiTG37Sj5TqjgGNniww+c7NZ3kSZN2aFxlt4otMq7uhQuRx8m
 HiNw==
X-Gm-Message-State: AOJu0YxAe34vkp57u9wMnUYip3HPu2jDlzAXAB+n171fIgt7+TA+sRif
 zCTSHq8hKGuV4ZOemKzWTM5q1vHp/1xqiMeYFRRch5XSzl6Eyq2Mcf4HHep1PVXHlD3l85jevyi
 kzBD/e/y0j70SmZPv7W3OOHwuhBrUddiu
X-Gm-Gg: ASbGncti3HRlv1Rl1cLqdaKc7itmpu7JFLgn9wtStkYvWfXJSrz+2uXAnusizQS6Q9I
 fGc7wKLAzWk6H0zo03vlBDEc3DhrfVZluAMJhnBkjwRuep7013AKVHJWa9E0dat425Ar9ToxLlQ
 3ZTcO44BiD/CZ3SjSqPqO3cMmhXg==
X-Google-Smtp-Source: AGHT+IG//ND5bpzLDR6JLkSja33V8wDguf7wNuCKnqoDWULuirdYYGLrUqvYZ6D3NUNiV8ant33j79jYt8SBro6ouxs=
X-Received: by 2002:a05:6122:f1b:b0:51e:ffd1:67f3 with SMTP id
 71dfb90a1353d-525a7ff39femr5025293e0c.7.1742641460720; Sat, 22 Mar 2025
 04:04:20 -0700 (PDT)
MIME-Version: 1.0
References: <CAN+1HboXKhaeEPMQGgfVL4herydwuUYm+PPmgsceooCxNJHJYA@HIDDEN>
 <864izmkvrx.fsf@HIDDEN>
 <CAN+1HbqrhL87uDsSx-hyd=H5zxT4VAu67jcZmxU7Dc5hsZJMDQ@HIDDEN>
 <861puplfst.fsf@HIDDEN>
 <CAN+1Hbq7gz_xhrEFK3gbcZ-928vZ-qH2MNMNxLphkOw0eFZOpA@HIDDEN>
In-Reply-To: <CAN+1Hbq7gz_xhrEFK3gbcZ-928vZ-qH2MNMNxLphkOw0eFZOpA@HIDDEN>
From: Ship Mints <shipmints@HIDDEN>
Date: Sat, 22 Mar 2025 07:04:08 -0400
X-Gm-Features: AQ5f1JpEcmeuUhQz9Ep9b5VqjrDVLN-lvnqFBpJAKSzJlMvSgTls3fwqvQM1Jbg
Message-ID: <CAN+1HbrABdQ1JvGj29izNWrU7mjrzd9MzacZVioXqjd_SV9xiQ@HIDDEN>
Subject: Re: bug#77157: [PATCH] 'uniquify' user option setters and automatic
 buffer refresh
To: Eli Zaretskii <eliz@HIDDEN>
Content-Type: multipart/alternative; boundary="0000000000003cc1ec0630ec5519"
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 77157
Cc: 77157 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

--0000000000003cc1ec0630ec5519
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

On Sat, Mar 22, 2025 at 6:44=E2=80=AFAM Ship Mints <shipmints@HIDDEN> wr=
ote:

> On Sat, Mar 22, 2025 at 2:50=E2=80=AFAM Eli Zaretskii <eliz@HIDDEN> wrot=
e:
>
>> > From: Ship Mints <shipmints@HIDDEN>
>> > Date: Fri, 21 Mar 2025 16:02:34 -0400
>> > Cc: 77157 <at> debbugs.gnu.org
>> >
>> >  Please tell in the doc string that changing the style in the middle o=
f
>> >  an Emacs session must be done via Customize or by using setopt, but
>> >  not by setting the variable directly (unless uniquify--set-option is
>> >  then invoked).
>> >
>> > Eli, how is this wording which I'll put in each docstring?
>> >
>> > "To reflect a change to this option's value in your live buffer names,
>> > use `customize' interactively, or use `setopt' in Elisp, both of which
>> > call `uniquify--set-option' (setq will not do that for you)."
>>
>> 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 th=
e
> 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.

--0000000000003cc1ec0630ec5519
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div dir=3D"ltr"><div class=3D"gmail_default" style=3D"fon=
t-family:monospace"><span style=3D"font-family:Arial,Helvetica,sans-serif">=
On Sat, Mar 22, 2025 at 6:44=E2=80=AFAM Ship Mints &lt;<a href=3D"mailto:sh=
ipmints@HIDDEN">shipmints@HIDDEN</a>&gt; wrote:</span></div></div><di=
v class=3D"gmail_quote gmail_quote_container"><blockquote class=3D"gmail_qu=
ote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,20=
4);padding-left:1ex"><div dir=3D"ltr"><div dir=3D"ltr"><div style=3D"font-f=
amily:monospace"><span style=3D"font-family:Arial,Helvetica,sans-serif">On =
Sat, Mar 22, 2025 at 2:50=E2=80=AFAM Eli Zaretskii &lt;<a href=3D"mailto:el=
iz@HIDDEN" target=3D"_blank">eliz@HIDDEN</a>&gt; wrote:</span></div></div=
><div class=3D"gmail_quote"><blockquote class=3D"gmail_quote" style=3D"marg=
in:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1e=
x">&gt; From: Ship Mints &lt;<a href=3D"mailto:shipmints@HIDDEN" target=
=3D"_blank">shipmints@HIDDEN</a>&gt;<br>
&gt; Date: Fri, 21 Mar 2025 16:02:34 -0400<br>
&gt; Cc: <a href=3D"mailto:77157 <at> debbugs.gnu.org" target=3D"_blank">77157@d=
ebbugs.gnu.org</a><br>
&gt; <br>
&gt;=C2=A0 Please tell in the doc string that changing the style in the mid=
dle of<br>
&gt;=C2=A0 an Emacs session must be done via Customize or by using setopt, =
but<br>
&gt;=C2=A0 not by setting the variable directly (unless uniquify--set-optio=
n is<br>
&gt;=C2=A0 then invoked).<br>
&gt; <br>
&gt; Eli, how is this wording which I&#39;ll put in each docstring?<br>
&gt; <br>
&gt; &quot;To reflect a change to this option&#39;s value in your live buff=
er names,<br>
&gt; use `customize&#39; interactively, or use `setopt&#39; in Elisp, both =
of which<br>
&gt; call `uniquify--set-option&#39; (setq will not do that for you).&quot;=
<br>
<br>
We usually use the following style for such variables:<br>
<br>
=C2=A0 Setting this variable directly will not usually take effect;<br>
=C2=A0 use either \\[customize] or `setopt&#39;, or call `uniquify--set-opt=
ion&#39;<br>
=C2=A0 or restart `uniquify-mode&#39; after setting the variable directly.<=
br></blockquote><div><br></div><div style=3D"font-family:monospace">I&#39;l=
l adapt this=C2=A0language.=C2=A0 Uniquify isn&#39;t implemented as a mode.=
=C2=A0 It&#39;s a rename buffer hook in buffer.c and depends on &#39;uniqui=
fy-buffer-name-style&#39; to have a defined style.</div><div style=3D"font-=
family:monospace"><br></div><div style=3D"font-family:monospace">Even the f=
unction &#39;uniquify-unload-function&#39; doesn&#39;t attempt to remove th=
e hook (it probably should set &#39;uniquify-buffer-name-style&#39; to nil =
as part of its business).=C2=A0 It&#39;s not even clear if unload ever gets=
 called by anyone.=C2=A0 Perhaps a candidate to obsolete.</div></div></div>=
</blockquote><div><br></div><div class=3D"gmail_default" style=3D"font-fami=
ly:monospace">The=C2=A0following seems more precise.=C2=A0 Okay with you?</=
div><div class=3D"gmail_default" style=3D"font-family:monospace"><br></div>=
<div class=3D"gmail_default" style=3D"font-family:monospace">Setting this v=
ariable directly will not usually take effect; use either<br>\\[customize] =
or `setopt&#39;, or call `uniquify--set-option&#39;; otherwise<br>reload yo=
ur buffers, or restart Emacs.<br></div></div></div>

--0000000000003cc1ec0630ec5519--




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#77157; Package emacs. Full text available.

Message received at 77157 <at> debbugs.gnu.org:


Received: (at 77157) by debbugs.gnu.org; 22 Mar 2025 10:45:13 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Mar 22 06:45:13 2025
Received: from localhost ([127.0.0.1]:41002 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tvwLp-0002Th-Aw
	for submit <at> debbugs.gnu.org; Sat, 22 Mar 2025 06:45:13 -0400
Received: from mail-vk1-xa36.google.com ([2607:f8b0:4864:20::a36]:45174)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.84_2) (envelope-from <shipmints@HIDDEN>)
 id 1tvwLm-0002P1-Fy
 for 77157 <at> debbugs.gnu.org; Sat, 22 Mar 2025 06:45:11 -0400
Received: by mail-vk1-xa36.google.com with SMTP id
 71dfb90a1353d-5240764f7c1so1149527e0c.2
 for <77157 <at> debbugs.gnu.org>; Sat, 22 Mar 2025 03:45:10 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1742640305; x=1743245105; darn=debbugs.gnu.org;
 h=cc:to:subject:message-id:date:from:in-reply-to:references
 :mime-version:from:to:cc:subject:date:message-id:reply-to;
 bh=3OQNre4L5H5wIVoQaNhun2F7YUmN65uEOtc9BNBYf4k=;
 b=UAJMi93347FOXpdNRJ5PjBKPl9nNUi8AzntTA/amZciEnYhQP+IG+cEdDljwL+CL1/
 gRyJWO7XeUuLwIoUj+atBECTlxIV0QxizQ1dJj7QRq/dP9R2QJeqDpgW0kvdsV6l+ouD
 +iNT4KABWMGfq2l0cbiMEqGR2Efd5IZOzOFaiHDno5BIpOOeJac5VtAQPzELl3Qo8xMH
 e0pqQvKlK1up2U9mq4Hfemj3FEGGlzdvh2ji+mZ/G2e+Ef6kKOZIsGzRQr/vHQEMq6u8
 o1KQtwSDBFc9brdZGB5YhN4bn2ys3/uLvAyjCqY2WAX1EiceqC9dLcGqXwBU+hj/NDXE
 aO8Q==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1742640305; x=1743245105;
 h=cc:to:subject:message-id:date:from:in-reply-to:references
 :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id
 :reply-to;
 bh=3OQNre4L5H5wIVoQaNhun2F7YUmN65uEOtc9BNBYf4k=;
 b=th77VkiDEVFcf/mnjnCjdCgV52ghcg7vTEG+U2VQF1ahpUsNcM7e4Mg29qZJGteh6S
 pVoA+Y1rq1I96VfSWTZcTMBeoVO3FjjBfVhECgeKdVptmKEUPClP06H6sQfrRCQRoLuD
 O+NPsJ+IRHZPWM2CAxPlv7cRQ2N8nn1CyxvrzIpwNFpf88jB7xtxDQXHCkmaiPWiTFmD
 NTI9HShEhtw8EwAw9nBuPoTUPEiMXSQ1opPOJEi2Z+nM3GJX2dkTLklGm/Zz4w1wPKMj
 bejapzn1cDaZ8aaFUdxUWwrB/7R2RFlZLXurBEf3Fc4nXlVqslPv9Dbt2xC5M5D/ryJz
 O+QA==
X-Gm-Message-State: AOJu0Ywh4iHsaHUCkjE6EXRty6J4sd5U4czgYIPdMyvKXcmTl1dbY5tt
 XssaCSu68XZOHmxtKqfhq/gNDO4Nt0rYJKTvz+Z+e8C/M8esFf12q5J8c2uBVN8huSp3Yd8Nzi1
 DqXKQpHMWY35msVCiXPgYDEMKxD8=
X-Gm-Gg: ASbGncuUZRpSpOeygZ/LkKQkrsb8ufu2d2L/C7cBTBHkqQ8ftaVYiOLd28cU22K8zdy
 218lb97WXyYn9dvZB3TXLLlnO+glwA0kJk0ykHQUUwO+PB9uD0JbzBAqKm/GkmOWJd5+AbW356H
 YmhlWbOtNXaQi/Y1zPI52959wFww==
X-Google-Smtp-Source: AGHT+IGO2JPID1qWWJI+Gjz4a0w7G1HfJkZElFKO0BVL0sPiDpO5SjWITsApjgkfpTtFiemx0TcQHnZcNN4f5jl25SY=
X-Received: by 2002:a05:6122:f86:b0:520:3e1c:500f with SMTP id
 71dfb90a1353d-525a85199edmr5194746e0c.8.1742640304510; Sat, 22 Mar 2025
 03:45:04 -0700 (PDT)
MIME-Version: 1.0
References: <CAN+1HboXKhaeEPMQGgfVL4herydwuUYm+PPmgsceooCxNJHJYA@HIDDEN>
 <864izmkvrx.fsf@HIDDEN>
 <CAN+1HbqrhL87uDsSx-hyd=H5zxT4VAu67jcZmxU7Dc5hsZJMDQ@HIDDEN>
 <861puplfst.fsf@HIDDEN>
In-Reply-To: <861puplfst.fsf@HIDDEN>
From: Ship Mints <shipmints@HIDDEN>
Date: Sat, 22 Mar 2025 06:44:53 -0400
X-Gm-Features: AQ5f1JpxWpWDUNBhScnycl9uWq1RSpmXdKHo8ZJi0GuGHNyTh69TwX9zRR4dgKM
Message-ID: <CAN+1Hbq7gz_xhrEFK3gbcZ-928vZ-qH2MNMNxLphkOw0eFZOpA@HIDDEN>
Subject: Re: bug#77157: [PATCH] 'uniquify' user option setters and automatic
 buffer refresh
To: Eli Zaretskii <eliz@HIDDEN>
Content-Type: multipart/alternative; boundary="000000000000525f1a0630ec10a7"
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 77157
Cc: 77157 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

--000000000000525f1a0630ec10a7
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

On Sat, Mar 22, 2025 at 2:50=E2=80=AFAM Eli Zaretskii <eliz@HIDDEN> wrote:

> > From: Ship Mints <shipmints@HIDDEN>
> > Date: Fri, 21 Mar 2025 16:02:34 -0400
> > Cc: 77157 <at> debbugs.gnu.org
> >
> >  Please tell in the doc string that changing the style in the middle of
> >  an Emacs session must be done via Customize or by using setopt, but
> >  not by setting the variable directly (unless uniquify--set-option is
> >  then invoked).
> >
> > Eli, how is this wording which I'll put in each docstring?
> >
> > "To reflect a change to this option's value in your live buffer names,
> > use `customize' interactively, or use `setopt' in Elisp, both of which
> > call `uniquify--set-option' (setq will not do that for you)."
>
> 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.

--000000000000525f1a0630ec10a7
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div dir=3D"ltr"><div class=3D"gmail_default" style=3D"fon=
t-family:monospace"><span style=3D"font-family:Arial,Helvetica,sans-serif">=
On Sat, Mar 22, 2025 at 2:50=E2=80=AFAM Eli Zaretskii &lt;<a href=3D"mailto=
:eliz@HIDDEN">eliz@HIDDEN</a>&gt; wrote:</span></div></div><div class=3D"=
gmail_quote gmail_quote_container"><blockquote class=3D"gmail_quote" style=
=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding=
-left:1ex">&gt; From: Ship Mints &lt;<a href=3D"mailto:shipmints@HIDDEN"=
 target=3D"_blank">shipmints@HIDDEN</a>&gt;<br>
&gt; Date: Fri, 21 Mar 2025 16:02:34 -0400<br>
&gt; Cc: <a href=3D"mailto:77157 <at> debbugs.gnu.org" target=3D"_blank">77157@d=
ebbugs.gnu.org</a><br>
&gt; <br>
&gt;=C2=A0 Please tell in the doc string that changing the style in the mid=
dle of<br>
&gt;=C2=A0 an Emacs session must be done via Customize or by using setopt, =
but<br>
&gt;=C2=A0 not by setting the variable directly (unless uniquify--set-optio=
n is<br>
&gt;=C2=A0 then invoked).<br>
&gt; <br>
&gt; Eli, how is this wording which I&#39;ll put in each docstring?<br>
&gt; <br>
&gt; &quot;To reflect a change to this option&#39;s value in your live buff=
er names,<br>
&gt; use `customize&#39; interactively, or use `setopt&#39; in Elisp, both =
of which<br>
&gt; call `uniquify--set-option&#39; (setq will not do that for you).&quot;=
<br>
<br>
We usually use the following style for such variables:<br>
<br>
=C2=A0 Setting this variable directly will not usually take effect;<br>
=C2=A0 use either \\[customize] or `setopt&#39;, or call `uniquify--set-opt=
ion&#39;<br>
=C2=A0 or restart `uniquify-mode&#39; after setting the variable directly.<=
br></blockquote><div><br></div><div class=3D"gmail_default" style=3D"font-f=
amily:monospace">I&#39;ll adapt this=C2=A0language.=C2=A0 Uniquify isn&#39;=
t implemented as a mode.=C2=A0 It&#39;s a rename buffer hook in buffer.c an=
d depends on &#39;uniquify-buffer-name-style&#39; to have a defined style.<=
/div><div class=3D"gmail_default" style=3D"font-family:monospace"><br></div=
><div class=3D"gmail_default" style=3D"font-family:monospace">Even the func=
tion &#39;uniquify-unload-function&#39; doesn&#39;t attempt to remove the h=
ook (it probably should set &#39;uniquify-buffer-name-style&#39; to nil as =
part of its business).=C2=A0 It&#39;s not even clear if unload ever gets ca=
lled by anyone.=C2=A0 Perhaps a candidate to obsolete.</div></div></div>

--000000000000525f1a0630ec10a7--




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#77157; Package emacs. Full text available.

Message received at 77157 <at> debbugs.gnu.org:


Received: (at 77157) by debbugs.gnu.org; 22 Mar 2025 06:50:55 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Mar 22 02:50:55 2025
Received: from localhost ([127.0.0.1]:40535 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tvsh4-0000IW-UN
	for submit <at> debbugs.gnu.org; Sat, 22 Mar 2025 02:50:55 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:33652)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1tvsh2-0000IE-LO
 for 77157 <at> debbugs.gnu.org; Sat, 22 Mar 2025 02:50:53 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1tvsgx-0007fJ-7H; Sat, 22 Mar 2025 02:50:47 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
 mime-version; bh=YEYHfUK1UFZRZ4Webt8b7V22FR19WdHtOD2Z5cXl8pw=; b=j1cw4i1QwTTc
 7xn8lDn6ozQJr4SmesMbKWq5OhSsk0SUojE4jDJfRBlA3VKWzkBg0RBq4AUAQ0FffYCM4gdqESmwR
 5/4J9RZ4j75RE71Z1HXhP90Tj/P73JmeHLsPqHhKhzS2nXiCGoNB0UkO1CJ/fwSewJHWYjyVdVV9o
 K3S0tJeEYk/Y1GZ98+zv++orY/eHvjAvYcL7Y+et3I26OJ5Li4jyNsiOqvyCBrb4ZwSzDhAaFOHLb
 2RaQunxbIhIK0zlK230eVHlI0bHlMsOPQzG9wc+JgOD7tc2/5a0laoscMgPfNIvZuMDQWyGGvYphx
 /umcMVli7st7ZZkyNSclwQ==;
Date: Sat, 22 Mar 2025 08:50:42 +0200
Message-Id: <861puplfst.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Ship Mints <shipmints@HIDDEN>
In-Reply-To: <CAN+1HbqrhL87uDsSx-hyd=H5zxT4VAu67jcZmxU7Dc5hsZJMDQ@HIDDEN>
 (message from Ship Mints on Fri, 21 Mar 2025 16:02:34 -0400)
Subject: Re: bug#77157: [PATCH] 'uniquify' user option setters and automatic
 buffer refresh
References: <CAN+1HboXKhaeEPMQGgfVL4herydwuUYm+PPmgsceooCxNJHJYA@HIDDEN>
 <864izmkvrx.fsf@HIDDEN>
 <CAN+1HbqrhL87uDsSx-hyd=H5zxT4VAu67jcZmxU7Dc5hsZJMDQ@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 77157
Cc: 77157 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Ship Mints <shipmints@HIDDEN>
> Date: Fri, 21 Mar 2025 16:02:34 -0400
> Cc: 77157 <at> debbugs.gnu.org
> 
>  Please tell in the doc string that changing the style in the middle of
>  an Emacs session must be done via Customize or by using setopt, but
>  not by setting the variable directly (unless uniquify--set-option is
>  then invoked).
> 
> Eli, how is this wording which I'll put in each docstring?
> 
> "To reflect a change to this option's value in your live buffer names,
> use `customize' interactively, or use `setopt' in Elisp, both of which
> call `uniquify--set-option' (setq will not do that for you)."

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.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#77157; Package emacs. Full text available.

Message received at 77157 <at> debbugs.gnu.org:


Received: (at 77157) by debbugs.gnu.org; 21 Mar 2025 20:02:53 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Mar 21 16:02:53 2025
Received: from localhost ([127.0.0.1]:39662 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tviZx-0000pe-DV
	for submit <at> debbugs.gnu.org; Fri, 21 Mar 2025 16:02:53 -0400
Received: from mail-vk1-xa32.google.com ([2607:f8b0:4864:20::a32]:42125)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.84_2) (envelope-from <shipmints@HIDDEN>)
 id 1tviZv-0000pN-Df
 for 77157 <at> debbugs.gnu.org; Fri, 21 Mar 2025 16:02:51 -0400
Received: by mail-vk1-xa32.google.com with SMTP id
 71dfb90a1353d-524038ba657so2222717e0c.0
 for <77157 <at> debbugs.gnu.org>; Fri, 21 Mar 2025 13:02:51 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1742587366; x=1743192166; darn=debbugs.gnu.org;
 h=cc:to:subject:message-id:date:from:in-reply-to:references
 :mime-version:from:to:cc:subject:date:message-id:reply-to;
 bh=Wr8krKaSNCrrtZelaxVv+zdTbE5QKQD+BqJi8HUKlFs=;
 b=Cdl03JaJQAXOut/vFGU+Um3T2T9OCL7NgmXXnlP+AFCW54/MFF/XNTpN/oT7nh1dpo
 saLuSxKM690dFXSjWTGxFOhCbTw2U87EySgVu8/GruO+2Iy/sJNSQPvzC+2HJ9gUbaWO
 UvRaPIe1ymCc9Cvdhn1orQPdTNgy8e2km/jOXeuFzuwXyKmZ+iMvoj6Y8jSL83BrUaLt
 dUQHoiENli8QY09cDj1ntp9hewf62pf1ScKgbw1sq0V7dFCQCy0w739GZVAIREgcy80k
 9OA/2dTujsEElkffOVmI1+denQKfq6Y3ivuTKTuqAAHxMdgQLKP8qePFXjTOcPTAu76t
 nn0A==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1742587366; x=1743192166;
 h=cc:to:subject:message-id:date:from:in-reply-to:references
 :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id
 :reply-to;
 bh=Wr8krKaSNCrrtZelaxVv+zdTbE5QKQD+BqJi8HUKlFs=;
 b=VAIg1jnVfnokyCezXA5TWvzK1qn2Dh5iK6o8rNloEML02zLP5GsIH0ZMrAWzzNFEyD
 CKqsktAauSLIzS/SVqIS5EDU3F72u2zSxyMw4OrcBLxIaVEzvZ5waXV+bFLxmJuPfboL
 rv4N+SghDuL5nCxbCYj0zoY+Li1FIn9gYpdkbOeVg55cyBwFX6NB3B2fLlzMYhB37cqd
 dlFayh39r0ZHcPLPI0I9OnvzLEgB+bTqVpIG4TmUM6lrG8eomp29uILWI1CgyA/TwKKH
 jXwjOw1q6+k4uwuSS0sdSmiYx9k1CLx1c658lCYYg3PPsFpWxdi5AC9CUKjkeyHt+TZq
 znBg==
X-Gm-Message-State: AOJu0Yz2DGzeHoWhd7VccbjFQQgdZeniJuy0Dn4OaQsskSNqAArvOZxZ
 pWeTsb/NCQ9VUIrOleS+3RDjRfLxc7QobCgw4avVhXQqWgLmLpGsNmJevTQ2WntUMLa4jZoL8BA
 uyVsMcRBYAkA76DRohGbYgvy7nC4=
X-Gm-Gg: ASbGncv7sVju2Ti35XHMcj1pAyIppY+ZZoGDaLDGQvIskb2xa07E3uPoaohmXpi/B65
 5eSTNTvVp2pkR2JZZRiad07dKGMExFelVt7432hPFozLakllMpbJwqTMFOt/F15YSys6n55GZkK
 Z9QyzQDl0FKBcD21bzqBi1mqgL9XAaMpp1cC71
X-Google-Smtp-Source: AGHT+IFW2kD4QRUphnvp/3njyKU2ctfQehaUC/qG4XRps5mfE8HQxVg6mxxIsgeG3xYtlqH24EKOJLysiy5JT3h0Amk=
X-Received: by 2002:ac5:ccc9:0:b0:524:2fe0:3898 with SMTP id
 71dfb90a1353d-52595e7f8b7mr6712609e0c.5.1742587365559; Fri, 21 Mar 2025
 13:02:45 -0700 (PDT)
MIME-Version: 1.0
References: <CAN+1HboXKhaeEPMQGgfVL4herydwuUYm+PPmgsceooCxNJHJYA@HIDDEN>
 <864izmkvrx.fsf@HIDDEN>
In-Reply-To: <864izmkvrx.fsf@HIDDEN>
From: Ship Mints <shipmints@HIDDEN>
Date: Fri, 21 Mar 2025 16:02:34 -0400
X-Gm-Features: AQ5f1JoK61NN6AL01ozqnYFH9QSe_MQdt5TZvPRmFdfjH6dcHjtc54a7qMGDAPo
Message-ID: <CAN+1HbqrhL87uDsSx-hyd=H5zxT4VAu67jcZmxU7Dc5hsZJMDQ@HIDDEN>
Subject: Re: bug#77157: [PATCH] 'uniquify' user option setters and automatic
 buffer refresh
To: Eli Zaretskii <eliz@HIDDEN>
Content-Type: multipart/alternative; boundary="000000000000ea15d60630dfbcb5"
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 77157
Cc: 77157 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

--000000000000ea15d60630dfbcb5
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

On Fri, Mar 21, 2025 at 3:51=E2=80=AFPM Eli Zaretskii <eliz@HIDDEN> wrote:

> > From: Ship Mints <shipmints@HIDDEN>
> > Date: Fri, 21 Mar 2025 14:11:01 -0400
> >  (defcustom uniquify-buffer-name-style 'post-forward-angle-brackets
> >    "How to construct unique buffer names for files with the same base
> name.
> > @@ -121,6 +135,8 @@ uniquify-buffer-name-style
> >               (const post-forward-angle-brackets)
> >                  (function :tag "Other")
> >               (const :tag "numeric suffixes" nil))
> > +  :initialize #'custom-initialize-default
> > +  :set #'uniquify--set-option
>
> Please tell in the doc string that changing the style in the middle of
> an Emacs session must be done via Customize or by using setopt, but
> not by setting the variable directly (unless uniquify--set-option is
> then invoked).
>
>
Eli, how is this wording which I'll put in each docstring?

"To reflect a change to this option's value in your live buffer names,
use `customize' interactively, or use `setopt' in Elisp, both of which
call `uniquify--set-option' (setq will not do that for you)."

--000000000000ea15d60630dfbcb5
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div dir=3D"ltr"><div class=3D"gmail_default" style=3D"fon=
t-family:monospace"><span style=3D"font-family:Arial,Helvetica,sans-serif">=
On Fri, Mar 21, 2025 at 3:51=E2=80=AFPM Eli Zaretskii &lt;<a href=3D"mailto=
:eliz@HIDDEN">eliz@HIDDEN</a>&gt; wrote:</span></div></div><div class=3D"=
gmail_quote gmail_quote_container"><blockquote class=3D"gmail_quote" style=
=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding=
-left:1ex">&gt; From: Ship Mints &lt;<a href=3D"mailto:shipmints@HIDDEN"=
 target=3D"_blank">shipmints@HIDDEN</a>&gt;<br>
&gt; Date: Fri, 21 Mar 2025 14:11:01 -0400<br>&gt;=C2=A0 (defcustom uniquif=
y-buffer-name-style &#39;post-forward-angle-brackets<br>
&gt;=C2=A0 =C2=A0 &quot;How to construct unique buffer names for files with=
 the same base name.<br>
&gt; @@ -121,6 +135,8 @@ uniquify-buffer-name-style<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(const post-forw=
ard-angle-brackets)<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (functio=
n :tag &quot;Other&quot;)<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(const :tag &quo=
t;numeric suffixes&quot; nil))<br>
&gt; +=C2=A0 :initialize #&#39;custom-initialize-default<br>
&gt; +=C2=A0 :set #&#39;uniquify--set-option<br>
<br>
Please tell in the doc string that changing the style in the middle of<br>
an Emacs session must be done via Customize or by using setopt, but<br>
not by setting the variable directly (unless uniquify--set-option is<br>
then invoked).<br>
<br></blockquote><div><br></div><div><div class=3D"gmail_default" style=3D"=
font-family:monospace">Eli, how is this wording which I&#39;ll put in each =
docstring?</div><div class=3D"gmail_default" style=3D"font-family:monospace=
"><br></div><div class=3D"gmail_default" style=3D"font-family:monospace">&q=
uot;To reflect a change to this option&#39;s value in your live buffer name=
s,<br>use `customize&#39; interactively, or use `setopt&#39; in Elisp, both=
 of which<br>call `uniquify--set-option&#39; (setq will not do that for you=
).&quot;</div></div></div></div>

--000000000000ea15d60630dfbcb5--




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#77157; Package emacs. Full text available.

Message received at 77157 <at> debbugs.gnu.org:


Received: (at 77157) by debbugs.gnu.org; 21 Mar 2025 19:51:15 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Mar 21 15:51:14 2025
Received: from localhost ([127.0.0.1]:39645 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tviOg-0000Hv-Cq
	for submit <at> debbugs.gnu.org; Fri, 21 Mar 2025 15:51:14 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:33958)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1tviOd-0000Hi-QN
 for 77157 <at> debbugs.gnu.org; Fri, 21 Mar 2025 15:51:12 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1tviOY-000459-9I; Fri, 21 Mar 2025 15:51:06 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
 mime-version; bh=YeJEEPSIk1mZH1qkoqZw3aXYUv00QWQ+HShuBiTrOHQ=; b=BPjr+wZlCINs
 PGL58KzVFAyG9GhNNIZIxC5PQfNFGt06/t8LXcGw95YJeJ+zDxi/2IfuA6nJmPd1SJGRW2WBakI1E
 9JjIiFzqkMhYYzw3fOdlWMuzb3AVIzmW7zpYZc5lCFOQHpFp0smp6B1pevlBythsNWJk8LCkutwZy
 VX4ipT9I70cBNCeK6M2R4Radx+VhIUTSux03dv+vrkBhBvGk1eUxYLXFk9kiIILxRZq/+tHK22Pq4
 8KwfXqkGSSKvjfnt9djwknnf5OVnLQwJSSz1uAZCl+9NYI1o+HYWIPKRW+2ilURYBPeqceCd8Exwr
 BVl+qaPWzOjbRTjX4cSxrA==;
Date: Fri, 21 Mar 2025 21:50:58 +0200
Message-Id: <864izmkvrx.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Ship Mints <shipmints@HIDDEN>
In-Reply-To: <CAN+1HboXKhaeEPMQGgfVL4herydwuUYm+PPmgsceooCxNJHJYA@HIDDEN>
 (message from Ship Mints on Fri, 21 Mar 2025 14:11:01 -0400)
Subject: Re: bug#77157: [PATCH] 'uniquify' user option setters and automatic
 buffer refresh
References: <CAN+1HboXKhaeEPMQGgfVL4herydwuUYm+PPmgsceooCxNJHJYA@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 77157
Cc: 77157 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Ship Mints <shipmints@HIDDEN>
> Date: Fri, 21 Mar 2025 14:11:01 -0400
> 
> --- a/etc/NEWS
> +++ b/etc/NEWS
> @@ -1566,6 +1566,14 @@ This user option replaces 'follow-mode-prefix', which had to be set
>  before loading Follow mode.  This new option allows you to change the
>  prefix even after it was loaded, using 'customize-option' or 'setopt'.
>  
> +---
> +*** Changing uniquify user options refreshes buffer names.
> +Use customize interactively, or setopt in Elisp, to refresh buffer names
> +when changing 'uniquify' user options.  Previously, reloading or
> +renaming your buffers (or an Emacs restart) was required.

I don't think this change warrants a NEWS entry.  It's a minor
convenience improvement, and arguably a bugfix.

>  (defcustom uniquify-buffer-name-style 'post-forward-angle-brackets
>    "How to construct unique buffer names for files with the same base name.
> @@ -121,6 +135,8 @@ uniquify-buffer-name-style
>  		(const post-forward-angle-brackets)
>                  (function :tag "Other")
>  		(const :tag "numeric suffixes" nil))
> +  :initialize #'custom-initialize-default
> +  :set #'uniquify--set-option

Please tell in the doc string that changing the style in the middle of
an Emacs session must be done via Customize or by using setopt, but
not by setting the variable directly (unless uniquify--set-option is
then invoked).

> @@ -136,11 +152,15 @@ uniquify-ignore-buffers-re
>  For instance, set this to \"^draft-[0-9]+$\" to avoid having uniquify
>  rename draft buffers even if `uniquify-after-kill-buffer-flag' is
>  non-nil and the visited file name isn't the same as that of the buffer."
> -  :type '(choice (const :tag "Uniquify all buffers" nil) regexp))
> +  :type '(choice (const :tag "Uniquify all buffers" nil) regexp)
> +  :initialize #'custom-initialize-default
> +  :set #'uniquify--set-option)
>  
>  (defcustom uniquify-min-dir-content 0
>    "Minimum number of directory name components included in buffer name."
> -  :type 'integer)
> +  :type 'integer
> +  :initialize #'custom-initialize-default
> +  :set #'uniquify--set-option)
>  
>  (defcustom uniquify-separator nil
>    "String separator for buffer name components.
> @@ -148,7 +168,9 @@ uniquify-separator
>  base file name from directory part in buffer names (default \"|\").
>  When `uniquify-buffer-name-style' is `reverse', separates all
>  file name components (default \"\\\")."
> -  :type '(choice (const nil) string))
> +  :type '(choice (const nil) string)
> +  :initialize #'custom-initialize-default
> +  :set #'uniquify--set-option)
>  
>  (define-obsolete-variable-alias 'uniquify-trailing-separator-p
>    'uniquify-trailing-separator-flag "31.1")
> @@ -167,7 +189,9 @@ uniquify-strip-common-suffix
>  E.g. if you open /a1/b/c/d and /a2/b/c/d, the buffer names will say
>  \"d|a1\" and \"d|a2\" instead of \"d|a1/b/c\" and \"d|a2/b/c\".
>  This can be handy when you have deep parallel hierarchies."
> -  :type 'boolean)
> +  :type 'boolean
> +  :initialize #'custom-initialize-default
> +  :set #'uniquify--set-option)
>  
>  (defvar uniquify-list-buffers-directory-modes '(dired-mode cvs-mode vc-dir-mode)
>    "List of modes for which uniquify should obey `list-buffers-directory'.
> @@ -197,6 +221,8 @@ uniquify-dirname-transform
>                   (function-item :tag "Include project name in directory name"
>                                  ,#'project-uniquify-dirname-transform)
>                   function)
> +  :initialize #'custom-initialize-default
> +  :set #'uniquify--set-option
>    :version "30.1"
>    :group 'uniquify)

Likewise for these user options.

Thanks.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#77157; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 21 Mar 2025 18:11:29 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Mar 21 14:11:29 2025
Received: from localhost ([127.0.0.1]:39475 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tvgq9-00042M-1m
	for submit <at> debbugs.gnu.org; Fri, 21 Mar 2025 14:11:29 -0400
Received: from lists.gnu.org ([2001:470:142::17]:33236)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <shipmints@HIDDEN>)
 id 1tvgq6-000421-A8
 for submit <at> debbugs.gnu.org; Fri, 21 Mar 2025 14:11:26 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <shipmints@HIDDEN>)
 id 1tvgpw-0006zr-Vh
 for bug-gnu-emacs@HIDDEN; Fri, 21 Mar 2025 14:11:17 -0400
Received: from mail-vk1-xa31.google.com ([2607:f8b0:4864:20::a31])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <shipmints@HIDDEN>)
 id 1tvgpt-0006VJ-VW
 for bug-gnu-emacs@HIDDEN; Fri, 21 Mar 2025 14:11:15 -0400
Received: by mail-vk1-xa31.google.com with SMTP id
 71dfb90a1353d-5240b014f47so992368e0c.1
 for <bug-gnu-emacs@HIDDEN>; Fri, 21 Mar 2025 11:11:13 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1742580672; x=1743185472; darn=gnu.org;
 h=to:subject:message-id:date:from:mime-version:from:to:cc:subject
 :date:message-id:reply-to;
 bh=EBMeVxoDTPIf75YveRDbwIcn1bHKF65hmNw2phGi8po=;
 b=aPWlpcO8sN5Nay5XsnY7bLFISeJfUNQNVaIVQ/tmUP4l89REy2POqPSDiB9UPm0yo3
 bcwMuUuHptAYn5+8gKsNYh9AD4tx1cMq6w/zw4yUPcnRJCqp5OICuw5u+we3H+t0Yt5Z
 6LxbhCFtGG3KK7XtEnf+xy4l9NSl09X+uOhZ1uuXpfzGjzUMa8Mvy1KeHYOvLftD2h23
 TvMWt6wcwNm/qCNyMJ8Zp6echXAN7WXIUTuODUq0C8+oMmYLvl0Eh4F9q9VSeKIPcjkW
 yn5whLe58DUqOE29PJTF2x4pJoofRfAWnPJQXxNhRuW+u9psrcP3eQ8H3GT9GvSyMbwF
 N7Ow==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1742580672; x=1743185472;
 h=to:subject:message-id:date:from:mime-version:x-gm-message-state
 :from:to:cc:subject:date:message-id:reply-to;
 bh=EBMeVxoDTPIf75YveRDbwIcn1bHKF65hmNw2phGi8po=;
 b=of68Ytc5UNYRcIvABap59MLUCVIJeYErcf43AHKyb15YhvEEdJegjrKb5Zit7I5CN/
 lHfpjZfJ56hL4pHunGE+q/A+fwVvbHuVyVgdomYlDPRzQCVY9GCd2Kfqi2fHGaYq9/LB
 lHkMNuHdC8ZQLDzlMH5hITPB2qylaMq4ED4XDZ68u/oSX+mbpZlpVBOMzp0IbsW4qaUA
 ICaRg9cifw8W7jHKdr7PUviCldnimA8iAI5DxwKmgSLIhBCkP7R/rh0S7WnSOZenNYCS
 lBHBTTyjRKd78MWSNgUpmWVjO6TUY6lYgKt3WoNpf11ul5bbhmqnM+Ok59vb7y/tEWuV
 ccxw==
X-Gm-Message-State: AOJu0YzJlyth+yi9GeEFiLppbg3ySTG4qstr+yyrmxhvKh+BP0CuP4F2
 orhbdO/g4s24jjZZlm5JJ2tBX/iLCGZMdUBQDEw9wnKk0L58pgZmcMh2TvKoimrJgpTP4Vt7J/H
 wgTiFJm4nUUZHtp9P77eZXHzROIZhwXC/
X-Gm-Gg: ASbGnctCllfFOqYac30vuBWQjztfwI2nwBqfVeQs868mHPV6u1kfADZK4Q9jy58SB6f
 b5Qoeo2P6y2xXXSxF12/JUmVs0MY7ElQrc9+/D7BqlJSYnYY1OdMeVMp8YyclUxwqOFwa2cpEID
 cQCKOJhL09orKDA5k2MRoEx7hwaQ==
X-Google-Smtp-Source: AGHT+IGEMO7nm31MqhVq/4vWZdCcgR5fQewunIg4Gk6Pyr+a6tcLZebEYWTWQWfDg6wTVv43UINrQfipFmgxAyQTNzk=
X-Received: by 2002:a05:6122:6081:b0:525:a70d:3110 with SMTP id
 71dfb90a1353d-525a854d682mr4058778e0c.8.1742580672384; Fri, 21 Mar 2025
 11:11:12 -0700 (PDT)
MIME-Version: 1.0
From: Ship Mints <shipmints@HIDDEN>
Date: Fri, 21 Mar 2025 14:11:01 -0400
X-Gm-Features: AQ5f1JpHAmOTJxW1MP75yOuIfbx6a6f7jIQof0c0zQQwNSbiEss5PJHAn_uq6CQ
Message-ID: <CAN+1HboXKhaeEPMQGgfVL4herydwuUYm+PPmgsceooCxNJHJYA@HIDDEN>
Subject: [PATCH] 'uniquify' user option setters and automatic buffer refresh
To: bug-gnu-emacs@HIDDEN
Content-Type: multipart/mixed; boundary="000000000000f879d60630de2d5a"
Received-SPF: pass client-ip=2607:f8b0:4864:20::a31;
 envelope-from=shipmints@HIDDEN; helo=mail-vk1-xa31.google.com
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001,
 HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 1.0 (+)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.0 (/)

--000000000000f879d60630de2d5a
Content-Type: multipart/alternative; boundary="000000000000f879d60630de2d58"

--000000000000f879d60630de2d58
Content-Type: text/plain; charset="UTF-8"

Okay, here's a fun one that's been on my list for a while that other people
might find useful.  When I have a lot of buffers open, I occasionally want
to increase or decrease uniquify-min-dir-content to make it easier to
discern, with higher precision, one buffer from another with the same name,
and without reloading buffers...

Changing uniquify user options refreshes buffer names.

Use customize interactively, or setopt in Elisp, to refresh buffer names
when changing 'uniquify' user options.  Previously, reloading or renaming
your buffers (or an Emacs restart) was required.

e.g., (setopt uniquify-min-dir-content 2)

In my init file, I have the following which makes this convenient:

  (defun my/uniquify-dir-content-cycle ()
    (interactive)
    (if uniquify-buffer-name-style
        (progn
          (pcase uniquify-min-dir-content
            (0 (setopt uniquify-min-dir-content 1))
            (1 (setopt uniquify-min-dir-content 2))
            (2 (setopt uniquify-min-dir-content 0)))
          (setopt uniquify-strip-common-suffix (= 0
uniquify-min-dir-content))
          (when (< emacs-major-version 31) ; Hopefully deprecated!
            (my/uniquify-refresh)))
      (message "No `uniquify-buffer-name-style' defined")))

-Stephane

--000000000000f879d60630de2d58
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_default" style=3D"font-family:monospac=
e">Okay, here&#39;s a fun one that&#39;s been on my list for a while that o=
ther people might=C2=A0find useful.=C2=A0 When I have a lot of buffers open=
, I occasionally want to increase or decrease uniquify-min-dir-content to m=
ake it easier to discern, with higher precision, one buffer from another wi=
th the same name, and without reloading buffers...</div><div class=3D"gmail=
_default" style=3D"font-family:monospace"><br></div><div class=3D"gmail_def=
ault" style=3D"font-family:monospace">Changing uniquify user options refres=
hes buffer names.</div><div class=3D"gmail_default" style=3D"font-family:mo=
nospace"><br>Use customize interactively, or setopt in Elisp, to refresh bu=
ffer names when changing &#39;uniquify&#39; user options.=C2=A0 Previously,=
 reloading or renaming your buffers (or an Emacs restart) was required.<br>=
<br>e.g., (setopt uniquify-min-dir-content 2)<br></div><div class=3D"gmail_=
default" style=3D"font-family:monospace"><br></div><div class=3D"gmail_defa=
ult" style=3D"font-family:monospace">In my init file, I have the following =
which makes this convenient:</div><div class=3D"gmail_default" style=3D"fon=
t-family:monospace"><br></div><div class=3D"gmail_default" style=3D"font-fa=
mily:monospace">=C2=A0 (defun my/uniquify-dir-content-cycle ()<br>=C2=A0 =
=C2=A0 (interactive)<br>=C2=A0 =C2=A0 (if uniquify-buffer-name-style<br>=C2=
=A0 =C2=A0 =C2=A0 =C2=A0 (progn<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (pcas=
e uniquify-min-dir-content<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (0 =
(setopt uniquify-min-dir-content 1))<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 (1 (setopt uniquify-min-dir-content 2))<br>=C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 (2 (setopt uniquify-min-dir-content 0)))<br>=C2=A0 =C2=A0=
 =C2=A0 =C2=A0 =C2=A0 (setopt uniquify-strip-common-suffix (=3D 0 uniquify-=
min-dir-content))<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (when (&lt; emacs-m=
ajor-version 31) ; Hopefully deprecated!<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 (my/uniquify-refresh)))<br>=C2=A0 =C2=A0 =C2=A0 (message &quot;N=
o `uniquify-buffer-name-style&#39; defined&quot;)))<br></div><div class=3D"=
gmail_default" style=3D"font-family:monospace"><br></div><div class=3D"gmai=
l_default" style=3D"font-family:monospace">-Stephane</div></div>

--000000000000f879d60630de2d58--

--000000000000f879d60630de2d5a
Content-Type: application/octet-stream; 
	name="0001-uniquify-user-option-setters-and-automatic-buffer-re.patch"
Content-Disposition: attachment; 
	filename="0001-uniquify-user-option-setters-and-automatic-buffer-re.patch"
Content-Transfer-Encoding: base64
Content-ID: <f_m8j3ex3d0>
X-Attachment-Id: f_m8j3ex3d0

RnJvbSA1Y2M1ZDMwMjE4MmJjZTkxOWFiMzA4Yzk3YTEzYjA5YjJlZDkwZ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gOnRhZyAiSW5jbHVk
ZSBwcm9qZWN0IG5hbWUgaW4gZGlyZWN0b3J5IG5hbWUiCiAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICwjJ3Byb2plY3QtdW5pcXVpZnktZGlybmFtZS10cmFuc2Zvcm0pCiAgICAgICAg
ICAgICAgICAgIGZ1bmN0aW9uKQorICA6aW5pdGlhbGl6ZSAjJ2N1c3RvbS1pbml0aWFsaXplLWRl
ZmF1bHQKKyAgOnNldCAjJ3VuaXF1aWZ5LS1zZXQtb3B0aW9uCiAgIDp2ZXJzaW9uICIzMC4xIgog
ICA6Z3JvdXAgJ3VuaXF1aWZ5KQogCi0tIAoyLjQ3LjEKCg==
--000000000000f879d60630de2d5a--




Acknowledgement sent to Ship Mints <shipmints@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#77157; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sat, 29 Mar 2025 12:15:02 UTC

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