DaasYochid -"The Gr'a Offen Ort ... is disputing the Mechaber about the priority of beis haknesses."
Wrong. He disputes the whole Seif, including supporting kids' learning. Look again. He says that the Deyuk that these things come before Tzedaka is "Aino Muchrach".
"Poor Torah learners, children or adults, take precedence over anyone but relatives (poor relatives who are Torah learners would be the absolute priority*, aside from pikuach nefesh)."
As long as they are from Aneiay Ircha.
"Whether poor relatives take precedence over Torah learners seems to be a machlokes (check out the sources in the article which I linked to earlier) although the C.C. seems to give priority to krovim."
You have not provided a source. Look up. The Mods don't put up links. If you want to cite a source that argues -copy & paste.
"My point about chomesh was to demonstrate the primacy of supporting Torah learners. Although there is a chiyuv to give "tzeddakah" (to poor people), the bulk of one's donations should be to support Torah."
Well that would depend on many factors. - How many poor relatives you have. Whether your town has poor Talmedi Chachomim or just poor Am Haaratzim. The Piskay Teshuva 251:3 says -poor people from your town even if they are Ami Haaratzim, come before poor people from a different town, even if those are Talmedi Chachamim!