sebhoagie

joined 1 year ago
 

There's also a small wrapper for the GitHub CLI. I should call this a "survival kit for corporate life". But since I'm not that creative, "emacs-utils" it is:

https://git.sr.ht/~sebasmonia/emacs-utils

Story below:

I've had versions of a piece of code to pull info from JIRA, in private repos associated with different jobs, for years now.
When I started my current gig I realized I should put that code in a public place, and maybe someone would write a "proper" JIRA package out of it. If anything, this lets you read details and comments (doesn't do inline images nor attachments). I find it useful in its current state and maybe some of you will too.

And last weekend I wrote a Confluence reader. After being BEYOND ANNOYED that you can't read pages without JS.I remember the old (and good) versions of Confluence that didn't force the fancy editor down your throat and you could write everything in wiki markup...anyway.
The reader detects when a link isn't external, so it doesn't send you to EWW. It doesn't work in 100% of the cases, will probably revisit that code.

Oh and both JIRA and Confluence support Emacs' bookmarks, thank to EWW's implementation and our beloved editor being open in the truest sense of the word.

[–] sebhoagie@alien.top 1 points 11 months ago (1 children)

https://git.sr.ht/~sebasmonia/dotfiles/tree/master/item/.emacs/init.el#L116

In my case I use OS-level notifications. For my work computer (Windows) I changed the function to w32-notification-notify instead.

[–] sebhoagie@alien.top 1 points 1 year ago

Will check out my system for more info manuals (and distro repos, I use Fedora).

At $NEWJOB I am back to using Windows, thankfully with Emacs I can still access the manuals easily.

[–] sebhoagie@alien.top 1 points 1 year ago

Worded that poorly, I am looking for things in addition to the Emacs, Elisp, etc manuals.
Non GNU project manuals, if you will.

 

We all read (???) the Steve Yegge post where he says he as "hundreds" of info manuals installed in his computer.
The thing is, after quite a bit of web searching, I only managed to get git, gitman, Python, Common Lisp, and SICP.

Is there any repository/FTP/storage that has a treasure trove of info manuals ready to add to Emacs?

Thank you!

[–] sebhoagie@alien.top 1 points 1 year ago

Wow TIL about the occur behavior with prefix arg.

I usually call my own wrapper command that runs occur for the selected region (instead of limiting to region) or the symbol at point (the most common case when programming). Thanks to your video I added prefix arg support:

(defun hoagie-occur-sexp-or-region ()
  "Run occur for the sexp at point, or the active region.
By default, occur _limits the search to the region_ if it is active."
  (interactive)
  (occur (if (use-region-p)
             (buffer-substring-no-properties (region-beginning)
                                             (region-end))
           (thing-at-point 'sexp t))
         (when current-prefix-arg
	       (prefix-numeric-value current-prefix-arg))))

Thank you!!!