When creating a new buffer via:
I would like Emacs to ask me what major mode this buffer is going to use upon opening. Moreover, I want Emacs to infer the major mode in some cases based on the buffer's name:
test.org(no such buffer so far)
RET=> org-mode is used without asking me anything.
Could anybody advice if I can use any package for this? Or is it achievable at all via pure elisp?
ido if it matters.