Re: [O] [BUG] org-table: time difference delivers wrong results

2011-11-23 Thread Martyn Jago
Daniel Bausch writes: > Anyone? It might be a duplicate of what Gustav Wiktröm reported on 1st of > September, but his problem was not resolved, either. > > Daniel > > Am Dienstag 15. November 2011, 22:12:45 schrieb Daniel Bausch: >> Hello list, >> >> consider the following example: >> |

Re: [O] [BUG] org-table: time difference delivers wrong results

2011-11-23 Thread Martyn Jago
Martyn Jago writes: Apologies I had a typo - please ignore the previous mail. So this looks more sensible: > Daniel Bausch writes: > >> Anyone? It might be a duplicate of what Gustav Wiktröm reported on 1st of >> September, but his problem was not resolved, either. >> >> Daniel >> >> Am Dien

Re: [O] [BUG] org-table: time difference delivers wrong results

2011-11-23 Thread Nick Dokos
Martyn Jago wrote: > Martyn Jago writes: > > Apologies I had a typo - please ignore the previous mail. So this looks more > sensible: > > > Daniel Bausch writes: > > > >> Anyone? It might be a duplicate of what Gustav Wiktrom reported on 1st of > >> September, but his problem was not resol

Re: [O] Updating Worg re standard source block syntax

2011-11-23 Thread Sebastien Vauban
Hi Nick, Nick Dokos wrote: > Martyn Jago wrote: > >> There are literally hundreds of uses of #+srcname and #+source within >> Worg - should I be updating these to #+name ? In other words, does Worg >> reflect the last official release (the Emacs release), or the bleeding >> edge (I tend to assume

Re: [O] HTML export and Zotero-friendly headers

2011-11-23 Thread Christian Moe
On 11/22/11 3:44 PM, Erik L. Arneson wrote: Do I then understand correctly that what you want to do is simply to generate one COinS snippet with metadata about the document itself (author, title, etc.)? Yes, though it doesn't need to be only COinS. Zotero supports a number of different formats

[O] TABLES: aesthetics on columns

2011-11-23 Thread Daniel Martins
I have two questions on (possibly) improving aesthetics on columns when editing org tables. Following the thread on table editing, I have a minor issue with editing org-mode for Latex generation (which I do most of the time!). I have a table with several columns which are e.g. integer numbers and

Re: [O] [BUG] org-table: time difference delivers wrong results

2011-11-23 Thread Daniel Bausch
What may be a leading hint is that even | -28799 | -08:00:01 | #+TBLFM: $2=$1;T does not deliver correct results. It should deliver -07:59:59. Daniel Am Mittwoch 23. November 2011, 11:23:49 schrieb Nick Dokos: > Martyn Jago wrote: > > Martyn Jago writes: > > > > Apologies I had a typo - ple

[O] org-mode version 7.7 and very slow rendering of columns

2011-11-23 Thread Leonidas Tsampros
Hello, I recently started playing with the following setup for an Org file of mine: * Movies :PROPERTIES: :COLUMNS: %35ITEM %5LIST_ORDER(List) %25Director %19Genre %7Year %6IMDB_Rating(Rating) %8Watched{X/} %4My_Rating(Me) :WATCHED_All: "[ ]" "[X]" :END: ** List 1 ** List 2 Each of List 1 and

Re: [O] TABLES: aesthetics on columns

2011-11-23 Thread Suvayu Ali
On Wed, 23 Nov 2011 09:13:18 -0200 Daniel Martins wrote: > 1) Can I do the same in org-mode i.e. a previous (and possibly local) > definition or long variable befopre putting them in a table? > Try this in the header of the org file: #+LATEX_HEADER: \def\ll{$\lambda$} > > The other (maybe su

Re: [O] TABLES: aesthetics on columns

2011-11-23 Thread Daniel Martins
Worked perfectly. Question 2 is a (minor) pity. Thank you very much. Daniel 2011/11/23 Suvayu Ali : > #+LATEX_HEADER: \def\ll{$\lambda$}

Re: [O] org-mode version 7.7 and very slow rendering of columns

2011-11-23 Thread Leonidas Tsampros
Leonidas Tsampros writes: > Hello, > > I recently started playing with the following setup for an Org file of > mine: > > * Movies > :PROPERTIES: > :COLUMNS: %35ITEM %5LIST_ORDER(List) %25Director %19Genre %7Year > %6IMDB_Rating(Rating) %8Watched{X/} %4My_Rating(Me) > :WATCHED_All: "[ ]" "[X]" >

Re: [O] Add publishing with utf8

2011-11-23 Thread sindikat
Now i have (set-language-environment "UTF-8") (prefer-coding-system 'utf-8-unix) (setq org-export-html-coding-system 'utf-8-unix) and publishing works perfectly. Funny, that i have every locale set to "en_US.UTF-8", but LANGUAGE and LC_ALL set to empty. But when i set them to "en_US.UTF-8",

Re: [O] Updating Worg re standard source block syntax

2011-11-23 Thread Nick Dokos
Sebastien Vauban wrote: > > > > Is there any way to find out what the org version is at the worg site? > > BTW, sorry, yes, the answer is yes: see section "What software is available on > Worg for Babel code execution?" on http://orgmode.org/worg/worg-setup.html. > But one can wonder if it's up-

Re: [O] [BUG] Inconsistency in src block hiding

2011-11-23 Thread Nicolas Goaziou
Eric Schulte writes: >> Consider the following cases: >> >> #+name: one-more >> #+header: :var k=2 >> #+begin_src emacs-lisp >> (1+ k) >> #+end_src >> >> #+header: :var k=2 >> #+name: one-more >> #+begin_src emacs-lisp >> (1+ k) >> #+end_src >> >> #+attr_html: :textarea t :height 10 :width 40 >>

Re: [O] Updating Worg re standard source block syntax

2011-11-23 Thread Sebastien Vauban
Hi Nick, Nick Dokos wrote: > Sebastien Vauban wrote: >>> Is there any way to find out what the org version is at the worg site? >> >> BTW, sorry, yes, the answer is yes: see section "What software is available >> on >> Worg for Babel code execution?" on http://orgmode.org/worg/worg-setup.html. >

Re: [O] Dynamically generating todo entries

2011-11-23 Thread Jonas Hörsch
[fn:1] Footnotes: [fn:1] Mail

Re: [O] TABLES: aesthetics on columns

2011-11-23 Thread Jonas Hörsch
On Wed, Nov 23 2011, Daniel Martins wrote: > 2) Can I locally define a table as completely in math mode? > > So I could type e.g. > > > A) > |---+---+---+---| > |   | M | l | k | > |---+---+---+---| > | M | - |   |   | > | l |   | - |   | > | k |   |   | - | > |---+---+---+---| > > Instead of > >

Re: [O] Dynamically generating todo entries

2011-11-23 Thread suvayu ali
On Thu, Nov 3, 2011 at 00:35, Daniel Schoepe wrote: >> Diary sexps is probably the wrong thing to use for what you want: I >> don't know how far you want to take it, but iiuc, the easiest thing to >> do is write a script (in your favorite language) that generates a file >> of entries, say foo.org:

Re: [O] HTML export and Zotero-friendly headers

2011-11-23 Thread Erik L. Arneson
On Wed, 23 Nov 2011, Christian Moe wrote: > Does Org document header data include more than author, title, date, > description and keywords. So I'd be inclined to go with Dublin Core > for this, and just twin the ordinary META tags (which Zotero doesn't > bother with, probably wisely) with DC eq

Re: [O] A quick way to empty contents of entries?

2011-11-23 Thread Memnon Anon
Carsten Dominik writes: > On Nov 4, 2011, at 7:56 AM, gylns wrote: >> Hi, all >> I want to empty all my contents but leave only with the headlines and the >> properties, is there a fast way? [...] > For one file: > > perl -ne 'print if /^\*+ / or /^\s*:PROPERTIES:\s*$/../^\s*:END:\s*$/' > old.o

Re: [O] Dynamically generating todo entries

2011-11-23 Thread Daniel Schoepe
On Wed, 23 Nov 2011 17:41:49 +0100, suvayu ali wrote: > You can take pointers from here: > Yeah, I figured out a solution that works for me: (defadvice org-todo-list (before org-todo-gen-notmuch activate) (let ((buf (get-file-buffer "~/org/not

[O] least recently clocked open task in a file

2011-11-23 Thread Daniel Clemente
I have many open tasks in a file, and I want to work a bit on each, one after another, without neglecting any. That would be a round-robin approach. But how can I find the oldest clocked-out open task in a file? Can I order the agenda by recentness? I found org-clock-history but it can'

Re: [O] HTML export and Zotero-friendly headers

2011-11-23 Thread Christian Moe
On 11/23/11 5:45 PM, Erik L. Arneson wrote: Thanks, that looks like a good start! Let me know how it went. Christian

Re: [O] [bug] problem with odt export with latex \ref

2011-11-23 Thread Eric S Fraga
Jambunathan K writes: > This should be fixed now. > > The problem was triggered because of inter-mixing label references and > the italics style in the same line. Brilliant, thanks! Works now. -- : Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.90.1 : using Org-mode version 7.7 (relea

Re: [O] TABLES: Remove/add cell

2011-11-23 Thread Michael Brand
Hi Gustav and Daniel 2011/9/30 Gustav Wikström : > How do I add or remove a single cell in a table? > Example: > I have the following table: > |1 |1 | > |2 |3 | > |3 |4 | > |4 | | > Now I want to add an empty cell in @2$2 (below the

Re: [O] [ANN] Org Elements in contrib

2011-11-23 Thread Wes Hardaker
> On Tue, 22 Nov 2011 06:00:49 -1000, t...@tsdye.com (Thomas S. Dye) said: TSD> This looks brilliant. The interactive functions seem to know their way TSD> around my various org-mode files. Looking forward to the generic TSD> exporter and the LaTeX back-end. Most specifically, the hardest p

Re: [O] Bug: Cloning tasks deletes clock time in the original [7.7 (release_7.7-571-gf558105)]

2011-11-23 Thread David Maus
At Sat, 19 Nov 2011 21:37:08 -0500, Bernt Hansen wrote: > > I have the entries I want but my original clock lines have been deleted. > I would expect this behaviour for the newly created clones only - not > the original entry. Pushed a fix for this problem. Could you check it works out for you? >

Re: [O] [PATCH] Avoid lisp error with (org-deadline nil "+1d")

2011-11-23 Thread Peter Münster
On Wed, Nov 23 2011, Carsten Dominik wrote: > Fixed, thanks, please verify. Verified: ok, thanks. Is `(defvar parse-time-weekdays)' still needed then? And if yes, why? -- Peter

[O] DONE displayed with org-todo face in custom agenda views

2011-11-23 Thread Alexey Kopytov
Hello, This has been discussed here a number of times before, but I still see this bug. Test case: emacs -q /tmp/test.org --- test.org contents --- * DONE test SCHEDULED: <2011-11-23 Wed> --- test.org contents --- C-c [ M-x org-agenda a "DONE" is correctly displayed with the org-done face a

Re: [O] [PATCH] Avoid lisp error with (org-deadline nil "+1d")

2011-11-23 Thread Nick Dokos
Peter Münster wrote: > On Wed, Nov 23 2011, Carsten Dominik wrote: > > > Fixed, thanks, please verify. > > Verified: ok, thanks. > > Is `(defvar parse-time-weekdays)' still needed then? And if yes, why? > Generally speaking, defvars like this tell the compiler to shut up about the "free" var

Re: [O] [PATCH] Avoid lisp error with (org-deadline nil "+1d")

2011-11-23 Thread Peter Münster
On Wed, Nov 23 2011, Nick Dokos wrote: > Generally speaking, defvars like this tell the compiler to shut up about > the "free" variable. You can see if it is needed, by commenting out the > defvar and then trying to compile the file. Indeed, now there are 30 warnings instead of only 29 ... ;) Tha

Re: [O] [PATCH] Avoid lisp error with (org-deadline nil "+1d")

2011-11-23 Thread Nick Dokos
Peter Münster wrote: > On Wed, Nov 23 2011, Nick Dokos wrote: > > > Generally speaking, defvars like this tell the compiler to shut up about > > the "free" variable. You can see if it is needed, by commenting out the > > defvar and then trying to compile the file. > > Indeed, now there are 30 w

Re: [O] Bug: org-todo-yesterday doesn't work from agenda buffer [7.7 (release_7.7.548.g9a442.dirty)]

2011-11-23 Thread Bernt Hansen
Dave Abrahams writes: > > Debugger entered--Lisp error: (error "Before first headline at position 1142 > in buffer *Org Agenda*") > signal(error ("Before first headline at position 1142 in buffer *Org > Agenda*")) > error("Before first headline at position %d in buffer %s" 1142 # *Org Agend

[O] BUG org-bibtex error for importing bibtex conference entries

2011-11-23 Thread Torsten Wagner
Hi, I was going to convert my bibtex file into an org-mode file. I receive an error message for conference entries. E.g. I can read in by org-bibtex-read @CONFERENCE{foo11, author = {foo, A. and faa, B}, title = {This is the title}, booktitle = {Proceeding of the 5th Org-mode conference},