In org-mode - is there a way I can make emacs treat a region to be of a given mode (with syntax highlighting and so on). I tried the following for bash:
#+begin_src bash
# -*- mode:sh -*-
find . -type f -not -name '*[[:digit:]]*'
#+end_src
it doesn't work - it just shows the find line in grey. I want to be highlighted as if I were in a shell-script mode, or at least - black - with no org-mode parsing.
Edit:
The (setq org-src-fontify-natively t)
solves it, but org still interprets [[:digit:]]
as a link:
#+begin_src sh
find . -type f -not -name '*[[:digit:]]*'
#+end_src
can this be turned of somehow?