[O] org-todo-keywords-1 detection in asyn export

2014-04-01 Thread zwz
Before I adopt asyn export, I config in an org file #+TODO: XeTeX to locally set xelatex for org-latex-pdf-process by: (if (member XeTeX org-todo-keywords-1) (setq org-latex-default-packages-alist (remove '(AUTO inputenc t)

[O] Can ELPA package split contrib part?

2014-04-01 Thread Satoru KURASHIKI
hi, While I use org-plus-contrib package from orgmode ELPA, With other package which requires (updated) org, it isn't recognized as I expect. So, I'm glad if orgmode ELPA provides: - org - org-contrib (requires org) regards, -- KURASHIKI Satoru

[O] Get counting of items

2014-04-01 Thread Martin Gross
Dear helpers, I would like to get a counting of the first level items in a buffer (or even better in a region). Since I‘m not a programmer I tried this, which doesn‘t work: (defun org-items-counting () Print a message with the counting of the first level outline items in the current buffer

Re: [O] Get counting of items

2014-04-01 Thread Thorsten Jolitz
Martin Gross m-gr...@gmx.net writes: Dear helpers, I would like to get a counting of the first level items in a buffer (or even better in a region). Since I‘m not a programmer I tried this, which doesn‘t work: (defun org-items-counting () Print a message with the counting of the first

Re: [O] New headline after no content (empty headline)

2014-04-01 Thread Brady Trainor
On 3/30/2014 10:55 PM, Bastien wrote: Hi Brady, Brady Trainor algeb...@uw.edu writes: For `org-insert-heading' (M-RET), I wanted the following action on empty headlines: * |-- * \n* , rather than *\n* . I'm not sure I understand this, can you make it more explicit? Thanks! I mean

[O] Controlling example block export?

2014-04-01 Thread Heikki Lehvaslaiho
I am using example blocks as inline notes where I paste snippets of (pre-formatted) text. I'd like to be able to control the exporting of those block individually (per document would also be useful). I do not seem to be able to find documentation about anything along those lines. Here is a

[O] Possible regexp bug in org.el

2014-04-01 Thread Thorsten Jolitz
Hi List, here is a possible regexp bug in org.el I discovered by accident: ,- | 7734: (and (not (looking-back ^\*+)) `- #+begin_src emacs-lisp (and (not (looking-back ^\*+)) ; missing backslash?

Re: [O] Controlling example block export?

2014-04-01 Thread Thorsten Jolitz
Heikki Lehvaslaiho heikki.lehvasla...@gmail.com writes: I am using example blocks as inline notes where I paste snippets of (pre-formatted) text. I'd like to be able to control the exporting of those block individually (per document would also be useful). I do not seem to be able to find

Re: [O] Possible regexp bug in org.el

2014-04-01 Thread Nicolas Richard
Thorsten Jolitz tjol...@gmail.com writes: here is a possible regexp bug in org.el I discovered by accident: ,- | 7734: (and (not (looking-back ^\*+)) `- It's almost certainly a typo, but it

Re: [O] Controlling example block export?

2014-04-01 Thread Heikki Lehvaslaiho
Thanks, Torsten. Very illuminating. The org-syntax.html says of blocks: #+BEGIN_NAME PARAMETERS CONTENTS #+END_NAME NAME can contain any non-whitespace character. PARAMETERS can contain any character other than new line, and can be omitted. If NAME is CENTER, it will be a center block. If it

[O] problem with call lines with post block that are not exported (elpa org)

2014-04-01 Thread Alan Schmitt
Hello, I'm writing a paper with some colleagues for a conference, and we've just stumbled on a strange bug. My colleague is using org from elpa, and is having the problem, whereas I'm compiling using a very current org version and everything works for me. The problem is as follows. Given this

[O] org-dblock-write:myownfunc does not split my window?

2014-04-01 Thread Martin
Hi there: Using a minimal example: Creating an org file with somewhere: #+BEGIN: myownfunc #+END And using scratch (or this email) with (defun org-dblock-write:myownfunc (params) (interactive) (split-window nil -15) (insert window should be splitted)) This just inserts the text window

Re: [O] Controlling example block export?

2014-04-01 Thread Thorsten Jolitz
Heikki Lehvaslaiho heikki.lehvasla...@gmail.com writes: Unless someone beats me to it, I'll write it one day. :) What about: #+begin_src emacs-lisp (defun tj/toggle-example-and-comment-blocks () Toggle example and comment blocks in current buffer. (interactive) (org-block-map

Re: [O] Controlling example block export?

2014-04-01 Thread Thorsten Jolitz
Thorsten Jolitz tjol...@gmail.com writes: Heikki Lehvaslaiho heikki.lehvasla...@gmail.com writes: Unless someone beats me to it, I'll write it one day. :) What about: #+begin_src emacs-lisp (defun tj/toggle-example-and-comment-blocks () Toggle example and comment blocks in current

Re: [O] Controlling example block export?

2014-04-01 Thread Nicolas Goaziou
Hello, Heikki Lehvaslaiho heikki.lehvasla...@gmail.com writes: I am using example blocks as inline notes where I paste snippets of (pre-formatted) text. I'd like to be able to control the exporting of those block individually (per document would also be useful). I do not seem to be able to

Re: [O] Controlling example block export?

2014-04-01 Thread Nicolas Goaziou
Hello, Heikki Lehvaslaiho heikki.lehvasla...@gmail.com writes: The org-syntax.html says of blocks: #+BEGIN_NAME PARAMETERS CONTENTS #+END_NAME NAME can contain any non-whitespace character. PARAMETERS can contain any character other than new line, and can be omitted. If NAME is CENTER,

[O] Add TODO from external app?

2014-04-01 Thread Lawrence Bottorff
I've seen various things for interacting with org mode from external apps. I found org-protocol, as well as a Mutt-to-org mode article. Per the tittle, I want to be able to add new TODO items from, say, an email or a PHP-based web page form. Is this just brute force external file manipulation,

Re: [O] Controlling example block export?

2014-04-01 Thread Charles Berry
Heikki Lehvaslaiho heikki.lehvaslaiho at gmail.com writes: I am using example blocks as inline notes where I paste snippets of (pre-formatted) text. I'd like to  be able to control the exporting of those block individually (per document would also be useful). I do not seem to be able

Re: [O] Add TODO from external app?

2014-04-01 Thread Anthony Lander
Hi Lawrence, Here is a Python script I use to scrape TODOs from emails. I haven't polished it up and put it on github yet, but you are welcome to give it a whirl (anyone else is too, obviously). You need python 2.5 or greater to run this. Configure by modifying the variables at the top of the

[O] Is it possible to add a class to a paragraph in HTML export?

2014-04-01 Thread Marcin Borkowski
Hi, I'd like to have a p class=myfunnyclass in export. I tried #+ATTR_HTML :class myfunnyclass but it didn't work. Is there any way to do it? TIA, -- Marcin Borkowski http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski Adam Mickiewicz University

Re: [O] Is it possible to add a class to a paragraph in HTML export?

2014-04-01 Thread Bastien
Hi Marcin, Marcin Borkowski mb...@wmi.amu.edu.pl writes: I'd like to have a p class=myfunnyclass in export. I tried #+ATTR_HTML :class myfunnyclass but it didn't work. You can't for now but this patch will make it work. diff --git a/lisp/ox-html.el b/lisp/ox-html.el index a843441..76472c7

[O] Incremental search only within visble text

2014-04-01 Thread Ali Tofigh
Sometimes I just want to do an incremental search in the visible text of a partially folded org file. In other words, I want the search to ignore text that is invisible due to folding. I know that there is an org-copy-visible command. Is there an equivalent command for searching? /ali

Re: [O] Is it possible to add a class to a paragraph in HTML export?

2014-04-01 Thread Marcin Borkowski
Dnia 2014-04-01, o godz. 21:37:06 Bastien b...@gnu.org napisał(a): Hi Marcin, Marcin Borkowski mb...@wmi.amu.edu.pl writes: I'd like to have a p class=myfunnyclass in export. I tried #+ATTR_HTML :class myfunnyclass but it didn't work. You can't for now but this patch will make it

Re: [O] `org-attach-file-list' doesn't allow dotfiles

2014-04-01 Thread John Wiegley
No reason I can think of. John On Mar 12, 2014, at 1:39 PM, Bastien b...@gnu.org wrote: Hi Oleh, Oleh ohwoeo...@gmail.com writes: I wanted to store this file as an attachment in an org document, so I don't forget about it, but this attachment can't be opened due to

[O] Is the worg/code/org-info-js page broken?

2014-04-01 Thread Bill Ashmanskas
It seems that the page http://orgmode.org/worg/code/org-info-js/ doesn't display anything sensible. There's just a heading and a non-functioning Show Org Source button. But using links found in other places, it seems possible to read directly some of the contents:

Re: [O] Generate a table of contents without exporting

2014-04-01 Thread Charles Berry
RG Williams rgwills at gmail.com writes: Hi, I know you can generate a table of contents when exporting, but can you do it just within org? For context, I'm uploading an .org file to github and I don't need to export it to another format because github recognizes and displays it just fine.

Re: [O] Incremental search only within visble text

2014-04-01 Thread Anthony Lander
Hi Ali, If you install isearch+ (in elpa) you can toggle invisible text searching with C-+. Hope this helps, -Anthony On Tue, Apr 1, 2014 at 3:43 PM, Ali Tofigh alix.tof...@gmail.com wrote: Sometimes I just want to do an incremental search in the visible text of a partially folded org

[O] Creating changelog with magit

2014-04-01 Thread Thorsten Jolitz
Hi List, reading this , | http://orgmode.org/worg/org-contribute.html ` I find: ,--- | If you are using magit.el in Emacs, the ChangeLog for

Re: [O] Incremental search only within visble text

2014-04-01 Thread Samuel Wales
(define-key global-map \C-\M-r 'alpha-isearch-backward-visible) ;; also for dired filename search (define-key global-map \C-\M-s 'alpha-isearch-visible) (defun alpha-isearch-backward-visible () (interactive) (let ((search-invisible)) (isearch-backward-regexp))) (defun alpha-isearch-visible

Re: [O] Generate a table of contents without exporting

2014-04-01 Thread Nick Dokos
Charles Berry ccbe...@ucsd.edu writes: RG Williams rgwills at gmail.com writes: Hi, I know you can generate a table of contents when exporting, but can you do it just within org? For context, I'm uploading an .org file to github and I don't need to export it to another format because

Re: [O] Incremental search only within visble text

2014-04-01 Thread Ali Tofigh
Thanks! This is exactly what I was looking for. /ali On Tue, Apr 1, 2014 at 5:47 PM, Samuel Wales samolog...@gmail.com wrote: (define-key global-map \C-\M-r 'alpha-isearch-backward-visible) ;; also for dired filename search (define-key global-map \C-\M-s 'alpha-isearch-visible) (defun

[O] Org-set-repeat

2014-04-01 Thread R. Michael Weylandt
I see that Org provides a `org-cancel-repeater` and `org-get-repeat` but I don't see a `org-set-repeat` (or function which can be made to do so). Is there something like that that I've missed or should I write a wrapper around `org-deadline`? Michael

[O] [PATCH] ob-scheme.el: Fix scheme code blocks execution error in batch mode

2014-04-01 Thread KDr2
The bug: write file ~/scheme-test.org with the content below: ---8-- #+BEGIN_SRC scheme :exports results :results output raw (display Hello Scheme in OrgMode) #+END_SRC ---8-- and run: emacs --batch --eval='(load ~/.emacs.d/init.el)' ~/scheme-test.org -f

[O] Request for worg page -- escaping questions

2014-04-01 Thread Rustom Mody
Over time in using org Ive come up with some issues. Some have been solved. Some I was shown workarounds. Some remain unsolved. Many of these issues can be clubbed together under what computer folk call 'escaping'. Can we have a worg page for such as the following? 1. How to put a '=' into