There's a disturbingly teleological aspect to the concept of a shortest route.
To say an object follows a straight line (or any shortest course through a space) we need to know where it started and where it is going.
Imagine I'm walking across a flat plane- a field, say.
I start at point 1 and walk to point 2 where I change direction and walk to point 3.
An observer can say I took the shortest route from 1 to 2 and from 2 to 3- but not from 1 to 3, because I changed direction at 2.
As a conscious entity I can say that I set out to go to 3, so the course I took was not, at any point, the shortest possible - but there MUST always exist a point 2 - and as any 2 points are linkable by a straight line, I am constrained to follow that line whether I want to or not, because if I changed course every inch between points 1 and 2, then there must exist a new point 2, closer to point 1, which I DID reach by the shortest distance possible. In short, no matter what convolutions my course follows, it is a linked chain of straight lines, of possibly very short length- each of them a shortest possible course . On a quantum scale, such line segments may approach the Plank length, yet still, between each two points, there exists a "straight line".
Is this all that is meant by saying that light follows straight lines in spacetime?
Or is this too incoherent to make sense?