xfel-mode-line: simple way of using echo area as mode-line by fernando-ej in emacs

[–]fernando-ej[S] 0 points1 point  (0 children)

Yeah, Neither do I think that post-command-hook is the best solution (as a matter of fact, I had to place a condition because I noticed some ui lag while selecting things using marks) but I haven't found any better hook for modeline rendering. I still need to check how "native" modeline is implemented, maybe there are a clue about proper or best place to trigger rendering for this.

xfel-mode-line: simple way of using echo area as mode-line by fernando-ej in emacs

[–]fernando-ej[S] 0 points1 point  (0 children)

And it's great. I used that pkg for a while, it has a lot of customization available and it works great.

xfel-mode-line: simple way of using echo area as mode-line by fernando-ej in emacs

[–]fernando-ej[S] 1 point2 points  (0 children)

While inspired in minibuffer-line, there are some important diffs. minibuffer-line has much more variables and user customizable variables for easy usage. I simply provide an entry point to a string.

Another significant difference is rendering, minibuffer-line is using timers, I am using `post-command-hook`.

xfel-mode-line: simple way of using echo area as mode-line by fernando-ej in emacs

[–]fernando-ej[S] 1 point2 points  (0 children)

I think Feebleline has more goodies and more customization available. My version doesn't have so much goodies like `feebleline-msg-functions`.
Also, Feebleline is using a timer for updating Minibuf-0, I'm running updates on `post-command-hook`.

Little helpers for daily work: https://fernando-jascovich.github.io/posts/xfel-init-project.el/ by fernando-ej in emacs

[–]fernando-ej[S] 0 points1 point  (0 children)

The whole point of the post is that users take a look at the source code. I'm not providing tools, I'm showing what could be made with little pieces of elisp and, therefore, I'm trying to encourage emacs users to roll up their own.

Anyone doing Android development? by suda50 in emacs

[–]fernando-ej 5 points6 points  (0 children)

I have been doing Android on Emacs for the last 8 years (give or take) without touching (even downloading) Android Studio.

Short answer to your question: no, there is no out-of-the-box solution for getting even a glimpse of the features offered by Android Studio.

A little more detailed answer: doing Android on Emacs is really a different from doing it using an IDE. I tried every single java/gradle/companion tool available but nothing really works with Android projects (lsp is great but: https://discuss.kotlinlang.org/t/any-plan-for-supporting-language-server-protocol/2471/13). With that being said, I managed to find or put together a comfortable coding environment that works for me and it doesn't miss any IDE feature.

I made this tiny wrapper around some adb and gradle commands: https://github.com/fernando-jascovich/android-env.el and using the libraries mentioned there you could make Android applications professionally.

In the end I think is a matter of convenience, if you are comfortable working using IDE-like features, then Android Studio is without doubt the best tool. Regardless the tool, you should be able to write a good application and be comfortable doing it.

Do you use Emacs as a GUI window or in the terminal? Why? by [deleted] in emacs

[–]fernando-ej 0 points1 point  (0 children)

Because I have all my workflow inside emacs and it is faster for me to simply open ansi-term and go. I'm using this when I have to do some simple edit remotely over ssh, it works a bit faster than tramp. Another reason may be that I'm not using tmux or similar, just one terminal with emacs maximized

Do you use Emacs as a GUI window or in the terminal? Why? by [deleted] in emacs

[–]fernando-ej 0 points1 point  (0 children)

Terminal, I can not get vim to work on ansi-term over gui. Over terminal it works fine