ワインを買ってきていた What does てきていた convey here?

I know that てくる, when a physical movement is involved, means that the action
marked by て verb is directed toward the speaker/person who said the sentence.
買ってきた = I bought something and I have it with me at the moment of speaking.
買った = I bought something but if I have it with me or not is not implied

However, 買ってきていた is extremely confusing Does it mean that I bought something
and the action of having it is ongoing? Am I emphasizing something here? Do i
have the thing that I bought with me at the moment of speaking?
CC BY-SA 4.0
2021-03-11T21:01:28.730
84559
2021-03-12T08:32:16.337
36278
question
grammar
～てきていた grammar meaning
> I know that てくる, when a physical movement is involved, means that the action
> marked by て verb is directed toward the speaker/person who said the sentence

This is correct, so in the explanation below, I omit てくる part (which you can
add as you like)

買っていた usually means "I was buying", but in this example it means, "I'm in the
state of having already bought". The phrase must have been like this:

  * ワインをネットで注文したけど、夫が既に買っていた (= I ordered wine in the internet, but my husband had already bought some).

In this example, it sounds unnatural to say 買った, because it sounds like the
two actions took place at the same time.

A few examples:

  * 「ただいま〜」「あ、ごめん、もう夕飯食べてた」(= "I'm back home" "oh sorry, we already started having dinner")
  * 時間通りに着いたけど、授業はもう始まっていた (= I arrived in time, but the lecture had already started)

In the first example above, it's possible to say 食べた, which indicates the
dinner is already over (while with 食べてた they might be still eating or they
might have already finished). In the second case it's not possible to say 始まった
CC BY-SA 4.0
2021-03-12T08:32:16.337
84570
2021-03-12T08:32:16.337
42189
84559
answer