[O] Can this table formula be done more efficient

2014-06-08 Thread Cecil Westerhof
At the moment I am using the following formula: #+TBLFM: @$4..@$4 = $2 - $3 :: @$2=vsum(@$2..@$2) :: @$3=vsum(@$3..@$3) :: @$4=vsum(@$4..@$4) This does what I want, but there are two things that could be improved. - The second, third and fourth formula do exactly the same, only on different

Re: [O] Can this table formula be done more efficient

2014-06-08 Thread Eric Schulte
Nick Dokos ndo...@gmail.com writes: Cecil Westerhof cldwester...@gmail.com writes: At the moment I am using the following formula:     #+TBLFM: @$4..@$4 = $2 - $3 :: @$2=vsum(@$2..@$2) :: @$3=vsum(@$3..@$3) :: @$4=vsum(@$4..@$4) This does what I want, but there are two things that could be

Re: [O] babel C, C++, D enhancement

2014-06-08 Thread Thierry Banel
Hi Eric, hi All Here is a new patch (do not apply the previous). I added a check in the test suite for the D compiler availability (and for the C++ compiler as well). It silently returns true when the compiler is not found. To run the test suite I did that: - start from an up-to-date org-mode/

Re: [O] How to create non-inheritable properties?

2014-06-08 Thread Thorsten Jolitz
Grant Rettke g...@wisdomandwonder.com writes: Hi, My org file has a lot of text in it. It really needs to be in the same file though, so it is a big file. When I org-babel-tangle, I would like to speed it up as it takes 8 minutes. 8 minutes? wow ... when I convert my former big init.el

Re: [O] Is s TAB supposed to expand into upper case #+BEGIN_SRC?

2014-06-08 Thread Thorsten Jolitz
Grant Rettke g...@wisdomandwonder.com writes: Just added this to my init file to do that work: (mapc (lambda (asc) (let ((org-sce-dc (downcase (nth 1 asc (setf (nth 1 asc) org-sce-dc))) org-structure-template-alist) Thats of course much cooler than the

Re: [O] How to create non-inheritable properties?

2014-06-08 Thread Charles Berry
Thorsten Jolitz tjolitz at gmail.com writes: Grant Rettke gcr at wisdomandwonder.com writes: Hi, My org file has a lot of text in it. It really needs to be in the same file though, so it is a big file. When I org-babel-tangle, I would like to speed it up as it takes 8 minutes.

[O] set TO as a property on a heading

2014-06-08 Thread John Kitchin
I feel a little silly asking this, but I cannot figure out how to do it. I want to create a property called TO. Normally I type C-c C-x p to set a property. When I type TO, the minibuffer tries to autocomplete to many things other than TO, and I cannot figure out how to cancel the rest and use

Re: [O] set TO as a property on a heading

2014-06-08 Thread Rasmus
John Kitchin jkitc...@andrew.cmu.edu writes: I feel a little silly asking this, but I cannot figure out how to do it. I want to create a property called TO. Normally I type C-c C-x p to set a property. When I type TO, the minibuffer tries to autocomplete to many things other than TO, and I

Re: [O] set TO as a property on a heading

2014-06-08 Thread Aaron Ecay
Hi John, You can use C-c C-x P (with a capital 'p') to enter both the property name and value in a free text prompt (no completion). In your case, you'd enter TO: followed by your desired value. Aaron

Re: [O] babel C, C++, D enhancement

2014-06-08 Thread Eric Schulte
Thierry Banel tbanelweb...@free.fr writes: Hi Eric, hi All Here is a new patch (do not apply the previous). I added a check in the test suite for the D compiler availability (and for the C++ compiler as well). It silently returns true when the compiler is not found. To run the test suite

[O] Bug: Italics support fails after non-breaking space [8.2.6 (8.2.6-67-g9e09b2-elpa @ /home/crculver/.emacs.d/elpa/org-20140602/)]

2014-06-08 Thread Christopher Culver
Remember to cover the basics, that is, what you expected to happen and what in fact did happen. You don't know how to make a good report? See http://orgmode.org/manual/Feedback.html#Feedback Your bug report will be posted to the Org-mode mailing list.

[O] (require 'org-publish) causes downgrade in org-version

2014-06-08 Thread psycho_punch
I have posted this question on StackOverflow http://stackoverflow.com/questions/24111890/org-mode-require-org-publish-causes-downgrade-in-org-version but in case you don't want to visit the page, I've pasted the contents in this email. I have just upgraded org-mode to the latest available in

Re: [O] set TO as a property on a heading

2014-06-08 Thread John Kitchin
Aaron Ecay aarone...@gmail.com writes: Interesting! Thanks for the tip. Hi John, You can use C-c C-x P (with a capital 'p') to enter both the property name and value in a free text prompt (no completion). In your case, you'd enter TO: followed by your desired value. Aaron --

Re: [O] set TO as a property on a heading

2014-06-08 Thread John Kitchin
Yes! That (C-j) is exactly what does it. and it is ido enabled. Thanks, it was driving me crazy! Rasmus ras...@gmx.us writes: John Kitchin jkitc...@andrew.cmu.edu writes: I feel a little silly asking this, but I cannot figure out how to do it. I want to create a property called TO.

Re: [O] Is s TAB supposed to expand into upper case #+BEGIN_SRC?

2014-06-08 Thread Grant Rettke
On Sun, Jun 8, 2014 at 4:29 PM, Thorsten Jolitz tjol...@gmail.com wrote: Thats of course much cooler than the pedestrian version. Only downside might be if you search your init file for #+begin_src or so one day because your forgot about org-structure-template-alist you won't find it ;) Cool

Re: [O] How to create non-inheritable properties?

2014-06-08 Thread Grant Rettke
On Sun, Jun 8, 2014 at 4:45 PM, Charles Berry ccbe...@ucsd.edu wrote: Just guessing at this, but ... I suspect Grant's file has noweb chunks and that `org-babel-use-quick-and-dirty-noweb-expansion' is set to nil. Exactly. Have been using it quite extensively. If the :noweb-ref feature is

[O] org version check on start

2014-06-08 Thread Grant Rettke
Good afternoon, Yesterday I was fiddling with getting tangling working in a Makefile. My humanity caught up with me and I wasn't super vigilant about the order of my command line arguments to Emacs. Basically, I asked it to do some work before the correct version of org-mode was loaded. Now,

Re: [O] Bug: Italics support fails after non-breaking space [8.2.6 (8.2.6-67-g9e09b2-elpa @ /home/crculver/.emacs.d/elpa/org-20140602/)]

2014-06-08 Thread Eric Abrahamsen
Christopher Culver crcul...@christopherculver.com writes: Remember to cover the basics, that is, what you expected to happen and what in fact did happen. You don't know how to make a good report? See http://orgmode.org/manual/Feedback.html#Feedback Your bug report will be posted to

Re: [O] Is s TAB supposed to expand into upper case #+BEGIN_SRC?

2014-06-08 Thread Nick Dokos
Grant Rettke g...@wisdomandwonder.com writes: Hi, When I type s TAB it is expanded into #+BEGIN_SRC #+END_SRC Is supposed to expand into upper case letters? For some reason, my system won't tangle blocks that are all upper case, instead only all lower case is tangled. All the

Re: [O] if we operate on a subtree, perhaps we could adjust levels

2014-06-08 Thread Samuel Wales
hi bastien, On 4/17/14, Bastien b...@gnu.org wrote: Then I didn't understand what you suggested. Can you restate it again? Thanks, will try. On 3/26/14, Samuel Wales samolog...@gmail.com wrote: in maint, if you encrypt with org-crypt on an entry with children, then demote, then decrypt,

[O] babel setup

2014-06-08 Thread Shiyuan
Hi all, I am using Emacs 24.3.9 + org-mode 8.2.6(from ELPA) I followed this instruction http://orgmode.org/worg/org-contrib/babel/languages.html#configure and added the following to my .emacs file. (org-babel-do-load-languages 'org-babel-load-languages '((python . t)

Re: [O] (require 'org-publish) causes downgrade in org-version

2014-06-08 Thread Achim Gratz
psycho_punch writes: I have just upgraded org-mode to the latest available in ELPA. According to the official documentation, the installation has to be done in fresh emacs session where no org-related scripts/files have been loaded. The installation is successful, and org-version reports that

Re: [O] if we operate on a subtree, perhaps we could adjust levels

2014-06-08 Thread Achim Gratz
Samuel Wales writes: you will notice that the decrypted subtree is actually at a higher level than its parent. this is a violation of org structure. in consequence, it can silently swallow the entire rest of the file. this is not desired. is there a way to fix it? There's two ways I can