[O] SOLVED: Error when tangling subtree - but works for whole document

2015-09-04 Thread Rainer M Krug
The problem is that tangling in an indirect buffer does not work. I'll post another email concerning this. Thanks, Rainer Rainer M Krug writes: > Hi > > I get an error #(wrong-type-argument stringp nil)# when I tangle a > subtree, but tangling the whole document works. > >

[O] Bug: org-shitmeta(up/down) does not seem to handle subtrees and items properly [8.3.1 (8.3.1-95-g1dbb25-elpa @ /home/fvaresi/.emacs.d/elpa/org-20150831/)]

2015-09-04 Thread Fernando Varesi
Hi. First of all I apologize if this report does not comply in any way to the standards, since it's my first report. Steps to reproduce: 1. Create an outline with 2 headlines, each of them having their own drawers. 2. Move the pointer to the headline. 3. Hit M-S-down. Expected Behavior:

[O] Tangling from indirect buffer

2015-09-04 Thread Rainer M Krug
Hi it seems that tangling from an indirect buffer does not work. Is this by design or a bug? Would it be possible to make this possible? I am working a lot in indirect buffers (one subfolder R packages, another analysis of data, a third one results) and would very much like to tangle from them

Re: [O] Org Babel blocks exports dollar signs to LaTeX verbatim

2015-09-04 Thread Alan Schmitt
(Still catching up on orgmode mail … sorry if you already found a way to address the issue) On 2015-08-18 18:13, Matthew MacLean writes: > When working with Org Babel source code blocks, if I have a dollar sign in my > code and export it to PDF using LaTeX, it appears to

Re: [O] Block level specification for tex code html export method

2015-09-04 Thread Andreas Leha
Hi Nicolas, Nicolas Goaziou writes: > Hello, > > Andreas Leha writes: > >> This macro is from Eric Schulte initially. And I guess I would be out >> of luck adapting it to new Org mode versions as well. > > What about > > (defmacro

Re: [O] Block level specification for tex code html export method

2015-09-04 Thread Nicolas Goaziou
Andreas Leha writes: > Seems to work fine! > > Just note, that it works for me only after exporting > (when tested under emacs -Q). `org-export-current-backend' is set when exporting a document, much like `backend'. > What about including that into org?

[O] (no subject)

2015-09-04 Thread Eduardo Mercovich
Hello everbody. I'm an emacs/org-mode newbie but I'm learning, so please forgive me if this is obvious for you. A couple days ago I updated org from the packages-list. Now, when I'm trying to use a simple org table (typing TAB, for example), I get: "org-get-limited-outline-regexp: Variable

Re: [O] Block level specification for tex code html export method

2015-09-04 Thread Andreas Leha
Nicolas Goaziou writes: > Andreas Leha writes: > >> Seems to work fine! >> >> Just note, that it works for me only after exporting >> (when tested under emacs -Q). > > `org-export-current-backend' is set when exporting a document, much

Re: [O] shell scripts in yasnippet?

2015-09-04 Thread John Kitchin
This is kind of close: #+BEGIN_SRC emacs-lisp (yas-global-mode) (with-temp-buffer (insert "# name : my-fortune # key: myf # expand-env: ((yas-indent-line nil) # -- #+BEGIN_QUOTE: ${1:`(shell-command-to-string \"fortune\")`} #END_QUOTE $0 ") (yas-load-snippet-buffer-and-close 'org-mode))

Re: [O] Tangling from indirect buffer

2015-09-04 Thread Kyle Meyer
Rainer M Krug writes: > Hi > > it seems that tangling from an indirect buffer does not work. Is this by > design or a bug? I don't think that's by design. > Would it be possible to make this possible? Does the below patch work for you? If so, I can test it more thoroughly

Re: [O] org-entry-get behaviour

2015-09-04 Thread Kyle Meyer
Hi, Martin Kaffanke writes: > Hi there, > > I can see now, that (org-entry-get (point) "foo") is nil, if > :PROPERTIES: follows the CLOCK: entry. Has it changed to be that > :PROPERTIES: now must be the first thing of the entry? Yes. > If so, how can I > change all my

Re: [O] (no subject)

2015-09-04 Thread thomas
you could revert to your working org installation (if you did not delete that folder) by deleting / moving the folder with the faulty installation (say "org-201508XX") from your .emacs.d/elpa directory. If this solves your problems, then I would recommend starting a "bare" emacs emacs -q

Re: [O] File local circular links

2015-09-04 Thread Michael Brand
Hi Nicolas On Thu, Sep 3, 2015 at 4:06 PM, Nicolas Goaziou wrote: > Can't you simply do > > (org-link-search ":file local circular link:" (point)) > > ? In my previous example the (org-link-search "[[:file local circular link:]]" (point)) to get enough from the

[O] org-entry-get behaviour

2015-09-04 Thread Martin Kaffanke
Hi there, I can see now, that (org-entry-get (point) "foo") is nil, if :PROPERTIES: follows the CLOCK: entry. Has it changed to be that :PROPERTIES: now must be the first thing of the entry? If so, how can I change all my entries at once instead of going through all my items and do it by hand?

Re: [O] (no subject)

2015-09-04 Thread Eduardo Mercovich
Dear Thomas. > you could revert to your working org installation (if you did not delete > that folder) by deleting / moving the folder with the faulty > installation (say "org-201508XX") from your .emacs.d/elpa directory. > If this solves your problems, then I would recommend starting a

Re: [O] Bug: org-shitmeta(up/down) does not seem to handle subtrees and items properly [8.3.1 (8.3.1-95-g1dbb25-elpa @ /home/fvaresi/.emacs.d/elpa/org-20150831/)]

2015-09-04 Thread Fernando Varesi
Hi, Nicolas. Thanks for replying Given the documentation in http://orgmode.org/manual/Structure-editing.html#Structure-editing, I would expect it to still use org-move-subtree-down. Anyway, my desired behavior can be easily achieved with hooks so I don't mind it keeping it as is, but I thought

Re: [O] [PATCH] org-mime: make plain/text mime export a choice

2015-09-04 Thread Nicolas Goaziou
Jon Miller writes: > At this point, I'm not sure if there is any further hacking left to be done > to the original patch I sent? Are we okay with just leaving the two options > of 'ascii and 'org? I don't think we're at a conclusion yet. In addition to providing ascii and

Re: [O] Question about todo subheadings and logbook

2015-09-04 Thread Keith M Swartz
Thank you, Nicolas. I think this behavior is wrong, then, or else I have some configuration setting that's messing things up. Problem is, if you create sub-level todos, and change their state, the updates all get muddled, and you can't tell which one's state changed. It also creates multiple

Re: [O] Bug: org-shitmeta(up/down) does not seem to handle subtrees and items properly [8.3.1 (8.3.1-95-g1dbb25-elpa @ /home/fvaresi/.emacs.d/elpa/org-20150831/)]

2015-09-04 Thread Nicolas Goaziou
Hello, Fernando Varesi writes: > Steps to reproduce: > 1. Create an outline with 2 headlines, each of them having their own drawers. > 2. Move the pointer to the headline. > 3. Hit M-S-down. > > Expected Behavior: > M-S-up/down should move the subtree/item up/down when

Re: [O] Question about todo subheadings and logbook

2015-09-04 Thread Nicolas Goaziou
Hello, Keith M Swartz writes: > I often want to add a subheading (sub-task) to this todo item, so I'll hit > Alt-Enter to do this. When I do, it creates the subheading /between/ the > original todo and the drawer. Is that correct? It is. > My preference - and what I

Re: [O] [PATCH] org-mime: make plain/text mime export a choice

2015-09-04 Thread Jon Miller
Nicolas Goaziou writes: > Jon Miller writes: > >> At this point, I'm not sure if there is any further hacking left to be done >> to the original patch I sent? Are we okay with just leaving the two options >> of 'ascii and 'org? > > I don't think we're at a conclusion yet. In

Re: [O] latest org from Elpa error: Invalid function: org-babel-header-args-safe-fn

2015-09-04 Thread Mikhail Titov
On Sat, Aug 8, 2015 at 8:54 AM, Ista Zahn wrote: > Unfortunately I now can't reproduce the problem, so I can't check if > my suggestion to byte compile ob-R.el works or not. For those still having this issue. I do confirm this solves the problem that occurred upon

Re: [O] Question about todo subheadings and logbook

2015-09-04 Thread Nicolas Goaziou
Keith M Swartz writes: > Here is an example to reproduce some questionable results: > > 0. Create a set of TODO labels, like so: > #+SEQ_TODO: TODO(!) PEND(!) DONE(!) > > 1. Create an item, make it a todo. (Creates a logbook.) OK. > 2. Create a subheading. (Alt-Enter,

Re: [O] Tangling from indirect buffer

2015-09-04 Thread Martin Carlé
Indirect buffers are of immense help but I had the same issue. Can confirm that the hack referring to spec instead to the buffer-file-name and getting the buffer-base-buffer respectively, does the trick. Great! On 2015-09-04 Fri 17:49, Kyle Meyer wrote: > Rainer M Krug

[O] org-mac-iCal: "Import diary from iCal in agenda" doesn't work

2015-09-04 Thread Tobias Frischholz
I have a small problem with a key binding for the agenda, which should import my iCal.app appointments into the diary. I have the following code from this page: (setq org-agenda custom-commands '(("I" "Import diary from iCal" agenda "" ((org-agenda-mode-hook (lambda ()

Re: [O] Question about todo subheadings and logbook

2015-09-04 Thread Keith M Swartz
I was creating the sub-heading from the exact same spot where I stopped typing and hit C-c C-t. Didn't move the cursor, just went straight from one step to the next. After step Here is what that set of steps created for me: * PEND First item :LOGBOOK: - State "PEND" from "TODO"

Re: [O] org-mac-iCal: "Import diary from iCal in agenda" doesn't work

2015-09-04 Thread Josiah Schwab
Hello Tobias, On 4 September 2015 at 12:49 PDT, Tobias Frischholz wrote: > I have a small problem with a key binding for the agenda, which should import > my iCal.app appointments into the diary. > > I have the following code from this page: > > (setq org-agenda custom-commands > '(("I"

[O] subtreep option in export stopped working propery

2015-09-04 Thread Joon Ro
Hi, I have been using a link containing elisp:(org-beamer-export-to-pdf nil t) to export the subtree as a beamer pdf. It used to work well, but after a certain update a couple of months ago (I'm using 8.3beta and I regularly update it), it stopped working properly. For example, when I click on

Re: [O] Bug: org-shitmeta(up/down) does not seem to handle subtrees and items properly [8.3.1 (8.3.1-95-g1dbb25-elpa @ /home/fvaresi/.emacs.d/elpa/org-20150831/)]

2015-09-04 Thread Nicolas Goaziou
Fernando Varesi writes: > Given the documentation in > http://orgmode.org/manual/Structure-editing.html#Structure-editing, I would > expect it to still use org-move-subtree-down. This is bound to M-down, isn't it? It probably is a documentation bug. Regards,

[O] org-mobile-push and MobileOrg compatibility issue

2015-09-04 Thread Vamsi Vytla
M-x 'org-mobile-push', with the latest org-mode leaves the files incompatible with MobileOrg Android application. There have been no changes in MobileOrg for over a year. I bisected the latest org-mobile related changes and noticed that reverting this one line below "fixes" the issue (at least

Re: [O] Question about todo subheadings and logbook

2015-09-04 Thread Nicolas Goaziou
Keith M Swartz writes: > Step-by-step -- after step 1 [note: the logbook is collapsed initially, but > I expanded it here to show the contents. Expanding the logbook before > creating a sub-item may alter the results; I haven't tried that.] > > * TODO First item > :LOGBOOK:

Re: [O] Org Babel blocks exports dollar signs to LaTeX verbatim

2015-09-04 Thread Matthew MacLean
Ah, thanks! So it was configuration then... I initially figured it was language-dependant, which was why I tried it in Ruby, since "$" is a valid character in that language... What I didn't anticipate was that the boxes came from intelligent-syntax checking--I figured that it was just some sort

Re: [O] emacs & org mode for scholars questions

2015-09-04 Thread John Kitchin
Thanks. org-ref has been pretty stable lately, and given my fall schedule it is likely to stay that way ;) It might be ready for MELPA. I don't have a lot of experience packaging for MELPA. Is there a set of instructions on how to do that somewhere? Erik Hetzner writes: > Thanks, John. > > I

Re: [O] using dates as property?

2015-09-04 Thread John Kitchin
thanks. that also works for me. Samuel Wales writes: > i always put inactive timestamps in headlines, and sort both the > outline and agenda using them. for example: > > * CONVERSATION [2015-08-31 Mon 14:41] john > * CONVERSATION [2015-09-01 Tue 15:02] rms > > or newest first. they are

Re: [O] org-mac-iCal: "Import diary from iCal in agenda" doesn't work

2015-09-04 Thread Josiah Schwab
On 4 September 2015 at 13:35 PDT, Josiah Schwab wrote: > I think there's a "-" missing. The variable name is > > org-agenda-custom-commands > ^ This is also now fixed on the website (worg commit 60c0b12). Best, Josiah

Re: [O] Question about todo subheadings and logbook

2015-09-04 Thread Keith M Swartz
I think there's some misunderstanding here regarding my initial question. I do NOT want the subheading to go between the first one and the logbook. When I hit Ctrl-Enter at the end of the line, that's where it goes. I didn't choose to do that, and I would like it not to. To get what I want now, I

[O] ob-R ignores ess-eval-visibly?

2015-09-04 Thread Tamas Papp
Hi, I prefer ESS not to wait for results of evaluating R code, especially if it takes a longer time (eg estimating a model in RStan, 1-2 minutes), so I have (setq ess-eval-visibly 'nowait) But I find that ob-R ignores this, eg evaluating #+BEGIN_SRC R :results none Sys.sleep(10) #+END_SRC I

Re: [O] emacs & org mode for scholars questions

2015-09-04 Thread Rasmus
Christian Wittern writes: > $> pip --freeze > requirements and > $> pip install -r > might provide both a flexible and extensible way to maintain meta packages. > Or is there already a better way in the Emacs universe? Why make it so hard? Just use the facilities built

Re: [O] Block level specification for tex code html export method

2015-09-04 Thread Haochen Xie
Hi Eric, It's very likely due to this problem as both Andreas and I mentioned in earlier mails: Also please follow this link [1] to fix a > ​bug > in htlatex as mentioned in Andreas's mail, or your html export will fail > silently (showing success on emacs, but no images generated). > > ​​ >

Re: [O] Block level specification for tex code html export method

2015-09-04 Thread Eric S Fraga
On Thursday, 3 Sep 2015 at 23:38, Nicolas Goaziou wrote: [...] > What about > > (defmacro by-backend ( body) > `(case org-export-current-backend ,@body)) Nicolas, this seems to work! I thought I had tried something like this but I must have got one of the ,@` wrong along the way... I

[O] Question about todo subheadings and logbook

2015-09-04 Thread Keith M Swartz
Hi all, I'm currently using org-mode 8.3.1, and I'm curious about a particular behavior. If I start to type an item, and then use the C-c C-t shortcut to mark it as a TODO item, it automatically creates a drawer and adds a LOGBOOK entry to it. Custom settings are as follows: (setq

Re: [O] emacs & org mode for scholars questions

2015-09-04 Thread Christian Wittern
On 2015-09-02 19:40, John Kitchin wrote: > Cool! Thanks for the shout out to org-ref! > > my jmax starter package (http://github.com/jkitchin/jmax) is basically > designed for the last point you described. I use it with students (41 > this semester!) as a standalone "package". It isn't as polished

Re: [O] Block level specification for tex code html export method

2015-09-04 Thread Eric S Fraga
On Friday, 4 Sep 2015 at 15:23, Haochen Xie wrote: > Hi Eric, > > It's very likely due to this problem as both Andreas and I mentioned in > earlier mails: Thanks. I did notice the bits about htlatex but didn't pay much attention. I don't actually need svg as I use png for my web pages! -- :

Re: [O] Block level specification for tex code html export method

2015-09-04 Thread Alan Schmitt
Thanks to everyone, I now have this working. Here is the final version. --8<---cut here---start->8--- #+LATEX_HEADER: \usepackage{tikz} First execute the second code block, to define the convenience macro and to set the required new variables in ob-latex.el.