What happens if you try to transport more people than can physically fit into a space, into that space? So they smash together and die as flesh monsters or does the transporter know and refuse transport in such cases? What happens if you try to transport something physically larger than the interior of the ship into the ship?
@Jazzy_Butts Transporters have a memory, or buffer for storing sent beams. Since they work by breaking the matter down into energy, and then reassembling it later, it can be stored pretty much indefinitely. You might need to keep the transporter powered or risk it disappearing forever. So transporting something into something else isn't really a problem with later transporters. They also have a shield to keep debris and weapons fire and whatnot from affecting the transportee.
@Jazzy_Butts That shield should limit the size of objects to be smaller than the shield, and by extension smaller than the ship the transporter was on. But both of those were safety features that had to be added, so with the earlier ones, those things definitely happened. Don't know about the second one, but stuff actually did get transported inside someone. Oh, and most safety features in Star Trek can be overridden with either clearance or tech knowhow. So if you wanted to cause it, you could.
@Sudodeme Ok so I'm watching TNG Encounter at Farpoint part 2 and when Wesley falls into the water in the holodeck he comes out of the holodeck and says to picard who just showed up "I'll get a towel to mop this water up" (or something like that) but if it's holographic water shouldn't it have vanished the moment it left the holodeck???