Comments on Edit a status in order to delete and repost

Last edit

Summary: Yes, my answer only applies to changes in the text, not to mentions added automatically.

Added:

> ----
> Yes, my answer only applies to changes in the text, not to mentions added automatically.
> -- Alex Schroeder 2020-03-19 10:43 UTC


I think this can be handled by IRC clients. In my case: use the undo command, then up arrow twice to get the status posted, fix typos and post. The edit command you suggested sounds very brittle.

– Alex Schroeder 2020-03-18 13:07 UTC


An IRC client cannot edit what the plugin adds. So to understand my proposal, imagine this post:

"@bob@infosec.exchange @alice@fosstodon.org Yes Alice, I agree. Yada yada.. I know this post totally bores Bob but I have no way to remove him."

Now imagine if that same msg had some code like "%cmd: sed s/@bob@infosec.exchange%", which the plugin would run after the prepending. It would remove bob from the mentions. Deleting and using the up arrow would not work because the plugin would still pre-pend bob.

This sort of thing would bring in great versatility with possibilities you can't imagine.. e.g. someone could have a script that replaces long urls with short urls, for example. Or someone might have a script that checks whether URLs trace to CloudFlare and replaces the URL with a cached version of the page. Maybe a user script could add a content warning whenever the word "Trump" appears. Possibilities for post-processing scripts are endless.

– bojkotiMalbona 2020-03-18 15:32 UTC


Yes, my answer only applies to changes in the text, not to mentions added automatically.

– Alex Schroeder 2020-03-19 10:43 UTC


This wiki uses a variant of Markdown.

To save this page you must answer this question:

Please write "new issue" into the field below.