Closed pmatos closed 2 years ago
This face:
https://github.com/rougier/nano-emacs/blob/9fc1e1ae9145d676b3bffd9a672ebac8881959e8/nano-theme.el#L546
Was removed at https://github.com/djcb/mu/commit/946bf7571ee4e0972e69dea5cdea8e6e85b13e67
That's over a year ago and I am having therefore troubles getting my setup to work.
I have setup emacs-nano with:
;;;;;;;;;;;;;; NANO EMACS CONFIG ;; svg-tag-mode required for nano-mu4e (straight-use-package '(svg-tag-mode :type git :host github :repo "rougier/svg-tag-mode")) ;; mu4e-dashboard required for nano-mu4e (straight-use-package '(mu4e-dashboard :type git :host github :repo "rougier/mu4e-dashboard")) ;; mu4e-dashboard required for nano-mu4e (straight-use-package '(mu4e-thread-folding :type git :host github :repo "rougier/mu4e-thread-folding")) ;; nano emacs mode (straight-use-package '(nano-emacs :type git :host github :repo "rougier/nano-emacs")) ; Set relevant variables before requiring nano (setq nano-font-size 10) ;; Default layout (optional) (require 'nano-layout) ;; Theme (require 'nano-theme-dark) ;; Customize support for 'emacs -q' (Optional) ;; You can enable customizations by creating the nano-custom.el file ;; with e.g. `touch nano-custom.el` in the folder containing this file. (let* ((this-file (or load-file-name (buffer-file-name))) (this-dir (file-name-directory this-file)) (custom-path (concat this-dir "nano-custom.el"))) (when (and (eq nil user-init-file) (eq nil custom-file) (file-exists-p custom-path)) (setq user-init-file this-file) (setq custom-file custom-path) (load custom-file))) ;; Theme (require 'nano-faces) (nano-faces) (require 'nano-theme) (nano-theme) ;; Nano default settings ; A few things need to be changed so I am not directly requiring nano-defaults ;; No startup screen (setq inhibit-startup-screen t) ;; No startup message (setq inhibit-startup-message t) (setq inhibit-startup-echo-area-message t) ;; No message in scratch buffer (setq initial-scratch-message nil) ;; Initial buffer (setq initial-buffer-choice nil) ;; No frame title (setq frame-title-format nil) ;; No file dialog (setq use-file-dialog nil) ;; No dialog box (setq use-dialog-box nil) ;; No popup windows (setq pop-up-windows nil) ;; No empty line indicators (setq indicate-empty-lines nil) ;; No cursor in inactive windows (setq cursor-in-non-selected-windows nil) ;; Text mode is initial mode (setq initial-major-mode 'text-mode) ;; Text mode is default major mode (setq default-major-mode 'text-mode) ;; Moderate font lock (setq font-lock-maximum-decoration nil) ;; No limit on font lock (setq font-lock-maximum-size nil) ;; No line break space points (setq auto-fill-mode nil) ;; Fill column at 80 (setq fill-column 80) ;; No confirmation for visiting non-existent files (setq confirm-nonexistent-file-or-buffer nil) ;; Completion style, see ;; gnu.org/software/emacs/manual/html_node/emacs/Completion-Styles.html (setq completion-styles '(basic substring)) ;; Use RET to open org-mode links, including those in quick-help.org (setq org-return-follows-link t) ;; Mouse active in terminal (unless (display-graphic-p) (xterm-mouse-mode 1) (global-set-key (kbd "<mouse-4>") 'scroll-down-line) (global-set-key (kbd "<mouse-5>") 'scroll-up-line)) ;; No scroll bars (if (fboundp 'scroll-bar-mode) (scroll-bar-mode nil)) ;; No toolbar (if (fboundp 'tool-bar-mode) (tool-bar-mode nil)) ;; No menu bar (menu-bar-mode -1) ;; Navigate windows using shift+direction (windmove-default-keybindings) ;; Tab behavior ;; (setq tab-always-indent 'complete) ;; (global-company-mode) ;; (define-key company-mode-map [remap indent-for-tab-command] ;; #'company-indent-or-complete-common) ;; y/n for answering yes/no questions (fset 'yes-or-no-p 'y-or-n-p) ;; No tabs (setq-default indent-tabs-mode nil) ;; Tab.space equivalence (setq-default tab-width 4) ;; Size of temporary buffers (temp-buffer-resize-mode) (setq temp-buffer-max-height 8) ;; Minimum window height (setq window-min-height 1) ;; Buffer encoding (prefer-coding-system 'utf-8) (set-default-coding-systems 'utf-8) (set-terminal-coding-system 'utf-8) (set-keyboard-coding-system 'utf-8) (set-language-environment 'utf-8) ;; Unique buffer names (require 'uniquify) (setq uniquify-buffer-name-style 'reverse uniquify-separator " • " uniquify-after-kill-buffer-p t uniquify-ignore-buffers-re "^\\*") ;; Default shell in term (setq-default shell-file-name "/usr/bin/zsh") (setq explicit-shell-file-name "/usr/bin/zsh") ;; Kill term buffer when exiting (defadvice term-sentinel (around my-advice-term-sentinel (proc msg)) (if (memq (process-status proc) '(signal exit)) (let ((buffer (process-buffer proc))) ad-do-it (kill-buffer buffer)) ad-do-it)) (ad-activate 'term-sentinel) ;;;;;;;;;;;; defaults ;; Nano session saving (optional) (require 'nano-session) ;; Nano header & mode lines (optional) (require 'nano-modeline) ;; Nano key bindings modification (optional) (require 'nano-bindings) ;; mu4e support (require 'nano-mu4e) ;;;;;;;;;;; END NANO EMACS CONFIG
I guess the problem is in doing (nano-theme) above.
(nano-theme)
oh dear, duplicate of #96
This face:
https://github.com/rougier/nano-emacs/blob/9fc1e1ae9145d676b3bffd9a672ebac8881959e8/nano-theme.el#L546
Was removed at https://github.com/djcb/mu/commit/946bf7571ee4e0972e69dea5cdea8e6e85b13e67
That's over a year ago and I am having therefore troubles getting my setup to work.
I have setup emacs-nano with:
I guess the problem is in doing
(nano-theme)
above.