Post AYLkk0tfulse6DVTQe by ringtailringo@mastodon.social
(DIR) More posts by ringtailringo@mastodon.social
(DIR) Post #AYLXmakqGlOcU6H41Q by galdor@emacs.ch
2023-08-03T07:21:40Z
0 likes, 0 repeats
This is a screenshot of a Go project I'm working on. But sure, #Lisp expressions are bad because they have too many parenthesis… And of course you cannot manipulate Go expressions the same way as Paredit.
(DIR) Post #AYLaWj4NsyStVEXbua by nthcdr@emacs.ch
2023-08-03T07:52:25Z
0 likes, 0 repeats
@galdor This is what drunk coding feels like...
(DIR) Post #AYLfB8ojyX7gl2kcAi by awkravchuk@functional.cafe
2023-08-03T08:44:31Z
0 likes, 0 repeats
@galdor Old but gold: https://pbs.twimg.com/media/EYsBw2PXQAIo-t3.jpg 😁
(DIR) Post #AYLhoB8lTL8ZAFrKj2 by shegeley@fosstodon.org
2023-08-03T09:14:00Z
0 likes, 0 repeats
@galdor we call it Govno
(DIR) Post #AYLhsztWi9bnja1szA by galdor@emacs.ch
2023-08-03T09:14:52Z
0 likes, 0 repeats
@shegeley I learned a new slang term today!
(DIR) Post #AYLhvZv9jlyu2y1Rjs by shegeley@fosstodon.org
2023-08-03T09:15:21Z
0 likes, 0 repeats
@galdor https://en.wiktionary.org/wiki/%D0%B3%D0%BE%D0%B2%D0%BD%D0%BE
(DIR) Post #AYLhywpN1kXNxXvHEm by ringtailringo@mastodon.social
2023-08-03T09:15:56Z
0 likes, 0 repeats
@galdor IMO, parenthesis is not the problem. Abysmal syntax highlighting* is a problem and not many recognizable patterns - if-else or a switch have a distinct look in Go, but is very similar to everything around it in CL. * I am not sure if it is a limitation of language itself, where everything is a macro or a function and there is nothing to highlight besides strings and number primitives, but at least all the keywords from std and libraries should have a distinct color. Commercial, maybe?
(DIR) Post #AYLj23OLB8dB8lKC5A by galdor@emacs.ch
2023-08-03T09:27:44Z
0 likes, 0 repeats
@ringtailringo I'm not sure I follow. if/else and switch are highlighted as any other keyword in Go. In Common Lisp, both IF and COND are symbols, highlighted the same way too.By default in Emacs, you'll also get different highlighting for standard functions/macros compared to other symbols. I have a custom configuration [1] to go a bit farther, but nothing crazy.[1] https://www.n16f.net/blog/custom-font-lock-configuration-in-emacs/
(DIR) Post #AYLjWA6UmshAe4KnyK by ringtailringo@mastodon.social
2023-08-03T09:33:09Z
0 likes, 0 repeats
@galdor But are they highlighted differently from your own symbols and other symbols? As far as I remember, it was not the case at least in emacs, but I have none in my hands right how, have another neovim episode right now.
(DIR) Post #AYLkQhmWlDvVJPxMbQ by galdor@emacs.ch
2023-08-03T09:43:22Z
0 likes, 0 repeats
@ringtailringo Yes they are highlighted differently from your own symbols.As for you other message, "just add more parenthesis" is a sign you are not using the amazing Paredit :)
(DIR) Post #AYLkk0tfulse6DVTQe by ringtailringo@mastodon.social
2023-08-03T09:46:52Z
0 likes, 0 repeats
@galdor I like it simple and besides occasional slurping and barfing never found any value in it ¯\_(ツ)_/¯ I also do not use all the new fancy treesitter-based structural editing, because I just do not care enough :)
(DIR) Post #AYLrsrkpyWHQ1tXc8m by mousebot@todon.nl
2023-08-03T11:06:53Z
0 likes, 0 repeats
@galdor i would exclaim similar things about JS when i started learning some. fucking crazy commas, braces semicolons all over the shop, feels like a car wreck...
(DIR) Post #AYLtxNMCcR1L6tIRyi by veer66@mstdn.io
2023-08-03T11:30:02Z
0 likes, 0 repeats
@galdor Is Parinfer applicable?
(DIR) Post #AYLukIZtB17kTe1htg by galdor@emacs.ch
2023-08-03T11:38:58Z
0 likes, 0 repeats
@veer66 I don't see why not.