unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#58474: 29.0.50; gnus does not startup in latest master: (void-variable gnus-local-domain)
@ 2022-10-12 18:41 Uwe Brauer
  2022-10-12 19:10 ` Eli Zaretskii
  0 siblings, 1 reply; 6+ messages in thread
From: Uwe Brauer @ 2022-10-12 18:41 UTC (permalink / raw)
  To: 58474

[-- Attachment #1: Type: text/plain, Size: 250 bytes --]

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 


[-- Attachment #2: bbdb-bug-emacs29 --]
[-- Type: application/octet-stream, Size: 2272 bytes --]

Debugger entered--Lisp error: (void-variable gnus-local-domain)
  (or gnus-local-domain (message-make-domain) (system-name) "")
  (concat "^" (user-login-name) "$\\|^" (user-login-name) "@\\([-a-z0-9]+\\.\\)*" (or gnus-local-domain (message-make-domain) (system-name) "") "$")
  eval((concat "^" (user-login-name) "$\\|^" (user-login-name) "@\\([-a-z0-9]+\\.\\)*" (or gnus-local-domain (message-make-domain) (system-name) "") "$"))
  custom-initialize-reset(bbdb/gnus-split-myaddr-regexp (concat "^" (user-login-name) "$\\|^" (user-login-name) "@\\([-a-z0-9]+\\.\\)*" (or gnus-local-domain (message-make-domain) (system-name) "") "$"))
  custom-declare-variable(bbdb/gnus-split-myaddr-regexp (concat "^" (user-login-name) "$\\|^" (user-login-name) "@\\([-a-z0-9]+\\.\\)*" (or gnus-local-domain (message-make-domain) (system-name) "") "$") "*This regular expression should match your address..." :group bbdb-mua-specific-gnus-splitting :type string)
  byte-code("\300\301\302\303\304\305\306\307&\7\210\300\310\311\312\304\305\306\313&\7\210\300\314\315\316\304\305\306\307&\7\210\300\317\311\320\304\305\306\321&\7\210\300\322\323\324\304\305..." [custom-declare-variable bbdb/gnus-split-default-group "mail.misc" "*If the BBDB doesn't indicate any group to spool a..." :group bbdb-mua-specific-gnus-splitting :type string bbdb/gnus-split-nomatch-function nil "*This function will be called after searching the ..." function bbdb/gnus-split-myaddr-regexp (concat "^" (user-login-name) "$\\|^" (user-login-name) "@\\([-a-z0-9]+\\.\\)*" (or gnus-local-domain (message-make-domain) (system-name) "") "$") "*This regular expression should match your address..." bbdb/gnus-split-crosspost-default "*If this variable is not nil, then if the BBDB cou..." boolean bbdb/gnus-split-private-field 'gnus-private "*This variable is used to determine the field to r..." bbdb/gnus-split-public-field 'gnus-public "*This variable is used to determine the field to r..."] 8)
  bbdb-insinuate-gnus()
  run-hooks(gnus-startup-hook)
  apply(run-hooks gnus-startup-hook)
  gnus-run-hooks(gnus-startup-hook)
  #f(compiled-function () #<bytecode 0xfc14e97efc2baa9>)()
  gnus-1(nil nil nil)
  gnus(nil)
  funcall-interactively(gnus nil)
  call-interactively(gnus nil nil)
  command-execute(gnus)

^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#58474: 29.0.50; gnus does not startup in latest master: (void-variable gnus-local-domain)
  2022-10-12 18:41 bug#58474: 29.0.50; gnus does not startup in latest master: (void-variable gnus-local-domain) Uwe Brauer
@ 2022-10-12 19:10 ` Eli Zaretskii
  2022-10-12 20:22   ` Uwe Brauer
  0 siblings, 1 reply; 6+ messages in thread
From: Eli Zaretskii @ 2022-10-12 19:10 UTC (permalink / raw)
  To: Uwe Brauer; +Cc: 58474

> From: Uwe Brauer <oub@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?





^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#58474: 29.0.50; gnus does not startup in latest master: (void-variable gnus-local-domain)
  2022-10-12 19:10 ` Eli Zaretskii
@ 2022-10-12 20:22   ` Uwe Brauer
  2022-10-12 20:38     ` Lars Ingebrigtsen
  2022-10-13  5:20     ` Eli Zaretskii
  0 siblings, 2 replies; 6+ messages in thread
From: Uwe Brauer @ 2022-10-12 20:22 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: Uwe Brauer, 58474

[-- Attachment #1: Type: text/plain, Size: 1204 bytes --]

>>> "EZ" == Eli Zaretskii <eliz@gnu.org> writes:

>> From: Uwe Brauer <oub@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. 

[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 5673 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#58474: 29.0.50; gnus does not startup in latest master: (void-variable gnus-local-domain)
  2022-10-12 20:22   ` Uwe Brauer
@ 2022-10-12 20:38     ` Lars Ingebrigtsen
  2022-10-13  5:20     ` Eli Zaretskii
  1 sibling, 0 replies; 6+ messages in thread
From: Lars Ingebrigtsen @ 2022-10-12 20:38 UTC (permalink / raw)
  To: Uwe Brauer; +Cc: Eli Zaretskii, 58474

Uwe Brauer <oub@mat.ucm.es> writes:

> Any idea how to find the necessary aliases?

It doesn't have an alias.

Just set it to nil.





^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#58474: 29.0.50; gnus does not startup in latest master: (void-variable gnus-local-domain)
  2022-10-12 20:22   ` Uwe Brauer
  2022-10-12 20:38     ` Lars Ingebrigtsen
@ 2022-10-13  5:20     ` Eli Zaretskii
  2022-10-13 10:08       ` Uwe Brauer
  1 sibling, 1 reply; 6+ messages in thread
From: Eli Zaretskii @ 2022-10-13  5:20 UTC (permalink / raw)
  To: Uwe Brauer; +Cc: 58474

> From: Uwe Brauer <oub@mat.ucm.es>
> Cc: Uwe Brauer <oub@mat.ucm.es>, 58474@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.





^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#58474: 29.0.50; gnus does not startup in latest master: (void-variable gnus-local-domain)
  2022-10-13  5:20     ` Eli Zaretskii
@ 2022-10-13 10:08       ` Uwe Brauer
  0 siblings, 0 replies; 6+ messages in thread
From: Uwe Brauer @ 2022-10-13 10:08 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: Uwe Brauer, 58474

[-- Attachment #1: Type: text/plain, Size: 2265 bytes --]

>>> "EZ" == Eli Zaretskii <eliz@gnu.org> writes:

>> From: Uwe Brauer <oub@mat.ucm.es>
>> Cc: Uwe Brauer <oub@mat.ucm.es>, 58474@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. 

[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 5673 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2022-10-13 10:08 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-12 18:41 bug#58474: 29.0.50; gnus does not startup in latest master: (void-variable gnus-local-domain) Uwe Brauer
2022-10-12 19:10 ` Eli Zaretskii
2022-10-12 20:22   ` Uwe Brauer
2022-10-12 20:38     ` Lars Ingebrigtsen
2022-10-13  5:20     ` Eli Zaretskii
2022-10-13 10:08       ` Uwe Brauer

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).