GNU bug report logs - #77612
[PATCH] (eieio-backward-compatibility): Change default to new `warn` value

Previous Next

Package: emacs;

Reported by: Stefan Monnier <monnier <at> iro.umontreal.ca>

Date: Mon, 7 Apr 2025 17:31:01 UTC

Severity: normal

Tags: patch

Full log


View this message in rfc822 format

From: Eshel Yaron <me <at> eshelyaron.com>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 77612 <at> debbugs.gnu.org, zappo <at> gnu.org
Subject: bug#77612: [PATCH] (eieio-backward-compatibility): Change default to new `warn` value
Date: Fri, 18 Apr 2025 08:40:11 +0200
Stefan Monnier <monnier <at> iro.umontreal.ca> writes:

>> With this change (in commit ae1d01328f2), auth-source-search started
>> producing warnings, since (IIUC) it relies on the obsolete calling
>> convention using :initarg.  For example, I get the following messages
>> when evaluating the example form in the auth-source-search docstring:
>>
>> --8<---------------cut here---------------start------------->8---
>> Accessing slot ‘host’ via obsolete initarg name ‘:host’
>> Accessing slot ‘type’ via obsolete initarg name ‘:type’
>> Accessing slot ‘host’ via obsolete initarg name ‘:host’
>> Accessing slot ‘type’ via obsolete initarg name ‘:type’
>> Accessing slot ‘host’ via obsolete initarg name ‘:host’
>> Accessing slot ‘type’ via obsolete initarg name ‘:type’
>> --8<---------------cut here---------------end--------------->8---
>>
>> WDYT about adapting auth-source-search, along the following lines?
>
> LGTM.  Do you want me to push it, or will you?

I just pushed it as commit 2f67352d7ae, thanks :)


Eshel





This bug report was last modified 57 days ago.

Previous Next


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