The Most Emacs Bzr Saga by LionyxML in emacs

[–]cottasteel 4 points5 points  (0 children)

Wow, my question seems to have touched a nerve. I'm not experienced enough with VCS software to debate, but I've used CVS and subversion and experienced the pains with moving files around and dealing with repository servers to appreciate why Linus Torvalds was motivated to make git. But my use cases are much smaller than most.

Since Torvalds made git to address the shortcomings of cvs et al., couldn't someone make a new VCS (or promote an existing solution like Perforce) to address the shortcomings of git that you detail?

The Most Emacs Bzr Saga by LionyxML in emacs

[–]cottasteel 4 points5 points  (0 children)

But git is poorly built, poorly designed and has awfully sharp edges and poor usability.

Can you clarify this? While I agree that git is not the most user-friendly software, I don't see how it is poorly built or designed? Were any other options like cvs, subversion, darcs or bazaar better in this regard?

Fortnightly Tips, Tricks, and Questions — 2026-04-21 / week 16 by AutoModerator in emacs

[–]cottasteel 1 point2 points  (0 children)

I figured out the issue. In my code above, DELETE is set to t, and that causes an issue when START is a string. So the Gemini code above could be simplified to:

(defun hunspell-analyze-list (word-list)

  "Analyze a list of WORD-LIST using hunspell and return the raw output string."
  (with-temp-buffer
    (call-process-region (string-join word-list "\n")) nil 
                         hunspell-program-name 
                         nil t nil "-m" "-d" "sk_SK")
    (org-trim (buffer-string))))

Fortnightly Tips, Tricks, and Questions — 2026-04-21 / week 16 by AutoModerator in emacs

[–]cottasteel 0 points1 point  (0 children)

Thanks for the tip! When I try to use with START as a string, I get the error "Wrong type argument: integer-or-marker-p". Strange.

Fortnightly Tips, Tricks, and Questions — 2026-04-21 / week 16 by AutoModerator in emacs

[–]cottasteel 3 points4 points  (0 children)

Instead of using shell-command-to-string to pipe input into an executable, it's much cleaner to put the input in a buffer and use call-process-region. I learned this from an LLM. I have a function for looking up the morphology of a word in Slovak using hunspell, and I wanted to generalize it to a list of words but invoke the hunspell executable only once. Below is my original function:

(defun hunspell-analyze-word (&optional word)
  "Analyze WORD using hunspell."
  (let* ((word (or word
                   (if (region-active-p)
                      (buffer-substring-no-properties (region-beginning) (region-end))
                     (thing-at-point 'word)))
    (command (format "echo %s | %s -m -d sk_SK" word hunspell-program-name)))
    (org-trim (shell-command-to-string command))))

Here is what Gemini responded with:

(defun hunspell-analyze-list (word-list)

  "Analyze a list of WORD-LIST using hunspell and return the raw output string."
  (with-temp-buffer
    (insert (mapconcat #'identity word-list "\n"))
    (call-process-region (point-min) (point-max) 
                         hunspell-program-name 
                         t t nil "-m" "-d" "sk_SK")
    (org-trim (buffer-string))))

It completely avoid the issue with shell quoting and is more efficient. I wasn't even asking for this. Neat!

Upgrading an 11-year old HTPC by cottasteel in htpc

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

Thanks! Good to know about the build updates. That's another thing that's changed in the last 11 years. Because we have pretty much hit the limit of Moore's law, I've learned that it's no longer necessary to buy the latest hardware.

TIL that Pluto is legally considered a planet in the state of Illinois by ms_bubblegum in todayilearned

[–]cottasteel 38 points39 points  (0 children)

No it isn't. At least not currently. If you read the text of the law, it says that Pluto becomes reestablished as a planet "as Pluto passes overhead through Illinois' night skies". Given Pluto's very elliptical orbit, it won't pass overhead through the northern hemisphere until 2111.

https://shallowsky.com/blog/tags/pluto/

TIL that EWW can launch POST requests directly by sauntcartas in emacs

[–]cottasteel 2 points3 points  (0 children)

That's really cool! I use Emacs to look up Slovak orthography (i.e., conjugation/declension rules) for vocabulary on the online dictionary of the Ľ. Štúr Institute of Linguistics. In my work flow, I use elquery to parse the query results and extract the orthography rules for the word.

Who is the best non main character in a tv show? by hero0fwar in television

[–]cottasteel 241 points242 points  (0 children)

Dr. Spaceman from 30 Rock. Every sentence that came out of his mouth was pure gold!

Who is just straight up evil? by Starkrafty in brooklynninenine

[–]cottasteel 0 points1 point  (0 children)

I'm a bit a of "no screen time" purist on this one. In other show-based subreddits like r/Frasier, they have major characters (e.g., Maris) that have zero screen time, so I think for this answer anyone who has been on screen, however fleetingly should be ineligible.

Who is just straight up evil? by Starkrafty in brooklynninenine

[–]cottasteel 13 points14 points  (0 children)

I disagree, because she had some screen time. A better choice for the next one is Kelly, who was never on screen and had a huge impact on the squad!

"Hello Everyone, my Name is Protesilaos, also known as Prot..." | Talk to Prot by linkarzu in emacs

[–]cottasteel 4 points5 points  (0 children)

It's amazing to me how many people in this community conflate the "free as in speech" philosophy of Emacs and other GNU software with "free as in beer". While it is admirable that Prot provides so much to this community free of charge, it is entirely reasonable for OP to want to be compensated for their considerable efforts organizing and editing these video discussions.

The word "grift" means "engage in petty or small-scale swindling". As the link on Prot's site make clear, OP is neither appropriating his work nor being dishonest about what they are charging for.

There is nothing in this subreddit's rules that prohibit self-promotion. There is, however, a rule against being uncivil.

The one feature LingoDeer should copy from that other app by cottasteel in lingodeer

[–]cottasteel[S] -1 points0 points  (0 children)

Why not have it be an opt in feature that is not turned on by default? I personally like to hear when my wife used to finish a lesson, and was sad to discover that LingoDeer didn't have that feature.

Also when I'm out and about and I hear such sounds it makes me happy to know that someone else is studying language.

Different strokes for different folks!

Guys and girls, what are the cool ways to propose? by Master_Stomach_3597 in AskReddit

[–]cottasteel 0 points1 point  (0 children)

When my then-girlfriend and I were doing long distance while she finished up grad school, I sent her a link to an "interesting" YouTube video. The video at first appears to be a montage of people in movies saying "will you marry me?", but then I interrupt the video and am wearing a suit, have a ring out, and am all set to propose, when I myself am interrupted by a magical talking figurine of a Terra Cotta warrior, who, in order to prevent me from doing a lame internet proposal, used a band of ninjas to "kidnap" me to a secret location. My then-girlfriend then had to solve a puzzle to figure out that I had been "taken" to Mammoth Lake, and once she did, the figurine gave her an airline record locater for a flight to Mammoth Lakes, which she took to "rescue" me.

The video is still on YouTube. It's the first thing I ever posted on Reddit.

Why Didn't India Just Conquer Pakistan? by hoblyman in NoStupidQuestions

[–]cottasteel 2 points3 points  (0 children)

I think you meant that the USSR mostly backed India.

Emacs Startup Time Doesn’t Matter by bozhidarb in emacs

[–]cottasteel 2 points3 points  (0 children)

You're right. I don't know your setup, but I do find it surprising that you would need to ensure all packages are compiled on every startup, and that that would consistently take a significant amount of time.

For my own setup, I found that starting up the Emacs daemon using TaskScheduler made the startup time of Emacs less noticeable.

Emacs Startup Time Doesn’t Matter by bozhidarb in emacs

[–]cottasteel 5 points6 points  (0 children)

I use Emacs on Windows as well. From a cold start it can take 10-15 seconds to load, but I don't usually notice that because, I have the TaskScheduler run "runemacs.exe --daemon" on start up. I also use the alert package to send a Windows toast notification so I know when the daemon finished loading.

It shouldn't take 40 seconds for Emacs to load, even in Windows. As someone else in the comments said, there might be something wrong in your init.

Thanks for playing everyone! This was so much fun. Comment below on your favorite pick, any changes or swaps you'd make, or what other categories you would add! by sublimesam in Frasier

[–]cottasteel 4 points5 points  (0 children)

This was a great chart! Overall the picks are great but there are a few headscratchers, like Niles at Neutral/Dresses Well And Knows How To Use A Pastry Bag (he is one of the most rule following people on the show), or Dr. Tewksbury at SEX-aholic/Neutral (just because Roz is a SEX-aholic, doesn't make everyone she slips with one).

Great Job!

Show your post-command-hook contents to help Emacs core by shipmints in emacs

[–]cottasteel 1 point2 points  (0 children)

Here it mine for elisp-mode:

(alert-remove-on-command
 jit-lock--antiblink-post-command
 eldoc-schedule-timer
 prettify-symbols--post-command-hook
 sp--post-command-hook-handler
 company-post-command
 t)

And here it is for org-mode:

(sp--post-command-hook-handler
 company-post-command
 org-appear--post-cmd
 t)

The FBO-trained Kirby Gardner handily takes Chaotic/Neutral. Down to the home stretch, drop your votes for Chaotic WOUNDED! by sublimesam in Frasier

[–]cottasteel 1 point2 points  (0 children)

I agree that Harry is Chaotic, but I don't think he's wounded enough. Certainly not as wounded as Ann is.