Remember that emacs is basically single process, so that it will mainly run in a single view, the one which was set while starting up emacs, maybe explicitly.
Especially, setting up a view in an emacs shell will not
affect the emacs view, and thus will not allow you e.g. to use the
compile function with this new view.
To do so, a work-around may be to use view extended paths.