Martin Kaffanke | 7 Oct 11:04 2015

Inserting to agenda

Hi there,

I do:

C-c a a RET
k a
Insert my entry later with C-c C-c or C-c C-w [refiling options]....

but then the agenda is not updated.

I can update it by pressing 'r'.  But this reloads everything.  After
the capture the agenda could know the one entry I just created and just
insert that entry to the agenda.  That would be the suggested behaviour
of users I think.  Can we do that?


Martin Kaffanke | 7 Oct 10:56 2015

org google calender different files

Hi there,

I store all my appointments in different files I work as psychologist
and have one file per familiy I work with.  So there are all
appointments where I make the documentation later too.

Normally I collect the appointments in an "Inbox" in my file
where later I refile them to the clients.

Now I would like to use my phones calender (having android 5.0.2) to
collect the appointments for later use in my org files.  Is that
possible to have a two way sync for that with the different file
structure.  As far as I see the org-gcal is for one file for one google
calender, but I have one google calender and the appointments splittet
in several fiels.

Has anyone done that till now or do i have to go new way?


kuangdash | 6 Oct 22:54 2015

Suggestion about org-babel: executing source block asynchronously

Sometime I will run source block (such as python) which take a long time before I  get the final result.


Then I thought about whether or not the source block can be executed asynchronously, and the answer is ‘YES’.


But it seems to be difficult for me to hack the code, so I just talk about the process of it:


1)      When execute source block, cover it up with the “executing” overlay.

2)      When get the final result, get the “executing” overlay position.

3)      Add the result below the “executing” overlay position, and then remove the overly.


It can be done!  How about it?



tenspd137 . | 6 Oct 21:35 2015

Multiple capture templates in file

Hi all,

I am trying to figure out how to store multiple capture templates in a
file, have several files of related templates, and then load all the
files stored in a directory.  For example, lets say I have two
projects at work WorkProject1 and WorkProject2.  Then I have two files
in a directory org-templates called WorkProj1Templates.el and
WorkTemplates2.el.  How can I append the templates in these files to
or capture templates?  In my main .emacs, I have:

(setq org-capture-templates
      '(("t" "Todo" entry (file+headline (concat org-directory
"/") "Tasks")
         "* TODO %?")
        ("j" "Journal" entry (file+datetree (concat org-directory
         "* %?\nEntered on %U\n")))

I would like to then load the template files in org-templates.  That
way, when a project ends, I can just yank the templates.  I have
experimentally tried using add-to-list with org-capture-templates
without success.  Either that can't be done or my syntax was wrong?

Does anyone have any ideas?

Another idea is that I could just have templates that take a
parameter.  I have found how to do this out on the web.

Any suggestions on which would be easier?



Lawrence Bottorff | 6 Oct 05:43 2015

babel srcname? Calling Library of Babel code?

Not really getting how to call code "meta-style" from other points -- in my file, in other files, in my "library of babel" file? I've tracked down bits and pieces here and there, but I'm missing the big picture.

For example, this:

#+srcname: python2_env
#+begin_src emacs-lisp
  (setq org-babel-python-command "python")
  (set-face-background 'modeline "#4477aa")

#+srcname: python3_env
#+begin_src emacs-lisp
  (setq org-babel-python-command "python3")
  (set-face-background 'modeline "#771944")

Why is #+srcname being used and not just #+name? I assume these blocks will be called later? I'm also assuming that #+call plays a role, but this page has no examples and confused me.

This example again uses #+srcname:

. . .
* Opening
> #+srcname: opening
> #+begin_src org
> Dear Org mode users,
> #+end_src
. . .
* Closing
> #+srcname: closing
> #+begin_src org
>   Yours Truly
> #+end_src
. . .
and then

. . .
>     to = {%
>           <<to>>},
. . .
>     opening = {<<opening>>},
>     closing = {<<closing>>}
> }

I'm guessing the opening and closing are being called. But again, why srcname and not just name? And what if my blocks had been defined somewhere outside of this file?

Puneeth Chaganti | 6 Oct 04:40 2015

Website down? <EOM>

stardiviner | 5 Oct 16:54 2015

Org-mode Babel does not show syntax highlight when open with another mode

I try to configure Org-mode to open ruby source code block with `enh-ruby-mode`.

configuration as following:

#+BEGIN_SRC emacs-lisp
(with-eval-after-load 'enh-ruby-mode
  (add-to-list 'org-src-lang-modes '("ruby" . enh-ruby)))

This will open code block in `enh-ruby-mode` when you edit with [C-c '].

You can see the syntax highlighting failed result screenshot at here:

I hope to keep the syntax highlight, (If can use enh-ruby-mode syntax highlight
will be better).

Brian Beckman | 5 Oct 07:12 2015

Bug? Improper interaction with python variable _ ?

Please see the gist below for a self-explaining example
copied here for convenience.  Emacs 24.5.1 with org-mode
8 something (not sure how to get it to report its exact
version)... a very late version, I am sure.  Verified with
no init.el, that is, with emacs -Q

#+TITLE: Org-Babel Bug? #+AUTHOR: Brian Beckman #+EMAIL: bc.beckman <at> #+BEGIN_SRC emacs-lisp :exports results :results none (setq org-confirm-babel-evaluate nil) (org-babel-map-src-blocks nil (org-babel-remove-result)) #+end_src * Mystery Number 1 The first line of the first block must be blank, or we must =C-c C-c= the block two times. But we want to eval the entire file /via/ =C-c C-v C-b=, and we found that the first line must be empty. If you =C-c C-v C-b= this entire file, the python session buffer, named =*bug-org-babel*=, contains an error message that suggests the variable =_= is implicated in an error. We expect the value of this first block to be 999. Make sure that the python session is clear by typing =quit()=, then evaluate this entire file by =C-c C-v C-b=. #+NAME: probe #+BEGIN_SRC python :session bug-org-babel :exports both :results value 999 #+END_SRC #+RESULTS: probe : 999 * Mystery Number 2 Now, we set the value of the variable =_= to something arbitray. In a real scenario, this variable may be set casually in a loop or some other context. The variable =_= is often recommended for /ad-hoc/ use, as in "don't care." #+NAME: second-probe #+BEGIN_SRC python :session bug-org-babel :exports both :results value _ = 42 _ #+END_SRC #+RESULTS: second-probe : 42 But now, all blocks with =:results value= return the value of =_=. We broke org-babel! #+NAME: third-probe #+BEGIN_SRC python :session bug-org-babel :exports both :results value 999 #+END_SRC #+RESULTS: third-probe : 42
Rainer M Krug | 5 Oct 15:51 2015

To compile or not compile - that is the question


I compiled org before, but would now prefer to use it uncompiled
(different emacs versions, debugging).

What are the speed implications of
not compiling orgmode? I am using tangling a lot - would not be
compiling a recognizable slowdown?




Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Stellenbosch University
South Africa

Tel :       +33 - (0)9 53 10 27 44
Cell:       +33 - (0)6 85 62 59 98
Fax :       +33 - (0)9 58 10 27 44

Fax (D):    +49 - (0)3 21 21 25 22 44

email:      Rainer <at>

Skype:      RMkrug

PGP: 0x0F52F982
Alan Schmitt | 5 Oct 08:46 2015

how can I use a fixed-pitch face for source blocks?


I use a variable-pitch face for my org-mode buffers, with the exception
of some elements (table, dates, verbatim, …). I would like to include
source blocks as well, but since org-block-background has been removed,
there does not seem to be a way to disable variable-pitch in source
blocks. I found some discussion about this back in August
and I was wondering if there had been any progress on this front.




OpenPGP Key ID : 040D0A3B4ED2E5C7
Athmospheric CO₂ (Updated September 27, 2015, Mauna Loa Obs.): 397.33 ppm
Xebar Saram | 5 Oct 08:46 2015

anyone syncing orgmode calendar with google cal, and if so how?

Hi all

i was wondering if anyone was syncing orgmode calendar with google cal, and if so how? i tried this

which gave errors all the time and thus stopped being usable

im looking for a robust solution. any ideas?