GNU bug report logs -
#58474
29.0.50; gnus does not startup in latest master: (void-variable gnus-local-domain)
Previous Next
Reported by: Uwe Brauer <oub <at> mat.ucm.es>
Date: Wed, 12 Oct 2022 18:42:01 UTC
Severity: normal
Tags: notabug
Found in version 29.0.50
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 58474 in the body.
You can then email your comments to 58474 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#58474
; Package
emacs
.
(Wed, 12 Oct 2022 18:42:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Uwe Brauer <oub <at> mat.ucm.es>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Wed, 12 Oct 2022 18:42:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hi
I successfully compiled Emacs master
2953d89d74ebfe6a6bcbe0d25a60a845acad0e13.
However I when starting gnus I receive and error that I attach and that
does not allow me to send a bug report from that Emacs master version
Regards
Uwe Brauer
[bbdb-bug-emacs29 (application/octet-stream, attachment)]
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#58474
; Package
emacs
.
(Wed, 12 Oct 2022 19:10:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 58474 <at> debbugs.gnu.org (full text, mbox):
> From: Uwe Brauer <oub <at> mat.ucm.es>
> Date: Wed, 12 Oct 2022 20:41:25 +0200
>
> I successfully compiled Emacs master
> 2953d89d74ebfe6a6bcbe0d25a60a845acad0e13.
>
> However I when starting gnus I receive and error that I attach and that
> does not allow me to send a bug report from that Emacs master version
>
> Debugger entered--Lisp error: (void-variable gnus-local-domain)
> (or gnus-local-domain (message-make-domain) (system-name) "")
Did you try looking up this variable in NEWS?
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#58474
; Package
emacs
.
(Wed, 12 Oct 2022 20:23:01 GMT)
Full text and
rfc822 format available.
Message #11 received at 58474 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
>>> "EZ" == Eli Zaretskii <eliz <at> gnu.org> writes:
>> From: Uwe Brauer <oub <at> mat.ucm.es>
>> Date: Wed, 12 Oct 2022 20:41:25 +0200
>>
>> I successfully compiled Emacs master
>> 2953d89d74ebfe6a6bcbe0d25a60a845acad0e13.
>>
>> However I when starting gnus I receive and error that I attach and that
>> does not allow me to send a bug report from that Emacs master version
>>
>> Debugger entered--Lisp error: (void-variable gnus-local-domain)
>> (or gnus-local-domain (message-make-domain) (system-name) "")
> Did you try looking up this variable in NEWS?
Sigh, I did now,
** Some functions and variables obsolete since Emacs 24 have been removed:
But no hint how to somehow use it anyhow.
My problem at the moment is that I have to stick to bbdb-2.35 which uses these variables. I have written dozens of extensions that I cannot
easily port to bbdb-3.X since a lot of functions were either removed or renamed.
Any idea how to find the necessary aliases?
--
I strongly condemn Putin's war of aggression against the Ukraine.
I support to deliver weapons to Ukraine's military.
I support the ban of Russia from SWIFT.
I support the EU membership of the Ukraine.
[smime.p7s (application/pkcs7-signature, attachment)]
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#58474
; Package
emacs
.
(Wed, 12 Oct 2022 20:39:02 GMT)
Full text and
rfc822 format available.
Message #14 received at 58474 <at> debbugs.gnu.org (full text, mbox):
Uwe Brauer <oub <at> mat.ucm.es> writes:
> Any idea how to find the necessary aliases?
It doesn't have an alias.
Just set it to nil.
Added tag(s) notabug.
Request was from
Lars Ingebrigtsen <larsi <at> gnus.org>
to
control <at> debbugs.gnu.org
.
(Wed, 12 Oct 2022 20:40:01 GMT)
Full text and
rfc822 format available.
bug closed, send any further explanations to
58474 <at> debbugs.gnu.org and Uwe Brauer <oub <at> mat.ucm.es>
Request was from
Lars Ingebrigtsen <larsi <at> gnus.org>
to
control <at> debbugs.gnu.org
.
(Wed, 12 Oct 2022 20:40:01 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#58474
; Package
emacs
.
(Thu, 13 Oct 2022 05:21:02 GMT)
Full text and
rfc822 format available.
Message #21 received at 58474 <at> debbugs.gnu.org (full text, mbox):
> From: Uwe Brauer <oub <at> mat.ucm.es>
> Cc: Uwe Brauer <oub <at> mat.ucm.es>, 58474 <at> debbugs.gnu.org
> Date: Wed, 12 Oct 2022 22:22:21 +0200
>
> > Did you try looking up this variable in NEWS?
>
>
> Sigh, I did now,
> ** Some functions and variables obsolete since Emacs 24 have been removed:
>
> But no hint how to somehow use it anyhow.
Look at the code which caused the problem:
> Debugger entered--Lisp error: (void-variable gnus-local-domain)
> (or gnus-local-domain (message-make-domain) (system-name) "")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
So if gnus-local-domain is nil, the code in bbdb already knows how to
deal with that, it just needs the variable to exist.
Now look at how this obsolete variable was defined in Emacs 28:
(defcustom gnus-local-domain nil
This is how you have been "using" this variable since Emacs 24: with a
nil value. So just
(defvar gnus-local-domain nil)
somewhere in your init file should do. Better yet, modify bbdb to
remove all the references to that variable.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#58474
; Package
emacs
.
(Thu, 13 Oct 2022 10:09:02 GMT)
Full text and
rfc822 format available.
Message #24 received at 58474 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
>>> "EZ" == Eli Zaretskii <eliz <at> gnu.org> writes:
>> From: Uwe Brauer <oub <at> mat.ucm.es>
>> Cc: Uwe Brauer <oub <at> mat.ucm.es>, 58474 <at> debbugs.gnu.org
>> Date: Wed, 12 Oct 2022 22:22:21 +0200
>>
>> > Did you try looking up this variable in NEWS?
>>
>>
>> Sigh, I did now,
>> ** Some functions and variables obsolete since Emacs 24 have been removed:
>>
>> But no hint how to somehow use it anyhow.
> Look at the code which caused the problem:
>> Debugger entered--Lisp error: (void-variable gnus-local-domain)
>> (or gnus-local-domain (message-make-domain) (system-name) "")
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> So if gnus-local-domain is nil, the code in bbdb already knows how to
> deal with that, it just needs the variable to exist.
> Now look at how this obsolete variable was defined in Emacs 28:
> (defcustom gnus-local-domain nil
> This is how you have been "using" this variable since Emacs 24: with a
> nil value. So just
> (defvar gnus-local-domain nil)
> somewhere in your init file should do. Better yet, modify bbdb to
> remove all the references to that variable.
Thanks, may I propose, and I think I will propose it in devel later today:
Why not have a file called
obsolete-var-funcs.el or backward-compatiblity-var-func.el
That contains these old compatibility code?
Such a file could be loaded by users who need this sort of compatibility?
In my case such a file would look, for the moment (I have to run more tests)
(define-obsolete-function-alias 'set-face-underline-p
'set-face-underline "24.3")
(defcustom gnus-local-domain nil
"Local domain name without a host name.
The DOMAINNAME environment variable is used instead if it is defined.
If the function `system-name' returns the full Internet name, there is
no need to set this variable."
:group 'gnus-message
:type '(choice (const :tag "default" nil)
string))
(make-obsolete-variable 'gnus-local-domain nil "24.1")
--
I strongly condemn Putin's war of aggression against the Ukraine.
I support to deliver weapons to Ukraine's military.
I support the ban of Russia from SWIFT.
I support the EU membership of the Ukraine.
[smime.p7s (application/pkcs7-signature, attachment)]
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Thu, 10 Nov 2022 12:24:13 GMT)
Full text and
rfc822 format available.
This bug report was last modified 2 years and 218 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.