Re: [O] markup text with leading, trailing spaces

2015-02-23 Thread Rasmus
hymie! writes: > Sorry to resurrect an old thread, but this isn't actually working. > > hymie! lactose.homelinux.net> writes: > >> >> hymie! lactose.homelinux.net> writes: >> >> > So while I strongly prefer the exported version of >> > - ~command1~ >> > - ~command2~ >> > - ~command3~ >> > it'

Re: [O] markup text with leading, trailing spaces

2015-02-23 Thread hymie!
Sorry to resurrect an old thread, but this isn't actually working. hymie! lactose.homelinux.net> writes: > > hymie! lactose.homelinux.net> writes: > > > So while I strongly prefer the exported version of > > - ~command1~ > > - ~command2~ > > - ~command3~ > > it's hard to copy-n-paste with the

Re: [O] markup text with leading, trailing spaces

2015-02-14 Thread hymie!
hymie! lactose.homelinux.net> writes: > So while I strongly prefer the exported version of > - ~command1~ > - ~command2~ > - ~command3~ > it's hard to copy-n-paste with the tildes in the way. org-hide-emphasis-markers is the answer. Setting this to true, the tildes disappear. --hymie!

Re: [O] markup text with leading, trailing spaces

2015-02-14 Thread hymie!
Jorge A. Alfaro-Murillo yale.edu> writes: > > hymie! writes: > > > I think you are making the incorrect assumption that the machine > > on which I maintain my Org files is the same machine that I wish > > to execute commands on. > > Yes, or that you can ssh to it. Unfortunately, it is still

Re: [O] markup text with leading, trailing spaces

2015-02-14 Thread Jorge A. Alfaro-Murillo
hymie! writes: I think you are making the incorrect assumption that the machine on which I maintain my Org files is the same machine that I wish to execute commands on. Yes, or that you can ssh to it. If my commnds were all 8 characters long or less, it would be fine. Some of my commands l

Re: [O] markup text with leading, trailing spaces

2015-02-14 Thread hymie
"darc...@gmail.com" writes: >However, if if I can ssh to a server called "myserver" I can change the >code block to > >#+begin_src sh :dir /myserver:~/ > hostname >#+end_src > >Now if I run the code block the code is executed in myserver and I get > >#+RESULTS: >: myserver_host_name That is a ver

Re: [O] markup text with leading, trailing spaces

2015-02-14 Thread darc...@gmail.com
Even if you want to run commands in a different computer you can do that with "C-c C-c" thanks to the ":dir folder" header argument and tramp. As an example, suppose I have the code block below #+begin_src sh hostname #+end_src If I run it I get something like #+RESULTS: : my_computer_name H

Re: [O] markup text with leading, trailing spaces

2015-02-13 Thread hymie!
In our last episode, the evil Dr. Lacto had captured our hero, jorge.alfaro-muri...@yale.edu (Jorge A. Alfaro-Murillo), who said: >hymie! writes: > >> I'd like to be able to have a series of commands in my raw org >> file that I can copy-n-paste into my shell window. But I also >> like to expo

Re: [O] markup text with leading, trailing spaces

2015-02-13 Thread Jorge A. Alfaro-Murillo
hymie! writes: I'd like to be able to have a series of commands in my raw org file that I can copy-n-paste into my shell window. But I also like to export my org files to HTML so that I can make ePubs and keep them in my iPad. And this #+BEGIN_SRC command1 command2 command3 #+END_SR