espi jarred my memory with 'Ghost in the Shell'...
Boy doesn't get girl in 'Ghost', with Swayze, Moore and Goldberg.
In the movie 'Shane', there's a great dynamic going on between Shane, and Joe and Marian Starrett.
Marian meets a friendly, but mysterious gunfighter that's the opposite of her laid-back farmer husband.
Shane meets a pioneer lady who represents all that he's wanted and yearns for in a woman, but can't have, because of his respect for both husband and wife, and his lifestyle.
Joe realizes Shane and Marian have developed strong feelings for each other, but he's a man sure of his and his wife's love for each other, plus he also has a deep respect for Shane and realizes Shane wouldn't do anything to hurt them.
In the end, Shane doesn't get the woman.
(this is my take on the movie, yours may vary)
