5 Dec 2013 16:29

### FYI Emacs-24.4 survey


http://www.emacswiki.org/emacs/FrequentlyEnabledPackages_Emacs244_Survey


5 Dec 2013 14:31

### Export all radio tables off a document

Hi all,

this is my first post to this list, so please be patient with me

I have many radio tables in my document with this structure:

\begin{comment}
#+TBLNAME: sec-10
#+ORGTBL: SEND sec-10 orgtbl-to-latex :skip 3 :splice t
|--------------------+---------------+---------------|
| Anschaffungskosten | Nutzungsdauer | AfA in €/Std. |
|--------------------+---------------+---------------|
|             720000 |         36000 |            20 |
|--------------------+---------------+---------------|
\end{comment}

A C-c C-c exports the table to Latex like this:

\begin{tabular}{lll}

% BEGIN RECEIVE ORGTBL sec-10
720000 & 36000 & 20\\
% END RECEIVE ORGTBL sec-10

\end{tabular}

It would be very nice to automatically export *all* tables of the
document to their corresponding latex tables in the same document. I
found a function that does this for calculations in org-tables:



5 Dec 2013 14:17

### org-babel-next-src-block respecting #+call lines

Hi all,

how could I make org-babel-next-src-block (bound to 'C-c C-v n' by
default) jump to the next src block or #+call line?

In its current form it skips over call lines.

Many thanks in advance,
Andreas


5 Dec 2013 11:33

### Can't write accents in R graphics

#+TITLE:     ECM Process Coding System
#+PROPERTY:  eval yes
#+PROPERTY:  exports both
#+PROPERTY:  cache no

* Problem

I can't write accents in graphic titles (nor legends).

* Settings

After Googling (a lot), I always come back to the same set of solutions:

- Adding the following in my ~.emacs~ file:

#+begin_src emacs-lisp
(setq process-coding-system-alist '(("R.*" . utf-8-unix)))
#+end_src

#+begin_src emacs-lisp
(lambda () (set-buffer-process-coding-system
'utf-8-unix 'utf-8-unix)))
#+end_src

- Setting the process coding system in the =*R*= buffer:

#+begin_src emacs-lisp
M-x set-buffer-process-coding-system RET utf-8-unix RET utf-8-unix RET
#+end_src


5 Dec 2013 10:58

### #+PROPERTY: for babel header args worked... then it didn't

Wee bit of frustration with Babel just now.

Some weeks ago, I wrote a Beamer presentation with LilyPond source code
blocks. I needed to add a little code to each example to suppress the
"tagline" from each results file. In that presentation, setting the
:prologue header argument in a #+PROPERTY line worked perfectly:

Now I'm working on a short article-class document, and I included the same
#+PROPERTY at the top, and... no effect. But... *the lines are identical*.
??

":prologue \header{tagline=##f}" does take effect if I include it in every
#+begin_src line. That's an acceptable workaround for this file, since
there won't be many examples.

But it bothers me when I figure something out, and then I try to do it
again, and it doesn't work. It's like 1 + 1 = 2 in one place, and 1 + 1 = 0
in another.

Why would "#+PROPERTY" work in one file and be ignored in the other?

hjh

Header of the working file:
~~
#+BIND: org-latex-listings-options (("basicstyle" "\\ttfamily\\scriptsize")
("captionpos" "b") ("tabsize" "3"))



5 Dec 2013 09:56

### how to prevent html export from including the default javascript?


Hello

I have trouble finding the correct explanation in ox-html.el.gz and
searching on the web. I'm trying to tell the html exporter *not* to
include the "<!--/*--><![CDATA[/*><!--*/ ..." javascript

I'm trying to use the #+OPTIONS: to define this for a given foo.org
file.

I've tried, in vain, each of the below settings:

org-html-style-include-scripts:nil

but each time I ask org-mode to export to html, the resulting foo.html
file contains that javascript...


5 Dec 2013 03:00

### probable caching bug?

While editing a plain list yesterday I noticed what I guess was a bug in
the caching mechanism.

The list item was wrapped to several lines, and I noticed that calling
C-e while on the last line gave me "wrong-type-argument
integer-or-marker-p nil". Trying to fill the item with M-q gave me
"user-error: An element cannot be parsed line 635".

I found that adding another item with M-RET allowed me to go back up to
the previous item and fill it successfully. Later on, though, the same
error cropped up with other items, and I wasn't always able to bang it
back into shape. I was right in the middle of something and didn't have
time for extensive debugging, but here's the text I was on, and the
traceback for the wrong type argument below that:

****** Selected Quotes

- Illness is a subtle negotiation [微调] between life and death. Like
a never-ending course in philosophy, it has taught me some of the
meaning of life, and of death.
- One can only save the drowning when oneself is on the shore.
- Night was falling. Carrying his large leather suitcase, Zhuang
Zhidie arrived alone at the train station. After queuing for his ticket, <--- line 365

Debugger entered--Lisp error: (wrong-type-argument integer-or-marker-p nil)
org-element-item-parser(27819 ((27512 0 "- " nil nil nil 27681) (27681 0 "- " nil nil nil 27744) (27744 0 "- "
nil nil nil 27819)) t)
org-element--current-element(27819 element item ((27512 0 "- " nil nil nil 27681) (27681 0 "- " nil nil nil
27744) (27744 0 "- " nil nil nil 27819)))
byte-code("BYTE CODE HERE" [element special-flag type pos org-element-use-cache org-element--cache


4 Dec 2013 23:09

### Emacs hangs on clicking on org-protocol bookmarklet

Use of the org-protocol-store-link bookmarklet [1] sometimes makes
Emacs hang (as in Emacs not responding to input), but not always.

It seems to be caused by accumulation of emacsclient processes. Each
click of the bookmarklet creates a new emacsclient process which
stays, and the number of these processes increases. Workaround for now
is for the user to periodically and manually type M-x server-start RET
(which restarts server and kills clients).

This happens on MS Windows 7.

[1] from http://orgmode.org/worg/org-contrib/org-protocol.html


4 Dec 2013 22:56

### Set org-file-apps to open a *.doc file under linux with Word ?

Hi!

I'm using orgmode as a replacement for folders, you know, real folders, lots
of paper inside.

In my orgfiles I link to many other files, mostly *.tex and *.pdf, links look
like

Sometimes I can't avoid to link to doc  or docx files. So I need my linux pc to
start word and load a certain file.

I'd like to link to *.doc files in the same way:

But how can I set org-file-apps to open a *.doc file with MS Word under Linux?
Word works, more or less.

To start word the command is:

env WINEPREFIX="/home/AW/.wine-office" wine "C:\windows\command\start.exe" /Unix
Office/Microsoft Word 2010.lnk"

But how in the world can I put in my .emacs file? I tried:

'("\\.doc" . "\"env WINEPREFIX="/home/AW/.wine-office" wine


4 Dec 2013 20:30

### org-html-publish-to-html: embed HTML in first line of export

Hi,

I use a Org/Jekyll setup: http://orgmode.org/worg/org-tutorials/org-jekyll.html

As described in the tutorial, each Org file must start with the following lines:

#+BEGIN_HTML
---
layout: default
title: Org Test
excerpt: Excerpt from Org
---
#+END_HTML

because Jekyll needs the meta information on top of a HTML file for
processing the pages.

As of the release of Org 8.0 (with the new export framework) the order
of the table of contents and the HTML environment (i inserted on top
of the Org file) has changed. With the new exporter I get this:

<div id="table-of-contents">
<div id="text-table-of-contents">
<ul>
<li><a href="#sec-1">1. Section</a></li>
</ul>
</div>
</div>
---


4 Dec 2013 17:21

### Language format of clock/date entries

Hi,

I have to switch languages in my wiodows 7 system from time to time.
After switching my clock entries also switch format.
How can I force emacs/orgmode to stick with the german clock/Date format like for example:
[2013-12-02 Mo]
[2013-12-03 Di]
[2013-12-04 Mi]
[2013-12-05 Do]
[2013-12-06 Fr]
..

Thanks,
Rainer



Gmane