Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

no syntax highlight in emacs 23.4.1 under console (cygwin actually) #40

Closed
redguardtoo opened this Issue · 3 comments

2 participants

@redguardtoo

The color theme is not loaded. and all the default syntax highlight is gone.

but if I run the command "TERM=xterm-256color emacs -nw", it's fine.

I can actually reproduce it under ArchLinux and emacs23 (console only).

BTW, do you know how to detect how many colors current emacs support in elisp code?

@purcell
Owner

Which theme are you using? If you're using my default theme setup, then in a terminal supporting few colors the theme will effectively be ignored, and then the default Emacs ANSI color handling should kick in -- that's what happens for me in a plain OS X terminal. No idea what might be different under Cygwin, but if you find there's an easy way to fix it, let me know.

Sorry, not sure how to determine the number of colors currently available.

@redguardtoo

When this issue happened, I used the same init-themes.el as yours.

@purcell
Owner

Hmm, okay. Well, let me know if you figure it out -- no way to reproduce it here, sorry.

@purcell purcell closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.