This is something that bothers me since a long time.
I often use pages without a template file just to output a teaser or headline in between a list of other pages. This is easy to understand for editors. Moving them up or down or create morte of them.
Then when you edit a CKE textfield of some page and create a link to another page and use either the autocomplete field or the page tree, the pages without template file show up as well(see screenshot), even though those pages wouldn't be viewable anyway and result in a 404.
You say: why don't you make them hidden?
I say: well... different users edit pages and they would be able to set them to show again and... well it didn't work.
There might be hooks to set them hidden again but I don't know them...
However, I think pages without templates shouldn't even show up there. It just doesn't make sense. (or am I missing something)
Are there ways around this problem? Hook? Something?
Something to make the template name show in the autocomplete suggestions after the path?
The blue bordered pages are some of those pages.