Note that Bach was forced to break the beams of one inner voice of the four.
As Rameau's chord theories came into vogue, chord notes started to be gathered up on one stem:
From a student of Bach:
An 1800 edition:
This new style lead to interesting combinations of dotted and non-dotted notes on one stem that are now rarely seen.
1. From Mozart's Piano Sonata k. 309, New Mozart Edition:
2. From Beethoven's Pianos Sonata op. 7 in the original edition:
Despite the repeated use of this notation throughout the movement, the passage was persistently engraved as the following in later editions, in this case, Schenker's:
In Beethoven's version, the pianist is freed of the burden of holding the thumb note while pivoting on the second finger, which makes the phrasing of the melody B

3. In the following remarkable case from Chopin's Etude op. 25 no. 10,
the composer avoids the following notation that he evidently considered cumbersome: