Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
redguardtoo opened this issue Jul 16, 2012 · 3 comments
Closed

Comments

@redguardtoo
Copy link

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
Copy link
Owner

purcell commented Jul 16, 2012

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
Copy link
Author

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

@purcell
Copy link
Owner

purcell commented Jul 16, 2012

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

@purcell purcell closed this as completed Mar 6, 2014
qioixiy pushed a commit to qioixiy/emacs.d that referenced this issue Aug 5, 2017
* lispy.el (lispy-kill-word): New function.

* lispy-test.el (lispy-kill-word): Add test.

re purcell#40
qioixiy pushed a commit to qioixiy/emacs.d that referenced this issue Aug 5, 2017
* lispy.el (lispy-backward-kill-word): New function, bound to "M-DEL".

* lispy-test.el (lispy-backward-kill-word): Add test.

re purcell#40
qioixiy pushed a commit to qioixiy/emacs.d that referenced this issue Aug 5, 2017
* lispy.el (lispy-kill-sentence): New function.

* lispy-test.el (lispy-kill-sentence): Add test.

Fixes purcell#40.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants