[O] Cask-initialize messes up org table manipulation commands

2016-09-23 Thread Heikki Lehvaslaiho
* Problem I wanted to script org mode table manipulations. The most basic table command is org-table-cut-region (C-c C-x C-w)[fn:1]. I tried this with simplest possible table: | x | The cell content disappears but to my surprise the cursor jumped out of the table! Trying with different tables,

Re: [O] open pdfs in subdirectories in org-ref

2016-09-23 Thread Adam Porter
童俊翔 writes: > But I failed. What is the problem? Thank you for your help! We need you to be more descriptive than "But I failed." What exactly happens?

Re: [O] How to use org mode shell with ssh?

2016-09-23 Thread Xi Shen
I got it :) After reading http://orgmode.org/cgit.cgi/org-mode.git/tree/lisp/ob-shell.el#n57, I found I can simply specify the shell name in the block. On Fri, Sep 23, 2016 at 6:50 PM Fabrice Popineau < fabrice.popin...@centralesupelec.fr> wrote: > 2016-09-23 10:32 GMT+02:00 Xi Shen : > >> Hi,

Re: [O] Bug with behavior of point in cycle commands?

2016-09-23 Thread Nicolas Goaziou
Hello, Adam Porter writes: > I came across this discussion today: > > http://emacs.stackexchange.com/questions/27210/how-to-prevent-org-global-cycle-glitch > > It seems like a bug to me, because the visual position of the point does > not match its actual position. Shouldn't the cycle commands

[O] Capture template for datetree under existing headline

2016-09-23 Thread Peter Sterner
Hi. I want to have a capture template that generates a datetree under an existing headline in an org file with existing headlines. I tried this: ("j" "Journal" entry (file+datetree "~/workspace/org/notes.org" "Journal") "* %?\n Added %U\n %i\n%a") I tried creating the Journal headline before cap

Re: [O] Turn off #+BEGIN_EXAMPLE conversions?

2016-09-23 Thread David A. Gershman
I ended up doing that but then had to write the portion as well to keep the consistent look and feel. So I was just wondering. Unfortunately, my attempt to keep all my course material in a single Org file for simplicity is turning difficult. Not just for this reason (having to write /a

[O] open pdfs in subdirectories in org-ref

2016-09-23 Thread 童俊翔
I want to open pdfs in subdirectories in org-ref as described as https://github.com/jkitchin/org-ref/issues/172 my .emacs is configued as following (setq org-ref-open-pdf-function 'my/org-ref-open-pdf-at-point) (defun my/org-ref-open-pdf-at-point () "Open the pdf for bibtex key under point if

[O] tables with column and row numbers

2016-09-23 Thread Uwe Brauer
Hi I found parts of the solution on that list but the following example generates a table with column and row numbers. | 1 | 2 | 3 | 4 | 5 | |---+---+---+---+---| | 1 | x1| | | | | 2 | some data | more data | | | |---+---

Re: [O] How to use org mode shell with ssh?

2016-09-23 Thread Fabrice Popineau
2016-09-23 10:32 GMT+02:00 Xi Shen : > Hi, > > On my Windows system, I have Cygwin setup, with Emacs as part of the > Cygwin installation. > Cygwin Emacs is not a native Emacs (AFAIK). The difference is in the way it groks pathnames and other stuff like the default shell. I also setup my Cygwin

Re: [O] How to use org mode shell with ssh?

2016-09-23 Thread Xi Shen
Hi, On my Windows system, I have Cygwin setup, with Emacs as part of the Cygwin installation. I also setup my Cygwin environment to use zsh. I started my Emacs from this zsh environment. I think that's where org inherited this setting. I think when org execute my block, it some how assumed that i