Text this: Harmonic analysis, the trace formula and shimura varieties