[O] [BUG] org-org-export-as-org is missing a "body-only" argument

2013-08-22 Thread Nicolas Girard
As title says, the function =org-org-export-as-org= from ox-org.el is missing a "body-only" argument. This absence messes up the call to org-export-to-buffer. Cheers, --- Nicolas

Re: [O] [Babel] org-babel-execute-buffer gives different results than org-babel-exp-non-block-elements

2013-08-22 Thread Nicolas Girard
2013/8/23 Nicolas Goaziou : > Nicolas Girard writes: > > I see. > > There is an important difference between evaluating a buffer and > evaluating a buffer during export. In the latter, Babel has to deal with > replacement values, i.e., code block is replaced by its results. See the > difference be

Re: [O] [Babel] org-babel-execute-buffer gives different results than org-babel-exp-non-block-elements

2013-08-22 Thread Nicolas Goaziou
Nicolas Girard writes: > I'm ashamed... but this time I swear I started a minimal emacs session > and got it to work. The instructions have slightly changed and are > written at the very beginning of the attached minimal document. I see. There is an important difference between evaluating a buf

Re: [O] [Babel] org-babel-execute-buffer gives different results than org-babel-exp-non-block-elements

2013-08-22 Thread Nicolas Girard
2013/8/22 Nicolas Goaziou : > Nicolas Girard writes: > >> Sorry again for the buggy minimal example. >> Please try again with the attached version. Instructions as before: > > Still get an error: (void-function ng/org-get-entry-title). > I'm ashamed... but this time I swear I started a minimal em

Re: [O] [Babel] org-babel-execute-buffer gives different results than org-babel-exp-non-block-elements

2013-08-22 Thread Nicolas Girard
Sorry again for the buggy minimal example. Please try again with the attached version. Instructions as before: 1. Evaluate the elisp code contained in the section "Code to evaluate", either by executing =(org-babel-load-file buffer-file-name)=, or by evaluating manually each function using =C-x C-

Re: [O] [Babel] org-babel-execute-buffer gives different results than org-babel-exp-non-block-elements

2013-08-22 Thread Nicolas Goaziou
Nicolas Girard writes: > Sorry again for the buggy minimal example. > Please try again with the attached version. Instructions as before: Still get an error: (void-function ng/org-get-entry-title). Regards, -- Nicolas Goaziou

[O] Bug: heading visibility cycling and org-narrow-to-subtree

2013-08-22 Thread Ali Tofigh
After narrowing to a subtree, folding the top level heading hides all text except for the last letter in the last paragraph. An example: - 8< - * one ** two hello world * three -- with cursor on heading "one", do M-x org-narrow-to-subtree (C-x n s), then press tab, and you get:

Re: [O] [Babel] org-babel-execute-buffer gives different results than org-babel-exp-non-block-elements

2013-08-22 Thread Nicolas Girard
2013/8/22 Nicolas Goaziou : > > I get errors when trying to execute the buffer. Hi Nicolas, oh yes, my bad, there was a parenthesis missing. Attached is the corrected document. > Also, could you provide > a minimal example? The attached document is as minimal as you can get IMHO ; but admittedl

Re: [O] [PATCH] org-contacts: Implement a way to ignore certain new addresses

2013-08-22 Thread Greg Troxel
Frank Terbeck writes: > (add-to-list 'org-contacts-new-address-ignore >"notifications@github\\.com") Amusingly I filed a bug with github, saying that they should not emit mail with a person's name and an email address that does not belong to the person. They acknowleged that

Re: [O] [Babel] org-babel-execute-buffer gives different results than org-babel-exp-non-block-elements

2013-08-22 Thread Nicolas Goaziou
Hello, Nicolas Girard writes: > Could anyone give me a hand on this ? > > Attached is my test document, containing both my preliminary code for > transclusion, and some tests at the bottom. I get errors when trying to execute the buffer. Also, could you provide a minimal example? Regards, --

Re: [O] Radio targets in comment lines

2013-08-22 Thread Nicolas Goaziou
Steen Hoyer writes: > Thank you Nicolas! I will think about a patch for the FAQ. I don't quite > understand one of your comments: > >> There is no point in making radio targets invisible. > > I think that invisible radio targets are precisely what I want - > that's why I made so many of them in

[O] [PATCH] org-contacts: Implement a way to ignore certain new addresses

2013-08-22 Thread Frank Terbeck
With some bugtrackers (like the one github uses or with roundup for example) or when you use gwene to follow certain site's RSS feeds, you may run into situations, where `org-contacts-check-mail-address' will ask if it should add a non-sensical email-address. With this change, you can fine-tune in

[O] [Babel] org-babel-execute-buffer gives different results than org-babel-exp-non-block-elements

2013-08-22 Thread Nicolas Girard
Hi all, One thing I've been missing for long within org-mode is transclusion ; so eventually I came up with some preliminary code which seems promising regarding what I have in mind. Now, I wish I would dedicate a full thread on this subject once my code works in a predictable way ; but for now I

[O] org-mode markup

2013-08-22 Thread Mehul Sanghvi
I have the following: The =\,= allows you to put a Lisp expression there and the =#= is What I end up with is that the everything between the 1st '=' and the last '=' ends up becoming one marked-up section, rather than having two separate mark-ups. Is there something I'm missing or doing wrong

Re: [O] Emacs Barcamp

2013-08-22 Thread Bastien
Ivan Kanis writes: > August, 20 at 11:22 Bastien wrote: > >> So I suggest we coordinate with each other, set the date/location >> in Paris, then announce it publicly. > > OK, when? I replied in private. -- Bastien

Re: [O] Editing HTML blocks: no special environment to edit here - solved

2013-08-22 Thread Karl Voit
* Suvayu Ali wrote: > On Thu, Aug 22, 2013 at 04:46:49PM +0200, Karl Voit wrote: >> >> Sorry to be cumbersome but I could not find anything related to >> «html back-end» in the documentation. Where do I have to look in >> order to learn how to fix my issue? > > All supported exporters are known a

Re: [O] Problem with org-insert-heading on multi-line items?

2013-08-22 Thread Bernt Hansen
Hi Carsten! This works much better now - Thanks!! Regards, Bernt Carsten Dominik writes: > Hi Tom, > > I have just rewritten org-insert-heading from scratch. It might not be > bug-free, but at least now it is in a state where bugs can be fixed. Let me > know if there are still problems. >

Re: [O] Viewing notes in agenda log mode

2013-08-22 Thread Bernt Hansen
Manish writes: >   > On 8/7/13, Manish wrote: >   > > I like to take notes with "z" in agenda mode logging progress of >   > > tasks as I move through the day.  Is it possible today to enable >   > > viewing these notes (first line only) when log mode is turned on >   > > the agenda mode the way

Re: [O] Editing HTML blocks: no special environment to edit here

2013-08-22 Thread Suvayu Ali
On Thu, Aug 22, 2013 at 04:46:49PM +0200, Karl Voit wrote: > * Nicolas Goaziou wrote: > > Karl Voit writes: > > > >> In short: «#+BEGIN_HTML» is not of element type «element» and thus > >> ignored by «org-edit-special». > > > > It only means that you didn't load `html' back-end. So the parser can

Re: [O] Emacs Barcamp

2013-08-22 Thread Ivan Kanis
August, 20 at 11:22 Bastien wrote: > So I suggest we coordinate with each other, set the date/location > in Paris, then announce it publicly. OK, when? -- Interference between the keyboard and the chair. -- BOFH excuse #58

Re: [O] Send line to R process from babel block?

2013-08-22 Thread John Hendy
On Thu, Aug 22, 2013 at 10:34 AM, Erik Iverson wrote: > John, > > Do you know about creating an indirect buffer with the current source block? > This indirect buffer will be in ESS mode, and any changes you make will be > in the original source block when you exit the indirect buffer. > > I believ

Re: [O] Send line to R process from babel block?

2013-08-22 Thread Erik Iverson
John, Do you know about creating an indirect buffer with the current source block? This indirect buffer will be in ESS mode, and any changes you make will be in the original source block when you exit the indirect buffer. I believe C-c ' in a source block will activate the indirect buffer. There

[O] Send line to R process from babel block?

2013-08-22 Thread John Hendy
If one opens file.R and does =C-RET= on a line, it sends it to the current ESS R process running (or starts a new process and then sends the line). Is this possible from babel blocks? I would find this extremely helpful when troubleshooting in order to run lines of code up to my problem spot vs. m

Re: [O] Editing HTML blocks: no special environment to edit here

2013-08-22 Thread Karl Voit
* Nicolas Goaziou wrote: > Karl Voit writes: > >> In short: «#+BEGIN_HTML» is not of element type «element» and thus >> ignored by «org-edit-special». > > It only means that you didn't load `html' back-end. So the parser cannot > recognize "html" blocks as export blocks. OK, two lines and even I

Re: [O] Radio targets in comment lines

2013-08-22 Thread Steen Hoyer
Thank you Nicolas! I will think about a patch for the FAQ. I don't quite understand one of your comments: > There is no point in making radio targets invisible. I think that invisible radio targets are precisely what I want - that's why I made so many of them in comments under the old system.

Re: [O] Editing HTML blocks: no special environment to edit here

2013-08-22 Thread Nicolas Goaziou
Karl Voit writes: > Hello Nick! > > * Nick Dokos wrote: >> Karl Voit writes: >> >>> However, I did a fresh "git pull" (release_8.0.7-384-g6fdc23) and >>> still get this behavior: >>> >>> #+BEGIN_HTML >>> bar >>> #+END_HTML >>> ... cannot be edited via «C-c '». >>> >>> Or: what else can I chec

Re: [O] Editing HTML blocks: no special environment to edit here

2013-08-22 Thread Karl Voit
Hello Nick! * Nick Dokos wrote: > Karl Voit writes: > >> However, I did a fresh "git pull" (release_8.0.7-384-g6fdc23) and >> still get this behavior: >> >> #+BEGIN_HTML >> bar >> #+END_HTML >> ... cannot be edited via «C-c '». >> >> Or: what else can I check on my side? > > Maybe you can edeb

Re: [O] Editing HTML blocks: no special environment to edit here

2013-08-22 Thread Nick Dokos
Karl Voit writes: > * Nicolas Goaziou wrote: >> Hello, >> >> Karl Voit writes: >> >>> Can someone please test her/his current setup if BEGIN_HTML-blocks >>> can be edited by ? Thanks! >> >> I can. > > Damn. > I can too: Org-mode version 8.0.7 (release_8.0.7-380-g2a28de @ /home/nick/elisp/org-

Re: [O] [PATCH] Center currently clocked headline to top of screen

2013-08-22 Thread Daniel Clemente
Seeing a bit of context is nice; maybe putting it at line 2 or 3 is better than at the top and I think it is better than centered. It could also be configurable. El Thu, 22 Aug 2013 10:36:00 +0200 Sebastien Vauban va escriure: > > Hello, > > When jumping to the currently clocked headline (vi

Re: [O] Editing HTML blocks: no special environment to edit here

2013-08-22 Thread Karl Voit
* Nicolas Goaziou wrote: > Hello, > > Karl Voit writes: > >> Can someone please test her/his current setup if BEGIN_HTML-blocks >> can be edited by ? Thanks! > > I can. Damn. However, I did a fresh "git pull" (release_8.0.7-384-g6fdc23) and still get this behavior: #+BEGIN_HTML bar #+END_HT

Re: [O] Editing HTML blocks: no special environment to edit here

2013-08-22 Thread Nicolas Goaziou
Hello, Karl Voit writes: > Can someone please test her/his current setup if BEGIN_HTML-blocks > can be edited by ? Thanks! I can. Regards, -- Nicolas Goaziou

Re: [O] Radio targets in comment lines

2013-08-22 Thread Nicolas Goaziou
Hello, Steen Hoyer writes: > Org 8 seems to have changed the way radio links in comment lines work. > > # <<>> No longer creates a link - 'C-c C-c can do nothing useful at > this location' > > #+test <<>> Works within org for some reason, but then the line will > be exported... > > I was curio

Re: [O] Editing HTML blocks: no special environment to edit here

2013-08-22 Thread Karl Voit
* Karl Voit wrote: > > Org-mode version 8.0.2 (release_8.0.2-121-g86fab4 from the git > repository a couple of weeks ago) > > #+BEGIN_SRC html > bar > #+END_SRC > > #+BEGIN_HTML > foo > #+END_HTML > > I can edit "bar" in a separate buffer by

[O] [PATCH] Center currently clocked headline to top of screen

2013-08-22 Thread Sebastien Vauban
Hello, When jumping to the currently clocked headline (via `C-c C-x C-j'), it seems (to me) more logical to recenter that headline at the top of the screen (vs at the center of the screen, that is the current behavior). Here the patch to do so. Best regards, Seb >From dc2cabbab8ed13b47c310821

[O] Radio targets in comment lines

2013-08-22 Thread Steen Hoyer
Org 8 seems to have changed the way radio links in comment lines work. # <<>> No longer creates a link - 'C-c C-c can do nothing useful at this location' #+test <<>> Works within org for some reason, but then the line will be exported... I was curious if this was intentional, because I have ma