Git Product home page Git Product logo

Comments (10)

WillPower3309 avatar WillPower3309 commented on August 27, 2024 2

Anyone looking for this still, here is what I do:

(straight-use-package
 '(nano-emacs :type git :host github :repo "rougier/nano-emacs"))

from here, just paste the nano.el contents below. My personal config is as follows:

(straight-use-package
 '(nano-emacs :type git :host github :repo "rougier/nano-emacs"))

(require 'nano-theme-dark)

(require 'nano-faces)
(nano-faces)

(require 'nano-theme)
(nano-theme)

;; Nano header & mode lines
(require 'nano-modeline)

;; Welcome message
(let ((inhibit-message t))
  (message "Welcome to GNU Emacs / N Λ N O edition")
  (message (format "Initialization time: %s" (emacs-init-time))))

(require 'nano-splash)

from nano-emacs.

WillPower3309 avatar WillPower3309 commented on August 27, 2024 1

Maybe this should go to the README or an INSTALL file. Anyone willing to make a PR?

I can! It works seamlessly with a couple of caveats that are important to note

from nano-emacs.

wunki avatar wunki commented on August 27, 2024 1

In the end, this is what I ended up doing:

(use-package nano-emacs
  :demand
  :no-require t
  :straight (:host github :repo "rougier/nano-emacs")
  :defines (nano-font-family-monospaced nano-font-size)
  :config
  (setq nano-font-family-monospaced "Berkeley Mono")
  (setq nano-font-size 14)
  (require 'nano))

from nano-emacs.

rougier avatar rougier commented on August 27, 2024

There was a missing paren in the mode. I've just fixed it, can you give a retry?

from nano-emacs.

Linuus avatar Linuus commented on August 27, 2024

Sure. It looks like I'm getting a bit further now at least!

With this:

  (use-package nano-emacs
    :straight (:host github :repo "rougier/nano-emacs")
    :demand t
    :config
    (nano-faces)
    (nano-theme))

I get Error (use-package): Cannot load nano-emacs though. I've tried to get some more debug info but to no success 🤔 Will try more a bit later.

from nano-emacs.

Linuus avatar Linuus commented on August 27, 2024

Ah it tries to load a a package named nano-emacs but there is no such file. I’ll just remove the demand and require the files manually. It should work :)

from nano-emacs.

bakirtzisg avatar bakirtzisg commented on August 27, 2024

@Linuus Could you post a full solution? This is my current problem with trying straight and NΛNO. See #37

from nano-emacs.

Linuus avatar Linuus commented on August 27, 2024

I changed my mind and kept doom-nord instead, but something like this:

  (use-package nano-emacs
    :straight (:host github :repo "rougier/nano-emacs")
    :config
    (require 'nano-faces)
    (require '....)
    (nano-faces))

I think you need to require stuff in the correct order etc. or it might not work.

from nano-emacs.

rougier avatar rougier commented on August 27, 2024

Maybe this should go to the README or an INSTALL file. Anyone willing to make a PR?

from nano-emacs.

caleb avatar caleb commented on August 27, 2024

I got nano working with use-package.... the issue was that the package name was just nano and not nano-emacs

from nano-emacs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.