At the end of Gemorah (Tractate) Sanhedrin, there is discussion of people who are not Zocheh to get into Olam Haba (Gan Eden). Is there a comprehensive list somewhere of people mentioned throughout Talmud and commentaries who have been cursed in this way?
Rambam (Laws of Teshuvah 3:6ff) gives the following list. (All of them are referring to people who know that what they're doing is wrong. The average nonobservant Jew nowadays is in an entirely different category, "tinok shenishba.")
Then he lists several other things of which the Sages say that one who habitually does these also loses his share in Olam Haba:
He concludes, though, that these exclusions are not absolute: one can always do teshuvah as long as he is alive.
Furthermore, there is an extensive discussion in a letter by the Lubavitcher Rebbe zt"l, in which he argues (based on many sources) that even people in these categories who have not done teshuvah still have a way out, just that it is a lot more difficult. But ultimately, "lo yidach mimenu nidach" - no Jew is ever truly lost.
In the Koren Siddur with Rabbi Sacks commentary, it states at the addition at the end of Perek Aleph of Pirkei Avot "Rabbi Chananya Ben Akashia omer" ... that the Rambam says "It is a fundamental principle of the Jewish faith that if a person fulfills even one of the 613 mitzvot fully and properly, without ulterior motive but simply for its own sake and out of love, he merits a share in the World to Come."
now i'm not sure if i answered your question, or created a new one... such as if someone committs one of the above sins but also does mitzvot then what happens to his share in Olam Haba. I have no idea!