pprevos / emacs-writing-studio

Emacs configuration for authors who research, write and publish articles, books and websites.
https://lucidmanager.org/tags/emacs/
GNU General Public License v3.0
473 stars 30 forks source link

load-with-code-conversion: Symbol’s function definition is void: global-company-mode #2

Closed zenny closed 1 year ago

zenny commented 1 year ago

Hi,

  1. init.el does not load with: emacs --debug-init --init-direcectory /path/to/thisrepo/init.el

  2. When I tried to load-buffer: eval-buffer: Symbol’s function definition is void: global-company-mode

fyi.

pprevos commented 1 year ago

Hi Zenny,

I just pushed a new version with a changed configuration for company-mode. It shows no error when I run it with --debug-init. Can you please test on your end?

P:)

zenny commented 1 year ago

Hi Zenny,

I just pushed a new version with a changed configuration for company-mode. It shows no error when I run it with --debug-init. Can you please test on your end?

P:)

Now popped up with new issue with orderless:

Error running timer: (error "Invalid completion style orderless")

pprevos commented 1 year ago

Thanks for testing this config, Apologies for the bugs. I did some more testing, but I can seem to replicate the Orderless error.

What were you doing when the error appeared? Are you using Emacs 29.1?

zenny commented 1 year ago

Thanks for testing this config, Apologies for the bugs. I did some more testing, but I can seem to replicate the Orderless error.

What were you doing when the error appeared? I just tried to load your init.el because it does not load with emacs --debug-config --init-directory path/to/ews/init.el

Are you using Emacs 29.1? Yep.

pprevos commented 1 year ago

So the error appears when you start Emacs?

When I run the current configuration I get no error (using Arch Linux). The Orderless configuration is as stated by the package author and works OK on my end.

Which operating system do you use?

zenny commented 1 year ago

On Fri, Sep 22, 2023 at 12:35 PM Peter Prevos @.***> wrote:

So the error appears when you start Emacs?

When I run the current configuration I get no error (using Arch Linux). The Orderless configuration is as stated by the package author https://github.com/oantolin/orderless and works OK on my end.

Which operating system do you use?

I use rolling release VoidLinux, fyi.

— Reply to this email directly, view it on GitHub https://github.com/pprevos/emacs-writing-studio/issues/2#issuecomment-1731194632, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAMTTLTYSY2D452N7NAP5WTX3VSXJANCNFSM6AAAAAA5BUSWBE . You are receiving this because you authored the thread.Message ID: @.***>

-- Cheers, /z

pprevos commented 1 year ago

Looking at your orginal post, try to run Emacs like this:

emacs --init-directory /path/to/thisrepo (remove init.el)

pprevos commented 1 year ago

I updated the readme file to reflect the correct way to start Emacs 29.1 with EWS. e5d4adef894647dd5d2cce9a3c8c5d88725e9c03