I’ve developed this, translate as needed: 1/3

#! /usr/bin/sh

if test $(echo $1 | wc -c) -le 140; then
/usr/bin/toot post "$1" &&
/home/oceane/.local/bin/twtxt tweet "$1" ||
echo "Je n’ai pas pu poster sur ActivityPub, je ne posterai donc pas non plus sur twtxt !";
else echo "Ce message dépasse 140 signes et ne peut pas être posté !";
fi

+ -

2/3

(defun microblog ()
"Microbloguer avec toot(1) et twtxt !"
(interactive)
(let ((message (read-from-minibuffer "Message : ")))
(shell-command
(concat "sh ~/.emacs.d/microblog/microblog.sh "
(shell-quote-argument message)
))))

+ -
+ -

Second bug report: I tried to insert both code snippets in the same post but I couldn’t add anything after the code part in the first post. There wasn’t any newline after this portion. I’d like to maybe have a newline automatically inserted after a code block, if there’s none, when cycling with tab ?

+ -
+ -

Please tell me how I could improve my bug reports.

Btw I was using Firefox with uBlock Origin and Cozy Pass.

EDIT : I don’t think this bug would be platform-specific, but I’m using Linux Mint with Cinnamon. I’m running Firefox mint-001 120.0.1.