bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#44804: 28.0.50; loading EBDB using use-package is throwing error


From: Pankaj Jangid
Subject: bug#44804: 28.0.50; loading EBDB using use-package is throwing error
Date: Mon, 23 Nov 2020 12:10:30 +0530
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (darwin)

Eric Abrahamsen <eric@ericabrahamsen.net> writes:

>>>> (use-package ebdb
>>>>   :ensure t
>>>>   :config
>>>>   (use-package 'ebdb-gnus  ; no `:ensure t' here, installed with ebdb
>>>>     :hook emacs-startup)
>>>>   (use-package 'ebdb-message
>>>>     :hook emacs-startup))
>
> Don't quote ebdb-gnus and ebdb-message above -- see if that works.
>
>> Debugger entered--Lisp error: (wrong-type-argument symbolp 'ebdb-gnus)
>> symbol-name('ebdb-gnus)

With this code:

(use-package ebdb
  :ensure t
  :config
  (use-package ebdb-gnus  ; no `:ensure t' here, installed with ebdb
    :hook emacs-startup)
  (use-package ebdb-message
    :hook emacs-startup))

I get this error:

--8<---------------cut here---------------start------------->8---
Debugger entered--Lisp error: (error "Autoloading file 
/Users/pankaj/.config/emacs/elpa/...")
  ebdb-message()
  run-hooks(emacs-startup-hook term-setup-hook)
  #f(compiled-function () #<bytecode -0x19af99888059321b>)()
  normal-top-level()
--8<---------------cut here---------------end--------------->8---

And, with this code:

(use-package ebdb
  :ensure t
  :config
  (require 'edbd-gnus)
  (require 'ebdb-message))

I get this:

--8<---------------cut here---------------start------------->8---
Debugger entered--Lisp error: (file-missing "Cannot open load file" "No such 
file or directory" "edbd-gnus")
  require(edbd-gnus)
  (progn (require 'edbd-gnus) (require 'ebdb-message) t)
  (condition-case err (progn (require 'edbd-gnus) (require 'ebdb-message) t) 
((debug error) (funcall use-package--warning18 :config err)))
  (if (not (require 'ebdb nil t)) (display-warning 'use-package (format "Cannot 
load %s" 'ebdb) :error) (condition-case err (progn (require 'edbd-gnus) 
(require 'ebdb-message) t) ((debug error) (funcall use-package--warning18 
:config err))))
  (condition-case err (if (not (require 'ebdb nil t)) (display-warning 
'use-package (format "Cannot load %s" 'ebdb) :error) (condition-case err (progn 
(require 'edbd-gnus) (require 'ebdb-message) t) ((debug error) (funcall 
use-package--warning18 :config err)))) ((debug error) (funcall 
use-package--warning18 :catch err)))
  eval-buffer(#<buffer  *load*-709725> nil 
"/Users/pankaj/.config/emacs/lisp/init-ebdb.el" nil t)  ; Reading at buffer 
position 469
  load-with-code-conversion("/Users/pankaj/.config/emacs/lisp/init-ebdb.el" 
"/Users/pankaj/.config/emacs/lisp/init-ebdb.el" nil t)
  require(init-ebdb)
  eval-buffer(#<buffer  *load*> nil "/Users/pankaj/.config/emacs/init.el" nil 
t)  ; Reading at buffer position 1876
  load-with-code-conversion("/Users/pankaj/.config/emacs/init.el" 
"/Users/pankaj/.config/emacs/init.el" t t)
  load("/Users/pankaj/.config/emacs/init" noerror nomessage)
  startup--load-user-init-file(#f(compiled-function () #<bytecode 
-0x1f1ee872bab7efa1>) #f(compiled-function () #<bytecode 0x2eac4b2ad19c19f>) t)
  command-line()
  normal-top-level()
--8<---------------cut here---------------end--------------->8---






reply via email to

[Prev in Thread] Current Thread [Next in Thread]