Transporters work by de-assembling something (e.g. you) and re-assembling it somewhere else. What if, when you're dis-assembled, you die, and the re-assembled version of you is essentially a copy? Then every time someone steps onto a transporter, their final thought before death is that they'll end up beamed somewhere else. And the re-assembled version (copy) just thinks that everything went fine and continues on like nothing bad happened.
Yep, that’s one of the examples I was talking about when I said they retconned what O’Brien said. Although this specific example, they play it off like Scotty did some crazy tech to create some sort of feedback loop to keep his signal from degrading for like 80 years if I remember correctly.
There’s also an example in strange new worlds, Dr. M’benga is keeping his daughter in the transporter buffer in the medical wing. There’s also that one episode on TNG where Barkley found all those people who were trapped in the buffer thinking they were like interdimensional worms or something.
They also basically put almost the entire crew into the pattern buffer in STD, right? Although I guess they weren’t in the for very long.