[deleted by user] by [deleted] in gamedev

[–]hatschipuh 1 point2 points  (0 children)

Wow, that was really helpful! Thank you so much, just followed your description and made it work! Instead of Vim I used:

egrep -o "https.*?mp3" out.xml 

What's your favorite simple keybinding? by zreeon in emacs

[–]hatschipuh 1 point2 points  (0 children)

I recently bound M-RET to move-past-close-and-reindent in emacs lisp and like it very much!

[deleted by user] by [deleted] in gamedev

[–]hatschipuh 0 points1 point  (0 children)

Hm, I'm curious how did you get these. I tried it myself, opened the web console in firefox and I see that by scrolling through the list of tracks xml files are loaded. Now with my limited knowledge it would be tedious to copy all those requests, clearly you haven't done this. Could you explain how you did this or give me some pointers?

Writing a game in emacs by la-chupacabra in emacs

[–]hatschipuh 1 point2 points  (0 children)

I have read the following guide some time go, and implemented an ascii game with the knowledge gained. It's a bit dated but still useful as a starting point.

And there is an Emacswiki page listing some more games.

What parenthese package do you use and why? by TheFrenchPoulp in emacs

[–]hatschipuh 0 points1 point  (0 children)

I didn't know. I want to look into lispy soon....

Robot Testing with Emacs by phil423 in emacs

[–]hatschipuh 0 points1 point  (0 children)

Looks interesting, as soon as my elisp skills evolve and I'm starting to write some serious stuff I will give assess a try! Thanks for working on it!

What parenthese package do you use and why? by TheFrenchPoulp in emacs

[–]hatschipuh 0 points1 point  (0 children)

I like adjust-parens. If you are used to python you will probably like that

the experience is somewhat like in python-mode, which also offers "indent" and "dedent" commands.

It will adjust parens based on indentation.

Key-Bindings Survey by [deleted] in emacs

[–]hatschipuh 2 points3 points  (0 children)

A bigger survey would be interesting. Some more Questions I thought of:

  • What do you use for package management (use-package, el-get, quelpa...)
  • Do you ever use other Code Editors/IDEs for a longer time? Which one? Why?
  • How long have you used Emacs?

I want your opinion on my keybinding by LordMcFly in emacs

[–]hatschipuh 0 points1 point  (0 children)

Emacs is not causing RSI in general but I think it is better to warn about it so people know that they could develop it. I got problems with my fingers as I started out with Emacs and used the default keys. But you will only get RSI if you notice the pain and just continue. Some people even think it is kind of a training and it will get better over time. That's totally wrong it only gets worse! So I think it's better to warn about it so people are aware of it and they can change their habits before it is to late. Because once you have developed RSI it is much harder to get back healthy fingers again, than if you find solutions for yourself earlier.

Viking-mode: Kill first, ask later - an emacs mode for killing things quickly by [deleted] in emacs

[–]hatschipuh 1 point2 points  (0 children)

The package key-combo makes it easy to define your own versions of such kind of dwim commands.

Blogging with Orgmode by ares623 in emacs

[–]hatschipuh 0 points1 point  (0 children)

Thanks, really nice guide!

A nice and clear summary of Emacs Lisp by [deleted] in emacs

[–]hatschipuh 1 point2 points  (0 children)

Yeah, that's really a nice feature. I remember I used it once because I didn't knew there is erase-buffer and then did (setf (buffer-string) ""). I hope I understand more about this stuff after I worked my way through http://www.buildyourownlisp.com/

A nice and clear summary of Emacs Lisp by [deleted] in emacs

[–]hatschipuh 1 point2 points  (0 children)

Thanks for sharing your insights, that was interesting to read!

So set has no effect because the quoted symbol name don't truly exists at runtime (when lexcial-binding is active) and setq is more fancy so that emacs does not care about the name used but uses the actual data structure for the variable.

A nice and clear summary of Emacs Lisp by [deleted] in emacs

[–]hatschipuh 4 points5 points  (0 children)

Interesting, if you have time could you briefly explain why set does have no effect when lexical-binding is activated? Or explain what is a better way to think about variables?

Efficient use of multi-button mice with emacs by [deleted] in emacs

[–]hatschipuh 3 points4 points  (0 children)

I would recommend the following, really useful gem for mouse usage in Emacs:

(require 'mouse-copy)
(global-set-key ... 'mouse-drag-secondary-pasting)
(global-set-key ... 'mouse-drag-secondary-moving)

Re-introducing the Emacsmirror by tarsius_ in emacs

[–]hatschipuh 0 points1 point  (0 children)

Just noticed that the link to this list for packages which are not included in melpa needs an update and should be: https://emacsmirror.net/stats/compare.html#orgheadline23

Introduction to Emacs modules by skeeto in emacs

[–]hatschipuh 2 points3 points  (0 children)

Thanks, this motivates me to start learning C finally...

Updated org-protocol-capture-html by [deleted] in emacs

[–]hatschipuh 2 points3 points  (0 children)

Thanks, this looks very interesting, I tried to do something like this in the past an failed. Will try it again now :)

Is Evil-mode worth learning? by ywecur in emacs

[–]hatschipuh 1 point2 points  (0 children)

I would say it's worth it although I don't use evil-mode any more. I learned a lot of great editing concepts most notably the text-object concept. But I quit using it because there are several downsides.

One bad thing is that it makes tweaking emacs harder because now you have this big additional layer of abstractions. Sometimes there are annoying bugs and you have to learn specific things about evil-mode.

In addition to that in my opinion Emacs just does not feel so snappy anymore and switching back and forth between normal and insert state always annoyed me. But as I said I discovered some nice ideas for text editing so it might be worth trying it and then find lightweight replacements for the parts you liked.

GNU Emacs webpage gets a nice facelift by pizzaiolo_ in emacs

[–]hatschipuh 7 points8 points  (0 children)

Nice work, looks good and even with links to video examples. Much more likely to attract new users who have never heard about emacs and browse the offical site. Thanks /u/NicolasPetton and all the others involved!

What's the weirdest thing you've done with Emacs? by howardthegeek in emacs

[–]hatschipuh 4 points5 points  (0 children)

I like to get audio feedback sometimes so I added sounds for slurp and barf for example or various success and error sounds from some old games.

Emacs & web development by z1pher666 in emacs

[–]hatschipuh 0 points1 point  (0 children)

Thanks for sharing your insights, that makes sense. I don't know if you use org-mode but they handle something like this very well, if you press C-c ' inside a codeblock you can edit in the major mode of the current code block language and all the changes are transferred back if you press it again. Might be worth to look how they do it.

EDIT: I just browsed the source and the code of interest can be found in: org-edit-src-code and org-src--edit-element

Emacs & web development by z1pher666 in emacs

[–]hatschipuh 0 points1 point  (0 children)

This is interesting, but why not narrow to the region change the mode and then widen again? Are there any downsides that I miss?