Notes on Certain Expansions in Orthogonal and Semi-Orthogonal Functions