unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eric Abrahamsen <eric@ericabrahamsen.net>
To: 44804@debbugs.gnu.org
Subject: bug#44804: 28.0.50; loading EBDB using use-package is throwing error
Date: Mon, 23 Nov 2020 10:28:42 -0800	[thread overview]
Message-ID: <875z5wc4h1.fsf@ericabrahamsen.net> (raw)
In-Reply-To: <m2im9x1c3l.fsf@codeisgreat.org>

Pankaj Jangid <pankaj@codeisgreat.org> writes:

> 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:
>
> 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()

This seems to be trying to call `ebdb-message' as a function, not
loading it.

>
> And, with this code:
>
> (use-package ebdb
>   :ensure t
>   :config
>   (require 'edbd-gnus)
>   (require 'ebdb-message))
>
> I get this:
>
> Debugger entered--Lisp error: (file-missing "Cannot open load file" "No such file or directory" "edbd-gnus")
>   require(edbd-gnus)

This is just a typo for "ebdb".

None of these errors look like actual EBDB errors, just confusions about
how the use-package macro works. I can't really help with these.






  reply	other threads:[~2020-11-23 18:28 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-22 18:27 bug#44804: 28.0.50; loading EBDB using use-package is throwing error Pankaj Jangid
2020-11-22 19:21 ` Eric Abrahamsen
2020-11-23  2:59   ` Pankaj Jangid
2020-11-23  4:13     ` Eric Abrahamsen
2020-11-23  5:47       ` Pankaj Jangid
2020-11-23  6:02         ` Eric Abrahamsen
2020-11-23  6:40           ` Pankaj Jangid
2020-11-23 18:28             ` Eric Abrahamsen [this message]
2022-01-28 15:08               ` Lars Ingebrigtsen
2022-01-28 16:21                 ` Eric Abrahamsen
2022-02-28  9:52                   ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=875z5wc4h1.fsf@ericabrahamsen.net \
    --to=eric@ericabrahamsen.net \
    --cc=44804@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).