[Orgmode] Problem clocking in: cond: State `STARTED' not valid in this file
Hello, I am trying to clock in using C-x C-i but I always get the same message with all my org-mode files: "cond: State `STARTED' not valid in this file" I am running emacs GNU Emacs 23.1.50.1 (i386-apple-darwin10.0.0, NS apple-appkit-1038.11) and org-mode version 6.35i. Thank you for your help. Simao ___ 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] Tag table entries?
For that I just use separate tables. I use a headline for each month, say "May 2010" and subheadings for each category (groceries, bills, transport, etc.) with a corresponding table in each one. Each table calculates the total for that category and has a unique name, say "BillsMay2010". All of the totals for each table are concatenated in a table "ExpensesMay2010" (also in a subheadings of the month headline) that has one line for each category and calculates the total. There is even gnuplot code with org-babel to plot the amount spent in each category from the "ExpensesMay2010" table. Of course there is a snippet (with yasnippet) for all of this and in the first day of the month I call the snippet and only provide the month name and the year (both used to make the name of each table unique). This snippet makes easy creating all the infrastructure for each month and org speedkeys makes easy navigating the categories to quickly add something. This works very well and I only need to be careful and update each table (C-u C-u C-c *) when I make some change. Darlan At Tue, 4 May 2010 08:36:05 +0200, Johan Ekh wrote: > > Thanks Dan! > My idea was to go through a long imported table and quickly categorize the > different rows > into a number of predefined categories, without having to actually type the > category for > each row. Can I do that? > > If babel is a way, I think I would prefer to use python as I am familiar > with it. But I have not used > it with babel, is that possible? > > Best regards, > Johan > > > On Mon, May 3, 2010 at 10:52 PM, Dan Davison wrote: > > > Johan Ekh writes: > > > > > Hi all, > > > I wonder if it is possible to tag rows in a table? > > > > > > For example, if I have a table of expenses, i.e. columns with "date", > > "note" and "sum", > > > and then want to group the entries into different categories such as > > "groceries", "car" etc. > > > > > > Can I do this someway? > > > > Hi Johan, > > > > You can't attach metadata such as tags to table rows. Two things come to > > mind. > > > > 1. If you just want the table for visual purposes (as opposed for doing > > calculations with it), then you could use column-view. I.e. you would > > have a subtree for groceries and a subtree for car; categories such > > as date, note and sum would be stored in properties. > > > > http://orgmode.org/manual/Column-view.html#Column-view > > > > Visibility cycling works in column view so you can group and ungroup the > > rows. > > > > [is there anyway of creating a normal Org table from a column view > > "table"?] > > > > 2. org-babel: If you're happy with a suitable supported language, then > > store the category label in a column and you can transform the master > > table however you want. R would be a convenient language for working > > with a table like this. > > > > Dan > > > > > > > > > > > > Best regards, > > > Johan > > > > > > ___ > > > 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: Problem clocking in: cond: State `STARTED' not valid in this file
Simao M writes: > "cond: State `STARTED' not valid in this file" Have you customized your org-todo-keywords? My guess is some thing might be wrong there. Did you change your configurations before this problem? Have it ever worked? If you do M-x toggle-debug-on-error and try to clock in again do you get a backtrace? If you do, post it, it will probably help to solve the problem. Cheers! -- Mikael Fornius ___ 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: Faces for deadlines?
Hi Mikael, Mikael Fornius wrote: > I have not tried it but I found this variable: > > org-agenda-deadline-faces > > "Faces for showing deadlines in the agenda." > > maybe it solves your problem? Excellent hint... I've customized it that way: --8<---cut here---start->8--- (setq org-agenda-deadline-faces '((1.1 . sva-org-deadline-yesterday) (1.0 . sva-org-deadline-today) (0.5 . sva-org-deadline-tomorrow) (0.0 . sva-org-deadline-later))) --8<---cut here---end--->8--- and have added the following colors in my theme: --8<---cut here---start->8--- (sva-org-deadline-yesterday ((t (:foreground "white" :background "rgb:D8/00/00" :weight bold (sva-org-deadline-today ((t (:foreground "white" :background "rgb:E9/A3/6A" :weight bold (sva-org-deadline-tomorrow ((t (:foreground "black" :background "#B4F1B3" :weight bold (sva-org-deadline-later ((t (:foreground "black" :background "#AACAFC" --8<---cut here---end--->8--- And that quite works well following my needs. It's just a bit tricky to understand and correctly setup the "fractions" above, in the `org-agenda-deadline-faces'... It would be easy, and would make more sense, if we could directly enter "days specifications" there, instead of fractions (for example, "0" for today, "-1" for yesterday, and so on). But it works. And I thank you for your help. 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
Re: [Orgmode] strange behavior for export -- Solved
Hi, after some fiddling and looking at list-load-path-shadows (where I did not find org-latex at all), I included (require 'org-latex) into my .emacs file, which solved the problem. This solution somewhat puzzles me though, since I would have expected that org-latex is loaded by default. But maybe I am missing something. At any rate, thanks for the help. Cheers, Eri K On Sat, May 1, 2010 at 1:57 PM, Carsten Dominik wrote: > Hi Eric, > > I think this could mean two things. Most likely org is loading > some other version of org-latex.el. One way to find out is to run M-x > list-load-path-shadows. > > Another possibility is that you have somewhere a configuration setting of > org-export-latex-classes that is old and does not contain the beamer class > definition, and somehow that setting is loaded before org-latex.el is > loaded. > > HTH > > - Carsten > > On Apr 30, 2010, at 7:01 PM, Erik Butz wrote: > >> Hi all, >> >> I have the following problem: >> >> I have set up my emacs so as to use org-mode uncompiled from a local >> directory >> >> # from .emacs >> (setq load-path (cons "~/elisp/org-mode/lisp" load-path)) >> (setq load-path (cons "~/elisp/org-mode/contrib/lisp" load-path)) >> >> >> starting emacs22 or 23 and displaying M-x org-version I get: >> >> Org-mode version 6.35trans (release_6.35g.207.g7f085) >> >> so indeed the version from the local directory. >> >> when I take a document with the following preamble: >> >> #+LaTeX_CLASS: beamer >> #+TITLE: present.org >> #+AUTHOR: Erik >> #+EMAIL: e...@eddie >> #+DATE: 2010-04-08 Thu >> #+DESCRIPTION: >> #+KEYWORDS: >> #+LANGUAGE: en >> #+OPTIONS: H:3 num:t toc:t \n:nil @:t ::t |:t ^:t -:t f:t *:t <:t >> #+OPTIONS: TeX:t LaTeX:nil skip:nil d:nil todo:t pri:nil tags:not-in-toc >> #+INFOJS_OPT: view:nil toc:nil ltoc:t mouse:underline buttons:0 >> path:http://orgmode.org/org-info.js >> #+EXPORT_SELECT_TAGS: export >> #+EXPORT_EXCLUDE_TAGS: noexport >> #+LINK_UP: >> #+LINK_HOME: >> >> and export this to latex I get the following: >> >> >> \documentclass[11pt,a4paper]{article} >> \usepackage[utf8]{inputenc} >> \usepackage[T1]{fontenc} >> \usepackage{graphicx} >> \usepackage{hyperref} >> >> >> \title{present.org} >> \author{Erik} >> \date{2010-04-08 Thu} >> >> \begin{document} >> >> \maketitle >> >> \setcounter{tocdepth}{3} >> \tableofcontents >> >> >> \end{document} >> >> so despite the #+LaTeX_CLASS: beamer, the document gets exported as >> 'article'. Even worse, when I try to export the same document again >> afterwards, I get a: >> No definition for class `beamer' in `org-export-latex-classes' >> >> error. >> >> When I issue a 'reload-org-uncompiled' directly after starting emacs, >> this behavior does not occur. >> >> In this case I get, as expected: >> >> \documentclass{beamer} >> \usepackage[utf8]{inputenc} >> \usepackage[T1]{fontenc} >> \usepackage{fixltx2e} >> \usepackage{graphicx} >> \usepackage{longtable} >> \usepackage{float} >> \usepackage{wrapfig} >> \usepackage{soul} >> \usepackage{t1enc} >> \usepackage{textcomp} >> \usepackage{marvosym} >> \usepackage{wasysym} >> \usepackage{latexsym} >> \usepackage{amssymb} >> \usepackage{hyperref} >> \tolerance=1000 >> \providecommand{\alert}[1]{\textbf{#1}} >> >> \title{present.org} >> \author{Erik} >> \date{2010-04-08 Thu} >> >> \begin{document} >> >> \maketitle >> >> \begin{frame} >> \frametitle{Outline} >> \setcounter{tocdepth}{3} >> \tableofcontents >> \end{frame} >> >> \end{document} >> >> >> any hints appreciated on how this behavior comes about. >> >> Cheers, >> >> Erik >> >> >> ___ >> 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 > > - Carsten > > > > ___ 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] strange behavior for export -- Solved
Erik Butz writes: > Hi, > > after some fiddling and looking at list-load-path-shadows (where I did > not find org-latex at all), I included > (require 'org-latex) > into my .emacs file, which solved the problem. This solution somewhat > puzzles me though, since I would have expected that org-latex is > loaded by default. But maybe I am missing something. Most of it is autoloaded if you do `make autoloads' after pulling from time to time, and have this line in your .emacs or similar: (require 'org-install) Sebastian > > At any rate, thanks for the help. > > Cheers, > > Eri K > > > > > On Sat, May 1, 2010 at 1:57 PM, Carsten Dominik > wrote: >> Hi Eric, >> >> I think this could mean two things. Most likely org is loading >> some other version of org-latex.el. One way to find out is to run M-x >> list-load-path-shadows. >> >> Another possibility is that you have somewhere a configuration setting of >> org-export-latex-classes that is old and does not contain the beamer class >> definition, and somehow that setting is loaded before org-latex.el is >> loaded. >> >> HTH >> >> - Carsten >> >> On Apr 30, 2010, at 7:01 PM, Erik Butz wrote: >> >>> Hi all, >>> >>> I have the following problem: >>> >>> I have set up my emacs so as to use org-mode uncompiled from a local >>> directory >>> >>> # from .emacs >>> (setq load-path (cons "~/elisp/org-mode/lisp" load-path)) >>> (setq load-path (cons "~/elisp/org-mode/contrib/lisp" load-path)) >>> >>> >>> starting emacs22 or 23 and displaying M-x org-version I get: >>> >>> Org-mode version 6.35trans (release_6.35g.207.g7f085) >>> >>> so indeed the version from the local directory. >>> >>> when I take a document with the following preamble: >>> >>> #+LaTeX_CLASS: beamer >>> #+TITLE: present.org >>> #+AUTHOR: Erik >>> #+EMAIL: e...@eddie >>> #+DATE: 2010-04-08 Thu >>> #+DESCRIPTION: >>> #+KEYWORDS: >>> #+LANGUAGE: en >>> #+OPTIONS: H:3 num:t toc:t \n:nil @:t ::t |:t ^:t -:t f:t *:t <:t >>> #+OPTIONS: TeX:t LaTeX:nil skip:nil d:nil todo:t pri:nil tags:not-in-toc >>> #+INFOJS_OPT: view:nil toc:nil ltoc:t mouse:underline buttons:0 >>> path:http://orgmode.org/org-info.js >>> #+EXPORT_SELECT_TAGS: export >>> #+EXPORT_EXCLUDE_TAGS: noexport >>> #+LINK_UP: >>> #+LINK_HOME: >>> >>> and export this to latex I get the following: >>> >>> >>> \documentclass[11pt,a4paper]{article} >>> \usepackage[utf8]{inputenc} >>> \usepackage[T1]{fontenc} >>> \usepackage{graphicx} >>> \usepackage{hyperref} >>> >>> >>> \title{present.org} >>> \author{Erik} >>> \date{2010-04-08 Thu} >>> >>> \begin{document} >>> >>> \maketitle >>> >>> \setcounter{tocdepth}{3} >>> \tableofcontents >>> >>> >>> \end{document} >>> >>> so despite the #+LaTeX_CLASS: beamer, the document gets exported as >>> 'article'. Even worse, when I try to export the same document again >>> afterwards, I get a: >>> No definition for class `beamer' in `org-export-latex-classes' >>> >>> error. >>> >>> When I issue a 'reload-org-uncompiled' directly after starting emacs, >>> this behavior does not occur. >>> >>> In this case I get, as expected: >>> >>> \documentclass{beamer} >>> \usepackage[utf8]{inputenc} >>> \usepackage[T1]{fontenc} >>> \usepackage{fixltx2e} >>> \usepackage{graphicx} >>> \usepackage{longtable} >>> \usepackage{float} >>> \usepackage{wrapfig} >>> \usepackage{soul} >>> \usepackage{t1enc} >>> \usepackage{textcomp} >>> \usepackage{marvosym} >>> \usepackage{wasysym} >>> \usepackage{latexsym} >>> \usepackage{amssymb} >>> \usepackage{hyperref} >>> \tolerance=1000 >>> \providecommand{\alert}[1]{\textbf{#1}} >>> >>> \title{present.org} >>> \author{Erik} >>> \date{2010-04-08 Thu} >>> >>> \begin{document} >>> >>> \maketitle >>> >>> \begin{frame} >>> \frametitle{Outline} >>> \setcounter{tocdepth}{3} >>> \tableofcontents >>> \end{frame} >>> >>> \end{document} >>> >>> >>> any hints appreciated on how this behavior comes about. >>> >>> Cheers, >>> >>> Erik >>> >>> >>> ___ >>> 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 >> >> - Carsten >> >> >> >> > > > ___ > 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] [PATCH] (org-habit-build-graph): Help-echo date when mouse is over stars.
Hi John, Carsten and fellow orgs. This patch introduces a small new feature in org-habit I have wanted for a while: When mouse is over a done-star in the habit-graph I get a help-echo with the date. This is useful because I use many preceeding days and there is no easy way (that I know of) to find the done-dates when viewing the graph. Often I ask myself 'hmm when did I do this habit lately' when I am visually evaluating the habit graph and I get stuck, annoying :) I think this is a small and tasty feature so feel free to use it in org-habit if you like it. --- lisp/ChangeLog|5 + lisp/org-habit.el |4 +++- 2 files changed, 8 insertions(+), 1 deletions(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 7f1a507..a168d73 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2010-05-04 Mikael Fornius + + * org-habit.el (org-habit-build-graph): Help-echo date when + mouse is over stars. + 2010-05-02 Dan Davison * org-src.el (org-edit-src-code): allow-write-back-p had diff --git a/lisp/org-habit.el b/lisp/org-habit.el index bb8773e..a3a4d19 100644 --- a/lisp/org-habit.el +++ b/lisp/org-habit.el @@ -280,9 +280,11 @@ current time." donep))) markedp face) (if donep - (progn + (let ((done-time (time-add starting (days-to-time (- start (time-to-days starting)) (aset graph index ?*) (setq markedp t) + (put-text-property index (1+ index) 'help-echo +(format-time-string (org-time-stamp-format) done-time) graph) (while (and done-dates (= start (car done-dates))) (setq last-done-date (car done-dates) -- 1.7.1 ___ 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] export beamer
Hi all, i'm using emacs-23.1 and org-mode 6.35i and trying to export as PDF the beamer document from the Beamer tutorial http://orgmode.org/worg/org-tutorials/org-beamer.php but i get the following error: *org-export-latex-set-initial-vars: No definition for class `beamer' in `org-export-latex-classes'* Can you please help me on this front? Thanks, Rares ___ 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 color schemes with white or light background and black foregroung
Some time ago Carsten sent a file with with his colours patterns with black background. I would like to know if someone has a similar pattern when using black foregroung and a lighter backgroung (not necessarily white). Could you share it with us? Daniel 2010/5/4 Sébastien Vauban > Hi Mikael, > > Mikael Fornius wrote: > > I have not tried it but I found this variable: > > > > org-agenda-deadline-faces > > > > "Faces for showing deadlines in the agenda." > > > > maybe it solves your problem? > > Excellent hint... > > > I've customized it that way: > > --8<---cut here---start->8--- > (setq org-agenda-deadline-faces > '((1.1 . sva-org-deadline-yesterday) >(1.0 . sva-org-deadline-today) >(0.5 . sva-org-deadline-tomorrow) >(0.0 . sva-org-deadline-later))) > --8<---cut here---end--->8--- > > and have added the following colors in my theme: > > --8<---cut here---start->8--- > (sva-org-deadline-yesterday ((t (:foreground "white" :background > "rgb:D8/00/00" :weight bold > (sva-org-deadline-today ((t (:foreground "white" :background > "rgb:E9/A3/6A" :weight bold > (sva-org-deadline-tomorrow ((t (:foreground "black" :background > "#B4F1B3" :weight bold > (sva-org-deadline-later ((t (:foreground "black" :background > "#AACAFC" > --8<---cut here---end--->8--- > > And that quite works well following my needs. > > It's just a bit tricky to understand and correctly setup the "fractions" > above, in the `org-agenda-deadline-faces'... It would be easy, and would > make > more sense, if we could directly enter "days specifications" there, instead > of > fractions (for example, "0" for today, "-1" for yesterday, and so on). > > But it works. And I thank you for your help. > > 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 > ___ 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] export beamer
Hi Rares, I had a similar problem recently which was cured by including (require 'org-latex) in my .emacs file. Does this help in your case? Cheers, Erik On Tue, May 4, 2010 at 10:09 AM, Rares Pop wrote: > Hi all, > > i'm using emacs-23.1 and org-mode 6.35i and trying to export as PDF the > beamer document from the Beamer tutorial > http://orgmode.org/worg/org-tutorials/org-beamer.php > but i get the following error: > > org-export-latex-set-initial-vars: No definition for class `beamer' in > `org-export-latex-classes' > > Can you please help me on this front? > > Thanks, > Rares > > ___ > 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] export beamer
It's not working. I'm getting the following error when exporting to PDF: ! LaTeX Error: File `wrapfig.sty' not found. Type X to quit or to proceed, or enter new name. (Default extension: sty) Enter file name: ! Emergency stop. l.11 \usepackage {soul}^^M *** (cannot \read from terminal in nonstop modes) Thanks, Rares On Tue, May 4, 2010 at 3:47 PM, Erik Butz wrote: > Hi Rares, > > I had a similar problem recently which was cured by including > > (require 'org-latex) > > in my .emacs file. Does this help in your case? > > Cheers, > > Erik > > On Tue, May 4, 2010 at 10:09 AM, Rares Pop wrote: > > Hi all, > > > > i'm using emacs-23.1 and org-mode 6.35i and trying to export as PDF the > > beamer document from the Beamer tutorial > > http://orgmode.org/worg/org-tutorials/org-beamer.php > > but i get the following error: > > > > org-export-latex-set-initial-vars: No definition for class `beamer' in > > `org-export-latex-classes' > > > > Can you please help me on this front? > > > > Thanks, > > Rares > > > > ___ > > 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] Tag table entries?
That sounds very good! This is the functionality I am looking for! Would you like to share your yasnippet and any other settings that you have worked out? It would help me alot! Thanks! Johan On Tue, May 4, 2010 at 10:36 AM, Darlan Cavalcante Moreira < darc...@gmail.com> wrote: > > For that I just use separate tables. I use a headline for each month, say > "May 2010" and subheadings for each category (groceries, bills, transport, > etc.) with a corresponding table in each one. Each table calculates the > total for that category and has a unique name, say "BillsMay2010". > > All of the totals for each table are concatenated in a table > "ExpensesMay2010" (also in a subheadings of the month headline) that has > one line for each category and calculates the total. There is even gnuplot > code with org-babel to plot the amount spent in each category from the > "ExpensesMay2010" table. > > Of course there is a snippet (with yasnippet) for all of this and in the > first day of the month I call the snippet and only provide the month name > and the year (both used to make the name of each table unique). This > snippet makes easy creating all the infrastructure for each month and org > speedkeys makes easy navigating the categories to quickly add > something. > > This works very well and I only need to be careful and update each table > (C-u C-u C-c *) when I make some change. > > Darlan > > At Tue, 4 May 2010 08:36:05 +0200, > Johan Ekh wrote: > > > > Thanks Dan! > > My idea was to go through a long imported table and quickly categorize > the > > different rows > > into a number of predefined categories, without having to actually type > the > > category for > > each row. Can I do that? > > > > If babel is a way, I think I would prefer to use python as I am familiar > > with it. But I have not used > > it with babel, is that possible? > > > > Best regards, > > Johan > > > > > > On Mon, May 3, 2010 at 10:52 PM, Dan Davison > wrote: > > > > > Johan Ekh writes: > > > > > > > Hi all, > > > > I wonder if it is possible to tag rows in a table? > > > > > > > > For example, if I have a table of expenses, i.e. columns with > "date", > > > "note" and "sum", > > > > and then want to group the entries into different categories such as > > > "groceries", "car" etc. > > > > > > > > Can I do this someway? > > > > > > Hi Johan, > > > > > > You can't attach metadata such as tags to table rows. Two things come > to > > > mind. > > > > > > 1. If you just want the table for visual purposes (as opposed for doing > > > calculations with it), then you could use column-view. I.e. you would > > > have a subtree for groceries and a subtree for car; categories such > > > as date, note and sum would be stored in properties. > > > > > > http://orgmode.org/manual/Column-view.html#Column-view > > > > > > Visibility cycling works in column view so you can group and ungroup > the > > > rows. > > > > > > [is there anyway of creating a normal Org table from a column view > > > "table"?] > > > > > > 2. org-babel: If you're happy with a suitable supported language, then > > > store the category label in a column and you can transform the master > > > table however you want. R would be a convenient language for working > > > with a table like this. > > > > > > Dan > > > > > > > > > > > > > > > > > Best regards, > > > > Johan > > > > > > > > ___ > > > > 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] export beamer
Hi Rares, actually it seems that it IS working. The error you are getting now is a latex error saying that you are missing a package (wrapfig). You probably need to update your latex installation with that package. The way you do this, depends on the distribution you're using. On ubuntu/debian you could do: apt-cache search wrapfig which would give: texlive-latex-extra - TeX Live: LaTeX supplementary packages which would then be the package that you're missing. Cheers, Erik On Tue, May 4, 2010 at 3:18 PM, Rares Pop wrote: > It's not working. > > I'm getting the following error when exporting to PDF: > > ! LaTeX Error: File `wrapfig.sty' not found. > > Type X to quit or to proceed, > or enter new name. (Default extension: sty) > > Enter file name: > ! Emergency stop. > > > l.11 \usepackage > {soul}^^M > *** (cannot \read from terminal in nonstop modes) > > Thanks, > Rares > > On Tue, May 4, 2010 at 3:47 PM, Erik Butz wrote: >> >> Hi Rares, >> >> I had a similar problem recently which was cured by including >> >> (require 'org-latex) >> >> in my .emacs file. Does this help in your case? >> >> Cheers, >> >> Erik >> >> On Tue, May 4, 2010 at 10:09 AM, Rares Pop wrote: >> > Hi all, >> > >> > i'm using emacs-23.1 and org-mode 6.35i and trying to export as PDF the >> > beamer document from the Beamer tutorial >> > http://orgmode.org/worg/org-tutorials/org-beamer.php >> > but i get the following error: >> > >> > org-export-latex-set-initial-vars: No definition for class `beamer' in >> > `org-export-latex-classes' >> > >> > Can you please help me on this front? >> > >> > Thanks, >> > Rares >> > >> > ___ >> > 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] patch + query about active timestamps
I like pretty much all work done appearing in my agenda. Including adding notes. Its easy enough to subfilter for just TODOs later. With this in mind I modified org :- Modified lisp/org.el diff --git a/lisp/org.el b/lisp/org.el index 9c2f848..cd296b9 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -11315,6 +11315,9 @@ EXTRA is additional text that will be inserted into the notes buffer." (cons "%t" (format-time-string (org-time-stamp-format 'long 'inactive) (current-time))) + (cons "%T" (format-time-string + (org-time-stamp-format 'long nil) + (current-time))) (cons "%s" (if org-log-note-state (concat "\"" org-log-note-state "\"") "")) to allow me to customise org-log-note-headings to marks notes with active timestamps rather than inactive (%T). e.g see the %T change for note here:- (setq org-log-note-headings (quote ((done . "CLOSING NOTE %t") (state . "State %-12s from %-12S %t") (note . "Note taken on %T") (reschedule . "Rescheduled from %S on %t") (delschedule . "Not scheduled, was %S on %t") (redeadline . "New deadline from %S on %t") (deldeadline . "Removed deadline, was %S on %t") (refile . "Refiled on %t") (clock-out . "" I would like to see in my agenda a mark at the time all notes were added. This works to a degree - it only shows ONE active timestamp for that day. So two notes taken a few hours apart would not show up. Another note taken the following day would trigger another agenda entry. (Ideally the agenda would show the note itself and the heading rather than the item heading only). Could this be fixed (allow all active timestamps in an org item to create an agenda entry) or is there another way of going about this? I realise I am kind of stretching the meaning of "agenda" here ... it just seems quite natural for the agenda to be a journal as well as a list of things ToDo. Or possibly this is an extension to the current agenda customisation facility? ___ 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] strange behavior for export -- Solved
On May 4, 2010, at 12:26 AM, Sebastian Rose wrote: Erik Butz writes: Hi, after some fiddling and looking at list-load-path-shadows (where I did not find org-latex at all), I included (require 'org-latex) into my .emacs file, which solved the problem. This solution somewhat puzzles me though, since I would have expected that org-latex is loaded by default. But maybe I am missing something. Most of it is autoloaded if you do `make autoloads' after pulling from time to time, and have this line in your .emacs or similar: (require 'org-install) Sebastian Is there a reliable way within emacs to determine whether or not (require 'org-install) has been called, other than opening .emacs or similar to take a look? Tom At any rate, thanks for the help. Cheers, Eri K On Sat, May 1, 2010 at 1:57 PM, Carsten Dominik wrote: Hi Eric, I think this could mean two things. Most likely org is loading some other version of org-latex.el. One way to find out is to run M-x list-load-path-shadows. Another possibility is that you have somewhere a configuration setting of org-export-latex-classes that is old and does not contain the beamer class definition, and somehow that setting is loaded before org-latex.el is loaded. HTH - Carsten On Apr 30, 2010, at 7:01 PM, Erik Butz wrote: Hi all, I have the following problem: I have set up my emacs so as to use org-mode uncompiled from a local directory # from .emacs (setq load-path (cons "~/elisp/org-mode/lisp" load-path)) (setq load-path (cons "~/elisp/org-mode/contrib/lisp" load-path)) starting emacs22 or 23 and displaying M-x org-version I get: Org-mode version 6.35trans (release_6.35g.207.g7f085) so indeed the version from the local directory. when I take a document with the following preamble: #+LaTeX_CLASS: beamer #+TITLE: present.org #+AUTHOR:Erik #+EMAIL: e...@eddie #+DATE: 2010-04-08 Thu #+DESCRIPTION: #+KEYWORDS: #+LANGUAGE: en #+OPTIONS: H:3 num:t toc:t \n:nil @:t ::t |:t ^:t -:t f:t *:t <:t #+OPTIONS: TeX:t LaTeX:nil skip:nil d:nil todo:t pri:nil tags:not-in-toc #+INFOJS_OPT: view:nil toc:nil ltoc:t mouse:underline buttons:0 path:http://orgmode.org/org-info.js #+EXPORT_SELECT_TAGS: export #+EXPORT_EXCLUDE_TAGS: noexport #+LINK_UP: #+LINK_HOME: and export this to latex I get the following: \documentclass[11pt,a4paper]{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{graphicx} \usepackage{hyperref} \title{present.org} \author{Erik} \date{2010-04-08 Thu} \begin{document} \maketitle \setcounter{tocdepth}{3} \tableofcontents \end{document} so despite the #+LaTeX_CLASS: beamer, the document gets exported as 'article'. Even worse, when I try to export the same document again afterwards, I get a: No definition for class `beamer' in `org-export-latex-classes' error. When I issue a 'reload-org-uncompiled' directly after starting emacs, this behavior does not occur. In this case I get, as expected: \documentclass{beamer} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{fixltx2e} \usepackage{graphicx} \usepackage{longtable} \usepackage{float} \usepackage{wrapfig} \usepackage{soul} \usepackage{t1enc} \usepackage{textcomp} \usepackage{marvosym} \usepackage{wasysym} \usepackage{latexsym} \usepackage{amssymb} \usepackage{hyperref} \tolerance=1000 \providecommand{\alert}[1]{\textbf{#1}} \title{present.org} \author{Erik} \date{2010-04-08 Thu} \begin{document} \maketitle \begin{frame} \frametitle{Outline} \setcounter{tocdepth}{3} \tableofcontents \end{frame} \end{document} any hints appreciated on how this behavior comes about. Cheers, Erik ___ 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 - Carsten ___ 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 ___ 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] Mobile Org Sharing Questions
Here's what I did: (defun org-mobile-pullpush nil nil (org-mobile-pull) (org-mobile-push)) (run-at-time "00:59" 3600 'org-mobile-pullpush) This way, if I had anything on the mobile device, I get it merged locally and then pushed back to mobile. Didn't use it extensively, but from what I could see, works fine. Marcelo. On Fri, Apr 23, 2010 at 6:38 PM, Greg Newman wrote: > You don't really need a cron to do the push/pull thing. > What I have in my configs is the following. You can add org-mobile-pull to > it to if you'd like: > > (run-at-time "00:59" 3600 'org-mobile-push) > > This runs a push for me every hour. If I'm not at my mac I still know that > within the hour > I'll have an updated agenda on my iPhone. > > > > > > On Fri, Apr 23, 2010 at 5:31 PM, Matthew Jones wrote: > >> You could tie the push to the save hook fairly easily I would imagine. >> >> 73, >> Matthew W. Jones (KI4ZIB) >> http://matburt.net >> >> >> On Fri, Apr 23, 2010 at 5:04 PM, Marcelo de Moraes Serpa < >> celose...@gmail.com> wrote: >> >>> Cool! >>> >>> Auto-sync on start would be simple enough to implement (I think) and >>> would help a lot, although I was thinking on a more deeply integration with >>> the underlying OS, like, sync even when the app is closed (not sure you can >>> have background services on the iPhone OS ?). >>> >>> As for the emacs side, anyone has any better idea than a cron job? I'm >>> not an experienced elisper (not sure I could even call myself an elisp >>> programmer, even though I want to :)) so not sure we could more easily do >>> something from inside emacs itself. >>> >>> Marcelo. >>> >>> >>> On Fri, Apr 23, 2010 at 12:59 PM, Matthew Jones wrote: >>> That's an excellent idea I've considered adding an auto synchronization mode to the Android version, Richard would need to comment on the iPhone version. It may be one of those things where it would automatically sync when launched. 73, Matthew W. Jones (KI4ZIB) http://matburt.net On Fri, Apr 23, 2010 at 1:40 PM, Marcelo de Moraes Serpa < celose...@gmail.com> wrote: > On thing that I find could improve, though, is the workflow behind > org-mobile pull/push. Having to push from emacs and pull and then having > to > update from the iPod/iPhone *manually* quickly becomes a hassle, and the > result is that I end up not using it as much as I wanted to. > > I'm thinking about setting up a cron to run emacs to evaluate > '(org-mobile-pull)(org-mobile-push)' every hour so I get "automatic" sync > to > my iPod. We could also have an option on org-mobile to auto-sync too. Not > sure iPhone's OS architecture allows that, though. > > Marcelo. > > > On Fri, Apr 23, 2010 at 12:38 PM, Marcelo de Moraes Serpa < > celose...@gmail.com> wrote: > >> Get an account at dreamhost, a domain, and buy SSL from them. I did >> that and it works great for me (I have setup a subdomain of my main >> domain >> to point to a SSL secured IP, which in turn, points to a virtualhost >> setup >> on VPS @ dreamhost, this virtualhost has WebDAV enabled and is >> password-protected, naturally). >> >> If you are using Mac OSX, it's the easiest thing in the world. Just >> use finder to mount the WebDAV as a partition, and move this drive to the >> startup items so it gets connected everytime you boot. >> >> With Linux/Ubuntu, it's a little bit more CLI work, but you can get >> the very same effect (mount the drive, get it mounted automatically at >> boot-time) -- in both cases, just Google and you'll find plenty of >> articles. >> >> For Windows, I have no idea. Sorry. >> >> Marcelo. >> >> >> On Fri, Apr 23, 2010 at 12:17 PM, Matthew Jones > > wrote: >> >>> Hi David >>> >>> http://orgmode.org/org.html#Pulling-from-MobileOrg >>> >>> Currently you likely use org-mobile-push to put your files on the >>> remote server. You should be able to use org-mobile-pull for >>> retrieval, is >>> this not the case? >>> >>> 73, >>> Matthew W. Jones (KI4ZIB) >>> http://matburt.net >>> >>> >>> On Thu, Apr 22, 2010 at 12:12 PM, David Frascone >>> wrote: >>> I know it's a bit of an RTFM, but, I'm trying to figure out the best way to keep my org-mode in sync with my iPhone (Using MobileOrg). And, I'm VERY new to orgmode, and a bit new to emacs. I can easily do a one way sync (org-mode to somewhere, via html), but I'm looking for a better way (two way sync, like MobileOrg) I have dropbox, but it's not webdav. I also have an iDisk, but it's a pain to keep that synched. I simply don't like the mac synching. I signed up for the other webda
Re: [Orgmode] strange behavior for export -- Solved
"Thomas S. Dye" writes: > On May 4, 2010, at 12:26 AM, Sebastian Rose wrote: > >> Erik Butz writes: >>> Hi, >>> >>> after some fiddling and looking at list-load-path-shadows (where I did >>> not find org-latex at all), I included >>> (require 'org-latex) >>> into my .emacs file, which solved the problem. This solution somewhat >>> puzzles me though, since I would have expected that org-latex is >>> loaded by default. But maybe I am missing something. >> >> >> Most of it is autoloaded if you do `make autoloads' after pulling from >> time to time, and have this line in your .emacs or similar: >> >> (require 'org-install) >> >> >> Sebastian >> > > Is there a reliable way within emacs to determine whether or not (require > org-install) has been called, other than opening .emacs or similar to take a > look? > > Tom This here has to return `t': (featurep 'org-install) You could use something like this in your init file: (unless (featurep 'org-install) (error "%s" "org-install: Required feature is missing!")) Quite radical... Sebastian > >> >>> >>> At any rate, thanks for the help. >>> >>> Cheers, >>> >>> Eri K >>> >>> >>> >>> >>> On Sat, May 1, 2010 at 1:57 PM, Carsten Dominik >>> wrote: Hi Eric, I think this could mean two things. Most likely org is loading some other version of org-latex.el. One way to find out is to run M-x list-load-path-shadows. Another possibility is that you have somewhere a configuration setting of org-export-latex-classes that is old and does not contain the beamer class definition, and somehow that setting is loaded before org-latex.el is loaded. HTH - Carsten On Apr 30, 2010, at 7:01 PM, Erik Butz wrote: > Hi all, > > I have the following problem: > > I have set up my emacs so as to use org-mode uncompiled from a local > directory > > # from .emacs > (setq load-path (cons "~/elisp/org-mode/lisp" load-path)) > (setq load-path (cons "~/elisp/org-mode/contrib/lisp" load-path)) > > > starting emacs22 or 23 and displaying M-x org-version I get: > > Org-mode version 6.35trans (release_6.35g.207.g7f085) > > so indeed the version from the local directory. > > when I take a document with the following preamble: > > #+LaTeX_CLASS: beamer > #+TITLE: present.org > #+AUTHOR:Erik > #+EMAIL: e...@eddie > #+DATE: 2010-04-08 Thu > #+DESCRIPTION: > #+KEYWORDS: > #+LANGUAGE: en > #+OPTIONS: H:3 num:t toc:t \n:nil @:t ::t |:t ^:t -:t f:t *:t <:t > #+OPTIONS: TeX:t LaTeX:nil skip:nil d:nil todo:t pri:nil tags:not-in-toc > #+INFOJS_OPT: view:nil toc:nil ltoc:t mouse:underline buttons:0 > path:http://orgmode.org/org-info.js > #+EXPORT_SELECT_TAGS: export > #+EXPORT_EXCLUDE_TAGS: noexport > #+LINK_UP: > #+LINK_HOME: > > and export this to latex I get the following: > > > \documentclass[11pt,a4paper]{article} > \usepackage[utf8]{inputenc} > \usepackage[T1]{fontenc} > \usepackage{graphicx} > \usepackage{hyperref} > > > \title{present.org} > \author{Erik} > \date{2010-04-08 Thu} > > \begin{document} > > \maketitle > > \setcounter{tocdepth}{3} > \tableofcontents > > > \end{document} > > so despite the #+LaTeX_CLASS: beamer, the document gets exported as > 'article'. Even worse, when I try to export the same document again > afterwards, I get a: > No definition for class `beamer' in `org-export-latex-classes' > > error. > > When I issue a 'reload-org-uncompiled' directly after starting emacs, > this behavior does not occur. > > In this case I get, as expected: > > \documentclass{beamer} > \usepackage[utf8]{inputenc} > \usepackage[T1]{fontenc} > \usepackage{fixltx2e} > \usepackage{graphicx} > \usepackage{longtable} > \usepackage{float} > \usepackage{wrapfig} > \usepackage{soul} > \usepackage{t1enc} > \usepackage{textcomp} > \usepackage{marvosym} > \usepackage{wasysym} > \usepackage{latexsym} > \usepackage{amssymb} > \usepackage{hyperref} > \tolerance=1000 > \providecommand{\alert}[1]{\textbf{#1}} > > \title{present.org} > \author{Erik} > \date{2010-04-08 Thu} > > \begin{document} > > \maketitle > > \begin{frame} > \frametitle{Outline} > \setcounter{tocdepth}{3} > \tableofcontents > \end{frame} > > \end{document} > > > any hints appreciated on how this behavior comes about. > > Cheers, > > Erik > > > ___ > 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-or
[Orgmode] Todo state highlighting in Latex export
Hi, I might be the only user of this but todo state highlighting has been broken at some point reasonably recently. I've just updated to .35i and now instead of having a green DONE in my pdf, I have a {DONE} where the opening brace is green. Any ideas? Simon ___ 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] export beamer
On Tue, 4 May 2010 16:18:40 +0300, Rares Pop wrote: > > It's not working. > > I'm getting the following error when exporting to PDF: > > ! LaTeX Error: File `wrapfig.sty' not found. > > Type X to quit or to proceed, > or enter new name. (Default extension: sty) > > Enter file name: > ! Emergency stop. > > > l.11 \usepackage > {soul}^^M > *** (cannot \read from terminal in nonstop modes) > > Thanks, > Rares This sounds like you have an incomplete latex installation. It's not a problem with org per se. What system are you on and what TeX system do you have installed? You can play around with the latex code directly by exporting your org file to latex (C-c C-e l). HTH, eric -- MC . -.. --- - ..-. .-. .- --. .- .- - ..- -.-. .-.. .- -.-. ..- -.- NL Professor Eric S Fraga, UCL, http://www.homepages.ucl.ac.uk/~ucecesf/ PG Fingerprint: 8F5C 279D 3907 E14A 5C29 570D C891 93D8 FFFC F67D BF >++[>++>+++[<]>-]>++.>.<-.++.--. ___ 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