In Spanish, the pluperfect subjunctive tense is used to describe a continuing wish in the past.
From the en.wikipedia.org
The Latin pluperfect was preserved in very early Old French as a past tense with a value similar to a preterite or imperfect.
From the en.wikipedia.org
If the independent's verb is an imperfect tense, the dependent's will be a pluperfect, if the dependent's is future simple, the dependent's will be future perfect.
From the en.wikipedia.org
The far past tense is used for events that happened more than 18 hours ago, and can also be used as a weak pluperfect.