Which is a separate issue. I prefer my neighbors not to stink up the whole building by [cooking smelly food|smearing shit on their walls|...], but that shouldn't make it illegal.
The housing association/board (or whatever the proper english term is) might have something to say though.
> I prefer my neighbors not to stink up the whole building by [cooking smelly food|smearing shit on their walls|...], but that shouldn't make it illegal.
This example could have been chosen better. While you're correct that your dislike of the smell isn't, in the absence of other facts, a great reason for criminalizing your neighbors smearing shit on their walls, that is in fact illegal, it is illegal for very good reasons, and you dislike the smell for the same reasons doing it is illegal. In that case, the smell is actually telling you something important.
I think we have more of a "this has to be allowed" exception for cooking food than we have a general policy of "we won't take smells into account when deciding what's allowed".
There are plenty of commercial grade filters available for just about any space. Perhaps your HOA/apartment complex could form regulations around ventilation, filtration, waste disposal, etc..
I live in a triplex from 1910. My 'ventilation' is opening the front and back balcony door. The outside air often stinks like skunk. It's actually pretty nauseating.
The pot-smokers tend to be neither the very regulation following kind of people, nor the kind of people who have the money for this stuff, nor people who are actually considerate enough of other people. For example, a vaporizer helps with smell, and that's a very cheap solution, but apparently rolling it so much more fun.
The housing association/board (or whatever the proper english term is) might have something to say though.