Question of the day #programming #devlife
-
@ericsfraga @sergio_101 afaik that one doesn't work anymore with native compilation. This one works with native compilation too:
(setopt use-short-answers t)Yes, indeed.
Some history: that line was the **first** line in my Emacs configuration journey, literally the first line I put in my .emacs back in the day. The amount of time this saved over more than 4 decades of use is quite significant! Nothing else comes close.

I did change to the new way somewhat recently and felt a little sad at losing that line from my configuration.

-
Question of the day #programming #devlife
What's the smallest script or shortcut that's saved you the most time over the years?
Having bookmarks in plain text file (md or #orgmode )
and having script to grep it and copy/insert link in focus.
```bash
rg --no-config '^\+' ${file} | sed 's/+ //g' | $DMENU -p 'Link: ' | rg --no-config -o '(http|https)://[a-zA-Z0-9./?=_%&:-]*')
```Easy to insert links from favorite menu picker and fast! No browser bookmark lock-in
-
Question of the day #programming #devlife
What's the smallest script or shortcut that's saved you the most time over the years?
alias e="emacsclient -n"
-
Yes, indeed.
Some history: that line was the **first** line in my Emacs configuration journey, literally the first line I put in my .emacs back in the day. The amount of time this saved over more than 4 decades of use is quite significant! Nothing else comes close.

I did change to the new way somewhat recently and felt a little sad at losing that line from my configuration.

@ericsfraga @thaodan @sergio_101
I still have it. It's fine the way it is.🤪 -
@ericsfraga @thaodan @sergio_101
I still have it. It's fine the way it is.🤪Can confirm! I use native compilation and
(fset 'yes-or-no-p 'y-or-n-p)and have never noticed an issue. In fact, I added that long after I started using native comp.
-
Question of the day #programming #devlife
What's the smallest script or shortcut that's saved you the most time over the years?
@sergio_101 The author of `curl -s "https://wttr.in"` saved me from opening a browser just to check the weather, which adds up to hours over the years.
-
@sergio_101 The author of `curl -s "https://wttr.in"` saved me from opening a browser just to check the weather, which adds up to hours over the years.
omg this is so fun!
-
omg this is so fun!
@sergio_101 Oh absolutely, I've got it aliased to just `we` in my terminal now. Saves me from getting sucked into a doomscroll every time I want to know if I need a jacket.
-
R relay@relay.publicsquare.global shared this topic
-
@sergio_101 Oh absolutely, I've got it aliased to just `we` in my terminal now. Saves me from getting sucked into a doomscroll every time I want to know if I need a jacket.
i grew up in SoCal, so i never thought about the weather. At 22, I moved to Ohio, and now, i look at it a few times a day
-
#programming #devlife #Developer
I think mine would be the little scripts in #DraftsApp that take the current draft and send it over to the #Obsidian #Inbox
@sergio_101 Disagree-relying on Drafts-to-Obsidian scripts can create friction when you want to quickly capture a thought without leaving Obsidian itself.
-
R relay@relay.mycrowd.ca shared this topic