Ask HN: Who decided copy+paste should copy styling/formatting?
I don't know if you have noticed that if you copy+paste into email pages/apps like outlook and gmail they bring over all the formatting and styling of the source. That is, it pastes the text in with things like the font color and background color, and the font type itself, which then become the styling for the rest of the email if you keep typing as well.
Who came up with this? It makes absolutely no sense that anyone would want to transplant styling/formatting into an email, where there is no guarantee (indeed, little chance) that it will mesh well. It's just baffling.
186 comments
[ 2.8 ms ] story [ 236 ms ] thread* don't care about the misformatting
* actually want the red font and underlining from the web page they're copying from.
These oft-mentioned mythical users that have opposite expectations from their computer than us are a bit like the Sasquatch. Some say they've seen them, but I still don't believe it. :-)
A data point is not a statistic but that's quite a data point for me :D
Keeping formatting was our #1 requested feature and most demanding task.
So yeah, people want that and companies are built on those jot-so-mythical users and their truly-not-mythical money.
"Can you show me how to make a chart in Excel again?"
Also these days clients don't have much of a problem handling things. I don't know exactly when, but at some point I went from not being able to paste excel into an email without it being unusably messy to having it paste nearly perfectly on formatting.
When people ask me why I like my CLI and TUI apps so much this is the example I give. It's much less likely that some UI/UX person has been involved and this means the the workflow will be logical and oriented to the task at hand.
"If there’s a format you prefer for new documents, you can set the default format. Choose TextEdit > Preferences, click New Document, then select “Rich text” or “Plain text” below Format."
It's even more of a disaster on a Mac, because the handling is MS Office is much worse than on Windows, and Outlook has about three total settings on its preference screen, so there's no way (I can tell) to change the default behavior.
If you're willing to try a menubar app: https://apps.apple.com/app/id1611378436
Before I knew there was a native hotkey combo, I created a autohotkey script that would do that and had a mini-tutorial that showed how.
https://forum.digikey.com/t/add-a-digi-key-search-hotkey-eve...
people who have been using those applications for decades do not want those shortcuts to change for any reason.
you'll be happy to know that a lot of the ribbon is going away in favor of small buttons with icons on them, and people are losing their minds over it. so no matter what Microsoft do, millions of people are gonna bitch about it and complain for years and years.
https://devblogs.microsoft.com/oldnewthing/20140715-00/?p=50...
If only there was a way to set this as the default and format pasting as the shift setting.
FWIW, shift+command+v works for me...
https://www.makeuseof.com/tag/copy-paste-text-without-format...
(MS Office requires a slightly different procedure: https://apple.stackexchange.com/questions/287159/is-there-a-...)
maybe it was in one of the older macs I had to use recently, or some combination with voiceover that I was running.
On my MacBook Pro, Command + Option + V universally executes the following AppleScript:
Sometimes that trick just stops working for no reason at all, then there's nothing else for it but to paste into notepad.exe and re-copy.
But now that I've seen you can add shift to remove formatting, I'll have to try to remember to do that instead.
Fewer pages blinking away
I would say it's usually 50/50 whether I want to keep the formatting or not. But either way most applications support both copy with formatting and copy without formatting.
Everything about Windows and Microsoft office is annoying to someone who knows how to use a computer properly; unfortunately, the vast majority of people using them do not. I work with people who use Excel every day and will still do the maths in their head and type into the cells because formulas are too difficult for them to master.
A perfectly acceptable way of using a computer properly is getting one’s task done with the least amount of hassle.
Since MacOS and, to some extent, iOS copy formatting as well, there seems to be some agreement that it’s the behavior that leads to less hassle for the l^Huser.
https://www.alfredforum.com/topic/17398-clipboard-history-fe...
I've seen this question asked again and again. Once, i saw an answer from someone who was a product manager on a big office tool, i think at Microsoft. Their answer was that according to their user research, the vast majority of users want to paste with formatting.
Given how often this comes up, and how irritating all programmers evidently find this, i would really love to read a detailed writeup of this feature; its history, how popular it really is, how people use it, etc. It seems likely there's a big story here we're all completely missing.
Oh, I highly doubt this is the case.
I dunno, we should all just use LaTeX to avoid these kinds of issues.
Specifically that when they needed to decide which paste style should be the default "Paste" operation it was a combination of user research and a bias towards novice-friendly defaults that led them to pick paste-with-formatting as the default and paste-as-plain-text as the alternative.
I'd also be interested in seeing the actual research and design rationale.
I have no clue why somebody thought this was a good idea.
In 20 years of using computers everyday, I have never, EVER, had the need to copy the source format into whatever thing I'm doing. On the contrary, every single time I open Notepad, paste it there and copy it again ... I know about ctrl+shift+v or something, but I never get it right and also I already have developed muscle memory for Notepad.
Also, who decided that pasting w/ format should be the default behavior, sorry but, wtf.
Is there any real use case for this? Anyone finds this useful? Any scenario where this is actually useful and I'm missing it because I'm not familiar with X?
Not really. For lists it may make some sense, but then if it brings the bullet style/spacing/etc from the source it still wouldn't work for me.
Mail supports rich text, so that's what's copied.
Agreed though: in the scenario you describe, it's often not what's desired, but that's why there's another key combination to support this use case without breaking the consistency of the general paradigm.
I do it all the time when I need to email a small table from excel instead of attaching the whole sheet, especially when it's backed by data that should never be sent in an email. It works fine.
I used to not be able to do this. Content didn't paste nicely, or recipient clients didn't display it nicely. These days it's no longer an issue, clients mostly seem to handle it without issue.
Edit: my preference, if it's something that has to be reusable, is to do all of this sort of thing with tools that make the end result self-service & automated. But there's a lot of one-off work too, and more complex analysis usually takes place in a stats program or R or Python, and it's much easier to paste some output from there into excel and do some nice formatting quickly rather than coding it all in a way that would make it production-ready.
Rich paste annoys me most when the content I paste has a different notion of what plain paragraph words should look like. And "ctrl-shift-v" isn't helpful if you're trying to paste in a list or something.
It is mind crushingly annoying, second in nerve-o-smashing only to useless mouse over popups all over a UI. "Here, let me just smack a popup over what you're reading because there's now about 0.2cm of the screen you can place your mouse that _doesn't_ do that. What does it say? Oh, it just repeats the name of the link it's over".
I go back and forth on whether I want to disable intellisense and tips in VS Code because half the time I feel like it's helpful, but the other half of the time it's covering up other code I need to reference to finish typing.
I feel like this worked sensibly until maybe 5 years ago.
Some tools started to go that way in the '90s. About 15 years ago the "war on email format" ended with the victory of html, and already this behaviour was widespread - Word and Outlook were already working like that by then.
What has changed in the last decade or so is that the "paste as plain text" options are increasingly harder to find, and occasionally have been dropped altogether.
You're probably right. Copy-pasting styles wasn't quite so annoying with RTF email, and it really only started getting infuriating for me when browsers and web apps started to try to do it.
I feel like it has been like this, at least on Windows, for more than 10 years. I remember working on projects in highschool, copying data from the browser to Microsoft Word and having to remove formatting.
I'd then suggest that formatting that always conveys meaning (bold, italics, etc) should be copy/pasted.
On the other hand, formatting that often doesn't convey meaning (font face, foreground color, background color, shadows, etc) should not be copied by default.
A three-way option to system-wide (and per application) configure the behavior for control/command + x/c/v would be nice:
Except where you're copying math and all your Greek alphas change to a.
Your smart copy/paste would be great if it is smart enough to infer the right options from context, and update from my subsequent adjustments.
I hate myself each time I'm using LibreOffice just for this reason, why the hell would that be the norm?
Going in the other direction, trying to select and copy a single line from a chat message will copy the entire message. Who even comes up with features like this?
I will add something though, I don't think the other way lends itself too well to being "discoverable". I just had my brother copy some data across documents with different formatting and he didn't know that "paste without formatting" was ever an option and now I think, if it ever worked the other way around, would I ever know that "Paste with formatting" is an option if the app defaults to unformatted paste?