nowislewis / nowisemacs

A full-blown emacs configuration framework with easy abstraction
47 stars 8 forks source link

How to use it in terminal? #6

Closed penn201500 closed 1 year ago

penn201500 commented 1 year ago

Can I use it in the terminal? I've just tried 'emacsclient --c -a init.el' and failed. Got: Waiting for Emacs... ERROR: Cannot open load file: No such file or directory, ~/dotfiles/config/.config/emacs/modules/ui/modeline/autoload

nowislewis commented 1 year ago

Sorry for replying late, I write some docs about your useful suggestions and play around with new packages such as gptel. I generally use the terminal's emacs in two ways.

  1. Directly
    emacs -nw 
    ;; If you want to use a target init.el:
    emacs -nw -Q -l ~/.emacs.d/init.el
  2. Use client-server:
    ;;first
    emacs --daemon -Q -l ~/.emacs.d/init.el
    ;; then
    emacsclient -r -t