Re: [O] [patch] extend org-meta-return to keywords

2014-11-23 Thread Thierry Banel
Le 23/11/2014 00:20, Nicolas Goaziou a écrit : M-RET, is, first and foremost, an important keybinding for editing the /structure/ of the document. The behaviour you want to add has nothing to do with structure. I guess this is the main decision point about Rasmus's proposal. I'm not sure I

[O] yasnippet and Org-mode: depressing relationship

2014-11-23 Thread Karl Voit
Hi! If you're using Org-mode together with yasnippet: how do you do it without getting performance issues or expand-key troubles? Background with a specific issue: My yas-specific init-lines: #+BEGIN_EXAMPLE 812:(require 'yasnippet) 813:(setq yas-root-directory ~/.emacs.d/snippets)

[O] C-c C-c in table takes 12 seconds (was: yasnippet and Org-mode)

2014-11-23 Thread Karl Voit
Hm. Maybe I wrongly suspected yasnippet: * Karl Voit devn...@karl-voit.at wrote: Background with a specific issue: Issue: Whenever I change table cells via TAB, it takes twelve seconds with 100% CPU core: org-table-next-field very slow: #+BEGIN_EXAMPLE - command-execute

[O] Beamer export, file-link format

2014-11-23 Thread James Harkins
I'm using org + beamer, and I've put in some links like this: \href{media/something.mp3}{Listen: Something} I want Listen: Something to appear in another color. LaTeX is steadfastly refusing to do this: all links appear in the normal document font and color. Hyperref is invoked in the preamble

[O] Custom export backend based on HTML: how to implement own blocks?

2014-11-23 Thread Marcin Borkowski
Hello, I'd like to (ab)use the underline syntax for something else. Basically, I'd like to translate _underlined_ to span class=my-ownvariantunderlinedvariant/span and _underlined|with variant_ to span class=my ownvariantunderlined/variantvariantwith variant/variant/span but only if the

Re: [O] Bug: [Capture] wrongly duplicated date tree outlines [8.2.10]

2014-11-23 Thread kuanyui
So sorry to everyone, I just found this is problem is caused by `pangu-spacing'. https://github.com/coldnew/pangu-spacing/issues/5

[O] Export backends are loaded after code block evaluation

2014-11-23 Thread Vicente Vera
Org-mode version 8.3beta (release_8.3beta-584-g3953cb @ /usr/local/share/emacs/site-lisp/org/) GNU Emacs 25.0.50.1 (i686-pc-linux-gnu, GTK+ Version 3.14.4) of 2014-11-17 Hello. Just noticed that after evaluating a code block with C-c C-c (org-babel-execute-src-block?) all export backends stored

Re: [O] Export backends are loaded after code block evaluation

2014-11-23 Thread Nicolas Goaziou
Hello, Vicente Vera vicente...@gmail.com writes: Hello. Just noticed that after evaluating a code block with C-c C-c (org-babel-execute-src-block?) all export backends stored in 'org-export-backends' are loaded---or 'required'---automatically. Once I commented out my 'org-export-backends'

Re: [O] [patch] extend org-meta-return to keywords

2014-11-23 Thread Nicolas Goaziou
Hello, Thierry Banel tbanelweb...@free.fr writes: I'm not sure I understand the /structure/ argument. (Is structure about hiding blocks? Parsing org docs?). Nicolas, you have worked a lot on this topic (org-element, new drawer syntax). May be you could elaborate on this. M-RET, C-RET are

Re: [O] C-c C-c in table takes 12 seconds

2014-11-23 Thread Nicolas Goaziou
Hello, Karl Voit devn...@karl-voit.at writes: Issue: Whenever I change table cells via TAB, it takes twelve seconds with 100% CPU core: org-table-next-field very slow: #+BEGIN_EXAMPLE - command-execute 31397 99% - call-interactively 31397

Re: [O] [patch] extend org-meta-return to keywords

2014-11-23 Thread Rasmus
Hi, Thanks for the comments. This email is long (sorry); fortunately there are many blank lines. . . Thierry Banel tbanelweb...@free.fr writes: If not, maybe it would be better to keep the oriGiNaL cASe. Yeah, fixed. Nicolas Goaziou m...@nicolasgoaziou.fr writes: Rasmus ras...@gmx.us

Re: [O] [patch] extend org-meta-return to keywords

2014-11-23 Thread Rasmus
Hi, Nicolas Goaziou m...@nicolasgoaziou.fr writes: Thierry Banel tbanelweb...@free.fr writes: I'm not sure I understand the /structure/ argument. (Is structure about hiding blocks? Parsing org docs?). Nicolas, you have worked a lot on this topic (org-element, new drawer syntax). May be you

Re: [O] C-c C-c in table takes 12 seconds

2014-11-23 Thread Karl Voit
* Nicolas Goaziou m...@nicolasgoaziou.fr wrote: Hello, Hi! Could you provide an ECM? I'm unable to reproduce it. Yeah, I can do that. However, because I never did this before and I suppose this is going to take me at least two hours, I will post it whenever I got time to do the ECM. Is this

Re: [O] Custom export backend based on HTML: how to implement own blocks?

2014-11-23 Thread Richard Lawrence
Hi Marcin, Marcin Borkowski mb...@wmi.amu.edu.pl writes: 1. How can I know (in org-html-underline, for instance) whether I am in a MYBLOCK or not? I don't know whether this is the best approach, but given an element, you can walk up its parents in the parse tree until you either reach a

Re: [O] [patch] extend org-meta-return to keywords

2014-11-23 Thread Nicolas Goaziou
Rasmus ras...@gmx.us writes: I see it differently. I see M-RET as a function that magically adds more of what is adjacent to point. Your definition is fuzzy: * Headline [lots of text] -- M-RET here will insert a headline, which is by no mean adjacent to point. I—obviously—think

Re: [O] [patch] extend org-meta-return to keywords

2014-11-23 Thread Nicolas Goaziou
Rasmus ras...@gmx.us writes: I don't find it complicated at all. . . It's DWIM! I understand your DWIM argument. But we're talking about one of the most central keybindings in Org, much like C-c C-c. Except I do not consider C-c C-c as a usability model. Also, C-c C-c is not really dedicated

Re: [O] Check for compilation error

2014-11-23 Thread Michael Brand
Hi Achim On Sat, Nov 22, 2014 at 12:30 PM, Achim Gratz strom...@nexgo.de wrote: Michael Brand writes: What is the reason that make check does not stop at the first compilation error with a non-zero exit status? Emacs doesn't behave like a compiler ... when used as [...] --batch --eval

Re: [O] C-c C-c in table takes 12 seconds

2014-11-23 Thread Nicolas Goaziou
Hello, Rasmus ras...@gmx.us writes: When looking at the profiler, I notice avl-tree--do-delete (and other avl functions) and org-element--cache-compare taking lots of speed. I think I have also had this issues in mail-buffers where I use orgstruct modes. Again org-element--cache showed up.

Re: [O] [patch] extend org-meta-return to keywords

2014-11-23 Thread Rasmus
Hi, Nicolas Goaziou m...@nicolasgoaziou.fr writes: I—obviously—think what I propose is better than what we have now. Let's go through the current functionality. In this case I value simplicity over complexity (or smartness, whatever you call it). Anyone, including newcomers, should be able

Re: [O] Patch org-capture-set-target-location

2014-11-23 Thread Nicolas Goaziou
Hello, Roberto Huelga rhue...@gmail.com writes: Patch proposal for org-capture-set-target-location Thanks for the patch. The idea is that when somebody use the function or file+function targets you can make the template subheading from the heading where the custom-function set the point.

Re: [O] C-c C-c in table takes 12 seconds

2014-11-23 Thread Rasmus
Hi, Nicolas Goaziou m...@nicolasgoaziou.fr writes: Rasmus ras...@gmx.us writes: When looking at the profiler, I notice avl-tree--do-delete (and other avl functions) and org-element--cache-compare taking lots of speed. I think I have also had this issues in mail-buffers where I use

Re: [O] C-c C-c in table takes 12 seconds

2014-11-23 Thread Nicolas Goaziou
Rasmus ras...@gmx.us writes: Is there a way to reset the cache? To get out of the bad state. M-x org-element-cache-reset Regards,

Re: [O] Bernt Hansen's

2014-11-23 Thread Bernt Hansen
rene jl...@yahoo.com writes: I wonder whether Bernt would agree to turn his config file into an actual lisp package that could be available via Elpa? I find his code pretty close to what GTD should look like. There are a few things though that could be twicked a bit in order to comply with

Re: [O] Missing commit in maint

2014-11-23 Thread Bernt Hansen
Nicolas Goaziou m...@nicolasgoaziou.fr writes: Bernt Hansen be...@norang.ca writes: The following commit 6202ec7 (Remove need to declare drawers before using them, 2013-10-20) has been in the master branch for over a year but I can't find it in any maintenance releases since then. Is

Re: [O] C-c C-c in table takes 12 seconds

2014-11-23 Thread Bernt Hansen
Karl Voit devn...@karl-voit.at writes: * Nicolas Goaziou m...@nicolasgoaziou.fr wrote: Hello, Hi! Could you provide an ECM? I'm unable to reproduce it. Yeah, I can do that. However, because I never did this before and I suppose this is going to take me at least two hours, I will post it

Re: [O] Custom export backend based on HTML: how to implement own blocks?

2014-11-23 Thread Charles Berry
Marcin Borkowski mbork at wmi.amu.edu.pl writes: Hello, I'd like to (ab)use the underline syntax for something else. Basically, I'd like to translate _underlined_ to span class=my-ownvariantunderlinedvariant/span and _underlined|with variant_ to span class=my

Re: [O] Code, Sessions, and org-edit-special

2014-11-23 Thread Ken Mankoff
* On 2014-11-22 at 19:17, Ken Mankoff wrote: Hi List, A simpler phrasing of my previous question. How do I find out if an Org function, `org-ctrl-c-ctrl-c`, was called somewhere up the stack. I'm trying to modify a function python-shell-get-process-name, but I don't want it to be modified

Re: [O] [patch] extend org-meta-return to keywords

2014-11-23 Thread Nicolas Goaziou
Rasmus ras...@gmx.us writes: Newcomers ain't stupid. I never said that. However, here is an historical data point. SCHEDULED, DEADLINE and CLOSED keywords, aka planning info, are not included as properties in properties drawer so newcomers do not encounter invisible contents for such basic

[O] #+BIBLIOGRAPHY multiple entries

2014-11-23 Thread yggdrasil
I am trying to figure out how to use multipe bibliography files in org-mode. What I've used so far is the #+BIBLIOGRAPHY statement which lets me enter one .bib file, but I have been unable to use more than one file. How would one go about to achieve this? I use #+BIBLIOGRAPHY mybibliographyfile

Re: [O] [patch] extend org-meta-return to keywords

2014-11-23 Thread Rasmus
Hi, Nicolas Goaziou m...@nicolasgoaziou.fr writes: Still, I think overload M-RET is more intuitive, Intuitiveness is in the eye of the beholder... Clearly. Maybe some users will not find intuitive that M-RET usually inserts a headline... unless it is in a plain list, in which case it

Re: [O] #+BIBLIOGRAPHY multiple entries

2014-11-23 Thread Andreas Kiermeier
Hi Johnny, ​ On 24 November 2014 at 08:08, yggdra...@gmx.co.uk wrote: I use #+BIBLIOGRAPHY mybibliographyfile plain which works, but #+BIBLIOGRAPHY myfirstbibliographyfile mysecondbibliographyfile plain does not. Instead of #+BIBLIOGRAPHY I tend to use #+LATEX:

[O] Modifications in org-src.el

2014-11-23 Thread Nicolas Goaziou
Hello, In an attempt to unify various external editing functions (`org-edit-fixed-width', `org-edit-src-code'...), I widely modified org-src.el. These changes are mostly internal and no user-visible change (besides bug fixes) is expected. However I removed some functions, not used in the code

Re: [O] Modifications in org-src.el

2014-11-23 Thread Rasmus
Hi, Nicolas Goaziou m...@nicolasgoaziou.fr writes: In an attempt to unify various external editing functions (`org-edit-fixed-width', `org-edit-src-code'...), I widely modified org-src.el. These changes are mostly internal and no user-visible change (besides bug fixes) is expected. However