[O] Error while editing sh source code.

2012-06-08 Thread Diep Pham Van
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

Re: [O] Error in post-command-hook: (void-variable org-ans1)

2011-09-15 Thread Diep Pham Van
s in the left-hand-side buffer! > > ;-) > > > P.S. I put the line number and column number on the modeline: > http://www.gnu.org/s/libtool/manual/emacs/Mode-Line.html > > > > On Thu, Sep 15, 2011 at 8:37 AM, Diep Pham Van > wrote: > > On Thu, 15 Sep 2011 14:07:57 +0200 >

Re: [O] Error in post-command-hook: (void-variable org-ans1)

2011-09-15 Thread Diep Pham Van
On Thu, 15 Sep 2011 14:07:57 +0200 Olaf Dietsche wrote: > Diep Pham Van writes: > > > On Thu, 15 Sep 2011 12:04:30 +0200 > > Olaf Dietsche wrote: > > > >> Have you tried disabling or reducing these modes? One of them or a > >> combin

Re: [O] Error in post-command-hook: (void-variable org-ans1)

2011-09-15 Thread Diep Pham Van
On Thu, 15 Sep 2011 12:04:30 +0200 Olaf Dietsche wrote: > Diep Pham Van writes: > > > I get this error: "Error in post-command-hook: (void-variable > > org-ans1)" every time I want to use schedule or deadline. After > > that, the error message appear with a

Re: [O] Error in post-command-hook: (void-variable org-ans1)

2011-09-15 Thread Diep Pham Van
On Thu, 15 Sep 2011 12:04:30 +0200 Olaf Dietsche wrote: > Diep Pham Van writes: > > > I get this error: "Error in post-command-hook: (void-variable > > org-ans1)" every time I want to use schedule or deadline. After > > that, the error message appear with a

[O] Error in post-command-hook: (void-variable org-ans1)

2011-09-14 Thread Diep Pham Van
I get this error: "Error in post-command-hook: (void-variable org-ans1)" every time I want to use schedule or deadline. After that, the error message appear with any command. After some minutes, this error message disappear and I can use anny command as expected. This problem happens with both the