What kind of psychopath wants formatting included when pasting?
@djohngo what's worse when I copy and paste from a terminal the foreground and background colors get carried along with it whoever wants that even if they want to retain formatting?
@resuna Yes. That is quite mad. It gets me every time because how could something so awful exist?
@djohngo my terminal color is selected arbitrarily based on a hash of the host name.
@resuna @djohngo how do you achieve this?

@mk @djohngo

tell application "Terminal"
tell the front window
set the background color to { %s }
end tell
set windowID to id of the front window
end tell

@mk @djohngo Then to reset it:

tell application terminal
tell window id %s
set the background color to { %s }
end tell
end tell

The %ses are a cheesy way of passing parameters to the applescript.

@resuna what terminal emulator is putting fg/bg colors in copied content? 🤮
@djohngo No crap! I get so tired of that.
@djohngo Especially from Teams when you use a dark background and into Azure Dev Ops where it keeps the black background but converts the text to black. This isn't at all something that happened to me at least once a week...
@djohngo I hate it but I kinda get it when I think of the standard "office worker" workflow b/w MS Word, Excel and Outlook where it may be reasonable that, say, copying something from a Word document into an E-Mail should retain formatting.

@ljrk @djohngo

At one point this use-case did make sense, and I’m sure it was seen as a feature when it launched, but on the latest versions the default fonts/sizes are different across those apps, and outlook will switch to the font/size of your copied text, so if you don’t pay attention you end up with text that appears to randomly change style halfway through your doc.

@mgaruccio @djohngo Ugh, that's unexpected. I've at least expected it to be consistent within the MS Office suite.
@djohngo
I can see a case for it. But that feature should be behind some special obscure key combination like Alt-Left-Control-Shift-V, not the default.

@djohngo

Ctrl-Alt-V works in Microsoft products if that's of any consolation.

@pete @djohngo alt-ctrl-v also works in Gnome. This has become my default paste key combo, because fuck carrying over formatting.

@djohngo I want multiple pasting/yanking functions with well-documented prefix structures.

Yes this isn't supposed to make any sense outside of #Emacs.

@djohngo Keep the hyperlinks and the bullet points. Drop everything else (font, color, size, etc).
@djohngo the lazy kind?
@lucasvieites I feel like I'm the lazy one because I just want to paste--not paste, undo, then paste again a slightly different way.
@djohngo I get that and, trust me, it's very discernible from the people who just want to copy someone else's work (and sometimes even make it pass as their own). Many years of editing KB articles have made me the skeptic I am today.
@djohngo everyone using markdown 😁
@joschi64 I always viewed markdown as a way to avoid learning HTML, but I already knew HTML, so I never learned markdown.