[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[O] Error while editing sh source code.
From: |
Diep Pham Van |
Subject: |
[O] Error while editing sh source code. |
Date: |
Fri, 8 Jun 2012 17:19:56 +0700 |
I want to write some shell script in my org file, so I add these line
in it.
#+name: random line
#+begin_src sh
cat filename.txt | sort --random-sort | sed -e '1!d'
#+end_src
But when I put cursor in src block and press `C-c '`, emacs show that
error:
byte-code: Language mode `sh-mode' fails with: "Invalid file-name"
The other modes (at least python, sql) is run without problem.
Can anybody show me how to fix this?
My emacs version: 23.4.1
My org-mode version: 7.8.11
And this is my config: https://github.com/favadi/dotemacs
--
PHẠM Văn Điệp
h : http://favadi.com
e : address@hidden
m : +84 984 339 841
_
ASCII ribbon campaign ( )
- against HTML email X
& vCards / \
- [O] Error while editing sh source code.,
Diep Pham Van <=