Re: [O] [BUG] in org-element (was Re: Replacing property-name hangs Emacs)

2014-07-21 Thread Thorsten Jolitz
Nicolas Goaziou writes: Hello, > Thorsten Jolitz writes: > >> Thorsten Jolitz writes: >> >> This turned out to be an Org-mode bug. > > [...] > >> Here is the recipe: >> >> 1. emacs -Q >> >> 2. M-x find-file instruments.org (content posted below) >> >> 3. M-% resource_id RET name RET >> >> 4. h

[O] Org 8 Bug in interactive formula editing mode?

2014-07-21 Thread Thorsten Grothe
Dear list, I downloaded and installed the latest stable orgmode in my local homedir, typed make all in a shell and put the following in my .emacs (package-initialize) (add-to-list 'load-path "~/.emacs.d/src/org-8.2.7b/lisp")(require 'org-install) org-version displays the correct org-mode, so eve

[O] outorg edition of mails and drafts

2014-07-21 Thread Alan Schmitt
Hello, When I edit a mail using outorg, it leaves behind a mail in my draft folder (from "nobody" with subject "(none)" and with the text the contents of the org buffer, including the "* --text follows this line--" heading). Is there a way to avoid having this draft left behind? Thanks, Alan PS

Re: [O] org-mode for swi-prolog and latex export ?

2014-07-21 Thread Joseph Vidal-Rosset
2014-07-21 6:16 GMT+02:00 Nick Dokos : > The first sentence of the doc that Tom pointed to is: > > , > | The core Babel functions (viewing, export, tangling, etc…) are language > | agnostic and will work even for languages that are not explicitly > | supported. Explicit language-specific suppo

Re: [O] [bug?, org-element] latex-environment delimiters must be at BOL

2014-07-21 Thread Rasmus
Hi, Nicolas Goaziou writes: > Rasmus writes: > >> I changed a couple of things, > > A couple of things? AFAIU, it only requires to change the regexp in > `org-element-latex-environment-parser', doesn't it? Turns out that I also had to modify the regexp in org-element--current-element as this k

Re: [O] outorg edition of mails and drafts

2014-07-21 Thread Thorsten Jolitz
Alan Schmitt writes: Hello, > When I edit a mail using outorg, it leaves behind a mail in my draft > folder (from "nobody" with subject "(none)" and with the text the > contents of the org buffer, including the "* --text follows this > line--" heading). Is there a way to avoid having this draft

Re: [O] org-mode for swi-prolog and latex export ?

2014-07-21 Thread Thorsten Jolitz
Joseph Vidal-Rosset writes: > 2014-07-21 6:16 GMT+02:00 Nick Dokos : > > The first sentence of the doc that Tom pointed to is: > > , > | The core Babel functions (viewing, export, tangling, etc…) are > language > | agnostic and will work even for languages that are no

Re: [O] org-mode for swi-prolog and latex export ?

2014-07-21 Thread Nick Dokos
Thorsten Jolitz writes: > Joseph Vidal-Rosset writes: > >> 2014-07-21 6:16 GMT+02:00 Nick Dokos : >> >> The first sentence of the doc that Tom pointed to is: >> >> , >> | The core Babel functions (viewing, export, tangling, etc…) are >> language >> | agnostic and wil

Re: [O] org-mode for swi-prolog and latex export ?

2014-07-21 Thread Joseph Vidal-Rosset
Dear Nick, 2014-07-21 12:19 GMT+02:00 Nick Dokos : > I don't understand: what language are you trying to export to? My take > was that you export the doc to latex/pdf/html and you tangle the code > fragments to some arbitrary file (a file that can be fed to a prolog > interpeter to be executed).

Re: [O] Help with export filter?

2014-07-21 Thread Rasmus
Hi Tom, t...@tsdye.com (Thomas S. Dye) writes: > Aloha all, > > Inspired by discussions and code on the mailing list, I managed to > cobble together the headline filter below. It "works" in that the > pdf output from LaTeX export is exactly what I want. I'm thrilled! > > It has one unwanted sid

[O] Bad plantuml output

2014-07-21 Thread Thorsten Jolitz
Hi List, when exporting the org file below to pdf (C-c C-e l p) the resulting (plantuml) graphics are really bad, with displaced uml-boxes etc., although the code is copied & pasted from the plantuml language reference (http://plantuml.sourceforge.net/activity.html). Do you see the same bad res

[O] org-mime-org-buffer-htmlize sending hangs ...

2014-07-21 Thread Peter Davis
I've used org-mode-org-mime-htmlize in the past to send email from org, via Gnus. However, recently I've discovered that after I edit the To: field and enter C-c C-c, I get "Sending via mail..." in the mini-buffer, and then emacs just sits there, apparently hung. Typing C-g enough times brings

[O] LaTeX export and org-add-link-type

2014-07-21 Thread Serge Cohen
Hello list, When using hte org to LaTeX exporter, I would like to use the link-type capabilities described here : http://orgmode.org/worg/org-contrib/babel/examples/article-class.html#sec-3 To follow the instruction, I have added the lines to my ~/.emacs.el (org-add-link-type "ltx" nil (lambd

Re: [O] org-mime-org-buffer-htmlize sending hangs ...

2014-07-21 Thread Thorsten Jolitz
Peter Davis writes: > I've used org-mode-org-mime-htmlize in the past to send email from > org, via Gnus. However, recently I've discovered that after I edit the > To: field and enter C-c C-c, I get "Sending via mail..." in the > mini-buffer, and then emacs just sits there, apparently hung. Typin

Re: [O] org-mode for swi-prolog and latex export ?

2014-07-21 Thread Nick Dokos
Joseph Vidal-Rosset writes: > It is only because I do not understand how to "tangle the (prolog) > code". I know the export function but I know nothing about tangle. Do > not feel forced to answer. I know that I have to read the > documentation first and I apologize. > C-c C-v C-t or M-x org-b

Re: [O] Org 8 Bug in interactive formula editing mode?

2014-07-21 Thread Thorsten Grothe
Dear list, no one an idea? Thanks in advance :-) Regards Th. Grothe

Re: [O] Org 8 Bug in interactive formula editing mode?

2014-07-21 Thread Nick Dokos
Thorsten Grothe writes: > Dear list, > > no one an idea? > > Thanks in advance :-) > Nope - I tried to reproduce it with latest (both master and maint) and could not, so I suspect an error in your configuration. Nick

Re: [O] org-mime-org-buffer-htmlize sending hangs ...

2014-07-21 Thread Peter Davis
Thank you, Thorsten, Thorsten Jolitz writes: > Peter Davis writes: > >> I've used org-mode-org-mime-htmlize in the past to send email from >> org, via Gnus. However, recently I've discovered that after I edit the >> To: field and enter C-c C-c, I get "Sending via mail..." in the >> mini-buffer

Re: [O] LaTeX export and org-add-link-type

2014-07-21 Thread Leonard Avery Randall
Hi Serge, Serge Cohen writes: > Is this normal, if so is there another way to obtain the same results > as what is proposed in the documentation ? The behaviour you are explaining is not normal. The setup you described should work. > To complete the post : I am using Aquamacs (MacOSX gui-vers

Re: [O] org-mime-org-buffer-htmlize sending hangs ...

2014-07-21 Thread Peter Davis
On more observation: I tried quitting Aquamacs, and then quitting and re-starting Emacs. The same problem occurred. I also looked in the *trace of SMTP session to ... * buffer, and it was empty. Thanks! -pd On 7/21/14, 10:14 AM, Peter Davis wrote: Thank you, Thorsten, Thorsten Jolitz wri

[O] François Pinard RIP

2014-07-21 Thread Nick Dokos
I just found out that François Pinard (author of org grep among other tools and frequent contributor to this list) died recently: https://plus.google.com/118038589019918324505/posts/DFuvYBrh4th -- Nick

Re: [O] Help with export filter?

2014-07-21 Thread Thomas S. Dye
Aloha Rasmus, Rasmus writes: > Hi Tom, > > > Here's an edited filter that works with the enclosed test document. > Note that you could split this into different filters, but it may be > non-trivial with this identification-scheme since things would be > moving around. > > (defun tsd-filter-headl

Re: [O] Org 8 Bug in interactive formula editing mode?

2014-07-21 Thread Thorsten Grothe
Nick, > Nope - I tried to reproduce it with latest (both master and maint) and > could not, so I suspect an error in your configuration. I think I found the problem, it happened after I patched the file with your patch from the thread above: # diff --git a/lisp/org-table.el b/lisp/org-table.

Re: [O] org-mime-org-buffer-htmlize sending hangs ...

2014-07-21 Thread Nick Dokos
Peter Davis writes: > On more observation: I tried quitting Aquamacs, and then quitting and > re-starting Emacs. The same problem occurred. > > I also looked in the *trace of SMTP session to ... * buffer, and it > was empty. > C-h v message-send-mail-function RET What the value is depends on wh

[O] Bug: Table formula makes emacs unresponsive [7.9.3f (release_7.9.3f-17-g7524ef @ /usr/share/emacs/24.3/lisp/org/)]

2014-07-21 Thread Alejandro Suarez
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] Org 8 Bug in interactive formula editing mode?

2014-07-21 Thread Nick Dokos
Thorsten Grothe writes: > Nick, > >> Nope - I tried to reproduce it with latest (both master and maint) and >> could not, so I suspect an error in your configuration. > > I think I found the problem, it happened after I patched the file with your > patch from the thread above: > > # > diff --

Re: [O] org-mime-org-buffer-htmlize sending hangs ...

2014-07-21 Thread Peter Davis
Thank you, Nick. On 7/21/14, 12:23 PM, Nick Dokos wrote: Peter Davis writes: On more observation: I tried quitting Aquamacs, and then quitting and re-starting Emacs. The same problem occurred. I also looked in the *trace of SMTP session to ... * buffer, and it was empty. C-h v message-sen

Re: [O] org-mode for swi-prolog and latex export ?

2014-07-21 Thread Joseph Vidal-Rosset
2014-07-21 15:40 GMT+02:00 Nick Dokos : > > > It is only because I do not understand how to "tangle the (prolog) > > code". I know the export function but I know nothing about tangle. Do > > not feel forced to answer. I know that I have to read the > > documentation first and I apologize. > > > >

Re: [O] org-mime-org-buffer-htmlize sending hangs ...

2014-07-21 Thread Nick Dokos
Peter Davis writes: >> >> At least, that's how I would go about it. > > Alas, despite years of emacs abuse, I have not managed to master even > the rudiments of emacs lisp, and don't even know how to edebug. > So this is your opportunity to learn! This might be a bit too complicated to learn on

Re: [O] Bug: syntax highlighting of elisp:blahblah and shell:blablah [8.2.6 (8.2.6-67-g9e09b2-elpa @ c:/Users/andrea/AppData/Roaming/.emacs.d/elpa/org-20140602/)]

2014-07-21 Thread Andrea Rossetti
Nick Dokos writes: > I don't know whether it's expected (one of these years I really have > to sit down and learn the syntax). I digged a bit further about the "linkification" of shell:bla and elisp:bla (the same applies to all protocols listed in `org-link-types'): - this type of links is d

Re: [O] org-mode for swi-prolog and latex export ?

2014-07-21 Thread Nick Dokos
Joseph Vidal-Rosset writes: > 2014-07-21 15:40 GMT+02:00 Nick Dokos : > > > It is only because I do not understand how to "tangle the (prolog) > > code". I know the export function but I know nothing about tangle. Do > > not feel forced to answer. I know that I have to read the >

Re: [O] Org 8 Bug in interactive formula editing mode?

2014-07-21 Thread Thorsten Grothe
Nick, sorry for the confusion, you are right, I was not clear ... > I don't understand what you did exactly: you installed a new version. > Does that version include the patch? Check org-table.el around line 439: > if the function just has a `lines' argument then it most likely includes > the pat

Re: [O] org-mime-org-buffer-htmlize sending hangs ...

2014-07-21 Thread Peter Davis
On 7/21/14, 2:25 PM, Nick Dokos wrote: Peter Davis writes: At least, that's how I would go about it. Alas, despite years of emacs abuse, I have not managed to master even the rudiments of emacs lisp, and don't even know how to edebug. So this is your opportunity to learn! Learning emacs

Re: [O] Org 8 Bug in interactive formula editing mode?

2014-07-21 Thread Thorsten Grothe
Ok I installed the git-version, the patch is working and export to latex works fine, but the thing with the formulas still resist, this does not happen with org-8.2.6 (without patch). I don't know what do do now. Maybe it has something to do with emacs and not with org? Thanks again for your endle

Re: [O] publishing to gihub gh-pages branch

2014-07-21 Thread regcl
Hi Bastien, Thanks, but I guess I didn't find the solutions you have mentioned. Could you please point them out? Thanks, regcl Bastien writes: > regcl writes: > >> Does anyone have suggestions regarding how to automate HTML publishing >> to the gh-pages branch of a github repo? > > There are

[O] minted question

2014-07-21 Thread Manfred Lotz
Hi there, I have a an org file which gets exported to beamer. The following example (although I do not know if there are errors) works fine. Now I would like to get a frame around the perl code, and also line numbers. How can I define this in the org file? -- Thanks, Manfred Minimal example: #

Re: [O] Org 8 Bug in interactive formula editing mode?

2014-07-21 Thread Thorsten Grothe
New test: I set up a minimal .emcas only for orgmode like this: (package-initialize) (add-to-list 'load-path "~/.emacs.d/src/org-mode/lisp") (require 'org) (add-to-list 'auto-mode-alist '("\\.org\\'" . org-mode)) (add-hook 'LaTeX-mode-hook 'orgtbl-mode) (add-hook 'message-mode-hook 'turn-on

Re: [O] :exclude sub folder in org-publish

2014-07-21 Thread regcl
Bastien writes: > regcl writes: > >> Or, maybe there something obvious I am missing? > > Please tell us what you wanted to do, show us what you tried by > sharing parts of your configuration, and we'll be able to help. When my .org file points to a second .org file in a directory below, and wit

Re: [O] minted question

2014-07-21 Thread Thomas S. Dye
Aloha Manfred, You should be able to use attr_latex (untested). Manfred Lotz writes: #+ATTR_LATEX: :options linenos=true frame=single > #+BEGIN_SRC perl > #! /usr/bin/perl > > use strict; > use warnings; > use 5.010; > > say 'hey'; > #+END_SRC hth, Tom -- Thomas S. Dye http:

Re: [O] minted question

2014-07-21 Thread Manfred Lotz
Hi Tom, On Mon, 21 Jul 2014 09:53:41 -1000 t...@tsdye.com (Thomas S. Dye) wrote: > Aloha Manfred, > > You should be able to use attr_latex (untested). > > Manfred Lotz writes: > > #+ATTR_LATEX: :options linenos=true frame=single > > #+BEGIN_SRC perl > > #! /usr/bin/perl > > > > use s

Re: [O] Org 8 Bug in interactive formula editing mode?

2014-07-21 Thread Nick Dokos
Thorsten Grothe writes: > New test: > > I set up a minimal .emcas only for orgmode like this: > > > (package-initialize) > (add-to-list 'load-path "~/.emacs.d/src/org-mode/lisp") > (require 'org) > (add-to-list 'auto-mode-alist '("\\.org\\'" . org-mode)) > (add-hook 'LaTeX-mode-hook 'orgtbl

Re: [O] Bad plantuml output

2014-07-21 Thread Thorsten Jolitz
Thorsten Jolitz writes: > when exporting the org file below to pdf (C-c C-e l p) the resulting > (plantuml) graphics are really bad, with displaced uml-boxes etc., > although the code is copied & pasted from the plantuml language > reference (http://plantuml.sourceforge.net/activity.html). This

Re: [O] minted question

2014-07-21 Thread Thomas S. Dye
Hi Manfred, Manfred Lotz writes: > Hi Tom, > > On Mon, 21 Jul 2014 09:53:41 -1000 > t...@tsdye.com (Thomas S. Dye) wrote: > >> Aloha Manfred, >> >> You should be able to use attr_latex (untested). >> >> Manfred Lotz writes: >> >> #+ATTR_LATEX: :options linenos=true frame=single >> > #+BEGI

[O] org-redisplay-inline-images and export to HTML

2014-07-21 Thread Brett Viren
Someone recently posted a tip to add :post (org-redisplay-inline-images) to a SRC block which generates an image in order to freshen the Emacs buffer with the regenerated image each time the block is executed. It works *almost* fine but I have two problems which I hope someone can help with.

Re: [O] org-redisplay-inline-images and export to HTML

2014-07-21 Thread Nick Dokos
Brett Viren writes: > Someone recently posted a tip to add > > :post (org-redisplay-inline-images) > > to a SRC block which generates an image in order to freshen the Emacs > buffer with the regenerated image each time the block is executed. It > works *almost* fine but I have two problems whi

[O] [BUG] Weird behaviour just after a capture

2014-07-21 Thread Fletcher Charest
Hi, I am confronted to this bug in every version of Org (shipped with Emacs, from maint, and from master). Here is how I can reproduce it every time: 1. emacs -Q (in my case GNU Emacs 24.3.50.1, with Org-mode version 8.2.3a) 2. Evaluate this code: (setq org-capture-templates '(("t" "test"

Re: [O] [BUG] Weird behaviour just after a capture

2014-07-21 Thread Nick Dokos
Fletcher Charest writes: > I am confronted to this bug in every version of Org (shipped with Emacs, from > maint, and from master). Here is how I can reproduce it every time: > > 1. emacs -Q (in my case GNU Emacs 24.3.50.1, with Org-mode version 8.2.3a) > > 2. Evaluate this code: > > (setq org-

Re: [O] [BUG] Weird behaviour just after a capture

2014-07-21 Thread Fletcher Charest
Dear Nick, Apologies, you're absolutely right: the answer was already given in the list and I must have missed it somehow. (setq-default cache-long-scans nil) fixes the problem. Thank you very much! Regards, FC On Tue, Jul 22, 2014 at 1:37 AM, Nick Dokos wrote: > Fletcher Charest writes: >

Re: [O] minted question

2014-07-21 Thread Manfred Lotz
Hi Thomas, On Mon, 21 Jul 2014 10:48:14 -1000 t...@tsdye.com (Thomas S. Dye) wrote: > Hi Manfred, > > Manfred Lotz writes: > > > Hi Tom, > > > > On Mon, 21 Jul 2014 09:53:41 -1000 > > t...@tsdye.com (Thomas S. Dye) wrote: > > > >> Aloha Manfred, > >> > >> You should be able to use attr_latex

Re: [O] Org 8 Bug in interactive formula editing mode?

2014-07-21 Thread Robert Klein
Hi, I confirm at least some variant of this. I start emacs using the command line "emacs -Q -l .e2" with .e2 being: #+begin_src elisp (setq load-path (cons "~/.emacs.d/org-mode/lisp" load-path)) (add-to-list 'auto-mode-alist '("\\.\\(org\\|org_archive\\|txt\\)$" . org-mode)) #+end_src org-