Re: [O] org-get-heading and COMMENT

2017-01-14 Thread Nicolas Goaziou
Hello, Matt Price writes: > I see that > > (org-get-heading t t) > > executed on a heading like: > > * COMMENT Heading Title > > returns: > > COMMENT Heading Title > > Should there be a third switch, something like NO-COMMENT? I have no objection, but it would also need to

Re: [O] Something like #+BIND but for the destination buffer

2017-01-14 Thread Jonas Bernoulli
Thanks for the tip and sorry for the late response. This seemed promising at first but let to all kinds of strange behavior. Code-blocks that are part of a list item turned out to particularly painful, as here "Finally, you can use ‘-i’ to preserve the indentation of a specific code block" means

Re: [O] Bug: Problem with org-agenda-sticky and org-mobile

2017-01-14 Thread Nicolas Goaziou
Hello, Ian Dunn writes: > With trunk org mode, when I run org-mobile-push when in an agenda > buffer, then refresh the buffer (via 'r' or 'g'), it spawns a new > agenda buffer and populates it. This only happens with > org-agenda-sticky set to 't'. > > To replicate, I do

Re: [O] Something like #+BIND but for the destination buffer

2017-01-14 Thread Nicolas Goaziou
Hello, Jonas Bernoulli writes: > This seemed promising at first but let to all kinds of strange behavior. > Code-blocks that are part of a list item turned out to particularly > painful, as here "Finally, you can use ‘-i’ to preserve the indentation of > a specific

Re: [O] Fwd: Beamer framebreak

2017-01-14 Thread edgar
Hello eric, Your org file layout is a little confused. You have told org that beamer slides (aka frames) will be level 2 headlines (so level 1 headlines become sections). Then you, for instance, some content directly under a level 1 headline which is ignored. Third level headlines will

[O] Switching buffers from babel snippets

2017-01-14 Thread Alex Bennée
Hi, I've trying to further automate my maintainer tasks by moving things into babel snippets. I have one to find a cover letter and edit the file: #+name: edit-cover-letter #+begin_src emacs-lisp :var cover=create-qemu-pull[0] (find-file (expand-file-name (concat default-directory (car

Re: [O] Emacs hangs sometimes for no reason

2017-01-14 Thread Samuel Wales
fwiw, i have had the element cache turned off since org 8 because of intermittent bugs. i tried it on in org 9 maint recently and it caused similar problems. so you might be experiencing same. funnily enough, it doesn't seem to make any difference to agenda creation speed, which is my

Re: [O] Something like #+BIND but for the destination buffer

2017-01-14 Thread Jonas Bernoulli
I'll get back to you in a few days. On Sat, Jan 14, 2017 at 6:52 PM, Nicolas Goaziou wrote: > Jonas Bernoulli writes: > > > I did notice myself that the two-space indentation for blocks that are > part > > of a list element are reserved and

Re: [O] A summary with weekly processed actions using org-todo

2017-01-14 Thread Fabrice Niessen
Hi Yann, > My life is relying on orgmode, from a personal standpoint (orgmode is > faster at reminding me pending actions to fix my house than my wife) > and to organize my actions at work pushing my mutt mails in org-mode > as tasks... all this works great. Special thanks to the team for this >

Re: [O] Something like #+BIND but for the destination buffer

2017-01-14 Thread Jonas Bernoulli
I did notice myself that the two-space indentation for blocks that are part of a list element are reserved and also that one can do what you are suggesting here to keep the code-block as part of the list item while at the same time not get those two extra spaces. (By the way, I don't like that

Re: [O] Something like #+BIND but for the destination buffer

2017-01-14 Thread Nicolas Goaziou
Jonas Bernoulli writes: > I did notice myself that the two-space indentation for blocks that are part > of a list element are reserved and also that one can do what you are > suggesting here to keep the code-block as part of the list item while at > the same time not

Re: [O] Something like #+BIND but for the destination buffer

2017-01-14 Thread Jonas Bernoulli
On Sat, Dec 31, 2016 at 3:40 PM, Nicolas Goaziou wrote: Besides, using `org-export-filter-final-output-functions' seems easier > than your set up. > This approach works too. The following code produces exactly the same result as what I posted earlier: (defun

Re: [O] Fwd: Beamer framebreak

2017-01-14 Thread John Hendy
On Sat, Jan 14, 2017 at 12:36 AM, wrote: > Hello eric, > [snip] > Mmm... I think that this would mess up my outline. Is there a way to create > an empty headline? or to hide it in the TOC? > >> Blocks are 3rd level headlines so put the contents within a 3rd level >>

[O] Emacs hangs sometimes for no reason

2017-01-14 Thread Sebastian Christ
Hi list, in the last couple weeks (perhaps months?) Emacs hangs for no specific reason for me. The single constant is, that when it hangs, it hangs while I'm in org-mode. This occurs on multiple circumstance as - changing the outline structure by demoting and promoting headline - when refiling -

Re: [O] Bug: Problem with org-agenda-sticky and org-mobile

2017-01-14 Thread Ian Dunn
Nicolas Goaziou writes: > Hello, > > Ian Dunn writes: > >> With trunk org mode, when I run org-mobile-push when in an agenda >> buffer, then refresh the buffer (via 'r' or 'g'), it spawns a new >> agenda buffer and populates it. This only happens with

Re: [O] Emacs hangs sometimes for no reason

2017-01-14 Thread Nicolas Goaziou
Hello, Sebastian Christ writes: > in the last couple weeks (perhaps months?) Emacs hangs for no specific > reason for me. The single constant is, that when it hangs, it hangs > while I'm in org-mode. This occurs on multiple circumstance as > > - changing the outline

Re: [O] Something like #+BIND but for the destination buffer

2017-01-14 Thread Jonas Bernoulli
/s/indention/indentation/ And sorry for the earlier top-posting and generally awful formatting. For some odd reason I subscribed using Gmail, and that is giving me some grieve. On Sat, Jan 14, 2017 at 11:11 PM, Jonas Bernoulli wrote: > On Sat, Jan 14, 2017 at 6:52 PM,

Re: [O] Something like #+BIND but for the destination buffer

2017-01-14 Thread Jonas Bernoulli
On Sat, Jan 14, 2017 at 6:52 PM, Nicolas Goaziou wrote: > > > Could you show an ECM? > I was going to, but: Turns out: 1. Whether -i is used doesn't matter here. 2. The reason these blocks are not intended the same way is that SRC => @example or @lisp EXAMPLE =>