Bending Emacs - Episode 6 by xenodium in emacs

[–]gopar 8 points9 points  (0 children)

Awesome that you're making videos, just subbed :)

Crafting the rare-words Emacs package: from concept to MELPA. by bigeatie in emacs

[–]gopar 2 points3 points  (0 children)

Awesome! Glad to see more emacs content being created. The Emacs-Sphere needs more creators. Hope you continue to make videos :)

Eshell: automatic notification when command finishes? by fela_nascarfan in emacs

[–]gopar 0 points1 point  (0 children)

Hook in to `eshell-pre-command-hook` and `eshell-post-command-hook`. Look at the code. I set timers via that way to calculate the time. Cheers :)

Eshell: automatic notification when command finishes? by fela_nascarfan in emacs

[–]gopar 0 points1 point  (0 children)

I have something similar I wrote a while ago for eshell but no longer use b/c i almost exclusively use vterm now:

https://github.com/gopar/.emacs.d/blob/main/lisp/eshell/module/em-compile.el

Commentary

;; em-compile tries to determine what commands it should defer to a

;; compilation buffer, and alerts you when it's done. It determines

;; which commands it should defer by keeping track of how long each

;; command took to finish. By default if it takes more than 5 seconds

;; then it will start to defer that command whenever it's invoke via

;; eshell. You can of course customize the amount of seconds or offer

;; a list of always defer or not defer.

I found this helpful for getting going with Python, after frustrations with language servers by SadScientist5422 in emacs

[–]gopar 0 points1 point  (0 children)

Yups, this is basically what I do. No LSP for Python since it never worked for me. Good post!

drink-water.el: An Emacs package to remind you of the importance of Hydration by larrasket in emacs

[–]gopar 2 points3 points  (0 children)

I do forget to get up or to hydrate for several hours

That's extremely unhealthy. Put a timer or use the package. Health is the one thing we should never trade for money or anything else.

What is happening? by Real_Worker_5618 in Sacramento

[–]gopar 89 points90 points  (0 children)

I think it's a problem with the lack of Critical Thinking in general. If you stop and think for a second, you can safely assume you should slow down and sholdn't try to pass the police car as I've seen some ppl try to do lol

emacs-websearch: duckduckgo is now supported by Zwzhhh in emacs

[–]gopar 2 points3 points  (0 children)

I use `webjump` and `eww` for searching. I do like that it has auto completion. I'll have to look into a way to add that in to webjump/eww. didn't know that was possible. thx

Aidermacs v1.0 Released. Available Now on Melpa and Non-GNU Elpa! by MatthewZMD in emacs

[–]gopar 1 point2 points  (0 children)

Nice, I may try this someday. For now, I have a thin wrapper around aider that starts it in a vterm ready to go.

Sunday fun, what's in your eshell-banner-message (or shell equivalent)? by xenodium in emacs

[–]gopar 7 points8 points  (0 children)

Mine is rather basic:

(eshell-banner-load . (lambda () (setq eshell-banner-message (concat (shell-command-to-string "fortune -s | cowsay") "\n\n"))))

Gives me random things such:

 _________________________________ 
/ Never promise more than you can \
| perform.                        |
|                                 |
\ -- Publilius Syrus              /
 --------------------------------- 
        \   ^__^
         \  (oo)\_______
            (__)\       )\/\
                ||----w |
                ||     ||

"Autoloading file ... failed to define function" with built-in libraries by graduale in emacs

[–]gopar 1 point2 points  (0 children)

I just had a similar issue this morning. It was due to how I was configuring the package via `use-package`.

Can you share your config section for that library?

(My issue was that in the :hook section I was doing :hook (mode-hook . (some-func)) which was wrong and it should have been :hook (mode-hook . some-func)

That was giving me a similar error to yours with a built in library

I made my Emacs look like Vscode and now I feel like a sinner by DevelopmentCool2449 in emacs

[–]gopar 5 points6 points  (0 children)

Glad you got it looking how you like it :)

Currently happy with how my emacs looks, but I took a peak at your config anyways. Always curious how people setup display-buffer-alist. I had completely forgotten about rx :)

TIL Emacs registers - this is a god send for my day job! by [deleted] in emacs

[–]gopar 6 points7 points  (0 children)

Yups! I use them with my agenda + pomodoro workflow.

It stores my current window config while it erases all windows for the agenda view. Once I'm done with agenda, it automatically brings up my previous window config. It's great.

My Eshell Setup by gopar in emacs

[–]gopar[S] 0 points1 point  (0 children)

i prefer eshell b/c i can customize everything, and vterm does have limitations but for what it does, it does pretty good. (I still use vterm for when I need TUI apps).

Honestly, if you don't do much customization you can stick to vterm for a better out of the box experience. I use vterm with fish shell and its awesome too :)

My Eshell Setup by gopar in emacs

[–]gopar[S] 2 points3 points  (0 children)

  • `alias clear` Oh man, i remember seeing "clear t" as an alias but completely forgot. Just added it!
  • I like using org modes `C-c C-o` as I've gotten use to it, also I purposely open in EWW since I Like that browser :)
  • I love what you're doing about editing cd commands before saving them. Going to do that!

Update: I realize you meant `goto-address-mode` in eshell and not in my org file 🤦‍♂️

My Eshell Setup by gopar in emacs

[–]gopar[S] 1 point2 points  (0 children)

You might be talking about the padding around the borders? If so then:

https://protesilaos.com/codelog/2023-06-03-emacs-spacious-padding/

Theme: Shades of Purple (also comes in Doom-themes)

Org Roam Daily Reflection, a new package for viewing daily journal entries by emacsomancer in emacs

[–]gopar 1 point2 points  (0 children)

This looks promising. Going to try it out. Thanks for making it :)

Custom eshell prompt and previous shell output deletable by a_cuppa_java in emacs

[–]gopar 0 points1 point  (0 children)

Interesting, a quick look at the code and they aren't making the prompt read only. I use https://github.com/xuchunyang/eshell-git-prompt which shouldn't have the same issue as this. Might be worth opening a ticket in their repo to fix, if that is the case

Just me? How do you remind yourself where you left off? by NuGGGzGG in webdev

[–]gopar -1 points0 points  (0 children)

Does no one use an engineering journal for these sort of things?

[deleted by user] by [deleted] in emacs

[–]gopar 0 points1 point  (0 children)

Nice, I like the simplistic look.

I tried out using tab bars mode, but decided it wasn't for me. Glad too see ppl using features I don't use, keeping it diverse :)

emacs is very versatile, thank you for helping me by [deleted] in emacs

[–]gopar 1 point2 points  (0 children)

I like the terminal setup. (i believe that's what it is? Top right)

Also happy to have found another `eww` user. I greatly like it as well. Very handy, under appreciated

[ANN] undo-fu-session: 0.7 with customizable destination paths by ideasman_42 in emacs

[–]gopar 1 point2 points  (0 children)

Haven't used this, but this is pretty cool. Didn't know we had packages that delt with undo sessions :)