~northyear/.emacs.d-devel

Emacs config

Details
Message ID
<imnqnbjenj6mfls4xcd42kr3ndznoosbxhtkds4xggtqx66kab@unmoctplu3i5>
DKIM signature
missing
Download raw message
Bartosz Bubak <bartosz.bubak@gmail.com> writes:

> Hey,
> I have been using your emacs setup from=20
> https://git.sr.ht/~northyear/dotemacs for some time now, but a few=20
> days ago I
> encountered some strange issues.
> The first one was for Doom themes, none of them load and return an=20
> error:
>
> lambda-`-'-text-obj17: invalid argument type: keymapp, nil
>
> I tried to figure out what the problem was, but to no avail=20
> (unfortunately I'm bad at lisp and green at emacs), I just deleted
> everything and did a "git pull" from the main branch. Unfortunately it=20
> didn't help.
> It quickly turned out that an update to Emacs 29 was required, but=20
> after the update I still get the message:
>
> Warning (initialization): An error occurred while loading=20
> =E2=80=98c:/Users/barto/AppData/Roaming/.emacs.d/init.el=E2=80=99:
>
> : Local variables entry is missing the suffix
>
> To ensure normal operation, you should investigate and remove the
> cause of the error in your initialization file.  Start Emacs with
> the =E2=80=98--debug-init=E2=80=99 option to view a complete error backtr=
ace.
>
> Debug-init does nothing. Do you know what the problem is?
> Everything is from your repo, without any changes.
>
> I try use package bug-hunter (only first time, not working now... no=20
> idea why) but it shows me only basic information about
> problems with "my-loaddef", after comment this line got another errors=20
> like this:
> Debugger entered--Lisp error: (void-function=20
> my/tab-bar-go-to-tab-macro)
>   (my/tab-bar-go-to-tab-macro 1)
>   (general-define-key :states '(motion insert normal) :keymaps=20
>   'override "" '(:ignore t :which-key "Tab") "n" #'tab-bar-new-tab
> "c" #'tab-bar-close-tab "C" #'tab-bar-close-group-tabs "o"=20
> #'tab-bar-close-other-tabs "]" #'tab-bar-switch-to-next-tab "["
> #'tab-bar-switch-to-prev-tab "{" #'tab-bar-history-back "}"=20
> #'tab-bar-history-forward "b" #'tab-bar-move-window-to-tab "l"
> #'tab-bar-move-tab "h" #'tab-bar-move-tab-backward "g"=20
> #'tab-bar-change-tab-group "TAB" #'tab-bar-switch-to-tab "1"
> (my/tab-bar-go-to-tab-macro 1) "2" (my/tab-bar-go-to-tab-macro 2) "3"=20
> (my/tab-bar-go-to-tab-macro 3) "4"
> (my/tab-bar-go-to-tab-macro 4) "5" (my/tab-bar-go-to-tab-macro 5) "6"=20
> (my/tab-bar-go-to-tab-macro 6) "7"
> (my/tab-bar-go-to-tab-macro 7) "8" (my/tab-bar-go-to-tab-macro 8) "9"=20
> ...)
>   load-with-code-conversion("c:/Users/barto/AppData/Roaming/.emacs.d/lisp=
/my-in..."
> "c:/Users/barto/AppData/Roaming/.emacs.d/lisp/my-in..." nil t)
>   require(my-init-ui)
>   load-with-code-conversion("c:/Users/barto/AppData/Roaming/.emacs.d/init=
.el"
> "c:/Users/barto/AppData/Roaming/.emacs.d/init.el" t t)
>   load("c:/Users/barto/AppData/Roaming/.emacs.d/init" noerror=20
>   nomessage)
>
> My system is windows 11 + emacs 29.1.2 (from installer, not builded=20
> locally)


Hi Bartosz, thanks for your reply.

Unfortunately I don't use emacs on Windows, so I am afraid I cannot have
a clear idea about how to solve these issues for you.

However, based on the error message, it seems that it may be related to
the generated autoloads files (maybe the generated autoload files are
not cross-platform? The same generated autoload file works fine on both
linux and macos).

If so, you can try to rebuild those autoloads files, here is the steps:

1. Launching the emacs.
2. Deleting everything from `my-loaddefs.el`.
3. M-x my/update-all-autoloads.
4. Restart emacs


Besides, you can send the mail to
`~northyear/.emacs.d-devel@lists.sr.ht` since this is the official
mailing list for this emacs config.

Let me know if this works for you,

Thanks.
Reply to thread Export thread (mbox)