5 ms·
https://i.imgur.com/TFTOj8Z.png https://i.imgur.com/TFTOj8Z.png This is with the default spacemacs theme. Can you tell which one is the terminal and which one
by alex_smart 5y ago
https://i.imgur.com/TFTOj8Z.png https://i.imgur.com/TFTOj8Z.png
This is with the default spacemacs theme. Can you tell which one is the terminal and which one the GUI?
https://www.gnu.org/software/emacs/manual/html_node/efaq/Colors-on-a-TTY.html https://www.gnu.org/software/emacs/manual/html_node/efaq/Col...
Emacs does have the feature you want. Perhaps your setup wasn't supported. Which terminal/os were you on?
- pdimitar 5y agoOuch. macOS with iTerm2 and then Alacritty. Now I am even more confused why it doesn't work well for me.
- alex_smart 5y ago>why it doesn't work well for me Possible reasons: 1. (macOS + inside terminal) isn't a common workflow for emacs contributors, or perhaps for people with that workflow working with 256 colors isn't an issue 2. people who want that workflow who care about having 24 bit colors didn't bother to file a bug report (did you?) Bitter pill, but I hope it helps: as a beginner to an ecosystem, if you are going to be opinioniated about having an unusual workflow, you are always going to run into problems. If you are running Emacs locally, just run it in GUI mode, that's what most people do.
- pdimitar 5y agoI do run Emacs in GUI mode and it's embarrassingly slow due to various factors I gradually managed to pinpoint: 1. 5K retina display (other Mac owners seem to share the experience) 2. A font with a lot of graphemes (those without emoji seem to render faster) 3. The synchronous nature of LSP; I still don't get it why LSP can't work asynchronously in Emacs -- it does in VIM. Hence me asking about terminal mode where it also works rather confusingly to me (I mean the colors). > (macOS + inside terminal) isn't a common workflow for emacs contributors As a guy who worked on OSS before -- and wants to do it again -- I am never feeling entitled to other people's work. I just wonder why those scenarios are supported in the first place (if no contributors are interested in making them work well). > as a beginner to an ecosystem, if you are going to be opinioniated about having an unusual workflow, you are always going to run into problems Fair enough and I don't think it's a bitter pill at all, I appreciate the feedback. But again, I am wondering why the supposedly first-class option (GUI) is also having problems. :( > 2. people who want that workflow who care about having 24 bit colors didn't bother to file a bug report (did you?) I wouldn't even know where to begin. The whole community and ecosystem seem extremely foreign to me and I never even got as far as to find a bug report template (admittedly I didn't try very hard). There's just something... alienating about this community, especially Emacs devs. Maybe I am wrong, I hope I am wrong but, just an accumulated feeling. In any case, the reason I am getting a bit ticked off is that Emacs is supposedly hugely popular. I'd expect a 5K screen and some richer fonts to not trip it but perhaps you're right that macOS isn't a focus.
- alex_smart 5y ago>5K retina display >A font with a lot of graphemes You might have fun reading the article linked here: https://news.ycombinator.com/item?id=12830206 https://news.ycombinator.com/item?id=12830206 >The synchronous nature of LSP; I still don't get it why LSP can't work asynchronously in Emacs Oh god, that is actually terrible. > I never even got as far as to find a bug report template The official way to file a bug report is M-x report-emacs-bug. >especially Emacs devs What's that feeling based on?
- spudlyo 5y agoFor your possible inspiration: Emacs in iterm2/tmux with 24-bit color, and a bunch of fancy icon sets mapped into the private use area running LSP mode looking a large Python code base[0]. [0]: https://muppetlabs.com/~mikeh/ttyemacs.png https://muppetlabs.com/~mikeh/ttyemacs.png
- bloopernova 5y agoOh good lord, how do you get that sort of layout? (I need to learn how Emacs manages its windows; Mostly I have one Treemacs buffer open on the left, then a single large editor window with Olivetti mode on the right.)
- spudlyo 5y agoIf you have xterm-mouse-mode set it's pretty easy to size windows with your mouse. I just create the splits with the usual emacs window commands and then move things around with my mouse until I have things just right.
- geofft 5y agoWhat is the output of "echo $TERM" and "tput colors"?
- pdimitar 5y agoIt's actually 256 for both. WTF, apparently I didn't setup iTerm2 correctly. Let me get to it...