Code Monkey home page Code Monkey logo

Comments (12)

rougier avatar rougier commented on July 20, 2024

Can you try to install nano-modeline and check if it works?

from dotemacs.

Zilong-Li avatar Zilong-Li commented on July 20, 2024

I tried to install nano-modeline. it didn't work. it's pity that have to abandon the nano-modeline in my configuration.

from dotemacs.

rougier avatar rougier commented on July 20, 2024

What do you mean it didn't work ? Note that with the new version, you need to activate dfor any mode you like and/or setup a default modeline.

from dotemacs.

lbenet avatar lbenet commented on July 20, 2024

Hi! First, thanks for the great org file, not just from the literate configuration part, but also from the philosophy, including the esthetics! i truly like it and I'm learning a lot from it.

I run into the same issue: error: Invalid face, nano-modeline-active-name. I am using Emacs 29.1, which I guess is worth saying.

Following the suggestion (in the Warnings buffer), I loaded emacs in debug mode; this is what I get:

Debugger entered--Lisp error: (error "Invalid face" nano-modeline-active-name)
  internal-set-lisp-face-attribute(nano-modeline-active-name :foreground "black" 0)
  set-face-attribute(nano-modeline-active-name nil :foreground "black" :inherit (nano-modeline-active nano-strong))
  eval-buffer(#<buffer  *load*> nil "/Users/benet/.emacs.d/init.el" nil t)  ; Reading at buffer position 44274
  load-with-code-conversion("/Users/benet/.emacs.d/init.el" "/Users/benet/.emacs.d/init.el" t t)
  load("/Users/benet/.emacs.d/init" noerror nomessage)
  startup--load-user-init-file(#f(compiled-function () #<bytecode 0x155f566d6d9d85>) #f(compiled-function () #<bytecode -0x1f3c61addc0da035>) t)
  command-line()
  normal-top-level()

I went further commenting all lines with nano-modeline-active-name (as well as those nano-modeline-inactive-name, and others similar); lines 2197 till 2225. Now the error is Symbol's function definition is void: nano-modeline-mode, and the corresponding output from --debug-init is:

Debugger entered--Lisp error: (void-function nano-modeline-mode)
  (nano-modeline-mode 1)
  eval-buffer(#<buffer  *load*> nil "/Users/benet/.emacs.d/init.el" nil t)  ; Reading at buffer position 46623
  load-with-code-conversion("/Users/benet/.emacs.d/init.el" "/Users/benet/.emacs.d/init.el" t t)
  load("/Users/benet/.emacs.d/init" noerror nomessage)
  startup--load-user-init-file(#f(compiled-function () #<bytecode 0x155f566d6d9d85>) #f(compiled-function () #<bytecode -0x1f3c61addc0da035>) t)
  command-line()
  normal-top-level()

Any ideas of what to do?

from dotemacs.

rougier avatar rougier commented on July 20, 2024

With the newest version of the nano-modeline, there is no mode generic nano-modeline-mode. Instead, you need to activate it for any mode you want (including all modes at once). Have a look at documentation here

from dotemacs.

alphanhp avatar alphanhp commented on July 20, 2024

Hello Rougier, I'm suffering the same as above mentioned(and the same backtrace in debug-init). And I've activated nano-modeline-mode as document( add all the hook listed), but still as before.

I'm pretty love the "nano emacs". And I'm laypeople(or rookie) to programming, could I get some advice?
besides, whether OS(Windows)is a element to produce these?

from dotemacs.

alphanhp avatar alphanhp commented on July 20, 2024

and emacs is 29.1 @rougier

from dotemacs.

rougier avatar rougier commented on July 20, 2024

@alphanhp Can you open an issue at https://github.com/rougier/nano-modeline. It will be easier for me to debug.

from dotemacs.

Safenein avatar Safenein commented on July 20, 2024

Hi rougier,

Same issue on fresh install.

Is there any update ?

from dotemacs.

rougier avatar rougier commented on July 20, 2024

With the newer nano-modeline you mean?

from dotemacs.

Safenein avatar Safenein commented on July 20, 2024

I'm not sure, but I can reproduce this bug:

git clone https://github.com/rougier/dotemacs.git
mkdir ~/.emacs.org
emacs dotemacs/dotemacs

I hit <C-c><C-v>t to tangle.

Then:

ln -s ~/.emacs.org ~/.emacs.d
emacs

I wait for everything to download and compile. I restart and I get the error of this issue.

Maybe this dotfile is out-of-date because nano-modeline works fine when I use it in my personal config. It is also more than 1 year of inactivity in this repo, so maybe your configuration changed to adapt to updates but not on Github.

from dotemacs.

Related Issues (5)

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.