Re: [O] [RFC] Overlay specification for includegraphics

2013-10-28 Thread Nicolas Goaziou
Hello, Suvayu Ali writes: > I tested with a minimal setup. Same issue. The following: > > #+attr_beamer: :overlay 1 :width 0.8\linewidth > [[file:bla.png]] > > exports as, > > \includegraphics[width=.9\linewidth]{bla.png} > > Something is off. Beamer back-end delegates external link han

[O] [PATCH] Fix org-indent-region's BEGIN_SRC / END_SRC indentation

2013-10-28 Thread Joost Diepenmaat
Hello, Attached is a 2 character patch that makes org-indent-region indent #+BEGIN_SRC and #+END_SRC lines according to org document rules instead of the indentation rules of the language /inside/ the source block. This is my first patch proposal for org-mode, so please let me know if I need to m

Re: [O] [PATCH] fix org-insert-todo-heading-respect-content in plain list item

2013-10-28 Thread Nicolas Goaziou
Hello, Ingo Lohmar writes: > please find attached a 1-4-char patch fixing the behavior of the above > function when inside a plain list. [...] > Subject: [PATCH] fix org-insert-todo-heading-respect-content in plain list > item > > * lisp/org.el (org-insert-todo-heading-respect-content): pass

Re: [O] [RFC] Slight change to asynchronous export

2013-10-28 Thread Sebastien Vauban
Hello Nicolas, Nicolas Goaziou wrote: > At the moment, by default, external emacs process for asynchronous > export is called with: > > /path/to/emacs -Q --batch -l org-export-async-init-file ... export stuff... > > where `org-export-async-init-file' defaults to `user-init-file'. It is, > by def

Re: [O] Insert a heading in every sibling

2013-10-28 Thread Sebastien Vauban
Marcin Borkowski wrote: > Scot Becker napisał(a): > >> I'm using org-mode to keep track of student grades. How can I easily >> add a bunch of identical headings at a certain level in my tree? >> Specifically,I have a L2 heading for each student, and I want to put >> a node (heading, with some pro

Re: [O] [PATCH] Fix org-indent-region's BEGIN_SRC / END_SRC indentation

2013-10-28 Thread Nicolas Goaziou
Hello, Joost Diepenmaat writes: > Attached is a 2 character patch that makes org-indent-region indent > #+BEGIN_SRC and #+END_SRC lines according to org document rules instead of > the indentation rules of the language /inside/ the source block. > > This is my first patch proposal for org-mode,

Re: [O] [RFC] Slight change to asynchronous export

2013-10-28 Thread Nicolas Goaziou
Hello, "Sebastien Vauban" writes: > Nicolas Goaziou wrote: >> At the moment, by default, external emacs process for asynchronous >> export is called with: >> >> /path/to/emacs -Q --batch -l org-export-async-init-file ... export stuff... >> >> where `org-export-async-init-file' defaults to `u

Re: [O] [PATCH] Longtable continuation strings customizable

2013-10-28 Thread Nicolas Goaziou
Hello, t...@tsdye.com (Thomas S. Dye) writes: > I think there are two axes of variation here: > > 1) internationalization, and > 2) style guides, e.g., for a particular journal, Chicago Manual, etc. > > IIUC, hardcoding and org-export-dictionary solve 1) but not 2). > > In my experience, variatio

Re: [O] [PATCH] Fix org-indent-region's BEGIN_SRC / END_SRC indentation

2013-10-28 Thread Joost Diepenmaat
On Mon, Oct 28, 2013 at 9:57 AM, Nicolas Goaziou wrote: > > Here, you need to specifying what functions and variables are modified > by your patch and how. Something like the following should do Oh yes. I'll keep that in mind next time. > > Otherwise, the patch looks good. So I applied it with

[O] Confused about org-index, org-favtable, org-reftabel, org-refer-by-number

2013-10-28 Thread Michael Strey
Hello, I'm using org-reftable.el [1] from the contrib path of the Git repository since several months. It is a useful addition to integrate my personal archive of notes, data sheets, and pages that I tore out of journals into Org Mode documents. Now that I wanted to refine this system, I stumble

Re: [O] Beamer export: one question and one bug

2013-10-28 Thread Nick Dokos
Jarmo Hurri writes: > Greetings again. > > 1. First the question: when I export the org file below as Beamer (C-c >C-e l O), I get an empty outline. How do I fix this? >> >> Seems to work fine for me with the older version that I was running, >> but I upgraded to latest and I get the

Re: [O] Bug: Priority #B in Agenda causes invalid face reference [8.2.1 (8.2.1-15-ge5cecc-elpa @ /Users/Paul/.emacs.d/elpa/org-20131021/)]

2013-10-28 Thread Nick Dokos
Paul Rankin writes: > org-mode-hook '(#[nil I would check this variable: the bug report is huge primarily because of a lot of white space in the value of this variable. That might be an artifact of mail/news software of course, but it does seem a bit strange. Nick

Re: [O] Importing from Oddmuse?

2013-10-28 Thread Peter Davis
Just to answer my own question, I shamelessly took Alex Schroeder's raw.pl script and hacked it up a bit to do some conversion from Oddmuse markup to org-mode. The attached Perl script should run through all the pages in an Oddmuse Wiki and generate .org versions of them in a separate directory

Re: [O] [RFC] Slight change to asynchronous export

2013-10-28 Thread Carsten Dominik
Hi Nicolas, this sounds OK for me. - Carsten On 27.10.2013, at 10:35, Nicolas Goaziou wrote: > Hello, > > At the moment, by default, external emacs process for asynchronous > export is called with: > > /path/to/emacs -Q --batch -l org-export-async-init-file ... export stuff... > > where `or

Re: [O] [PATCH] Longtable continuation strings customizable

2013-10-28 Thread Thomas S. Dye
Nicolas Goaziou writes: > I agree customization is more powerful here (although it means that all > non-English Org users will need to change it), but so it is for every > other multilingual string. > > Since we didn't choose to make multilingual strings customizable, I find > it strange that th

Re: [O] [RFC] Slight change to asynchronous export

2013-10-28 Thread Aaron Ecay
2013ko urriak 27an, Nicolas Goaziou-ek idatzi zuen: > > Hello, > > At the moment, by default, external emacs process for asynchronous > export is called with: > > /path/to/emacs -Q --batch -l org-export-async-init-file ... export stuff... > > where `org-export-async-init-file' defaults to `us

Re: [O] Insert a heading in every sibling

2013-10-28 Thread Scot Becker
Thanks, Seb and Marcin. I didn't know about cloning. That will do for those parts of the tree that I know about before I start filling in the data. For afterwards, which is more the case I'm thinking about, I'll aim to write an Elisp function using org-insert-subheading. That sample macro give

[O] Arbitrary lisp functions in column-attributes

2013-10-28 Thread Mark Edgington
Hello all, I would really appreciate it if it were possible to specify an arbitrary lisp function to process node-properties when creating a column view. For example, you can currently have something like: * Top node for columns view :PROPERTIES: :COLUMNS: %25ITEM %TAGS %PRIORITY %TODO

Re: [O] [RFC] Slight change to asynchronous export

2013-10-28 Thread Nicolas Goaziou
Hello, Aaron Ecay writes: > My init.el file does (server-start), and also opens all the buffers > (usually 100+) I had opened the last time I quit emacs (by using emacs’s > included desktop library). The buffers in turn spawn child processes > (aspell, some python IDE-ish autocomplete server, .

[O] Copy Sub-tree

2013-10-28 Thread Sam Flint
Is there a speed command or command in general to copy a subtree to the clipboard or to another file? Thanks, Sam -- Sam Flint swfl...@flintfam.org freenode: swflint (402) 517-8468 http://flintfam.org/~swflint BAFBF3FF

Re: [O] [RFC] Slight change to asynchronous export

2013-10-28 Thread Aaron Ecay
2013ko urriak 28an, Nicolas Goaziou-ek idatzi zuen: > > At the moment, default configuration will load init.el (or an > equivalent) so my proposal is not different in that regard. Oh I see. I didn’t read your original email carefully enough; I focused on the removal of -Q, which I just associate

Re: [O] [PATCH] Longtable continuation strings customizable

2013-10-28 Thread Nicolas Goaziou
Hello, t...@tsdye.com (Thomas S. Dye) writes: > Nicolas Goaziou writes: > >> I agree customization is more powerful here (although it means that all >> non-English Org users will need to change it), but so it is for every >> other multilingual string. >> >> Since we didn't choose to make multil

Re: [O] Copy Sub-tree

2013-10-28 Thread Scott Randby
Put point on the subtree headline and then C-c C-x M-w. Scott Randby On Mon, Oct 28, 2013 at 1:18 PM, Sam Flint wrote: > Is there a speed command or command in general to copy a subtree to the > clipboard or to another file? > > Thanks, > Sam > -- > Sam Flint > swfl...@flintfam.org > freenode: s

Re: [O] Copy Sub-tree

2013-10-28 Thread Scott Randby
On Mon, Oct 28, 2013 at 1:18 PM, Sam Flint wrote: > Is there a speed command or command in general to copy a subtree to the > clipboard or to another file? > > Thanks, > Sam > -- > Sam Flint > swfl...@flintfam.org > freenode: swflint > (402) 517-8468 > http://flintfam.org/~swflint > BAFBF3FF > I

Re: [O] [RFC] Slight change to asynchronous export

2013-10-28 Thread Achim Gratz
Nicolas Goaziou writes: > At the moment, by default, external emacs process for asynchronous > export is called with: > > /path/to/emacs -Q --batch -l org-export-async-init-file ... export stuff... > > where `org-export-async-init-file' defaults to `user-init-file'. It is, > by default, not the s

Re: [O] Importing from Oddmuse?

2013-10-28 Thread Achim Gratz
Peter Davis writes: > # hyperlinks > s/\[\[([^]]*)\]\]/[[file:$1.org][$1]]/g; Try this to fix the links maybe: # hyperlinks s/\[\[([^]]*)\]\]/ my $l = $1; $l =~ s: :_:g; "[[file:$l.org][$l]]"/gex; Regards, Achim. --

[O] [RFC] [export] synctex support for ox-latex

2013-10-28 Thread Aaron Ecay
Hello, Some months ago, I proposed a patch to implement synctex support for the latex exporter. Following feedback from Nicolas, I was working on converting that code to use hooks and advice, without modifying core org-mode functions. It was a frustrating but very educational task, and it is now

Re: [O] Importing from Oddmuse?

2013-10-28 Thread Peter Davis
On 10/28/13, 2:12 PM, Achim Gratz wrote: Peter Davis writes: # hyperlinks s/\[\[([^]]*)\]\]/[[file:$1.org][$1]]/g; Try this to fix the links maybe: # hyperlinks s/\[\[([^]]*)\]\]/ my $l = $1; $l =~ s: :_:g;

[O] In buffer setting for Ordered

2013-10-28 Thread Joe M
Hello, I am trying to figure out how to add in-buffer (for all tasks in the file) setting to enforce TODO dependencies. I tried "#+PROPERTY: ORDERED t" but it did not work. Any thoughts, please? Thanks Joe

Re: [O] In buffer setting for Ordered

2013-10-28 Thread Sebastien Vauban
Joe M wrote: > I am trying to figure out how to add in-buffer (for all tasks in the > file) setting to enforce TODO dependencies. > > I tried "#+PROPERTY: ORDERED t" but it did not work. > > Any thoughts, please? Just an idea: did you press C-c C-c on the property line, after adding it? If not,

[O] [RFC] [PATCH] [parser] org-element.el: Handle block parameters

2013-10-28 Thread Aaron Ecay
* lisp/org-element.el (org-element-center-block-parser, org-element-quote-block-parser, org-element-special-block-parser, org-element-verse-block-parser): Add :parameters to return value (org-element-center-block-interpreter, org-element-quote-block-interpreter, org-element-special-block-interprete

Re: [O] [PATCH] Longtable continuation strings customizable

2013-10-28 Thread Thomas S. Dye
Nicolas Goaziou writes: >>> Am I missing something? >> >> An example filter? > > (defun my-personal-table-continuation-strings (row backend info) > (when (org-export-derived-backend-p 'latex) > (replace-regexp-in-string >"multicolumn{[0-9]+}{l}{\\(.*\\)}" "String 1" >(

Re: [O] [bug] [babel] babel corrupts undo history

2013-10-28 Thread Aaron Ecay
Hi Sam, I am sorry for the late reply. It seems I forgot to apply the patch I originally sent. I have just done so. It seems like what you are talking about below is a different problem, though. The ‘org-src-in-org-buffer’ macro is only called when saving or tangling, not when invoking ‘org-ed

Re: [O] Importing from Oddmuse?

2013-10-28 Thread Achim Gratz
Peter Davis writes: > Excellent! I modified it slightly to keep the spaces in the display > string: This is better, I'd think: # hyperlinks s/\[\[([^]]*)\]\]/ my $l = $1; $l =~ s: :_:g; "[[file:$l.org][$1]]"/gex; Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blo

Re: [O] Importing from Oddmuse?

2013-10-28 Thread Peter Davis
On 10/28/13, 3:18 PM, Achim Gratz wrote: Peter Davis writes: Excellent! I modified it slightly to keep the spaces in the display string: This is better, I'd think: # hyperlinks s/\[\[([^]]*)\]\]/ my $l = $1; $l =~ s: :_:g; "[[file:$l.org][$1]]"/gex; That was the first thing I tried, and Per

Re: [O] [PATCH] fix org-insert-todo-heading-respect-content in plain list item

2013-10-28 Thread Ingo Lohmar
Hi Nicolas, sure: emacs -q -nw, and in the scratch buffer (add-to-list 'load-path "~/src/org-mode/lisp/") ;refer to HEAD as of yesterday (org-mode) ;and enter/paste: * test - an -!- item - another one Then, with the cursor at -!- (for example), hitting breaks the line, while it /should/ cre

Re: [O] [bug] [babel] babel corrupts undo history

2013-10-28 Thread Samuel Wales
Hi Aaron, Below? If you mean my fix, I don't know why it worked and cannot investigate it. Samuel On 10/28/13, Aaron Ecay wrote: > Hi Sam, > > I am sorry for the late reply. It seems I forgot to apply the patch I > originally sent. I have just done so. > > It seems like what you are talking

Re: [O] [bug] [babel] babel corrupts undo history

2013-10-28 Thread Aaron Ecay
2013ko urriak 28an, Samuel Wales-ek idatzi zuen: > > Hi Aaron, > > Below? > > If you mean my fix, I don't know why it worked and cannot investigate it. > > Samuel Argh, I must have mistakenly deleted the quoted text from my reply; I did mean the suggestion to comment out the line (setq buffer

Re: [O] how to handle svg files when exporting orgmode to html and pdf?

2013-10-28 Thread Cook, Malcolm
Thomas, Suvayu, Aaron, Nick, Eric, Carsten, Phil, et al, Hi again! Can I re-open this thread to discuss two new issues I now experience with emacs 24.3.1 and orgmode version 8.2.1 in the handling of svg => tex => pdf ? Here goes: 1) If the plot has text in it which contains a percent character

Re: [O] how to handle svg files when exporting orgmode to html and pdf?

2013-10-28 Thread Aaron Ecay
Hi Malcom, 2013ko urriak 28an, "Cook, Malcolm"-ek idatzi zuen: > > Thomas, Suvayu, Aaron, Nick, Eric, Carsten, Phil, et al, > > Hi again! > > Can I re-open this thread to discuss two new issues I now experience with > emacs 24.3.1 and orgmode version 8.2.1 in the handling of svg => tex => pdf

Re: [O] Confused about org-index, org-favtable, org-reftabel, org-refer-by-number

2013-10-28 Thread Marc-Oliver Ihm
Hi Michael, thanx for the good words about org-index ! And yes all those packages are earlier Versions of org-index :-/ However, I did not try to cover my traces that way, but rather tried to find a name, that at first glimpse gives an idea of this packages purpose ... Now, org-index is a good

[O] [PATCH 2/3] Mark some org-babel variables as safe locals under proper conditions

2013-10-28 Thread Aaron Ecay
* lisp/ob-core.el (org-babel-inline-result-wrap, org-babel-default-header-args, org-babel-default-inline-header-args): mark as safe local variables --- lisp/ob-core.el | 31 +++ 1 file changed, 31 insertions(+) diff --git a/lisp/ob-core.el b/lisp/ob-core.el index 8fafd

[O] [PATCH 1/3] Mark ox-latex variables safe locals under proper conditions

2013-10-28 Thread Aaron Ecay
* lisp/ox-latex.el (org-latex-with-hyperref, org-latex-default-table-mode, org-latex-tables-booktabs, org-latex-tables-centered, org-latex-table-caption-above, org-latex-listings): add safe local variable properties --- lisp/ox-latex.el | 18 -- 1 file changed, 12 insertions(+), 6

[O] [PATCH 3/3] mark o-b-default-header-args:R as a safe local under proper conditions

2013-10-28 Thread Aaron Ecay
* lisp/ob-R.el (org-babel-default-header-args:R): mark as a safe local variable --- lisp/ob-R.el | 16 1 file changed, 16 insertions(+) diff --git a/lisp/ob-R.el b/lisp/ob-R.el index 74d7513..2086622 100644 --- a/lisp/ob-R.el +++ b/lisp/ob-R.el @@ -66,6 +66,22 @@ "R-specific h

Re: [O] Importing from Oddmuse?

2013-10-28 Thread Peter Davis
On Mon, Oct 28, 2013 at 4:26 PM, Achim Gratz wrote: > Peter Davis writes: > > That was the first thing I tried, and Perl complained about an > > undefined variable. I may have made a typo though. > > Nope, my error. $1 gets clobbered by the second replacement. So you'd > want what you wrote or

[O] Org-Mode newbie, configuration?

2013-10-28 Thread Joe M
Hello, I am a newbie to Org-mode and am wondering if anyone would be kind enough to share your org-mode configuration. Thanks Joe

Re: [O] Importing from Oddmuse?

2013-10-28 Thread Achim Gratz
Peter Davis writes: > That was the first thing I tried, and Perl complained about an > undefined variable. I may have made a typo though. Nope, my error. $1 gets clobbered by the second replacement. So you'd want what you wrote or somewhat shorter: # hyperlinks s/\[\[([^]]*)\]\]/ my ($l, $o)

[O] [PATCH 0/3] Safe local variable declarations

2013-10-28 Thread Aaron Ecay
In , Klaus-Dieter pointed out that many export variables are not marked as safe locals, which makes it annoying to use them as file-local variables, especially in collaborative situations. Here are 3 patches t

Re: [O] Org-Mode newbie, configuration?

2013-10-28 Thread Suvayu Ali
Hello Joe, Welcome to the Org mode community. On Mon, Oct 28, 2013 at 03:35:43PM -0500, Joe M wrote: > Hello, > > I am a newbie to Org-mode and am wondering if anyone would be kind > enough to share your org-mode configuration. I would suggest you look at articles on Worg instead. This is a go

Re: [O] [bug] [babel] babel corrupts undo history

2013-10-28 Thread Samuel Wales
Hi Aaron, I think, but not sure, that: - your original patch had the right idea, and i think it improved it, but did not fix it - my tiny fix seemed to fix it, but i did not test enough - i avoid the bug rather than carrying along my patch or yours - my impression is that the bug was due

[O] [PATCH] make comment-dwim in source code blocks more DWIM-ish

2013-10-28 Thread Aaron Ecay
* lisp/org.el (org-insert-comment, org-comment-or-uncomment-region): use the relevant language’s major mode comment function if called from within a source block. This patch makes it easier to (un)comment lines of babel source. Now M-; in a soucre code block should Just Work. The modification to

[O] [PATCH 2/2] babel: don’t add babel eval to the session’s comint input ring

2013-10-28 Thread Aaron Ecay
* lisp/ob-comint.el (org-babel-comint-in-buffer): don’t add to comint-input-ring Previously, babel code would be added to the comint input ring of a babel session, making interactive use of the session difficult: one had to page through the babel generated commands when browsing the comint history

[O] [PATCH 1/2] clean up two macros in ob-comint

2013-10-28 Thread Aaron Ecay
* lisp/ob-comint.el (org-babel-comint-with-output, org-babel-comint-in-buffer): clean up code. This patch replaces some deeply nested ca/dr calls with ‘nth’, and replaces a setq/unwind-protect/setq incantation with a simple let binding. Finally, it also restructures ’org-babel-comint-in-buffer’ t

[O] org-agenda moves point in all org agenda buffers

2013-10-28 Thread Samuel Wales
Point is moved to beginning of buffer in every agenda file when I run the agenda. emacs -Q with a minimal test case and (setq org-agenda-window-setup 'current-window) has the bug. Same thing without it does not. Thanks. Samuel

[O] table export-as-html from a simple list

2013-10-28 Thread ishi soichi
Emacs 24.3 org-mode 7.8.11 I am trying to export org file into html, and the result html needs to show a table rather than a list. I understand that |-+-| | | | | | | would export itself into a table. But this form of contents is not easy to read and edit, thou

[O] Temp files are not deleted after beamer export with source code blocks

2013-10-28 Thread James Harkins
I've set org-latex-listings to "Use listings" (not minted), and then run this minimal example. #+BIND: org-latex-listings-options (("basicstyle" "\\ttfamily") ("captionpos" "b") ("tabsize" "3")) #+LANGUAGE: en #+OPTIONS: H:1 num:t toc:nil \n:nil @:t ::t |:t ^:t -:t f:t *:t <:t ':t #+E