Re: [O] [dev] About a beamer back-end
I also quite like using headlines for blocks, for many of the same reasons Eric mentioned. In addition, I regularly use column view to set BEAMER_env, BEAMER_envargs, BEAMER_extra, etc., and column view operates on headlines. Greg On Jun 20, 2012, at 5:04 AM, Eric S Fraga wrote: Nicolas Goaziou n.goaz...@gmail.com writes: Hello, Eric S Fraga e.fr...@ucl.ac.uk writes: Well, I will have to chime in with a contrary view. I like using headlines to define blocks, and I use blocks on almost every frame. I have the following reasons for preferring a headline approach: - the proposed approach does not easily (at all?) cater for blocks within blocks I may be missing your point, but you can have nested blocks. What would be more difficult to achieve with blocks? Sorry! I missed the begin...end structure for the blocks you were proposing. Indeed, I see no reason that your proposal does not support a recursive nesting of blocks. - ease of hiding of content: org for me is still primarily an outliner! You can hide blocks too. but the difference is that the hidden block doesn't tell you anything about the block itself? that is, there is no equivalent to the text content of a headline that is visible when the contents below the headline are hidden. This is possibly (?) a minor point, mind you. - being able to re-arrange content in a frame quickly (M-up, etc.) See `org-element-drag-backward' and `org-element-drag-forward'. Okay. Will it be easy to bind these to M-up etc. to achieve consistent behaviour? I.e. does org-metaup know what to do with blocks? - within frames, there is no other use for lower level headlines. Using these for blocks seems appropriate. What else could they be used for? Good question. One idea would be to use them as outline tools that would have no impact on export (they would help hiding frame contents in the buffer but would be ignored in produced LaTeX code). Obviously, both approaches (blocks or headlines) have drawbacks. I'm still unsure about which one would be the quickest/cleanest/most useful. Understood! And I don't want to stand in the way of an implementation of beamer support in the new exporter. As a point for discussion and evaluation, attached is an example slide (both org and pdf) demonstrating the type of thing I tend to do for some of my beamer documents. Also, please don't forget about columns! beamerblocks.orgbeamerblocks.pdf -- : Eric S Fraga, GnuPG: 0xC89193D8FFFCF67D : in Emacs 24.1.50.1 and Org release_7.8.11-69-ga2fd96 signature.asc Description: Message signed with OpenPGP using GPGMail
[O] Error when changing todo-state [7.8.11]
Hi! I recently upgraded to emacs24 and org 7.8.11. Since this upgrade, when I set or change a todo-state, I get an error message (void-variable state). The desired todo-state is being set all the same. I guess there's some kind of conflict between my config and the new org-version -- but what is it and what can I do about it? Please find the backtrace and parts of my init-file below. Best, Salome BACKTRACE Debugger entered--Lisp error: (void-variable state) (member state org-done-keywords) (if (member state org-done-keywords) (progn (org-make-checklist-export) (org-reset-checkbox-state-maybe))) (when (member state org-done-keywords) (org-make-checklist-export) (org-reset-checkbox-state-maybe)) org-checklist() run-hooks(org-after-todo-state-change-hook) byte-code(\306\307!\210\310!\203 \311\225Sb\210\310\312 \313Q!\204 \310\314!\210\302 \315 \302 \316\216\317\320\321\307\211$*@@AABBC\311\232\203I \320C\322\202K DD\323\324!E\311\224F\325E!G\326GH\\211IA@J\327I8K\330I8LE\206{ \331M\307NEO\235\211PAQR\203\264 C\332\232\203\236 S\333=\204\257 C\204\264 S\203\264 S\333=\204\264 \334 \202 C\335\232\203\322 S\203\305 R\204\322 \336\337\340\341O\\320\307$\202 C\342=\203\357 E\203\351 Q\205 Q@\202O@\202 C\343=\203 PO\232?\205 E\203\344OGQG\345#O8\202 OT\346T!@)\202 S\307=\2035C\347\232\2035\320\211C\206 C\203\271C\331\232\203E\320\202C\350=\203P\320\202 C\351=\203bK\206U@\202C\352=\203yGV\235A@\206 V@\202C\353=\203\227\354V!VGV\235A@\206\223V@)\202 CO\235@\206 C;\203\256\355\356C\\202 \357C!SO8\202 P\204\311G\206 O@\202EL\232\203\325\320\202 Q\204\336\320\202J\360\203WX=\203\363Q@\202 QG\311V\205 K\206 U@\202 Q@Y\361\362YM#\206Y\211Y\203%\363Y\363Q\202\363Z\364\365\366E\367Y\370\257[\320\211\\];\203~EU\235?^\212\302 \371\216\212\214~\210\372\373[\-\204~\374\375!\203m\355\376EY#\210\202~\377\376EY#\210\201g \201h \320\\210\201i \n!\210\201j Z\307\211#\210\201k F!\204\242\377\201l \201m Z!\\210G\204\306\325Y!G\326GH\\211IA@J\327I8K\330I8LC\201n \203\370\377\201o \344_G\201p \326Y_\_G#_G\201q \201r \326Y_\\363#$\210YU\235?^YU\235\205EU\235?] \203\201s !\210B\204$@\203\305D\307=\204\305C\201t \204\305\326YB\A@\206G\345\326EB\8\211\\\322=\203[D\322=\203[\201u \\Y\203zY`\235\203zE`\235\204z\201v \320\211\201w #\210]\203\252@\203\252\201v \201w \201x \\210\\\204\252@\322=\203\252\201y \351YE\201z \322%\210Y\203\305\\\203\305\201y \201{ YE\201z \\%\210\201| Y!\210a\203\335b\204\335\201} \320\307\\210c\203\347\201~ \210\201 \201\200 !\210C\203YU\235\204\325Y!G\201\201 \315 \201\202 \201\203 G$\210]\2036\201\204 \201d !\203/\302 \201\205 \216\201\206 d*\201\207 Y!\210\201\210 \203rn\204r\212\201\211 \324!\210\310e!)\203r`\345\211\225\206Y\324\225\\W\203r\345\225\206e\324\225b\210\310\363!\203r\201\212 \210f\205\202\212\201\213 \201f [\).\207 [org-outline-regexp org-todo-regexp match-data startpos save-match-data-internal logging org-back-to-heading t looking-at 0 + \\( +\\|[]*$\\) \\(?: *\\|[ ]*$\\) point-at-bol ((byte-code \301\302\\207 [save-match-data-internal set-match-data evaporate] 3)) org-entry-get nil LOGGING note match-string 1 org-get-todo-sequence-head assoc 3 4 (4) prefix org-fast-todo-selection (4) org-icompleting-read State: mapcar #[(x) C\207 [x] 1] right left - 2 last (4) none done nextset previousset reverse error State `%s' not valid in this file prefix-numeric-value (type priority) run-hook-with-args-until-success ...] 10) org-todo(nil) call-interactively(org-todo nil nil) Emacs : GNU Emacs 24.1.50.1 (i686-pc-linux-gnu, GTK+ Version 3.4.2) of 2012-06-16 on platinum, modified by Debian Package: Org-mode version 7.8.11 INIT-FILE (part) (setq org-clock-persist 'history org-agenda-window-setup 'current-window org-goto-max-level 10 org-export-preprocess-before-selecting-backend-code-hook '(org-beamer-select-beamer-code) org-tab-first-hook '(org-hide-block-toggle-maybe org-src-native-tab-command-maybe org-babel-hide-result-toggle-maybe) org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers org-cycle-show-empty-lines org-optimize-window-after-visibility-change) org-agenda-before-write-hook '(org-agenda-add-entry-text) org-speed-command-hook '(org-speed-command-default-hook org-babel-speed-command-hook) org-show-following-heading t org-agenda-restore-windows-after-quit t org-babel-pre-tangle-hook '(save-buffer) org-occur-hook '(org-first-headline-recenter) org-export-interblocks
[O] [bug] Text macros don't get replaced
Hello, I'm using text macros, and want them to be replaced both in the text body, but as well in the title or date of the document: --8---cut here---start-8--- #+MACRO: thesoft ABC #+MACRO: thedate November 2011 #+TITLE: Data Sheet: {{{thesoft}}} #+AUTHOR:{{{thesoft}}} #+DATE: Copyright (c) {{{thedate}}} --8---cut here---end---8--- With the old LaTeX exporter, it works for AUTHOR, but not for TITLE nor DATE. With the new LaTeX exporter, it does work for TITLE and AUTHOR, but not for DATE. Best regards, Seb -- Sebastien Vauban
[O] \vert not converted to | when org-table-export applied
Hi, I try to export a table with \vert symbol embedded in it to a tab separated file by use of org-table-export: | A\vert B | C | |1 | 2 | |3 | 4 | but the \vert in the first line is not converted to '|' as shown here: A\vert BC 1 2 3 4 Is this a bug or am I missing something? Thank you. Eythan
[O] table export to oocalc?
Hello Are there any plans to add a table to oocalc converter? Thanks Uwe Brauer
Re: [O] [dev] About a beamer back-end
Hi all, Greg Tucker-Kellogg wrote: On Jun 20, 2012, at 5:04 AM, Eric S Fraga wrote: Nicolas Goaziou n.goaz...@gmail.com writes: Eric S Fraga e.fr...@ucl.ac.uk writes: Well, I will have to chime in with a contrary view. I like using headlines to define blocks, and I use blocks on almost every frame. I have the following reasons for preferring a headline approach: - the proposed approach does not easily (at all?) cater for blocks within blocks I may be missing your point, but you can have nested blocks. What would be more difficult to achieve with blocks? Sorry! I missed the begin...end structure for the blocks you were proposing. Indeed, I see no reason that your proposal does not support a recursive nesting of blocks. - ease of hiding of content: org for me is still primarily an outliner! You can hide blocks too. but the difference is that the hidden block doesn't tell you anything about the block itself? that is, there is no equivalent to the text content of a headline that is visible when the contents below the headline are hidden. This is possibly (?) a minor point, mind you. - being able to re-arrange content in a frame quickly (M-up, etc.) See `org-element-drag-backward' and `org-element-drag-forward'. Okay. Will it be easy to bind these to M-up etc. to achieve consistent behaviour? I.e. does org-metaup know what to do with blocks? - within frames, there is no other use for lower level headlines. Using these for blocks seems appropriate. What else could they be used for? Good question. One idea would be to use them as outline tools that would have no impact on export (they would help hiding frame contents in the buffer but would be ignored in produced LaTeX code). Obviously, both approaches (blocks or headlines) have drawbacks. I'm still unsure about which one would be the quickest/cleanest/most useful. Understood! And I don't want to stand in the way of an implementation of beamer support in the new exporter. As a point for discussion and evaluation, attached is an example slide (both org and pdf) demonstrating the type of thing I tend to do for some of my beamer documents. Also, please don't forget about columns! I also quite like using headlines for blocks, for many of the same reasons Eric mentioned. In addition, I regularly use column view to set BEAMER_env, BEAMER_envargs, BEAMER_extra, etc., and column view operates on headlines. Personally, I dislike using headlines for *anything* that's in the frame. I like the idea that headlines do show the structure of your presentation: - (optionally) sections and subsections for the sidebar - frame title (and subtitle) and no more. Up to now, even if we could use headlines for itemized points, I preferred using proper Org itemized list, and keep the whole structured that way. I would add that headlines are inherently outline-oriented, while here we speak about block or column contents which are inherently block-oriented (maybe not really for the column contents, though). I've always have had difficulties with the way to represent example blocks, for example, *in* the flow of a normal slide... But this whole thing is just personal taste. I'm not coming with any solution, however! Best regards, Seb -- Sebastien Vauban
[O] [bug] spreadsheet does not replace some fields
Hi all Isn't there a nasty spreadsheet bug? I'm quite confused that it has not been discovered yet so I start to doubt on my reliability. - bug: | this field is not replaced | 1 | | this field is not replaced | 2 | |+---| | 3 | 3 | #+TBLFM: $1 = $2 - last minutes' release_7.8.11-85-g62453c5 - at least back to release_7.8.09-555-g323836f - emacs -q, 23.3.1 - expected: | 1 | 1 | | 2 | 2 | |---+---| | 3 | 3 | #+TBLFM: $1 = $2 - this variation works as expected: | 1 | 1 | | 2 | 2 | | 3 | 3 | #+TBLFM: $1 = $2 Michael
[O] Searching linked files
Hi there, Does anybody now how to search the content of a linked file ? I have a master file that is included in org-agenda file list. This file contains links to other research project related org files. Unfortunately, is seems that only way to search the content of the link file is to include it in the agenda file list, ideally I prefer not to do this. To illustrate the problem, lets say I have a file myfile.org, which is included in the list of org agenda files. myfile.org contains the following * Apples * Pears * [[file:~/test.org][Farmers]] Similarly, test.org contains * Jack - Cheapest supplier of Apples - Deliver * Joe - Pear supplies and other vegetables * Bill - Potential supplier Lets say I want to do a keyword search for vegetables, I would hit C-a s. The problem is that unless I include test.org in the agenda file list, it doesn't work. I appreciate any help or suggestion. Cheers M
Re: [O] [bug] spreadsheet does not replace some fields
On Wed, Jun 20, 2012 at 02:26:42PM +0200, Michael Brand wrote: Isn't there a nasty spreadsheet bug? I'm quite confused that it has not been discovered yet so I start to doubt on my reliability. Hi, Michael. This is a feature, not a bug. From the manual (section 3.5.6 Column Formulas): If the table contains horizontal separator hlines, everything before the first such line is considered part of the table header and will not be modified by column formulas. So, you need to add a horizontal separator at the top of your table. Otherwise the first 2 lines are considered as headers Regards, .j. - bug: | this field is not replaced | 1 | | this field is not replaced | 2 | |+---| | 3 | 3 | #+TBLFM: $1 = $2 - last minutes' release_7.8.11-85-g62453c5 - at least back to release_7.8.09-555-g323836f - emacs -q, 23.3.1 - expected: | 1 | 1 | | 2 | 2 | |---+---| | 3 | 3 | #+TBLFM: $1 = $2 - this variation works as expected: | 1 | 1 | | 2 | 2 | | 3 | 3 | #+TBLFM: $1 = $2 Michael
[O] [bug] Refile to file when 'full-file-path
Hi, i wanted to refile to files that have the same name so I set 'org-refile-use-outline-path to 'full-file-path. Targets as files are not available anymore! Here is a patch that fixes it. Sylvain. 0001-Refiling-Fix-targets-when-using-full-file-path.patch Description: Binary data
[O] Setting Face of clocking info in Modeline
I'd like to colorize/change the size of the clocked-in task info displayed in the modeline. I've found the org-clock-heading-function but can't quite figure out how to wire in a replacement nor whether I can affect the face displayed with it or just the actual content of the field. I also found in a Google search the interesting 'org-clock-frame-title-format' implying I might be able to display the clocked-in task info in the frame header, but no actual example of it being used. Is there a correct way of doing this and am I on the right trail? -Jeff
Re: [O] exporting a table
Achim Gratz strom...@nexgo.de wrote: Nick Dokos writes: This is with version Org-mode version 7.8.10 (release_7.8.10-688-gd06428 @ /home/nick/elisp/org-mode/lisp/) Do yourself a favor and issue: git fetch --tags origin to get the correct version displayed. Thanks. I now get Org-mode version 7.8.11 (release_7.8.11-82-gd06428 @ /home/nick/elisp/org-mode/lisp/) (nb: includes a few local commits). Nick
[O] Trouble with `:kill-buffer` property in capture templates
I can't get the `:kill-buffer` property to behave as advertised in my capture templates. I have, for example: (w Writing log table-line (file ~/Dropbox/workrecord.org) |%U|%A||%?| :table-line-pos I+1 :kill-buffer ) But the buffer, which was closed before I called capture, stays open after. I thought it might have been a problem with using multiple properties, but it stays open even after I've gotten rid of the `:table-line-pos` property. Am I missing something here? Thanks, -- Brian Hamilton-Vise PhD Student, Christian Ethics University of Notre Dame
Re: [O] Searching linked files
See the variable org-agenda-text-search-extra-files. It seems to be exactly what you want. -- Darlan Cavalcante At Wed, 20 Jun 2012 09:16:49 -0400, Marvin Doyley marvin...@gmail.com wrote: Hi there, Does anybody now how to search the content of a linked file ? I have a master file that is included in org-agenda file list. This file contains links to other research project related org files. Unfortunately, is seems that only way to search the content of the link file is to include it in the agenda file list, ideally I prefer not to do this. To illustrate the problem, lets say I have a file myfile.org, which is included in the list of org agenda files. myfile.org contains the following * Apples * Pears * [[file:~/test.org][Farmers]] Similarly, test.org contains * Jack - Cheapest supplier of Apples - Deliver * Joe - Pear supplies and other vegetables * Bill - Potential supplier Lets say I want to do a keyword search for vegetables, I would hit C-a s. The problem is that unless I include test.org in the agenda file list, it doesn't work. I appreciate any help or suggestion. Cheers M
Re: [O] Error when changing todo-state [7.8.11]
salome.soederg...@gmx.ch writes: Hi Salome: I recently upgraded to emacs24 and org 7.8.11. Since this upgrade, when I set or change a todo-state, I get an error message (void-variable state). I had the same problem. It turned out that the problem is some customization that I have in org-after-todo-state-change-hook. IIRC, the offending code (at least for me) is: , | ;;Add category to todos | (add-hook 'org-after-todo-state-change-hook | (lambda () | (if (string= state CATEGORY) | (save-excursion | (org-back-to-heading) | (org-set-property CATEGORY |(nth 4 (org-heading-components))) ` YMMV. Charles -- I've run DOOM more in the last few days than I have the last few months. I just love debugging ;-) (Linus Torvalds) pgpAJLmULpmwr.pgp Description: PGP signature
Re: [O] [dev] About a beamer back-end
Sebastien Vauban wxhgmqzgw...@spammotel.com writes: [...] Personally, I dislike using headlines for *anything* that's in the frame. I like the idea that headlines do show the structure of your presentation: - (optionally) sections and subsections for the sidebar - frame title (and subtitle) and no more. This is interesting because, for me, the blocks within a frame are very much part of the structure of the presentation. I often start writing a presentation with the outline consisting of sections, frame titles and block titles. I would add that headlines are inherently outline-oriented, while here we speak about block or column contents which are inherently block-oriented (maybe not really for the column contents, though). But for me, block and column headings are part of the outline. But this whole thing is just personal taste. I'm not coming with any solution, however! Yes, it probably all does come down to personal taste and, as I have said in an earlier message, whatever Nicolas ends up implementing will be fine with me. -- : Eric S Fraga, GnuPG: 0xC89193D8FFFCF67D : in Emacs 24.1.50.1 and Org release_7.8.11-69-ga2fd96
Re: [O] Error when changing todo-state [7.8.11]
salome.soederg...@gmx.ch writes: Hi! I recently upgraded to emacs24 and org 7.8.11. Since this upgrade, when I set or change a todo-state, I get an error message (void-variable state). The desired todo-state is being set all the same. I guess there's some kind of conflict between my config and the new org-version -- but what is it and what can I do about it? Please find the backtrace and parts of my init-file below. state has been changed to org-state. -- : Eric S Fraga, GnuPG: 0xC89193D8FFFCF67D : in Emacs 24.1.50.1 and Org release_7.8.11-69-ga2fd96
Re: [O] Searching linked files
Hi Darlan, This is almost what I am looking for. I would be nice if I could get it to drill down into subdirectories. All my work is located in a directory called research that contains a several directory related to different projects. The problem with this variable is that works only for files in a fixed directory. cheers M On Wed, Jun 20, 2012 at 12:24 PM, Darlan Cavalcante Moreira darc...@gmail.com wrote: See the variable org-agenda-text-search-extra-files. It seems to be exactly what you want. -- Darlan Cavalcante At Wed, 20 Jun 2012 09:16:49 -0400, Marvin Doyley marvin...@gmail.com wrote: Hi there, Does anybody now how to search the content of a linked file ? I have a master file that is included in org-agenda file list. This file contains links to other research project related org files. Unfortunately, is seems that only way to search the content of the link file is to include it in the agenda file list, ideally I prefer not to do this. To illustrate the problem, lets say I have a file myfile.org, which is included in the list of org agenda files. myfile.org contains the following * Apples * Pears * [[file:~/test.org][Farmers]] Similarly, test.org contains * Jack - Cheapest supplier of Apples - Deliver * Joe - Pear supplies and other vegetables * Bill - Potential supplier Lets say I want to do a keyword search for vegetables, I would hit C-a s. The problem is that unless I include test.org in the agenda file list, it doesn't work. I appreciate any help or suggestion. Cheers M
Re: [O] Error when changing todo-state [7.8.11]
Eric S Fraga e.fr...@ucl.ac.uk wrote: salome.soederg...@gmx.ch writes: Hi! I recently upgraded to emacs24 and org 7.8.11. Since this upgrade, when I set or change a todo-state, I get an error message (void-variable state). The desired todo-state is being set all the same. I guess there's some kind of conflict between my config and the new org-version -- but what is it and what can I do about it? Please find the backtrace and parts of my init-file below. state has been changed to org-state. That's probably the cause of the problem, but there is still the question of whether state is used in some customization that the OP has done or whether there are inconsistencies in the update (i.e. old bits lying around and being used in preference to the new ones). If tne cure is not obvious given the hints that various people have given, I would suggest M-x toggle-debug-on-error and posting the backtrace. Nick
Re: [O] Searching linked files
Hi Marvin, On Wed, Jun 20, 2012 at 7:45 PM, Marvin Doyley marvin...@gmail.com wrote: This is almost what I am looking for. I would be nice if I could get it to drill down into subdirectories. Maybe this will help. This defines a custom function: https://github.com/suvayu/.emacs.d/blob/master/lisp/nifty.el#L98 I use the above function in these agenda commands: https://github.com/suvayu/.emacs.d/blob/master/org-mode-config.el#L379 HTH -- Suvayu Open source is the future. It sets us free.
Re: [O] [bug] Text macros don't get replaced
Hello, Sebastien Vauban wxhgmqzgwmuf-genee64ty+gs+fvcfc7...@public.gmane.org writes: I'm using text macros, and want them to be replaced both in the text body, but as well in the title or date of the document: #+MACRO: thesoft ABC #+MACRO: thedate November 2011 #+TITLE: Data Sheet: {{{thesoft}}} #+AUTHOR:{{{thesoft}}} #+DATE: Copyright (c) {{{thedate}}} With the new LaTeX exporter, it does work for TITLE and AUTHOR, but not for DATE. It should be fixed in master. Thank you. Regards, -- Nicolas Goaziou
Re: [O] Presentation on Org-mode at Dunkerque (France)
Hello, Just to tell you that I will make a presentation on Org-mode during the LaTeX day in Dunkerque (FR) on Wed 13th June 2012. Here is my summary in English for the 1:30 presentation: You wish to write high-quality documents or presentations, whose successive versions are easy to compare (thanks to CVS, SVN or Git, for example)? LATEX is un-miss-able. You find, nevertheless, the syntax very heavy to write tables or to handle nested lists? You have problems convincing your colleagues to go the LaTeX route? Come then discover org-mode (http://orgmode.org/). Writing a document or a presentation will become as simple as an writing an email. And you inherit new possibilites (of which outlining, status and tags on the sections, as well as the advanced search functions are some examples that will be looked at). It will be more focused to the LaTeX exporter, of course, but I will try to give more incentive for making the switch! My slides will be publicly available (first in French, in English as well if these are judged as worthing it ;-)). Here they are: https://github.com/fniessen/stage-latex-dunkerque-2012 Please note that -- even if the event was on last Wed -- the slides aren't really in a terminal state yet. In particular, some Org blocks aren't rendered as they should because of bugs in the old LaTeX exporter. I'm sure they'll go away with the new Beamer exporter (as it's already good when exporting to a standard document, with the new LaTeX exporter). Best regards, Fabrice
Re: [O] export to pdf tags showing
IIUC, this is only implemented in the new exporter: the old one remains unchanged - yes? The new and the old exporter. How is the new envoked? /
Re: [O] export to pdf tags showing
itm...@chrikro.net itm...@chrikro.net wrote: IIUC, this is only implemented in the new exporter: the old one remains unchanged - yes? The new and the old exporter. How is the new envoked? You have to do two things in your .emacs (or equivalent): (require 'org-export) (add-to-list 'load-path (expand-file-name /path/to/org/contrib/lisp)) where you have to change the path appropriately for your situation: the second step allows the new exporter to pick up the new latex and html backends (org-e-latex.el and org-e-html.el resp.) You can then invoke the export dispatcher with M-x org-export-dispatch There is no key assigned to it yet (presumably it will sit under C-c C-e eventually), but you can of course define your own binding for now. Nick
Re: [O] [bug] spreadsheet does not replace some fields
Hi Juan On Wed, Jun 20, 2012 at 3:47 PM, Juan Pechiar j...@pechiar.com wrote: From the manual (section 3.5.6 Column Formulas): If the table contains horizontal separator hlines, everything before the first such line is considered part of the table header and will not be modified by column formulas. Yes, of course, I should know! I read this some years ago but didn't realize then what effect it will have for me one day: All rows in my current example except the last one are just considered as the table header and everything becomes clear. How could I not conclude myself. Thank you for helping out. With this in mind it should be | item | absolute | percent | |---+--+-| | a | 17 | 34 | | b | 21 | 42 | | c | 12 | 24 | |---+--+-| | total | 50 | 100 | #+TBLFM: @$2=vsum(@$2..@$2)::$3=100 * $2 / @$2 or |---+--+-| | item | absolute | percent | |---+--+-| | a | 17 | 34 | | b | 21 | 42 | | c | 12 | 24 | |---+--+-| | total | 50 | 100 | |---+--+-| #+TBLFM: @$2=vsum(@$2..@$2)::$3=100 * $2 / @$2 and it is not possible to take the shortcut of | a | 17 | | | b | 21 | | | c | 12 | | |---++-| | total | 50 | 100 | #+TBLFM: @$2=vsum(@$2..@$2)::$3=100 * $2 / @$2 or |---++-| | a | 17 | | | b | 21 | | | c | 12 | | |---++-| | total | 50 | 100 | |---++-| #+TBLFM: @$2=vsum(@$2..@$2)::$3=100 * $2 / @$2 to group rows with hline Michael
Re: [O] Searching linked files
Hi Suvayu, This is did the trick. More specifically combining find-org-file-recursively with org-agenda-text-search-extra-files allowed me drill down in multiple subdirectory. Thank you. Cheers M On Wed, Jun 20, 2012 at 2:51 PM, suvayu ali fatkasuvayu+li...@gmail.comwrote: Hi Marvin, On Wed, Jun 20, 2012 at 7:45 PM, Marvin Doyley marvin...@gmail.com wrote: This is almost what I am looking for. I would be nice if I could get it to drill down into subdirectories. Maybe this will help. This defines a custom function: https://github.com/suvayu/.emacs.d/blob/master/lisp/nifty.el#L98 I use the above function in these agenda commands: https://github.com/suvayu/.emacs.d/blob/master/org-mode-config.el#L379 HTH -- Suvayu Open source is the future. It sets us free.
[O] changing the behavior of the underline _ character
Hey guys, So, whenever I write something with the underline char, org renders the string like this: http://minus.com/mRXPQQdLW/ Check how the this word is rendered. How could I disable this rendering behavior ? Thanks, - Marcelo.
Re: [O] changing the behavior of the underline _ character
Marcelo de Moraes Serpa celose...@gmail.com wrote: Hey guys, So, whenever I write something with the underline char, org renders the string like this: http://minus.com/mRXPQQdLW/ Check how the this word is rendered. How could I disable this rendering behavior ? #OPTIONS: ^:nil is one way. ^ and _ signal superscripts and subscripts resp. You can also escape the underscore: this is not a\_subscript Nick
Re: [O] changing the behavior of the underline _ character
Oh yah, that's called subscript, I was trying to remember the correct term : - ) Thanks Nick! On Wed, Jun 20, 2012 at 5:15 PM, Nick Dokos nicholas.do...@hp.com wrote: Marcelo de Moraes Serpa celose...@gmail.com wrote: Hey guys, So, whenever I write something with the underline char, org renders the string like this: http://minus.com/mRXPQQdLW/ Check how the this word is rendered. How could I disable this rendering behavior ? #OPTIONS: ^:nil is one way. ^ and _ signal superscripts and subscripts resp. You can also escape the underscore: this is not a\_subscript Nick
Re: [O] Setting Face of clocking info in Modeline
Hi, Jeff Rush jr...@taupro.com writes: I also found in a Google search the interesting 'org-clock-frame-title-format' implying I might be able to display the clocked-in task info in the frame header, but no actual example of it being used. Try setting `org-clock-clocked-in-display' to 'both or 'frame-title. Cheers, Moritz -- Moritz Ulrich
Re: [O] Setting Face of clocking info in Modeline
On 06/20/2012 07:17 PM, Moritz Ulrich wrote: Jeff Rush jr...@taupro.com writes: I also found in a Google search the interesting 'org-clock-frame-title-format' implying I might be able to display the clocked-in task info in the frame header, but no actual example of it being used. Try setting `org-clock-clocked-in-display' to 'both or 'frame-title. Thanks Moritz for this suggestion. However it doesn't seem to be implemented in the latest official release, which I'm running: app-emacs/org-mode-7.8.11 I give a Git checkout a try, hopefully the master branch is stable. -Jeff
[O] Beginner's question
I am using R. I am combining large data frames, and I am getting into memory problems. Therefore I would like to to this in separate steps and after each step the R process should be closed to free memory. When I do not use the :session argument for the code blocks, it seems that the R process is terminated after the code is run. I also tried to use separate sessions to achieve what I want and in each code block I used quit(save=no) at the end. That did not work. I would like to use a piece of initialization code in each of these code blocks but could not find an understandable example how to use name code blocks and noweb references to achieve this. Or can I do out with #+name: and a :var header argument? Is there a way to do this? I tried to understand :var with the following example The first code block is from the docs and it works. The second is by me and it does not work. Can anybody explain why my example does not work? #+TBLNAME: example-table |1| |2| |3| |4| #+NAME: table-length #+BEGIN_SRC emacs-lisp :var table=example-table (length table) #+END_SRC #+RESULTS: table-length : 4 #+name: xvar 123 #+name: myblock #+begin_src emacs-lisp :var xxx=xvar (* xxx xxx) #+end_src I need to pass string constants and numeric values o code segments this way.
Re: [O] Setting Face of clocking info in Modeline
Jeff Rush jr...@taupro.com wrote: On 06/20/2012 07:17 PM, Moritz Ulrich wrote: Jeff Rush jr...@taupro.com writes: I also found in a Google search the interesting 'org-clock-frame-title-format' implying I might be able to display the clocked-in task info in the frame header, but no actual example of it being used. Try setting `org-clock-clocked-in-display' to 'both or 'frame-title. Thanks Moritz for this suggestion. However it doesn't seem to be implemented in the latest official release, which I'm running: app-emacs/org-mode-7.8.11 That's not right - it went in with commit 37fafb7b and git says: $ git describe 37fafb7b release_7.8.09-248-g37fafb7 so it should certainly be in 7.8.11: $ git describe release_7.8.11^ release_7.8.10-603-g8d96bbc But I get: $ git describe release_7.8.10^ release_7.8.09-35-ge6560f2 I'm not sure why 37fafb7b is shown relative to 7.8.09 and not 7.8.10 - perhaps I'm misunderstanding or doing something wrong, but I interpret this as: 7.8.09 + 36 commits - 7.8.10 7.8.10 + 604 commits - 7.8.11 7.8.09 + 248 commits = 7.8.10 + (248 - 36 = 212 commits) - 37fafb7b I give a Git checkout a try, hopefully the master branch is stable. It seems to be working fine. Nick