make org-mode export work

- no mode-hook if (buffer-file-name) is temp file
- make org-mode export work
- remove legacy flymake like shell, haml