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

2014-11-23 Thread Rasmus
Hi, Nicolas Goaziou 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 I removed some

[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 b

Re: [O] #+BIBLIOGRAPHY multiple entries

2014-11-23 Thread Andreas Kiermeier
Hi Johnny, ​ On 24 November 2014 at 08:08, wrote: > I use > #+BIBLIOGRAPHY mybibliographyfile plain > which works, but > #+BIBLIOGRAPHY myfirstbibliographyfile mysecondbibliographyfile plain > does not. Instead of #+BIBLIOGRAPHY I tend to use #+LATEX: \bibliographystyle{plainnat} #+LATEX: \bi

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

2014-11-23 Thread Rasmus
Hi, Nicolas Goaziou 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 inserts an > item.

[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 p

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

2014-11-23 Thread Nicolas Goaziou
Rasmus 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 tasks. This i

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 m

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

2014-11-23 Thread Charles Berry
Marcin Borkowski 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 > > underlined > > and > > _underlined|with variant_ > > to > > underlinedwith > variant > > but only if the

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

2014-11-23 Thread Bernt Hansen
Karl Voit writes: > * Nicolas Goaziou 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

Re: [O] Missing commit in maint

2014-11-23 Thread Bernt Hansen
Nicolas Goaziou writes: > Bernt Hansen 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 this intentional? > > It is

Re: [O] Bernt Hansen's

2014-11-23 Thread Bernt Hansen
rene 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 David > All

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

2014-11-23 Thread Nicolas Goaziou
Rasmus 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] C-c C-c in table takes 12 seconds

2014-11-23 Thread Rasmus
Hi, Nicolas Goaziou writes: > Rasmus 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-eleme

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

2014-11-23 Thread Nicolas Goaziou
Hello, Roberto Huelga 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. > org-capture-s

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

2014-11-23 Thread Rasmus
Hi, Nicolas Goaziou 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 to > use M-RE

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

2014-11-23 Thread Nicolas Goaziou
Hello, Rasmus 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. It means

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 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 '(batch-b

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

2014-11-23 Thread Nicolas Goaziou
Rasmus 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 to headlines.

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

2014-11-23 Thread Nicolas Goaziou
Rasmus 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 what I

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

2014-11-23 Thread Richard Lawrence
Hi Marcin, Marcin Borkowski 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 MYBLOCK (in which case,

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

2014-11-23 Thread Karl Voit
* Nicolas Goaziou 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 correct that for an E

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

2014-11-23 Thread Rasmus
Hi, Nicolas Goaziou writes: > Thierry Banel 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

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 writes: > If not, maybe it would be better to keep the oriGiNaL cASe. Yeah, fixed. Nicolas Goaziou writes: > Rasmus writes: > >>> Moreover, it can get in the way of expected M

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

2014-11-23 Thread Nicolas Goaziou
Hello, Karl Voit 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 99% >>

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

2014-11-23 Thread Nicolas Goaziou
Hello, Thierry Banel 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 the major mean to

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

2014-11-23 Thread Nicolas Goaziou
Hello, Vicente Vera 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' setup those backend

[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 in

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] 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 underlined and _underlined|with variant_ to underlinedwith variant but only if the underlining is between #+BEGIN_MYBLOCK ... #+END_MYBLOCK How to achieve this? In part

[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 preambl

[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 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 313

[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") 81

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