Re: [O] ODT export produces odt file which MS Word 2007 can't open

2013-11-25 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 11/25/13, 20:09 , Jambunathan K wrote: > Gary Oberbrunner writes: > >> Yes, Word opens your resaved version with no errors. > > So there is some truth to Word complaining when confronted with > OpenDocument v1.2 format files. > >> It does hav

[O] Anniversaries from BBDB available to calendar and diary?

2013-11-25 Thread Joseph Mingrone
It makes sense to put birthdays and other anniversaries in BBDB as described in section 10.3.1 of the Org manual. Why repeat information by putting it in the diary when you already have a contact entry in BBDB for the person? The only problem with this is that the anniversaries aren't marked in the

Re: [O] org-capture with function type target

2013-11-25 Thread Carsten Dominik
Hi York, I have applied your patch. Thank you! - Carsten On 18.11.2013, at 02:32, York Zhao wrote: > To whom it may concern, > > Please find attached my patch to address this issue. Please let me > know if the patch is acceptable. > > Thanks, > > York > > > On Sat, Nov 16, 2013 at 8:13 PM

Re: [O] ODT export produces odt file which MS Word 2007 can't open

2013-11-25 Thread Jambunathan K
Gary Oberbrunner writes: > Yes, Word opens your resaved version with no errors. So there is some truth to Word complaining when confronted with OpenDocument v1.2 format files. > It does have odd large bullets with the number "10" in the bullet; > that is so weird I've attached a screen shot. S

Re: [O] ODT export produces odt file which MS Word 2007 can't open

2013-11-25 Thread Jambunathan K
Gary Oberbrunner writes: > I don't have OpenOffice on this machine so can't check it there. Using LibreOffice, I re-saved the file you shared to use OpenDocument-v1.1 format. Does Word import this file without errors? Btw, the files created by the ODT exporter are marked as 1.2. simple-list

Re: [O] managing articles in my personal library, and their citational material, using org mode instead of bibtex

2013-11-25 Thread Jambunathan K
Alan L Tyree writes: > Is there such a DB and tool? I don't use bibliography much. But, I *feel* ox-jabref.el + JabRef is worth exploring. You may have to create a layout file - possibly for one each backend - that's about it. Jambunathan K.

Re: [O] [BUG][ODT] Subtree export fails when link references target on higher level

2013-11-25 Thread Jambunathan K
Christian Moe writes: > In ODT, the link can be useful anyway, as the ODT output is a > reference field that can be automatically updated to a different > format, e.g. to refer to a page number instead of the (missing) > headline text. When using page numbers, one may have to use "Update Fields"

Re: [O] Near real-time preview of PDF/ODT export?

2013-11-25 Thread Jambunathan K
Alan Schmitt writes: > where can I find documentation about creating a package? (info "(elisp) Packaging")

Re: [O] [PATCH] Re: \newpage in HTML export

2013-11-25 Thread Jambunathan K
You could have used a #+PAGEBREAK and handled it as part of say an advice to org-BACKEND-keyword in whatever BACKEND you are using.

Re: [O] Bug: org auto table formatting is confused by bidi text [8.2.3c (8.2.3c-elpa @ /home/crculver/.emacs.d/elpa/org-20131115/)]

2013-11-25 Thread Carsten Dominik
Hi Christopher, Org can handle variable width of characters in tables only if the width is an integer multiple of ascii characters. I do not know if fonts exist that behave like this in your case. However, for a plain text, there is no other way to fix this. - Carsten On 17.11.2013, at 19:3

Re: [O] commit 5ea0228 has problem opening big org-mode file

2013-11-25 Thread Nick Dokos
Nick Dokos writes: > The best solution I can think of so far: revert commit 5ea0228, > and change org-mode-restart to call normal-mode, instead of org-mode. > normal-mode splits the setting of the mode from the setting of local > variables, so it would avoid the recursion. > > I think (but I have

Re: [O] commit 5ea0228 has problem opening big org-mode file

2013-11-25 Thread Nick Dokos
York Zhao writes: > First goes .emacs file: > > (add-to-list 'load-path "path/to/org-mode") > (add-to-list 'load-path "path/to/org-mode/lisp") ; this line is the key > (add-to-list 'load-path "path/to/yhj-mode") > (require 'yhj-mode) > > Second goes yhj-mode.el: > > (require 'org) > (define-der

Re: [O] Near real-time preview of PDF/ODT export?

2013-11-25 Thread Feng Shu
Yagnesh Raghava Yakkala writes: > On Nov 22 2013, Bastien wrote: > > Hello all, > > I have been using a simple bash script with a Makefile to make pdf file to be > updated with org source on each save while I am editing. It is working fine > for me. Of course its not exactly real time but fast e

Re: [O] Creating hline in table from source block?

2013-11-25 Thread Eric Schulte
"Loris Bennett" writes: > Dear List, > > This > > #+BEGIN_SRC sh > echo "a b c d" > echo "1 2 3 4" > echo "5 6 7 8" > #+END_SRC > > produces this: > > #+RESULTS: > | a | b | c | d | > | 1 | 2 | 3 | 4 | > | 5 | 6 | 7 | 8 | > > How do I get this > > #+RESULTS: > | a | b | c | d | > |-+-

Re: [O] commit 5ea0228 has problem opening big org-mode file

2013-11-25 Thread York Zhao
OK, finally I was able to reproduce the problem with a minimal setup. First goes .emacs file: --8<---cut here---start->8--- (add-to-list 'load-path "path/to/org-mode") (add-to-list 'load-path "path/to/org-mode/lisp") ; this line is the key (add-to-list 'load-p

Re: [O] Creating hline in table from source block?

2013-11-25 Thread Rasmus
Rasmus writes: > Probably you can remove the require 'cl. Also, you can generalize the > code to take arbitrarily hline positions. Here's a more fun :post function (again depending on cl). #+NAME: add_hline #+BEGIN_SRC emacs-lisp :var data='((a b c) (d e f) (h i j)) h='(0 -2 100 last) (let

Re: [O] commit 5ea0228 has problem opening big org-mode file

2013-11-25 Thread York Zhao
Oop, I didn't know that I replied to Nicolas instead of to the list because I hitted "reply" instead of "reply all". So I'm reposting my previous post to the list. Here we go: In my previous post I actually meant to say that I set `debug-on-quit', have no idea why I did `debug-on-error'. But anywa

Re: [O] Bug: ox-publish: opaque error message when giving a nonexisting file [8.2.1 (8.2.1-dist @ /usr/share/emacs/site-lisp/org-mode/)]

2013-11-25 Thread Nicolas Goaziou
Hello, Arne Babenhauserheide writes: > When you set a publishing project which :include 's a non-existant > file, the error message is > > +: Wrong type argument: integerp, nil > > This should instead be something like “specified nonexstient file”. > > The function responsible to this is > >

[O] Bug: ox-publish: opaque error message when giving a nonexisting file [8.2.1 (8.2.1-dist @ /usr/share/emacs/site-lisp/org-mode/)]

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

Re: [O] HowTo? have R :sessions in org mode invoke a specific R

2013-11-25 Thread Nick Dokos
"Cook, Malcolm" writes: >>On Mon, Nov 4, 2013 at 11:22 AM, Cook, Malcolm wrote: > >> I wish to lock an org buffer to a particular installation of R so that > all code blocks use it. > >> > >> I found that I could not, for instance, write `:session R-3.0.1`. > >> > >> Is there some best way

Re: [O] [RFC] Alternative to sub/superscript regexp

2013-11-25 Thread Rasmus
Nicolas Goaziou writes: > Hello, > > For the record `org-match-substring-regexp' is a variation on: > > "\\(\\S-\\)\\([_^]\\)\\(\\(?:\\*\\|[-+]?[^-+*!@#$%^_ > \t\r\n,:\"?<>~;./{}=()]+\\)\\)\\)" > > I think it is a bit convoluted and therefore difficult to predict. Luckily this can be made less

Re: [O] Creating hline in table from source block?

2013-11-25 Thread Rasmus
Hi Loris, "Loris Bennett" writes: > How do I get this > > #+RESULTS: > | a | b | c | d | > |-+---+---+---| > | 1 | 2 | 3 | 4 | > | 5 | 6 | 7 | 8 | You might find use of the post header argument here, http://orgmode.org/manual/post.html In this case it's as simple as this #+NAME

Re: [O] HowTo? have R :sessions in org mode invoke a specific R

2013-11-25 Thread Cook, Malcolm
>On Mon, Nov 4, 2013 at 11:22 AM, Cook, Malcolm wrote: >> I wish to lock an org buffer to a particular installation of R so that all >> code blocks use it. >> >> I found that I could not, for instance, write `:session R-3.0.1`. >> >> Is there some best way for me to accomplish this? >> >>

Re: [O] Creating hline in table from source block?

2013-11-25 Thread Achim Gratz
Achim Gratz writes: […] Looking at this again, of course this simpler version would do the same. --8<---cut here---start->8--- #+BEGIN_SRC sh :results raw ( echo "a b c d" echo "" echo "1 2 3 4" echo "5 6 7 8" ) | sed -re 's/^| /|/g' -e 's/^\|$/|-/' #+END_SRC -

Re: [O] Creating hline in table from source block?

2013-11-25 Thread Achim Gratz
Loris Bennett writes: > How do I get this > > #+RESULTS: > | a | b | c | d | > |-+---+---+---| > | 1 | 2 | 3 | 4 | > | 5 | 6 | 7 | 8 | You really don't want to use a shell for that, but if you insist, this would do it: --8<---cut here---start->8--- #+

Re: [O] Org menu change

2013-11-25 Thread Alan L Tyree
Christian Moe writes: > Alan L Tyree writes: > In the Emacs menu Org -> Customize -> Expand this menu used to give a complete menu of org-mode customisations which was quite helpful for an amateur. Now it gives a short menu that does little more than send the user to the usual

Re: [O] commit 5ea0228 has problem opening big org-mode file

2013-11-25 Thread Thomas S. Dye
Nick Dokos writes: > It may be that hack-local-variables takes a long time to process a large > file, although I don't think so: iirc, it limits itself to a tail of the > file of a given size, or the last "page" of the file (demarcated by ^L), > whichever is smaller. Hi Nick, I haven't noticed

Re: [O] Near real-time preview of PDF/ODT export?

2013-11-25 Thread Achim Gratz
Alan Schmitt writes: > Regarding this very first request: where can I find documentation about > creating a package? I searched for "create ELPA package", and I got > links such as http://tromey.com/elpa/upload.html which tells me > "package.el is pedantic about the header and footer comments, plea

Re: [O] Opening an Org file slowed down

2013-11-25 Thread Michael Brand
Hi Nicolas On Sun, Nov 24, 2013 at 5:25 PM, Nicolas Goaziou wrote: > I didn't look at your code, but can't you `defadvice' `org-mode'? Yes, thank you for the advice to defadvice org-mode (with class "before") to get the same effect like a hook would have at the beginning of turning on org-mode.

Re: [O] managing articles in my personal library, and their citational material, using org mode instead of bibtex

2013-11-25 Thread John Kitchin
I have the following org/bibtex habits: 1. I keep all bibtex entries in a single bibtex file, usually by pasting them from one source to the file. I save the pdf of the article with a filename equal to the bibtex key in a single directory. With the point on the bibtex entry, I run a command defin

Re: [O] [RFC] Alternative to sub/superscript regexp

2013-11-25 Thread Nick Dokos
Nicolas Goaziou writes: > For the record `org-match-substring-regexp' is a variation on: > > "\\(\\S-\\)\\([_^]\\)\\(\\(?:\\*\\|[-+]?[^-+*!@#$%^_ > \t\r\n,:\"?<>~;./{}=()]+\\)\\)\\)" > > I think it is a bit convoluted and therefore difficult to predict. Once more, Nicolas proves to be a master

[O] [RFC] Alternative to sub/superscript regexp

2013-11-25 Thread Nicolas Goaziou
Hello, For the record `org-match-substring-regexp' is a variation on: "\\(\\S-\\)\\([_^]\\)\\(\\(?:\\*\\|[-+]?[^-+*!@#$%^_ \t\r\n,:\"?<>~;./{}=()]+\\)\\)\\)" I think it is a bit convoluted and therefore difficult to predict. For example, as recent bug report showed, you may tend to interpret a_

Re: [O] commit 5ea0228 has problem opening big org-mode file

2013-11-25 Thread Nick Dokos
Nick Dokos writes: > York Zhao writes: > >> Hi List, >> >> I have an org-mode file that is 3230004 bytes in size. With commit "92f30ae" >> it >> can be opened without any problem. However, with commit "5ea0228" the same >> file >> could not be opened properly. >> >> What I did was: I opened Di

Re: [O] Bug: footnot not recognized during export [8.2.3c (release_8.2.3c-288-g8c9887 @ /Users/kai/.emacs.d/lisp/org-mode/)]

2013-11-25 Thread Nicolas Goaziou
Hello, Kai Tetzlaff writes: > The first footnote in this simple org file: > > #+BEGIN_EXAMPLE > * Footnote Test > > First FOOT_NOTE[fn:1]. This syntax is ambiguous. If you want a subscript, you should use curly braces in this case. e.g.: FOOT_{NOTE}[fn:1]. If you want an underscore, use \u

Re: [O] Only display hours and minutes, not seconds

2013-11-25 Thread Cecil Westerhof
2013/10/31 Nick Dokos > Cecil Westerhof writes: > > > I have the following table: > > |--| > > | Duration | > > |--| > > | 2@ 15| > > | 2@ 30| > > | 2@ 30| > > | 0@ 45| > > |--| > > | 8@ 0' 0" | > > |--| > > #+TBLFM: @>$1=vsum(@2..@-1) > > > > I wo

Re: [O] Near real-time preview of PDF/ODT export?

2013-11-25 Thread Alan Schmitt
Hi Torsten, torsten.wag...@gmail.com writes: > Hi Alan, > > nice, you might can start easily asking him to solve the installer > problem and provide an package for a ELPA repository. That alone would > allow much more people to use it. Regarding this very first request: where can I find document

Re: [O] Near real-time preview of PDF/ODT export?

2013-11-25 Thread Torsten Wagner
Hi Alan, nice, you might can start easily asking him to solve the installer problem and provide an package for a ELPA repository. That alone would allow much more people to use it. I think the main problem for org-mode would be the fact that org-mode->PDF is a two step approach. Org-mode exports c

Re: [O] M-up-arrow no longer moves text up

2013-11-25 Thread Susan Cragin
I have confirmed that the problem is with the emacs build. Emacs24 works with today's org-mode. --Susan message-- >I compile both emacs and org-mode daily. >Today M-up and M-down have stopped working as a mode of moving a line of plain >text up and down. >The problem may be with emacs rather t

[O] M-up-arrow no longer moves text up

2013-11-25 Thread Susan Cragin
Hello. I compile both emacs and org-mode daily. Today M-up and M-down have stopped working as a mode of moving a line of plain text up and down. I get this message: command-execute: Wrong type argument: commandp, handle-focus-in The problem may be with emacs rather than with org-mode. I'm hav

Re: [O] Near real-time preview of PDF/ODT export?

2013-11-25 Thread Yagnesh Raghava Yakkala
On Nov 22 2013, Bastien wrote: Hello all, I have been using a simple bash script with a Makefile to make pdf file to be updated with org source on each save while I am editing. It is working fine for me. Of course its not exactly real time but fast enough feedback for me. I am attaching my file

[O] Creating hline in table from source block?

2013-11-25 Thread Loris Bennett
Dear List, This #+BEGIN_SRC sh echo "a b c d" echo "1 2 3 4" echo "5 6 7 8" #+END_SRC produces this: #+RESULTS: | a | b | c | d | | 1 | 2 | 3 | 4 | | 5 | 6 | 7 | 8 | How do I get this #+RESULTS: | a | b | c | d | |-+---+---+---| | 1 | 2 | 3 | 4 | | 5 | 6 | 7 | 8 | ? Thanks,

[O] Bug: footnot not recognized during export [8.2.3c (release_8.2.3c-288-g8c9887 @ /Users/kai/.emacs.d/lisp/org-mode/)]

2013-11-25 Thread Kai Tetzlaff
--text follows this line-- Remember to cover the basics, that is, what you expected to happen and what in fact did happen. You don't know how to make a good report? See http://orgmode.org/manual/Feedback.html#Feedback Your bug report will be posted to the Org-mode mailing list.

Re: [O] Agenda: open in other frame

2013-11-25 Thread Alan Schmitt
e...@ericabrahamsen.net writes: > Alexander Baier writes: > >> [...] >> Fredrik writes: > When I open an agenda and push enter on a text it opens the file > related to the text in the same frame. Is there any way to make it > open it in another frame so I keep my agenda in f

Re: [O] Near real-time preview of PDF/ODT export?

2013-11-25 Thread Alan Schmitt
Hello, torsten.wag...@gmail.com writes: > Would it be an option to implement something like WhizzyTex for org-mode? > Thus you would have the easiness of org-mode syntax (which is enough > for many cases) with an realtime update of the export to PDF. This would be wonderful. I happen to know Di

Re: [O] [PATCH][ox-koma-letter] changed-in-buffer, subject, minor fixes

2013-11-25 Thread Michael Strey
Hi Rasmus, ras...@gmx.us writes: [...] > 3. When studying the KOMA manual to answer James' second question I >came across the komavar title which is currently not supported. I >have added support for a separate SUBJECT keyword. The heuristic >is something like this (i) if title and

Re: [O] links to attachments don't export anymore

2013-11-25 Thread Thomas Holst
Hi Nicolas, · Nicolas Goaziou wrote: > Thomas Holst writes: >> For me the problem still persists. > Thank you for the report. > I pushed another fix. Please let me know if it doesn't do its job. Works like a charm again. Thanks for fix. -- Bis neulich ... Thomas

Re: [O] Near real-time preview of PDF/ODT export?

2013-11-25 Thread Torsten Wagner
Hi, just in a coincidence, I looked into Whizzytex [1] a few days ago. This minor mode opens up a pdf-viewer and keeps it updated with literally every keystroke within the tex-file. (Yes xpdf works, albeit the website and emacswiki only describe dvi and ps as backends). In addition, it adds some

Re: [O] Org menu change

2013-11-25 Thread Christian Moe
Alan L Tyree writes: >>> In the Emacs menu Org -> Customize -> Expand this menu used to give a >>> complete menu of org-mode customisations which was quite helpful for an >>> amateur. Now it gives a short menu that does little more than send the >>> user to the usual Emacs customisation system.

[O] different achiving mode

2013-11-25 Thread David Belohrad
Dear All, for a certain time I'm using ordinary archiving. I.e. moving DONE marked tags to archive file. For this I'm using (org-advertized-archive-subtree &optional FIND-DONE) with shortcut C-u C-c C-x C-s, hence it will find all DONE items and move them to archive. I have a trouble with 'how