[Orgmode] [OT] emacs-lisp compilation question
I have a general emacs-lisp compilation question, that maybe someone here can shed some light on. In trying to fold Org-babel into the core of Org-mode [1], I want to resolve all warning being thrown by the emacs-lisp compiler. One persistent warning is the following : In end of data: : ob-tangle.el:268:1:Warning: the function `org-babel-get-src-block-info' might : not be defined at runtime. which is being thrown for *every* org-babel file -- even those that do not use the `org-babel-get-src-block-info' function. All other warnings of this type were fixable through use of the `declare-function' function, which does not seem to help in the case of this particular function. Any suggestions are much appreciated. Thanks -- Eric Footnotes: [1] in branch babel of the git repo if anyone is interested. http://repo.or.cz/w/org-mode.git/shortlog/refs/heads/babel ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: clock in from last clock out
Buck Brody writes: > Is there a way to clock in from the time that I most recently clocked > out. I often find that I finish something, clock out, and then start > something new without remembering to clock back in. I'm not aware of any existing clocking code functionality that does what you describe. I used to get around this by making clocking in and clocking out actions completely manual so even if I mark a task done the clock continues until I explicitly clock in something else. This helped me build a good habit of clocking in stuff on time. Now I have a new setup[*1*] that automatically clocks in the default task whenever org normally clocks out. It doesn't sound like this is really what you are looking for though. In my case I would clock in the new task and manually move the completed clock line from the default task to the new task in this situation. -Bernt [*1*] http://doc.norang.ca/org-mode.html#ClockSetup ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] clock in from last clock out
Is there a way to clock in from the time that I most recently clocked out. I often find that I finish something, clock out, and then start something new without remembering to clock back in. ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] [org-babel] Bug in org-babel-latex when writing to PDF
William Henney writes: > Hi Eric > > Thanks for your response > > On Mon, Jun 14, 2010 at 1:17 PM, Eric Schulte wrote: >> Your code snippet exports as expected for me using the latest version of >> Org-mode. >> >> What values do you have set for the >> `org-export-latex-default-packages-alist' and >> `org-export-latex-packages-alist' >> variables? >> >> My guess is that the problem could be in a rogue entry in one of those >> values. If you'd like to re try with (a subset of) my settings you can >> by evaluating the following elisp. > > I see the error even when I start a vanilla emacs with no > customizations. Yes, you are right that > org-export-latex-default-packages-alist is the culprit, but the > problem is with the default value of this variable. You do not see the > problem because you have overwritten that variable to remove the > problematic part! > AH, you're right! I have(had) the following in my customization --8<---cut here---start->8--- ;; pull a bad package out of `org-export-latex-default-packages-alist' (setq org-export-latex-default-packages-alist (mapcar (lambda (el) (if (and (listp el) (string= "AUTO" (car el))) (list "" (cadr el)) el)) org-export-latex-default-packages-alist)) --8<---cut here---end--->8--- > > The default value of org-export-latex-default-packages-alist, as > defined on line 3076 of org.el, begins > > (("AUTO" "inputenc" t) > ("T1" "fontenc" t) > ... etc ... > > This works fine in the normal latex export, since the string AUTO gets > replaced by the correct file encoding, but this is not being done in > org-babel-latex. > > It looks like the function that should be used is > org-export-latex-fix-inputenc, which is defined in org-latex.el > Great, thanks for hunting this down, I've changed org-babel-latex.el to call the function you mentioned above and everything appears to be working. Many Thanks -- Eric > > Cheers > > Will ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] [PATCH] comments exporting
Hi Nicolas, Nicolas Goaziou writes: >> Eric Schulte writes: > >> A potentially related issue, >> The following org-mode snippet doesn't export correctly to latex, >> presumably because of protection issues similar to those addressed in >> your patch. Any ideas? > >> --8<---cut here---start->8--- >> ** comments not commented > >> # $some stuff >> # some more stuff$ -- I should be a comment line >> --8<---cut here---end--->8--- > > Yes. > > Actually, the latex stuff is processed before taking care of comments > (one of the last actions in every exporter). So the $...$ snippet is > matched by org-latex and protected. > > This patch removes protection check from comment deletion : something > in comment must not be exported anyway. I don't see any corner case > right now. > Great. Thanks for the continuous flow of useful patches. Not to look a gift patch in the mouth, but while this patch fixes the above issue it looks like it introduces a new problem. Before the patch the following --8<---cut here---start->8--- ** comments not commented # $some stuff # some more stuff$ -- I should be a comment line 1) a source block inside of an =enumerate= #+source: plotxy #+begin_src emacs-lisp :exports results (message "I think so") #+end_src can cause problems --8<---cut here---end--->8--- exports to --8<---cut here---start->8--- \section{comments not commented} \label{sec-1} # some more stuff$ -- I should be a comment line \begin{enumerate} \item a source block inside of an \texttt{enumerate} \begin{verbatim} I think so \end{verbatim} can cause problems \end{enumerate} --8<---cut here---end--->8--- while after the patch it exports to --8<---cut here---start->8--- \section{comments not commented} \label{sec-1} \begin{enumerate} \item a source block inside of an \texttt{enumerate} \#+source: plotxy \#+results: plotxy \begin{verbatim} I think so \end{verbatim} can cause problems \end{enumerate} --8<---cut here---end--->8--- which is wrong in a different way. > >>> This patch looks great. Since it's >10 lines long, I must ask if you've >>> signed the FSF papers for contributions to Emacs? If not is that >>> something you're willing to do? > > I have sent the signed papers last Wednesday (I had to since my patch > for org-babel-asymptote). I'm now waiting for their mail. > Oh, how forgetful of me, there's a todo in my agenda with your name on it about checking up on the status of the FSF papers. Thanks! -- Eric > > Regards, > > -- > Nicolas ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] [org-babel] Bug in org-babel-latex when writing to PDF
Hi Eric Thanks for your response On Mon, Jun 14, 2010 at 1:17 PM, Eric Schulte wrote: > Your code snippet exports as expected for me using the latest version of > Org-mode. > > What values do you have set for the > `org-export-latex-default-packages-alist' and > `org-export-latex-packages-alist' > variables? > > My guess is that the problem could be in a rogue entry in one of those > values. If you'd like to re try with (a subset of) my settings you can > by evaluating the following elisp. I see the error even when I start a vanilla emacs with no customizations. Yes, you are right that org-export-latex-default-packages-alist is the culprit, but the problem is with the default value of this variable. You do not see the problem because you have overwritten that variable to remove the problematic part! The default value of org-export-latex-default-packages-alist, as defined on line 3076 of org.el, begins (("AUTO" "inputenc" t) ("T1" "fontenc" t) ... etc ... This works fine in the normal latex export, since the string AUTO gets replaced by the correct file encoding, but this is not being done in org-babel-latex. It looks like the function that should be used is org-export-latex-fix-inputenc, which is defined in org-latex.el Cheers Will -- Dr William Henney, Centro de Radioastronomía y Astrofísica, Universidad Nacional Autónoma de México, Campus Morelia ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] [org-babel] Bug in org-babel-latex when writing to PDF
typo in my previous mail -- see below "Eric Schulte" writes: [...] > (setq org-export-latex-default-packages-alist > '(("" "inputenc") > ("T1" "fontenc" t) > ("" "fixltx2e" nil) > ("" "graphicx" t) > ("" "longtable" nil) > ("" "float" nil) > ("" "wrapfig" nil) > ("" "soul" t) > ("" "t1enc" t) > ("" "textcomp" t) > ("" "marvosym" t) > ("" "wasysym" t) > ("" "latexsym" t) > ("" "amssymb" t) > ("" "hyperref" nil) > "\\tolerance=1000")) > (setq org-export-latex-default-packages-alist '()) should have been --8<---cut here---start->8--- (setq org-export-latex-default-packages-alist '(("" "inputenc") ("T1" "fontenc" t) ("" "fixltx2e" nil) ("" "graphicx" t) ("" "longtable" nil) ("" "float" nil) ("" "wrapfig" nil) ("" "soul" t) ("" "t1enc" t) ("" "textcomp" t) ("" "marvosym" t) ("" "wasysym" t) ("" "latexsym" t) ("" "amssymb" t) ("" "hyperref" nil) "\\tolerance=1000")) (setq org-export-latex-packages-alist '()) --8<---cut here---end--->8--- Best -- Eric ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: org-remember and anything
Glauber Alex Dias Prado writes: > i thought i was explicity enough when i said "when calling org-remember" > :), this happens after i select a template and it prompts for completion > which is being handled by anything, that is when the backtrace happens, > this only happens with org-mode so i thought it was more a org thing > than anything. I understood you were using org-remember ;-) What i still don't know is in what org-remember envolve anything. Anything should not be called for template completion. The config you sent me in other mail is not clear enough. My guess is you are using anything-complete.el somewhere and maybe something like this in your .emacs: , | (anything-read-string-mode 1) ` That's replace normal completing-read and read-file-name by the one from anything-complete.el that are experimentals and not working everywhere. You will find stable replacement of these functions in anything-config.el called: anything-comp-read anything-c-read-file-name So, please try to invoke anything with ONLY this config: , | (add-to-list 'load-path "path/to/anything") | (require 'anything-config) ` You need only two files for this: anything.el anything-config.el You can get the latest files here: http://repo.or.cz/w/anything-config.git And remove all personal anything configs you may have in .emacs or somewhere else. (or use emacs -Q) Then call org-remember and tell me if problem appear. -- Thierry Volpiatto Gpg key: http://pgp.mit.edu/ ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] [PATCH] comments exporting
> Eric Schulte writes: > A potentially related issue, > The following org-mode snippet doesn't export correctly to latex, > presumably because of protection issues similar to those addressed in > your patch. Any ideas? > --8<---cut here---start->8--- > ** comments not commented > # $some stuff > # some more stuff$ -- I should be a comment line > --8<---cut here---end--->8--- Yes. Actually, the latex stuff is processed before taking care of comments (one of the last actions in every exporter). So the $...$ snippet is matched by org-latex and protected. This patch removes protection check from comment deletion : something in comment must not be exported anyway. I don't see any corner case right now. >> This patch looks great. Since it's >10 lines long, I must ask if you've >> signed the FSF papers for contributions to Emacs? If not is that >> something you're willing to do? I have sent the signed papers last Wednesday (I had to since my patch for org-babel-asymptote). I'm now waiting for their mail. Regards, -- Nicolas 0001-Fix-comments-export-in-latex.patch Description: Binary data ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] table: actualise columns with formulas. (C-num C-c=)
Uwe Brauer wrote: > > On Mon, 14 Jun 2010 14:45:59 +0200, Giovanni Ridolfi > > wrote: >>> >>> why don't you use: > >> sorry I meant: >> | Res1| Res2| Total| >> |-|-|--| >> | 3 | 4 | | >> | 4 | 5 | | >> #+TBLFM:$3=$1+S2 > >> then with C-c in the "#+TBLFM:$3" line your table will be updated >> I think also if you press TAB with the cursor in >> the third column. > > Ok so I have to type C-c C-c in the #+TBLFM:$3 line! That worked! > > Before I used C-c C-c with the cursor in the table and that > did not work. May be that should be added in the documentation? > See section 14.5, "The very busy C-c C-c key" in the Org manual. Nick ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: [org-babel] Bug in org-babel-latex when writing to PDF
Hi Eric, "Eric Schulte" wrote: > [...] try with (a subset of) my settings you can by evaluating the following > elisp. > > (setq org-export-latex-default-packages-alist > '(("" "inputenc") > ("T1" "fontenc" t) > ("" "fixltx2e" nil) > ("" "graphicx" t) > ("" "longtable" nil) > ("" "float" nil) > ("" "wrapfig" nil) > ("" "soul" t) > ("" "t1enc" t) > ("" "textcomp" t) > ("" "marvosym" t) > ("" "wasysym" t) > ("" "latexsym" t) > ("" "amssymb" t) > ("" "hyperref" nil) > "\\tolerance=1000")) > (setq org-export-latex-default-packages-alist '()) Aren't these 2 lines a bit contradictory, addressing the same var? Best regards, Seb -- Sébastien Vauban ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] [babel] now possible to set buffer-wide header arguments
Hi, I've just added the ability to set buffer-wide header arguments using a #+BABEL: line at the beginning of the buffer. For more information see http://eschulte.github.com/babel-dev/DONE-set-header-argument-values-on-a-buffer-bases.html feedback welcome. Cheers -- Eric ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] [org-babel] Bug in org-babel-latex when writing to PDF
Hi William, Your code snippet exports as expected for me using the latest version of Org-mode. What values do you have set for the `org-export-latex-default-packages-alist' and `org-export-latex-packages-alist' variables? My guess is that the problem could be in a rogue entry in one of those values. If you'd like to re try with (a subset of) my settings you can by evaluating the following elisp. --8<---cut here---start->8--- (setq org-export-latex-default-packages-alist '(("" "inputenc") ("T1" "fontenc" t) ("" "fixltx2e" nil) ("" "graphicx" t) ("" "longtable" nil) ("" "float" nil) ("" "wrapfig" nil) ("" "soul" t) ("" "t1enc" t) ("" "textcomp" t) ("" "marvosym" t) ("" "wasysym" t) ("" "latexsym" t) ("" "amssymb" t) ("" "hyperref" nil) "\\tolerance=1000")) (setq org-export-latex-default-packages-alist '()) --8<---cut here---end--->8--- Best -- Eric William Henney writes: > Hi all > > If I have a snippet like so: > > #+begin_src latex :file foo.png > Hello from org-babel! > #+end_src > > then I can execute the source block with no problems, producing the > image foo.png. > > However, if I change the filename to foo.pdf then it no longer works. > > An intermediate .tex file is produced that contains the line > > \usepackage[AUTO]{inputenc} > > which causes latex to fail. Presumably, the string "AUTO" should have > been expanded to something, but it wasn't. > > This is with yesterday's org-mode and emacs 23.2.1, aquamacs 2.0 > > Cheers > > Will ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: [PATCH] lists and exportation to latex
A potentially related issue, The following org-mode snippet doesn't export correctly to latex, presumably because of protection issues similar to those addressed in your patch. Any ideas? --8<---cut here---start->8--- ** comments not commented # $some stuff # some more stuff$ -- I should be a comment line --8<---cut here---end--->8--- Best -- Eric "Eric Schulte" writes: > Hi Nicolas, > > This patch looks great. Since it's >10 lines long, I must ask if you've > signed the FSF papers for contributions to Emacs? If not is that > something you're willing to do? > > http://orgmode.org/worg/org-contribute.php > > Thanks -- Eric > > Nicolas Goaziou writes: > >> The example illustrating the patch should be : >> >> -- >>1. A very long line with a mathematical environment at its end \(x = >> 25 \) >> >> #+BEGIN_EXAMPLE >> 3. three >> 4. four >> #+END_EXAMPLE >> >>2. Another line >> -- >> >> -- Nicolas >> >> >> >> >> >> ___ >> Emacs-orgmode mailing list >> Please use `Reply All' to send replies to the list. >> Emacs-orgmode@gnu.org >> http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] [org-babel] Bug in org-babel-latex when writing to PDF
Hi all If I have a snippet like so: #+begin_src latex :file foo.png Hello from org-babel! #+end_src then I can execute the source block with no problems, producing the image foo.png. However, if I change the filename to foo.pdf then it no longer works. An intermediate .tex file is produced that contains the line \usepackage[AUTO]{inputenc} which causes latex to fail. Presumably, the string "AUTO" should have been expanded to something, but it wasn't. This is with yesterday's org-mode and emacs 23.2.1, aquamacs 2.0 Cheers Will -- Dr William Henney, Centro de Radioastronomía y Astrofísica, Universidad Nacional Autónoma de México, Campus Morelia ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Bug: lists, maths and export to latex
sorry, please disregard this email -- Eric "Eric Schulte" writes: > Hi Nicolas, > > I think you forgot to attach the actual patch. > > Best -- Eric > > Nicolas Goaziou writes: > >> Hello, >> >> With the following minimal example, the list isn't properly exported >> to latex (please note there is no problem with html). The culprit is >> obviously the equation split across two lines at the end of the first >> item. >> >> --- >> * Example >> >> 1. A line full of text and an equation at the very end of it. \(a = >> 3\). >> >> 2. Second item >> --- >> >> >> is exported as >> >> >> --- >> \section{Example} >> \label{sec-1} >> >> >> 1. A line full of text and an equation at the very end of it. \(a = >> 3\). >> >> \begin{enumerate} >> \item Second item >> \end{enumerate} >> --- >> >> >> Tested on latest git. >> >> Thanks, >> >> -- >> Nicolas >> >> ___ >> Emacs-orgmode mailing list >> Please use `Reply All' to send replies to the list. >> Emacs-orgmode@gnu.org >> http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Bug: lists, maths and export to latex
Hi Nicolas, I think you forgot to attach the actual patch. Best -- Eric Nicolas Goaziou writes: > Hello, > > With the following minimal example, the list isn't properly exported > to latex (please note there is no problem with html). The culprit is > obviously the equation split across two lines at the end of the first > item. > > --- > * Example > > 1. A line full of text and an equation at the very end of it. \(a = > 3\). > > 2. Second item > --- > > > is exported as > > > --- > \section{Example} > \label{sec-1} > > > 1. A line full of text and an equation at the very end of it. \(a = > 3\). > > \begin{enumerate} > \item Second item > \end{enumerate} > --- > > > Tested on latest git. > > Thanks, > > -- > Nicolas > > ___ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: [PATCH] lists and exportation to latex
Hi Nicolas, This patch looks great. Since it's >10 lines long, I must ask if you've signed the FSF papers for contributions to Emacs? If not is that something you're willing to do? http://orgmode.org/worg/org-contribute.php Thanks -- Eric Nicolas Goaziou writes: > The example illustrating the patch should be : > > -- >1. A very long line with a mathematical environment at its end \(x = > 25 \) > > #+BEGIN_EXAMPLE > 3. three > 4. four > #+END_EXAMPLE > >2. Another line > -- > > -- Nicolas > > > > > > ___ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: table: actualise columns with formulas. (C-num C-c=)
Uwe Brauer writes: > Hello > > Programs like OO calc allow me to actualise automatically > all rows of a column containing a formula. > > Like: > > Res1| Res2| Total > 3 | 4 | =$1+$2 > 4 | 5 | > 4 | 5 | > 4 | 6 | > 4 | 7 | > 4 | 8 | > 4 | 9 | If you prefix the first column of the table so that it is a valid org-mode table like this: |Res1| Res2| Total |3 | 4 | =$1+$2 |4 | 5 | |4 | 5 | |4 | 6 | |4 | 7 | |4 | 8 | |4 | 9 | Then you can just hit C-u C-u C-c C-c on the formula line and it moves to the bottom and updates the entire table giving you this: | Res1 | Res2 | Res1 + Res2 | |3 |4 | 7 | |4 |5 | 9 | |4 |5 | 9 | |4 |6 | 10 | |4 |7 | 11 | |4 |8 | 12 | |4 |9 | 13 | #+TBLFM: $3=$1+$2 HTH, Bernt > > Now the only thing I have to do is copy and paste it into > the rows below that formula in the same column. > -- > The closest thing I know in org mode is to use > C-6 C-c = > but of course I have to count the numbers of rows in > advance, so the question is: > > Could C-c = also act on a marked column, so that I don't > have to specify the numbers of rows? > > thanks > > Uwe Brauer > > > ___ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: video of the org-mode git repository
> On Thu, 20 May 2010 17:20:34 +0200, Carsten Dominik > said: CD> Awesome! Even though I look like a hyperactive kid with a laser gun :-) Translation: You're overworked and under-paid! -- Wes Hardaker My Pictures: http://capturedonearth.com/ My Thoughts: http://pontifications.hardakers.net/ ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] table: actualise columns with formulas. (C-num C-c=)
> On Mon, 14 Jun 2010 14:45:59 +0200, Giovanni Ridolfi > wrote: >> >> why don't you use: > sorry I meant: > | Res1| Res2| Total| > |-|-|--| > | 3 | 4 | | > | 4 | 5 | | > #+TBLFM:$3=$1+S2 > then with C-c in the "#+TBLFM:$3" line your table will be updated > I think also if you press TAB with the cursor in > the third column. Ok so I have to type C-c C-c in the #+TBLFM:$3 line! That worked! Before I used C-c C-c with the cursor in the table and that did not work. May be that should be added in the documentation? thanks Uwe ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] [ANN] of2org: import from OmniFocus to org-mode
Hi all, I recently had reason to import tasks from OmniFocus (a non-free Mac-only task tracker) to org-mode, and wrote a piece of Lisp code to do it for me. In the hope that it be useful to someone, I published it here: http://bitbucket.org/legoscia/of2org Comments and bug reports are welcome, and will be responded to in my copious spare time :) -- Magnus Henoch ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: org-remember and anything
Oh sorry, here is complete instructions: (add-to-list 'load-path "/home/glauber/elisp") (add-to-list 'load-path "/home/glauber/elisp/org-mode") (add-to-list 'load-path "/home/glauber/elisp/org-mode/lisp") (require 'org) (require 'init-org-mode) ;; which can be found here: http://openpaste.org/22109/inline/ (require 'anything-startup) (toggle-debug-on-error) call function org-remember trough binding f9-o-r when prompt for a template press t results in backtrace. I think im using latest version of all involved. Thierry Volpiatto writes: > Hi, can you please provide more info on what you do exactly and how you > use anything (which source, function etc...) with org. > Which command give this backtrace? > > Glauber Alex Dias Prado writes: > >> Hi, >> when calling org-remember, after selecting the template org doesnt >> provide the right syntax to anything as it is configure for icomplete i >> think, dunno what is really involved here as it used to work( i tried it >> with both ido completion support on and off): >> >> Sorry if this is not really a org thing: >> >> >> Debugger entered--Lisp error: (error "anything-interpret-value: Symbol must >> be a function or a variable") >> signal(error ("anything-interpret-value: Symbol must be a function or a >> variable")) >> error("anything-interpret-value: Symbol must be a function or a variable") >> anything-interpret-value(org-remember-template-prompt-history::Brief\ >> Description ((match anything-exact-match anything-mp-3p-match >> anything-mp-3-match) (search anything-exact-search anything-mp-3p-search >> anything-mp-3-search) (name . "History") (candidates . >> org-remember-template-prompt-history::Brief\ Description) nil (action . >> identity) (header-line . anything-persistent-help-string))) >> anything-get-candidates(((match anything-exact-match anything-mp-3p-match >> anything-mp-3-match) (search anything-exact-search anything-mp-3p-search >> anything-mp-3-search) (name . "History") (candidates . >> org-remember-template-prompt-history::Brief\ Description) nil (action . >> identity) (header-line . anything-persistent-help-string))) >> anything-get-cached-candidates(((match anything-exact-match >> anything-mp-3p-match anything-mp-3-match) (search anything-exact-search >> anything-mp-3p-search anything-mp-3-search) (name . "History") (candidates . >> org-remember-template-prompt-history::Brief\ Description) nil (action . >> identity) (header-line . anything-persistent-help-string))) >> #[nil "\306\307\"\306\310\"\311!\306\312\"\211\203 \313 >> \n#\202 \n)\314\n\315\232\2042\316\232\203F\317!\211G\fV\203K\320\321\f#\202K\314\322\323\217\210\306\324\"\211\203[\313 >> $)-\207" [source it anything-pattern matches limit >> anything-source-name assoc-default match name >> anything-candidate-number-limit pattern-transformer >> anything-composed-funcall-with-source nil "" (identity) >> anything-get-cached-candidates subseq 0 (byte-code >> "\306\307!\310\f\204 \311C\312!\210\313\314\215\210+\310\207" [source exit >> cands item-count functions anything-match-hash 0 >> anything-get-cached-candidates nil #[... "\302\"\207" >> [anything-pattern candidate string-match] 3] clrhash --cl-block-nil-- ...] >> 3) (...) filtered-candidate-transformer functions] 8]() >> anything-compute-matches(((match anything-exact-match anything-mp-3p-match >> anything-mp-3-match) (search anything-exact-search anything-mp-3p-search >> anything-mp-3-search) (name . "History") (candidates . >> org-remember-template-prompt-history::Brief\ Description) nil (action . >> identity) (header-line . anything-persistent-help-string))) >> anything-process-source(((match anything-exact-match anything-mp-3p-match >> anything-mp-3-match) (search anything-exact-search anything-mp-3p-search >> anything-mp-3-search) (name . "History") (candidates . >> org-remember-template-prompt-history::Brief\ Description) nil (action . >> identity) (header-line . anything-persistent-help-string))) >> anything-update() >> anything-read-pattern-maybe(#("Brief Description: " 0 17 (fontified nil)) >> nil nil noresume nil) >> byte-code("\306\211\211\307\206 >> \310\311\"\312\313!B\f\312\314!B\315\316\313\306\"\210\317\216\320\321!\210\322!\323 >> !\"\210\324\325!\210\326 !\210\327\216\330\"!# $%\210-?\205_\331 -\207" >> [any-buffer anything-buffer case-fold-search anything-quit >> anything-in-persistent-action anything-source-name nil t mapcar #[(v) >> "\211JB\207" [v] 2] default-value post-command-hook pre-command-hook (t) >> set-default ((byte-code "\306\211 :\203 @\211\2...@\211\nl\210 >> a\211\202...@\307\305\fa\"\207" [--orig-vars --cl-var-- value var >> --post-command-hook-pair post-command-hook nil set-default] 3)) >> anything-frame/window-configuration save anything-normalize-sources >> anything-initialize-1 anything-hooks setup anything-display-buffer >> ((byte-code "\300 \210\301\3
Re: [Orgmode] table: actualise columns with formulas. (C-num C-c=)
Giovanni Ridolfi writes: > Uwe Brauer writes: > >> Res1| Res2| Total >> 3 | 4 | =$1+$2 >> 4 | 5 | >> 4 | 5 | >> 4 | 6 | >> 4 | 7 | >> 4 | 8 | >> 4 | 9 | >> Now the only thing I have to do is copy and paste it into >> the rows below that formula in the same column. > > why don't you use: sorry I meant: | Res1| Res2| Total| |-|-|--| | 3 | 4 | | | 4 | 5 | | #+TBLFM:$3=$1+S2 then with C-c in the "#+TBLFM:$3" line your table will be updated I think also if you press TAB with the cursor in the third column. cheers, Giovanni ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] table: actualise columns with formulas. (C-num C-c=)
Uwe Brauer writes: > Hello > > Programs like OO calc allow me to actualise automatically > all rows of a column containing a formula. > > Like: > > Res1| Res2| Total > 3 | 4 | =$1+$2 > 4 | 5 | > 4 | 5 | > 4 | 6 | > 4 | 7 | > 4 | 8 | > 4 | 9 | > Now the only thing I have to do is copy and paste it into > the rows below that formula in the same column. why don't you use: | Res1| Res2| Total | 3 | 4 | =$1+$2 | 4 | 5 | #+TBLFM:$3=$1+S2 ? then with C-c in the "#+TBLFM:$3" line your table will be updated I think also if you press TAB with the cursor in the third column. cheers Giovanni ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] preventing automatic rebuild of agenda on refiling?
Hi — I may have missed when this happened or if it's been discussed already, but I'm noticing that recent Org-mode automatically rebuilds the agenda each time I refile a task. This can dramatically slow down the process of refiling a lot of items. Is there a setting to change this? TIA — Michael ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: org-remember and anything
i thought i was explicity enough when i said "when calling org-remember" :), this happens after i select a template and it prompts for completion which is being handled by anything, that is when the backtrace happens, this only happens with org-mode so i thought it was more a org thing than anything. Thierry Volpiatto writes: > Hi, can you please provide more info on what you do exactly and how you > use anything (which source, function etc...) with org. > Which command give this backtrace? > > Glauber Alex Dias Prado writes: > >> Hi, >> when calling org-remember, after selecting the template org doesnt >> provide the right syntax to anything as it is configure for icomplete i >> think, dunno what is really involved here as it used to work( i tried it >> with both ido completion support on and off): >> >> Sorry if this is not really a org thing: >> >> >> Debugger entered--Lisp error: (error "anything-interpret-value: Symbol must >> be a function or a variable") >> signal(error ("anything-interpret-value: Symbol must be a function or a >> variable")) >> error("anything-interpret-value: Symbol must be a function or a variable") >> anything-interpret-value(org-remember-template-prompt-history::Brief\ >> Description ((match anything-exact-match anything-mp-3p-match >> anything-mp-3-match) (search anything-exact-search anything-mp-3p-search >> anything-mp-3-search) (name . "History") (candidates . >> org-remember-template-prompt-history::Brief\ Description) nil (action . >> identity) (header-line . anything-persistent-help-string))) >> anything-get-candidates(((match anything-exact-match anything-mp-3p-match >> anything-mp-3-match) (search anything-exact-search anything-mp-3p-search >> anything-mp-3-search) (name . "History") (candidates . >> org-remember-template-prompt-history::Brief\ Description) nil (action . >> identity) (header-line . anything-persistent-help-string))) >> anything-get-cached-candidates(((match anything-exact-match >> anything-mp-3p-match anything-mp-3-match) (search anything-exact-search >> anything-mp-3p-search anything-mp-3-search) (name . "History") (candidates . >> org-remember-template-prompt-history::Brief\ Description) nil (action . >> identity) (header-line . anything-persistent-help-string))) >> #[nil "\306\307\"\306\310\"\311!\306\312\"\211\203 \313 >> \n#\202 \n)\314\n\315\232\2042\316\232\203F\317!\211G\fV\203K\320\321\f#\202K\314\322\323\217\210\306\324\"\211\203[\313 >> $)-\207" [source it anything-pattern matches limit >> anything-source-name assoc-default match name >> anything-candidate-number-limit pattern-transformer >> anything-composed-funcall-with-source nil "" (identity) >> anything-get-cached-candidates subseq 0 (byte-code >> "\306\307!\310\f\204 \311C\312!\210\313\314\215\210+\310\207" [source exit >> cands item-count functions anything-match-hash 0 >> anything-get-cached-candidates nil #[... "\302\"\207" >> [anything-pattern candidate string-match] 3] clrhash --cl-block-nil-- ...] >> 3) (...) filtered-candidate-transformer functions] 8]() >> anything-compute-matches(((match anything-exact-match anything-mp-3p-match >> anything-mp-3-match) (search anything-exact-search anything-mp-3p-search >> anything-mp-3-search) (name . "History") (candidates . >> org-remember-template-prompt-history::Brief\ Description) nil (action . >> identity) (header-line . anything-persistent-help-string))) >> anything-process-source(((match anything-exact-match anything-mp-3p-match >> anything-mp-3-match) (search anything-exact-search anything-mp-3p-search >> anything-mp-3-search) (name . "History") (candidates . >> org-remember-template-prompt-history::Brief\ Description) nil (action . >> identity) (header-line . anything-persistent-help-string))) >> anything-update() >> anything-read-pattern-maybe(#("Brief Description: " 0 17 (fontified nil)) >> nil nil noresume nil) >> byte-code("\306\211\211\307\206 >> \310\311\"\312\313!B\f\312\314!B\315\316\313\306\"\210\317\216\320\321!\210\322!\323 >> !\"\210\324\325!\210\326 !\210\327\216\330\"!# $%\210-?\205_\331 -\207" >> [any-buffer anything-buffer case-fold-search anything-quit >> anything-in-persistent-action anything-source-name nil t mapcar #[(v) >> "\211JB\207" [v] 2] default-value post-command-hook pre-command-hook (t) >> set-default ((byte-code "\306\211 :\203 @\211\2...@\211\nl\210 >> a\211\202...@\307\305\fa\"\207" [--orig-vars --cl-var-- value var >> --post-command-hook-pair post-command-hook nil set-default] 3)) >> anything-frame/window-configuration save anything-normalize-sources >> anything-initialize-1 anything-hooks setup anything-display-buffer >> ((byte-code "\300 \210\301\302!\210\303\304!\207" [anything-cleanup >> anything-hooks cleanup anything-frame/window-configuration restore] 2)) >> anything-read-pattern-maybe anything-execute-selection-action-1 >> anything-restored-variables
[Orgmode] table: actualise columns with formulas. (C-num C-c=)
Hello Programs like OO calc allow me to actualise automatically all rows of a column containing a formula. Like: Res1| Res2| Total 3 | 4 | =$1+$2 4 | 5 | 4 | 5 | 4 | 6 | 4 | 7 | 4 | 8 | 4 | 9 | Now the only thing I have to do is copy and paste it into the rows below that formula in the same column. -- The closest thing I know in org mode is to use C-6 C-c = but of course I have to count the numbers of rows in advance, so the question is: Could C-c = also act on a marked column, so that I don't have to specify the numbers of rows? thanks Uwe Brauer ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: icalendar import in to Org mode
I tried to install it as well using python-pip and the result was dan...@martins:~$ pip install ical2org Downloading/unpacking ical2org Downloading ical2org-1.2.tar.gz Running setup.py egg_info for package ical2org Traceback (most recent call last): File "", line 3, in ImportError: No module named setuptools.command Complete output from command python setup.py egg_info: Traceback (most recent call last): File "", line 3, in ImportError: No module named setuptools.command Command python setup.py egg_info failed with error code 1 Storing complete log in ./pip-log.txt Coould you help me? Daniel I use Ubuntu 10.4 Daniel 2010/5/1 Doug Hellmann > > On May 1, 2010, at 5:03 PM, Eraldo Helal wrote: > > Giles Chamberlin tandberg.com> writes: >> >>> Living in a Microsoft Exchange world I get a lot of meeting requests >>> from Exchange. iCalendar.el seems to be able to read these in to diary >>> but I would far prefer to have them dropped in to my org files. >>> >>> Has anyone got this working? >>> >> >> That is exactly what I am looking for as well. >> Unluckily my scripting skills are not good enough yet to transform a >> diary file into org-mode format. >> > > My elisp skills weren't up to it, but I did write something in Python. It > works with iCal.app on the Mac, but could be adapted for any ICS input > files. > > http://www.doughellmann.com/projects/ical2org/ > > Doug > > > > > ___ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode > ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Org-mode collaborative (multiple users working on the same set of files)
Hi Eric, Benjamen, Daniel, and all, >>> [...] What do you think about all this? Thanks to get the debate launched. I was fearing to stay alone ;-) Regarding the clocked times: >> I just read this and before nobody answers, I'll give you a small POC >> that should work for you. As far as I can tell it doesn't break >> anything. >> >> (defun org-clock-out-mark-clock () >> (unless remove (insert (format " (%s)" user-full-name >> >> (add-hook 'org-clock-out-hook 'org-clock-out-mark-clock) Yep, this seems to work perfectly -- did not catch any conflict yet, but usage time still low. Example results: --8<---cut here---start->8--- * My sub-project :LOGBOOK: CLOCK: [2010-06-14 Mon 09:15]--[2010-06-14 Mon 10:11] => 0:56 (Sebastien Vauban) - Test. :END: --8<---cut here---end--->8--- Your proposed format seems nice to me. Regarding other features, like state changes: >> I [...] ask for [...] an identifier (something like `org-user-identifier') >> to be added to the clock lines, so that we can filter based on the user, >> when multiple people have clocked in the same documents. > > [...] I have been using org-mode files as a point of collaboration on a > couple of projects (including org-babel [1]) and I think a generalization of > something like your proposed `org-user-identifier' variable could be very > useful for many of the org meta-data items associated with headlines. Thanks for adding this in the loop. Of course, same combat... > For example, it would be great to record the user responsible for every > TODO state change, so that something like > > ** DONE Org-babel should work well when indented > - State "DONE" from "TODO" [2010-06-10 Thu 15:48] > > would instead be > > ** DONE Org-babel should work well when indented > - State "DONE" from "TODO" by eschulte [2010-06-10 Thu > 15:48] That'd be great. I now dream of the ability to get a "revision history" to be easily inserted at the begin of a document, like all pros do. > I think this would be very helpful, and anything that encourages the > spread of Org-mode usage through co-workers is a big win. I am sure this is a *must* for collaborative work, for being able to spread the word. And I'm sure we're very close to get it -- like the above proposition of Benjamen. But, for being useful, it absolutely needs to be in the common base of Org, as default behavior. If I need all my co-workers to add my specifics to their Org customization, it's lost. Best regards and thanks for your ideas. Seb -- Sébastien Vauban ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: [PATCH] lists and exportation to latex
The example illustrating the patch should be : -- 1. A very long line with a mathematical environment at its end \(x = 25 \) #+BEGIN_EXAMPLE 3. three 4. four #+END_EXAMPLE 2. Another line -- -- Nicolas ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode