@rostre@emacs.ch
@rostre@emacs.ch avatar

rostre

@rostre@emacs.ch

London-based Lead Software Engineer. Relatively recent Emacs convert. I love escape rooms, puzzles, and detective games. Try my game! https://treewyn.itch.io/curiosity

This profile is from a federated server and may be incomplete. Browse more on the original instance.

louis, to emacs
@louis@emacs.ch avatar

Today marks the 555th day of uninterrupted uptime of our Emacs.ch instance. 🥳

That's also 555 days of admin work and a spending of roughly $1200 for IaaS. Donations of our users make that much more sustainable.

With consistently well over 400 monthly active users, we established a friendly and supportive Fediverse community in the Fediverse united in a passion for the world's most humane "text editor". And you helped to make that happen. 🎈

Emacs is not just a program, it is the incarnation of freedom, self-development, respect, tolerance and companionship in the software world. It will never go away and will never turn against its users.

Let's continue to grow and strengthen our community! If you'd like to contribute, please visit our donation page: https://liberapay.com/emacs-ch

Together, we can keep the spirit of Emacs alive and thriving for years to come. Thank you for being a part of this incredible journey! 🙏

rostre,
@rostre@emacs.ch avatar

@louis Congrats! Thank you very much for keeping this instance up for us :)

rostre, to random
@rostre@emacs.ch avatar

I know that #json was never initially designed for configuration, but is there anything out there that actually works better for nested configuration settings? #yaml seems unsafe and easy to break, and #toml is simple but doesn't handle the nesting well. Perhaps nested configs are just a bad idea and we should stick with #toml?

rostre, to emacs
@rostre@emacs.ch avatar

Was it intentional that "M-x" kinda sounds like "Emacs" if you say it fast? #emacs

ArneBab, to emacs German
@ArneBab@rollenspiel.social avatar

@sachac I just uploaded a package to show in the modeline the time I clocked today in the org-agenda-files. The goal is to know when I should stop working. https://github.com/ArneBab/emacs-org-clock-daytime → melpa recipe: https://github.com/melpa/melpa/pull/8937

I created it because that’s the most important need I have from the time I clock — and the added value I need to motivate myself to clock more consistently (inconsistencies in clocking time always get annoying when I have to record time at the end of the week).

#emacs

rostre,
@rostre@emacs.ch avatar

@ArneBab @sachac will definitely give that a go, sounds like a fantastic idea!

rostre, to emacs
@rostre@emacs.ch avatar

Is there an existing project that implements a debugger that's compatible with ? I feel like it's the biggest thing missing from my experience right now.

rostre,
@rostre@emacs.ch avatar

@greg last I checked, you needed lsp-mode for it? Perhaps I misunderstood though.

rostre,
@rostre@emacs.ch avatar

@louis It's reliable, I'll give it that! Not so efficient though :P I think right now I will probably need to keep VSCode around for doing this stuff too until I find the time to get deeper into the emacs modes. dape looks like it works, but I found the interface a little confusing to begin with. Perhaps with some time I can figure it out well enough to replace VSCode.

rostre, to random
@rostre@emacs.ch avatar

Who called them M1 processors and not "apple cores"

rostre, to emacs
@rostre@emacs.ch avatar

Time for some more #elisp! Going to try today to add a transient keymap for navigating between and moving around windows in #emacs, probably using repeat-mode.

rostre,
@rostre@emacs.ch avatar

Managed to get a small transient keymap going using the repeaters package: https://github.com/mmarshall540/repeaters.

I originally had the idea of defining a new prefix key for this, but it feels more in-line with repeat-mode's intended use to invoke the original command using it's normal key binding, then have shortcuts for doing common follow-up actions afterwards.

rostre,
@rostre@emacs.ch avatar

I also found the handy repeat-help package https://github.com/karthink/repeat-help which adds which-key support for repeat-mode keymaps (and something called Embark which perhaps I'll look into later)

rostre, to random
@rostre@emacs.ch avatar

Irreal quoted my blog 😵​ https://irreal.org/blog/?p=11724

djlink, (edited ) to random
@djlink@mastodon.gamedev.place avatar

Only one can exist!

rostre,
@rostre@emacs.ch avatar

@djlink this is the most heartbreaking one yet

rostre, to jupyter
@rostre@emacs.ch avatar

I do kind of resent that I am forced to work with #jupyter notebooks daily, but mostly because the #emacs packages I've tried don't seem to work as well as the web interface. Does anyone have any recommendations for configuring them? Ideally I'd have the same interface as org-babel.

louis, to random
@louis@emacs.ch avatar

Programming is

"Today is the day to finally do some work!"

... opening Email ...

"perhaps tomorrow then".

rostre,
@rostre@emacs.ch avatar

@louis I initially read that as "opening Emacs", still checks out xD

rostre, to Playdate
@rostre@emacs.ch avatar
rostre,
@rostre@emacs.ch avatar

@ctietze that sounds like an excellent idea :) project.el is a bit of an emacs blindspot for me, I need to make some time to look into it!

rostre, to emacs
@rostre@emacs.ch avatar

I made a blog post about all the #emacs #elisp org-journal customisation I did over the weekend: https://rostre.bearblog.dev/building-my-ideal-emacs-journal/

rostre, to emacs
@rostre@emacs.ch avatar

Today is #elisp day - I'm attempting to add a couple of hooks to org-journal to suit my workflow better. First up is a way to create a new journal entry from an existing TODO task and include a link back said task in the title of the entry. #emacs #emacslisp

rostre,
@rostre@emacs.ch avatar

Managed to get the task info I needed using org-entry-get inside a wrapper function for org-journal-new-entry, plus as a bonus it clocks in to that task as well. Then, a new hook collects that info and inserts it after the time. Next up is generating the link back!

rostre,
@rostre@emacs.ch avatar

Setting the link up was a bit of a pain - org-store-link wasn't actually storing the link for me when called from my function. I realised after debugging through that I needed to set the interactive? argument to t, although technically I wasn't calling it from an interactive context. Perhaps I am supposed to use the return value of the function instead of org-insert-last-stored-link?

rostre,
@rostre@emacs.ch avatar

Here's the working snippet for now:

https://github.com/robsws/emacs-conf/blob/master/emacs.org#org-journal.

Going to come back later and see if I can add a transient mode which will allow me to insert different types of journal entry (meeting, task, note, etc.)

rostre,
@rostre@emacs.ch avatar

After a bit more work, I have different entry types for project work, meetings, breaks etc. :) I didn't really need a transient mode, I just used a prefix key in general.el

rostre,
@rostre@emacs.ch avatar

I've reworked the snippet a fair bit so it no longer relies on global variables.

https://github.com/robsws/emacs-conf/blob/master/emacs.org#org-journal

The hook is gone, and now I just run some code in the wrapper after the actual org-journal-new-entry call to append stuff to the entry title.

rostre, to random
@rostre@emacs.ch avatar

It's pretty comforting coming back to #c after all these years. After learning umpteen languages with various abstractions and modern features, it feels like years since I wrote a simple 'for (int i = 0; i < n; ++i)'

  • All
  • Subscribed
  • Moderated
  • Favorites
  • megavids
  • thenastyranch
  • rosin
  • GTA5RPClips
  • osvaldo12
  • love
  • Youngstown
  • slotface
  • khanakhh
  • everett
  • kavyap
  • mdbf
  • DreamBathrooms
  • ngwrru68w68
  • provamag3
  • magazineikmin
  • InstantRegret
  • normalnudes
  • tacticalgear
  • cubers
  • ethstaker
  • modclub
  • cisconetworking
  • Durango
  • anitta
  • Leos
  • tester
  • JUstTest
  • All magazines