Re: [O] Macros or properties in source blocks

2015-08-12 Thread Sebastien Vauban
"Charles C. Berry" writes: > On Tue, 11 Aug 2015, Gary Oberbrunner wrote: > >> I'd like to have either a macro or a property that controls some behavior >> of an org-mode babel file: >> >> #+PROPERTY: report_type All >> >> and use that property inline: {{{property(report_type)}}} and in a source >

Re: [O] org-block-background in 8.3.1?

2015-08-12 Thread Sebastien Vauban
Kyle Meyer writes: > Luke Crook wrote: >> I'm not sure if I still need to set "org-block-background" in 8.3.1. >> >> But if I do need to continue setting this, what is the new name for "org- >> block-background"? >> >> (set-face-attribute 'org-block-background nil >> :height (

Re: [O] A bug with expanding headlines of the sparse tree?

2015-08-12 Thread Meir Goldenberg
Is there an alternative to TAB when I want to work only with the sparse tree and all the other entries only distract me? If not, can I somehow open the sparse tree in a separate buffer? On Wed, Aug 12, 2015 at 1:56 AM, Nicolas Goaziou wrote: > Meir Goldenberg writes: > > > I do not quite unders

Re: [O] [OFF TOPIC] almost giving up on emacs email..looking for advice?

2015-08-12 Thread Rasmus
Eric Abrahamsen writes: > Peter Salazar writes: > >> Like Fabrice, I also still process my email using the Gmail web >> interface. The only reason I want email within Emacs is so I can >> compose replies in a proper editor with all my keybindings. I tried >> Chrome's Edit with Emacs, but it lose

Re: [O] Block level specification for tex code html export method

2015-08-12 Thread Andreas Leha
Hi Haochen, You can render svg from latex through org directly. Here is a complete example including a tikz diagram that that works on my system (once I tackle a bug in PGF [1]). It renders - png by default (and for inlining the image into the org document) - nothing for latex (directly include t

Re: [O] [OFF TOPIC] almost giving up on emacs email..looking for advice?

2015-08-12 Thread Eric Abrahamsen
Rasmus writes: > Eric Abrahamsen writes: > >> Peter Salazar writes: >> >>> Like Fabrice, I also still process my email using the Gmail web >>> interface. The only reason I want email within Emacs is so I can >>> compose replies in a proper editor with all my keybindings. I tried >>> Chrome's Ed

Re: [O] [OFF TOPIC] almost giving up on emacs email..looking for advice?

2015-08-12 Thread Rasmus
Eric Abrahamsen writes: > It's not trivial when you live in China :) > > I can make it work, between alternate IP addresses and ssh tunnels, but > it involves a lot of cursing and grinding my teeth. In a hostile network > environment any client will face the same problems, but the lack of > threa

[O] Emacspeak and org mode (fwd)

2015-08-12 Thread Jude DaShiell
-- -- Forwarded message -- Date: Wed, 12 Aug 2015 02:17:21 From: Tim Cross To: emacspeak Subject: Emacspeak and org mode Resent-Date: Wed, 12 Aug 2015 02:29:40 -0400 (EDT) Resent-From: emacsp...@cs.vassar.edu --Apple-Mail=_18ED71E4-E2D1-47DE-8ACB-70E18271E9FB Content-Transf

[O] [gnorb] completion for `gnorb-gnus-incoming-do-todo'

2015-08-12 Thread Thomas Holst
Hello, thanks for the gnorb package! I started using it and I like it a lot! When I call `gnorb-gnus-incoming-do-todo' from gnus I'm prompted for a headline. But completion is not working. Neither nor M-j does anything. How can I get completion working? Completion is working for org-refile. I

Re: [O] Block level specification for tex code html export method

2015-08-12 Thread Haochen Xie
Hi Andreas, Thank you for your code example. I've tried almost the same code which I saw from the thread you referred (with the htlatex initialization, which I'm doing in my .emacs), and indeed got a svg file as expected. But the problem is that when I try to browse the HTML page in chrome, the im

Re: [O] BUG in columns view since 0f93638ce (Jun 2 2015)

2015-08-12 Thread Nicolas Goaziou
Johan Sandblom writes: > I read that passage differently. The second-level headline ** bli is > in the tree that starts at the first-level headline * sum. The manual > does not state that the column view table is established for the part > of the tree that is between the entry that contains the ´

Re: [O] A bug with expanding headlines of the sparse tree?

2015-08-12 Thread Nicolas Goaziou
Meir Goldenberg writes: > Is there an alternative to TAB when I want to work only with the sparse > tree and all the other entries only distract me? With Org 8.3, you can use (untested) (save-excursion (forward-line) (unless (org-at-heading-p) (org-show-set-visibility 'minimal))) Re

Re: [O] Macros or properties in source blocks

2015-08-12 Thread Nicolas Goaziou
Hello, Sebastien Vauban writes: > Though, I don't understand either why your example did not work, as -- > during the export process -- macros are supposed to be expanded before > Babel code be evaluated. > > There must be some restriction, then, on which part of a document > a macro can resid

Re: [O] Help with export filter?

2015-08-12 Thread Samuel Loury
Hi all, Rasmus writes: > Hi Tom, > > t...@tsdye.com (Thomas S. Dye) writes: > >> Aloha all, >> >> Inspired by discussions and code on the mailing list, I managed to >> cobble together the headline filter below. It "works" in that the >> pdf output from LaTeX export is exactly what I want. I'm t

Re: [O] [OFF TOPIC] almost giving up on emacs email..looking for advice?

2015-08-12 Thread Eric Abrahamsen
Rasmus writes: > Eric Abrahamsen writes: > >> It's not trivial when you live in China :) >> >> I can make it work, between alternate IP addresses and ssh tunnels, but >> it involves a lot of cursing and grinding my teeth. In a hostile network >> environment any client will face the same problems

Re: [O] Stable releases

2015-08-12 Thread Nicolas Goaziou
Hello, Scott Randby writes: > When I started using 8.3, I discovered that the behavior of commented > headlines had been changed---a change with which I disagree, a change > I could not find in the release notes, and one which forces me to > alter a huge number of files. It seems I missed the di

Re: [O] Block level specification for tex code html export method

2015-08-12 Thread Andreas Leha
Hi Haochen, Sorry for not being clearer. There is no imagemagick involved in the svg generation if everything is setup correctly. Instead the command defined in org-babel-latex-htlatex is used. My test file sets this to to "htlatex" from tex4th [1]. At the time of the thread I linked to there

Re: [O] [gnorb] completion for `gnorb-gnus-incoming-do-todo'

2015-08-12 Thread Eric Abrahamsen
Thomas Holst writes: > Hello, > > thanks for the gnorb package! I started using it and I like it a lot! > > When I call `gnorb-gnus-incoming-do-todo' from gnus I'm prompted for a > headline. But completion is not working. Neither nor M-j does > anything. > > How can I get completion working? Com

Re: [O] Help with export filter?

2015-08-12 Thread Nicolas Goaziou
Hello Samuel Loury writes: > This I just the feature I need today. Thank you for sharing. Do you know > what is missing to add the feature to org-mode instead of adding in each > user's .emacs file? This function apparently includes many features. Which one are you talking about? The :ignorehe

Re: [O] Help with export filter?

2015-08-12 Thread Samuel Loury
Dear Nicolas, Thank you for the prompt reply. Nicolas Goaziou writes: > Samuel Loury writes: > >> This I just the feature I need today. Thank you for sharing. Do you know >> what is missing to add the feature to org-mode instead of adding in each >> user's .emacs file? > > This function apparen

Re: [O] Stable releases

2015-08-12 Thread Peter Salazar
Here here. I agree that the new clarified COMMENT vs. :noexport: functionality makes more sense. And thanks to Nicolas and everyone else for their amazing work. On Wed, Aug 12, 2015 at 9:39 AM, Nicolas Goaziou wrote: > Hello, > > Scott Randby writes: > > > When I started using 8.3, I discovered

Re: [O] Help with export filter?

2015-08-12 Thread Nicolas Goaziou
Samuel Loury writes: > I find the solution with the code of Thomas S. Dye very elegant: > * My heading > Some content with images. > * My other heading, totally cleared :clearpage: > some other content > > I hope I clarified the use and the what for. AFAICT, this is a very specif

Re: [O] couple questions about simple todo

2015-08-12 Thread Peter Salazar
This is great! It should be in the tutorial or something. I'm printing it out to keep. On Wed, Aug 12, 2015 at 12:45 AM, Eric Abrahamsen wrote: > scraw...@gmail.com writes: > > > On Wed, Aug 12, 2015 at 10:27:29AM +0800, Eric Abrahamsen wrote: > >> > >> My take on what you've shown here is that

[O] Emacs/Org-mode at CCC Camp 15

2015-08-12 Thread Karl Voit
Hi! I'm attending the CCC Camp in Mildenberg the following days: https://events.ccc.de/camp/2015/wiki/Main_Page Are there any Orgmoders as well? -- mail|git|SVN|photos|postings|SMS|phonecalls|RSS|CSV|XML to Org-mode: > get Memacs from https://github.com/novoid/Memacs < https://github.co

Re: [O] Help with export filter?

2015-08-12 Thread Samuel Loury
Nicolas Goaziou writes: > Samuel Loury writes: > >> I find the solution with the code of Thomas S. Dye very elegant: >> * My heading >> Some content with images. >> * My other heading, totally cleared :clearpage: >> some other content >> >> I hope I clarified the use and the what

[O] named python session

2015-08-12 Thread Andreas Leha
Hi python users, I have a simple question to all python users. I have a source block with a named python session, e.g. #+begin_src python :results output :session mypy x = 1 print x #+end_src Now I - execute that source block and then I - edit that block in its own buffer via C-c '. My

Re: [O] switch M-RET and C-RET in org mode with no sucess

2015-08-12 Thread Xebar Saram
Thx Peter that did the trick, never know when to use RET or return :) z On Wed, Aug 12, 2015 at 6:22 AM, Peter Salazar wrote: > Maybe try using instead of RET? Something like this: > > (define-key org-mode-map (kbd "") 'org-insert-heading) > > > On Tue, Aug 11, 2015 at 1:45 PM, Xebar Saram w

Re: [O] Stable releases

2015-08-12 Thread Scott Randby
On 08/12/2015 09:39 AM, Nicolas Goaziou wrote: Hello, Scott Randby writes: When I started using 8.3, I discovered that the behavior of commented headlines had been changed---a change with which I disagree, a change I could not find in the release notes, and one which forces me to alter a huge

Re: [O] Stable releases

2015-08-12 Thread Scott Randby
On 08/11/2015 04:56 PM, Rasmus wrote: Hi, The definition of a major release is in README_maintainer: Main releases are made whenever Org is in a state where the feature set is consistent and we feel that the features that are implemented is something we want to support in the fut

[O] 20150810 broke Android mobileorg synchronization?

2015-08-12 Thread Bingo UV
Hi, Ever since I upgraded to 20150810 from orgmode elpa, mobileorg synchronization with Android phone has stopped working[1]. Earlier org version was from around 13 July. From my older mobileorg pushed files, I see two important differences: 1. index.org with 20150810 contains extr

Re: [O] named python session

2015-08-12 Thread Ken Mankoff
Hi Andreas, On 2015-08-12 at 08:06, Andreas Leha wrote: > How do I associate that with the python process in *mypy*? > I am asked to start python when I run python-shell-send-region. I have set up my system so that Org asks for a buffer name every time =org-edit-special= is called. This may be

Re: [O] org-block-background in 8.3.1?

2015-08-12 Thread Kyle Meyer
Sebastien Vauban writes: > Kyle Meyer writes: >> org-block-background was removed in f8b42e8 ("Don't use an overlay for >> src blocks backgrounds", 2014-07-28) for performance reasons. > > IIRC, we never saw a profiler report showing that it slowed down buffer > fontification in a visible way. Cor

Re: [O] fa5fd6351605912ec75e783cb62649 breaks org-babel-script-escape for ob-ruby

2015-08-12 Thread Kyle Meyer
Matthew MacLean writes: > Alright, done. Is this acceptable? (Provided that tests don't count towards > line count, of course) Thanks. A few minor comments on the commit message. > Subject: [PATCH] ob-ruby: Fix double-escaping > > * lisp/ob-ruby.el: Remove second call to > `org-babel-ruby-ta

Re: [O] Stable releases

2015-08-12 Thread Achim Gratz
Scott Randby writes: > While I've used Org's development version in the past, I stopped doing > that due to my failure to learn how to use git (no time) and other > issues. Now, I only use the stable releases. But the latest 8.3 > release doesn't seem so stable to me, so I'd like some clarification

Re: [O] Stable releases

2015-08-12 Thread Scott Randby
On 08/12/2015 01:37 PM, Achim Gratz wrote: Scott Randby writes: While I've used Org's development version in the past, I stopped doing that due to my failure to learn how to use git (no time) and other issues. Now, I only use the stable releases. But the latest 8.3 release doesn't seem so stable

Re: [O] fa5fd6351605912ec75e783cb62649 breaks org-babel-script-escape for ob-ruby

2015-08-12 Thread Matthew MacLean
In that case... Here is another patch with your suggestions. Thanks for taking the time to point out all that..! I'll be sure to keep it all in mind if I submit something else later. On Wed, Aug 12, 2015 at 11:21 AM, Kyle Meyer wrote: > Matthew MacLean writes: > > > Alright, done. Is this acce

Re: [O] switch M-RET and C-RET in org mode with no sucess

2015-08-12 Thread Peter Salazar
Glad to be of help! On Wed, Aug 12, 2015 at 11:33 AM, Xebar Saram wrote: > Thx Peter > > that did the trick, never know when to use RET or return :) > > z > > On Wed, Aug 12, 2015 at 6:22 AM, Peter Salazar > wrote: > >> Maybe try using instead of RET? Something like this: >> >> (define-key org

[O] [PATCH] `org-return' in 8.3 no longer follows links in headings

2015-08-12 Thread Alexey Lebedeff
Hi all, After switching to 8.3 I discovered that `org-return' no longer follows links in headings, even if `org-return-follows-link' is non-nil. Instead it started inserting newlines in the middle of link. This change of behavior was introduced by a7e62499f2fe5c313567212ee90ff743c5e734a8 In the a

Re: [O] org-bbdb-birthday reminder

2015-08-12 Thread Matt Lundin
Julien Cubizolles writes: > I'm using org-bbdb-anniversaries to use the bbdb-anniversaries. At the > moment, it only displays the birthdays of the day. How can I generate a > reminder for a few days before the actual birthday ? This is not possible at the moment with bbdb-anniversaries. For ad

[O] How would you export one headline every time that you tangle the file?

2015-08-12 Thread Grant Rettke
Good afternoon, I've got an org file. It has a bunch of headlines. There is on headline names README. I want to do something every time I tangle the file. I want to: - Go to that headline - Select set the region to the contents of that headline (org-mark-subtree) - Export the contents using the

Re: [O] using holiday dates from an ICAL calendar

2015-08-12 Thread Matt Lundin
Julien Cubizolles writes: > I need to define weekly appointments, except during the school > holidays. I know org-class provides a way to exclude some weeks from > recurring events but I was wondering if some clever use of sexp would > make it possible to use the weeks/days of holiday from a publ

[O] outorg issue

2015-08-12 Thread Andreas Leha
Hi all, For quite some time now, I have to disable outshine/outorg [1] as it does give me "Before first heading" (complete backtrace [2]) whenever I open an org file followed by more issues actually using org mode. I can even reproduce this with emacs -Q and a minimal configuration [3]. My syste

Re: [O] show number of sub headers in top level header (alternative to statistics cookie?)

2015-08-12 Thread Matt Lundin
Xebar Saram writes: > I was wondering if there was an option in org to show number of sub > headers in top level header. i know there is statistics cookies but > that's not automatic? There are a few ways one could use statistic cookies to make this more "automatic." The first is to set: (setq

Re: [O] Help with export filter?

2015-08-12 Thread Rasmus
Samuel Loury writes: > Dear Nicolas, > > Thank you for the prompt reply. > Nicolas Goaziou writes: > >> Samuel Loury writes: >> >>> This I just the feature I need today. Thank you for sharing. Do you know >>> what is missing to add the feature to org-mode instead of adding in each >>> user's .e

Re: [O] [OFF TOPIC] almost giving up on emacs email..looking for advice?

2015-08-12 Thread Rasmus
Hi, Eric Abrahamsen writes: > Rasmus writes: > >> Eric Abrahamsen writes: >> >>> It's not trivial when you live in China :) >>> >>> I can make it work, between alternate IP addresses and ssh tunnels, but >>> it involves a lot of cursing and grinding my teeth. In a hostile network >>> environme

Re: [O] Stable releases

2015-08-12 Thread Rasmus
Scott Randby writes: > I don't understand what is wrong with keeping > org-latex-with-hyperref. It is easy enough for me to set the variable > locally for old files while I can use the default \hypersetup{...} for > new files. Making org-latex-hyperref-template an empty string means I > cannot us

[O] :PROPERTIES: right after ?

2015-08-12 Thread Boyan Penkov
Hey folks, Is is the case that, syntactically, the :PROPERTIES: drawer must be immediately after the :SCHEDULED: line? Here’s the example; after the org-20150810 update TODO Water the plants. SCHEDULED: <2015-08-13 Thu .+1d/2d> :PROPERTIES: :STYLE: habit :LAST_REPEAT: [2015-08-12 We

Re: [O] :PROPERTIES: right after ?

2015-08-12 Thread Kyle Meyer
Hello, Boyan Penkov writes: > Hey folks, > > Is is the case that, syntactically, the :PROPERTIES: drawer must be > immediately after the :SCHEDULED: line? Yes, as of version 8.3: http://orgmode.org/Changes.html This includes a function you can use to fix up your files. -- Kyle

Re: [O] [PATCH] `org-return' in 8.3 no longer follows links in headings

2015-08-12 Thread Nicolas Goaziou
Hello, Alexey Lebedeff writes: > After switching to 8.3 I discovered that `org-return' no longer follows > links in headings, even if `org-return-follows-link' is non-nil. Instead it > started inserting newlines in the middle of link. This change of behavior > was introduced by a7e62499f2fe5c313

Re: [O] couple questions about simple todo

2015-08-12 Thread scrawler
On Wed, Aug 12, 2015 at 12:45:23PM +0800, Eric Abrahamsen wrote: > scraw...@gmail.com writes: > > > So I can avoid looking at all that? > > Sure, in principle you don't need that stuff at all! It depends on what > you're using Org for, but if you're really trying to start simple and > build up, t

[O] OrgTbl mode not working

2015-08-12 Thread Benjamin Slade
Since some recent update of either orgmode or AUCTeX, OrgTbl-mode is no longer working for me. The OrgTbl menu appears, and allows me to insert tables, but it does not treat inserted tables as actual orgmode tables, but just as regular characters (i.e. I can't edit them as tables, or "compile" the

Re: [O] How would you export one headline every time that you tangle the file?

2015-08-12 Thread Charles C. Berry
On Wed, 12 Aug 2015, Grant Rettke wrote: Good afternoon, I've got an org file. It has a bunch of headlines. There is on headline names README. I want to do something every time I tangle the file. I want to: - Go to that headline - Select set the region to the contents of that headline (org-ma

Re: [O] org-bbdb-birthday reminder

2015-08-12 Thread Nick Dokos
Matt Lundin writes: > Julien Cubizolles writes: > >> I'm using org-bbdb-anniversaries to use the bbdb-anniversaries. At the >> moment, it only displays the birthdays of the day. How can I generate a >> reminder for a few days before the actual birthday ? > > This is not possible at the moment wi

Re: [O] couple questions about simple todo

2015-08-12 Thread Eric Abrahamsen
scraw...@gmail.com writes: > On Wed, Aug 12, 2015 at 12:45:23PM +0800, Eric Abrahamsen wrote: >> scraw...@gmail.com writes: >> >> > So I can avoid looking at all that? >> >> Sure, in principle you don't need that stuff at all! It depends on what >> you're using Org for, but if you're really tryi

Re: [O] [OFF TOPIC] almost giving up on emacs email..looking for advice?

2015-08-12 Thread Eric Abrahamsen
Rasmus writes: > Hi, > > Eric Abrahamsen writes: > >> Rasmus writes: >> >>> Eric Abrahamsen writes: >>> It's not trivial when you live in China :) I can make it work, between alternate IP addresses and ssh tunnels, but it involves a lot of cursing and grinding my teeth. In

Re: [O] Exporting calender to ical

2015-08-12 Thread Matt Lundin
Benny Simonsen writes: > ** <2015-08-11 12:00> Simple event, default duration > :PROPERTIES: > :ID: 71def5c6-2f7e-4560-88d9-f13187bfd9f8 > :END: How did you produce these timestamps? Org-mode always includes a day of week when it generates a timestamp. E.g., if I adjust the timestamp with shift-

[O] todo autochange to done

2015-08-12 Thread scrawler
Hey guys, In the manual, section 5.5, there is a function shown that would allow a "TODO entry to automatically change to DONE when all children are done". Here it is: ;> (defun org-summary-todo (n-done n-not-done) "Switch entry to DONE when all subentries are done, to TODO otherwise." (l

Re: [O] fa5fd6351605912ec75e783cb62649 breaks org-babel-script-escape for ob-ruby

2015-08-12 Thread Kyle Meyer
Matthew MacLean writes: > In that case... Here is another patch with your suggestions. I've pushed this (stripping out the test). Thank you for the fix. -- Kyle

Re: [O] fa5fd6351605912ec75e783cb62649 breaks org-babel-script-escape for ob-ruby

2015-08-12 Thread Matthew MacLean
Gnarly--and thank you for the help! On Wed, Aug 12, 2015 at 9:41 PM, Kyle Meyer wrote: > Matthew MacLean writes: > > > In that case... Here is another patch with your suggestions. > > I've pushed this (stripping out the test). Thank you for the fix. > > -- > Kyle >

[O] [PATCH] Re: helm-mode-org-set-tags adding additional tags

2015-08-12 Thread Matt Lundin
"Stephen J. Barr" writes: > I am using org-mode 8.2.10 with helm. When I am adding tags to a > headline, the first tag offers me completions of all possible tags in > the file. However, if I go back later and add additional tags, I am > not offered completion. How can I fix this? I can confirm t

Re: [O] tags completion in a narrowed buffer

2015-08-12 Thread Matt Lundin
"Stephen J. Barr" writes: > Greetings, > > In my workflow I frequently narrow buffers. Within a narrowed buffer, > I would like to add additional headlines with tag completion. However, > the menu of tags offered for completion are only the tags in the > narrowed buffer. Is it possible for me to

Re: [O] todo autochange to done

2015-08-12 Thread Matt Lundin
scraw...@gmail.com writes: > In the manual, section 5.5, there is a function shown that would allow > a "TODO entry to automatically change to DONE when all children are > done". Here it is: > > ;> > > (defun org-summary-todo (n-done n-not-done) > "Switch entry to DONE when all subentries are

Re: [O] Exporting calender to ical

2015-08-12 Thread Benny Simonsen
2015-08-13 4:45 GMT+02:00 Matt Lundin : > Benny Simonsen writes: > > > ** <2015-08-11 12:00> Simple event, default duration > > :PROPERTIES: > > :ID: 71def5c6-2f7e-4560-88d9-f13187bfd9f8 > > :END: > > How did you produce these timestamps? I have made the timestamp by hand and I propably found t

Re: [O] [ANN] org-link-edit.el --- Slurp and barf with Org links

2015-08-12 Thread Kyle Meyer
Bastien Guerry writes: > Nicolas Goaziou writes: > >> Wasn't it a goal to slowly move away from contrib/ and use either ELPA >> or core instead? > > Yes, it is still a goal -- but we don't know when this will happen so > in the meantime, adding a package to contrib/ is okay. OK, I've added it t

Re: [O] org-bbdb-birthday reminder

2015-08-12 Thread Julien Cubizolles
Matt Lundin writes: > This is not possible at the moment with bbdb-anniversaries. I thought someone would have felt the need to have this list of upcoming birthdays. I'm guess not so many of you always end up rushing to buy presents in the last days the way I dO. > For advanced reminders of b