Re: [O] getting file properties

2013-05-05 Thread Nicolas Goaziou
Hello, Nick Dokos writes: > Here's one way: > > (defun jk-org-kwds () > (let* ((parse-tree (org-element-parse-buffer)) >(keys (org-element-map parse-tree 'keyword (function identity > (mapcar (function (lambda (x) (cons (org-element-property :key x) >

[O] Problems with Agenda view in org-mode

2013-05-05 Thread Florian Faul
Hello dear developers of org mode, I ran into a problem using the agenda view with org. When I turn on the agenda view I want to see the different levels of next such as in NEXT Do that . NEXT Do this .. NEXT do this now This is the way it works on my Linux OS however, using Windows 7 I don't s

Re: [O] Problem with setting up org-protocol

2013-05-05 Thread Marcin Borkowski
Dnia 2013-05-05, o godz. 02:46:46 Suvayu Ali napisał(a): > Hi Marcin, > > Since you already looked at it, I have a comment without looking at it > myself :-p. > > On Sat, May 04, 2013 at 11:41:20PM +0200, Marcin Borkowski wrote: > > *** Linux setup (Gnome) > > > > -For this to work, you'

Re: [O] Problem with setting up org-protocol

2013-05-05 Thread Suvayu Ali
On Sun, May 05, 2013 at 12:07:36PM +0200, Marcin Borkowski wrote: > Dnia 2013-05-05, o godz. 02:46:46 > Suvayu Ali napisał(a): > > > Hi Marcin, > > > > Since you already looked at it, I have a comment without looking at it > > myself :-p. > > > > On Sat, May 04, 2013 at 11:41:20PM +0200, Marcin

Re: [O] [PATCH] Improve configurability of ox-koma-letter

2013-05-05 Thread Viktor Rosenfeld
Hi Alan, I've removed the defaults from OPENING and CLOSING. See the attached patch. Cheers, Viktor Alan Schmitt wrote: > Viktor Rosenfeld writes: > > > Rasmus also suggested setting the default opening and closing to nil > > because we should not assume that everybody speaks English. Maybe, e

Re: [O] [PATCH] Improve configurability of ox-koma-letter

2013-05-05 Thread Viktor Rosenfeld
Hi Rasmus and Alan, I've changed the code so the value for foldmarks is passed through to KOMA-Script. It's a bit ugly insofar as one has to specify foldmarks:true to use the default values instead of other options, such as backaddress:t. However, subject also uses a string already. See the attac

Re: [O] [PATCH] Improve configurability of ox-koma-letter

2013-05-05 Thread Viktor Rosenfeld
Hi Rasmus, Rasmus wrote: > Viktor, > > >> >> In a similar spirit to subject is firsthead. First head is displayed > >> >> by default in scrlttr2 as far as I recall, which is annoying. > >> > > >> > Is firsthead something that you change on a letter-by-letter basis? Or > >> > do you configure it

Re: [O] [PATCH] Improve configurability of ox-koma-letter

2013-05-05 Thread Viktor Rosenfeld
Hi Alan, I've pushed a draft tutorial to Worg, but it's not published yet. Do you know if there is a delay or if I have to do anything else? I saw the publishing process output after my push which ended with the following: remote: Publishing file /home/emacs/git/worg/sitemap.org using `org-

Re: [O] Is it possible to create links to M-x occur results?

2013-05-05 Thread Viktor Rosenfeld
Hi, Rick Frankel wrote: > On Fri, May 03, 2013 at 09:14:43AM +0200, Carsten Dominik wrote: > >On 2.5.2013, at 19:25, Leo Alekseyev wrote: > > > > Nice! Short and sweet, and works great. It should go on orgmode.org > > somewhere in the cool hacks section. > > > >Make a patch

[O] [PATCH] Escape double quotes in URL passed to browse-url

2013-05-05 Thread Michael Brand
Escape double quotes in URL passed to browse-url * lisp/org.el (org-link-escape-chars-browser): Add char double quote. * lisp/org.el (org-open-at-point): Make use of the constant `org-link-escape-chars-browser'. * testing/lisp/test-org.el (test-org/org-link-unescape-ascii-extended-char): Fill para

[O] link abbreviation with multiple params, e. g. for geo locations

2013-05-05 Thread Michael Brand
Hi all I suggest that the Org link abbreviation supports multiple and repeated parameters so that it can handle more than the one and only parameter %s as of now. What I have in mind is to abbreviate the URL [[http://maps.google.com/maps?ll=4.56,7.89&spn=0.3,0.3&q=4.56,7.89]] this way : #+LINK:

Re: [O] [PATCH] Escape double quotes in URL passed to browse-url

2013-05-05 Thread Carsten Dominik
Applied, thanks. - Carsten On 5.5.2013, at 17:04, Michael Brand wrote: > Escape double quotes in URL passed to browse-url > > * lisp/org.el (org-link-escape-chars-browser): Add char double quote. > * lisp/org.el (org-open-at-point): Make use of the constant > `org-link-escape-chars-browser'. >

Re: [O] [PATCH] Improve configurability of ox-koma-letter

2013-05-05 Thread Alan Schmitt
Viktor Rosenfeld writes: > Hi Alan, > > I've removed the defaults from OPENING and CLOSING. See the attached > patch. Thanks, I've applied it. To magit/emacs users: is there a way to apply a patch (with signoff) directly from emacs (I guess with magit)? I typically go to a shell to do so ... Al

Re: [O] [PATCH] Improve configurability of ox-koma-letter

2013-05-05 Thread Alan Schmitt
Hi Victor, Viktor Rosenfeld writes: > Hi Rasmus and Alan, > > I've changed the code so the value for foldmarks is passed through to > KOMA-Script. It's a bit ugly insofar as one has to specify > foldmarks:true to use the default values instead of other options, such > as backaddress:t. However, s

Re: [O] getting file properties

2013-05-05 Thread John Kitchin
Thanks for the great suggestions (Nick, Nick, and Eric)! Here are the two functions that finally do what I wanted. I added the second function to get a specific result. #+RANDOM: tfjkdsla jfkdsa #+BEGIN_SRC emacs-lisp :results value ; suggested by Nicolas Goaziou (defun jk-org-kwds () (org-el

Re: [O] [PATCH] Improve configurability of ox-koma-letter

2013-05-05 Thread Viktor Rosenfeld
Hi Alan, Alan Schmitt wrote: > Hi Victor, > > Viktor Rosenfeld writes: > > > Hi Rasmus and Alan, > > > > I've changed the code so the value for foldmarks is passed through to > > KOMA-Script. It's a bit ugly insofar as one has to specify > > foldmarks:true to use the default values instead of o

[O] Patch for org-md, with optional GFM source code output

2013-05-05 Thread 浅井 政太郎
Hi all, Not sure this will be accepted, but personally it is very useful when I output org to md and publish it with octopress. I understood that the commits to org-mode should possess some quality. Modified lisp/ox-md.el diff --git a/lisp/ox-md.el b/lisp/ox-md.el index 61f42b8..4188694 10

Re: [O] [PATCH] Improve configurability of ox-koma-letter

2013-05-05 Thread Alan Schmitt
Viktor Rosenfeld writes: >> I have a question about this: is there some special magic that makes the >> string "nil" to be parsed as `nil' and not as the string? > > I assume there must be. If I specify `foldmarks:nil' the if-statement in > line 294 evaluates it as false: > > #+BEGIN_SRC emacs-lis

Re: [O] [PATCH] Improve configurability of ox-koma-letter

2013-05-05 Thread Alan Schmitt
Viktor Rosenfeld writes: > Hi Alan, > > I've pushed a draft tutorial to Worg, but it's not published yet. Do you > know if there is a delay or if I have to do anything else? I saw the > publishing process output after my push which ended with the following: > >remote: Publishing file /home/ema

[O] html email, math formula as pictures are not displayed.

2013-05-05 Thread Uwe Brauer
Hello I cc this to the orgmode list, since it might be relevant. The function org-mime-htmlize allows me to send LaTeX math formula as png images. However when I receive mails, generated by thunderbird or gmail, which provide a similar functionality I can see in thunderbirds the png of the ge

[O] org-preview-latex-fragment is very picky

2013-05-05 Thread Uwe Brauer
Hello the following formula works well with org-preview-latex-fragment However $ \|vk(t)\|_{Hs+1,δ}$ Not nor $ \|vk(t)\|_{Hs+1,δ}$, Could that behaviour made a little less picky? thanks Uwe Brauer

Re: [O] Patch for org-md, with optional GFM source code output

2013-05-05 Thread Nicolas Goaziou
Hello, 浅井 政太郎 writes: > Not sure this will be accepted, > but personally it is very useful when I > output org to md and publish it with octopress. Thanks for your patch. Though, the very point of ox-md.el is to produce vanilla flavour, not Octopress' or Github's. You could create a derived ba

Re: [O] Bug: org-refresh-category-properties: Invalid function: org-with-silent-modifications [8.0 (8.0-3-g7248fb-elpaplus /home/gcharron/.emacs.d/elpa/org-plus-contrib-20130418/)]

2013-05-05 Thread Jean-Michel
Bastien gnu.org> writes: > > Hi Gilles, > > Gilles Charron writes: > > > Can't display agenda or sparse tree on org 8.0; (installed via elpa) always reporting: > > > > org-indent-add-properties: Invalid function: org-with-silent-modifications > > You probably hit the famous ELPA installation

Re: [O] org-preview-latex-fragment is very picky

2013-05-05 Thread Rasmus
Uwe Brauer writes: > Hello > the following formula works well with org-preview-latex-fragment > $\|v^k(t > > However > > $ \|vk(t)\|_{Hs+1,δ}$ > > Not nor > > $ \|vk(t)\|_{Hs+1,δ}$, > > Could that behaviour made a little less picky? Probably not. Note these are Org features irrespective of f

Re: [O] org-preview-latex-fragment is very picky

2013-05-05 Thread Marcin Borkowski
Dnia 2013-05-05, o godz. 21:07:23 Rasmus napisał(a): > Basically, it just happens that $·$ works as desired most of the time. > The proper way in LaTeX as well as in Org is \(·\). Often you'll find > that in challenging cases you're better off with \(·\). Just before someone asks why: http://te

[O] new (iCalendar) exporter problem

2013-05-05 Thread Simon Thum
Hi Nicolas, I'm using the new icalendar export and one of it's more advanced features: (setq org-icalendar-exclude-tags '("noexport" "drawnin")) The docstring says: Tags that exclude a tree from export. This variable allows to specify different exclude tags from other back-ends. It can also b

Re: [O] new (iCalendar) exporter problem

2013-05-05 Thread Nicolas Goaziou
Hello, Simon Thum writes: > I'm using the new icalendar export and one of it's more advanced features: > > (setq org-icalendar-exclude-tags '("noexport" "drawnin")) > > The docstring says: > > Tags that exclude a tree from export. > This variable allows to specify different exclude tags from oth

Re: [O] new (iCalendar) exporter problem

2013-05-05 Thread Simon Thum
I'm trying. I forgot to mention some things I notice: 1) It's a script that exports (batch mode) 2) Tags are coming from #+FILETAGS: Does this help you reproduce? On 05/05/2013 10:14 PM, Nicolas Goaziou wrote: Hello, Simon Thum writes: I'm using the new icalendar export and one of it's mor

Re: [O] new (iCalendar) exporter problem

2013-05-05 Thread Nicolas Goaziou
Simon Thum writes: > I'm trying. I forgot to mention some things I notice: > > 1) It's a script that exports (batch mode) > 2) Tags are coming from #+FILETAGS: > > Does this help you reproduce? No. The following code exports fine: --8<---cut here---start->8--

Re: [O] new (iCalendar) exporter problem

2013-05-05 Thread Simon Thum
I guess we have it then. Your example leads to icalendar without content. However I have: #+filetags: drawnin #+icalendar_exclude_tags: drawnin noexport #+bind: org-icalendar-categories (all-tags) * Test (no tag here -> <2013-05-05 Sun> Desc That one indeed exports, but IMO shouldn't.

Re: [O] new (iCalendar) exporter problem

2013-05-05 Thread Nicolas Goaziou
Simon Thum writes: > I guess we have it then. > > Your example leads to icalendar without content. What is the value of `org-icalendar-with-timestamps'? I don't see any difference between my "* Test 2" headline and your "* Test" below. > However I have: > > #+filetags: drawnin > #+icalendar_ex

Re: [O] new (iCalendar) exporter problem

2013-05-05 Thread Simon Thum
On 05/05/2013 11:01 PM, Nicolas Goaziou wrote: Simon Thum writes: I guess we have it then. Your example leads to icalendar without content. What is the value of `org-icalendar-with-timestamps'? org-icalendar-with-timestamps: active But see below. I don't see any difference between my

[O] org-search-view skips over commented subtrees

2013-05-05 Thread Samuel Wales
When I search for a {regexp}, using the agenda, with restriction set to the current file, I get entries that contain matching text in ordinary lines and entries that contain matching text in commented lines. This is desired. However, the COMMENT keyword on a headline stops results from showing.

[O] orgmode header issue with emacs themes

2013-05-05 Thread Isaac
Hello, I am cycling my emacs themes (through out the day) to adapt my eyes' contrast/tiredness during the day. However, as I cycled through themes, many times over the dark color themes, there's an addition for font background - especially for those 'org-mode' header lines (and comment lines), w

[O] issues with export of LaTeX figure captions

2013-05-05 Thread RJ Cunningham
G'day fellow orgmode users, I've encountered an issue/difference with the way the recent "babel processor" handles captions. In versions prior to 8 the following WORKED (on export produced a figure environment with a caption): #+CAPTION: Fails to produce table environment and so caption in the n

[O] org-datetree-goto-date

2013-05-05 Thread Liam Healy
I wanted a function that would take me to a particular date in a datetree and didn't find one, so I wrote my own and bound it to C-c d. (defun org-datetree-goto-date (&optional siblings) "Go to and show the date in the date tree. With optional argument SIBLINGS, on each level of the hierarchy al

Re: [O] Agenda buffer: 't' key moves current item to window's top line

2013-05-05 Thread Jeff Kowalski
Bastien altern.org> writes: > > Hi James, > > James Harkins gmail.com> writes: > > > After a recent update, I noticed that the agenda buffer now moves the > > displayed text when you change an item's TODO state using 't'. > > Fixed, thanks! > I'm still seeing the move-to-top bug, as James

Re: [O] Export Org-mode content to Reveal.js presentations

2013-05-05 Thread Yujie Wen
Hi, Rasmus, Org-Reveal is now updated for displaying MathJax, as the HTML exporter does, except that the MathJax.org server is used instead of Orgmode.org server. Please check the updated sample illustration: http://naga-eda.org/home/yujie/org-reveal/#/4/4 :) 2013/5/3 Rasmus > Yujie Wen

Re: [O] Export Org-mode content to Reveal.js presentations

2013-05-05 Thread Yujie Wen
Hi, Eric, The same feeling of me, so I wrote an exporter for Reveal.js. Hope you can enjoy it. Thanks Yujie 2013/5/4 Eric S Fraga > Yujie Wen writes: > > > Hi, > > > > I'd like to introduce a new Org-Mode exporter, Org-reveal, that exports > > Org-mode contents to Reveaj.js presentations

Re: [O] [PATCH] export to various flavors of (X)HTML

2013-05-05 Thread Carsten Dominik
Hi Eric, Rick, Francois and others, Nicolas commented to me about this patch that he was wondering if it would not be better to have a separate backend for html5, i.e. ox-html5.el that could be derived from ox-html.el and make it easier in the future to build it out to take full advantage of html5

Re: [O] ocaml babel no longer works?

2013-05-05 Thread Alan Schmitt
Hello, I've been using this patch for the last few days and I have not found any issue with it. Can I apply it? Thanks, Alan Alan Schmitt writes: > Hello, > > I'm resurrecting this old thread as I've made some progress but I > still have questions. > > Eric Schulte writes: > >>> The suggestion

Re: [O] Patch for asynchronous export of ocaml code

2013-05-05 Thread Alan Schmitt
Hello, Can I apply this patch? Thanks, Alan Alan Schmitt writes: > Hello, > > It is not currently possible to asynchronously export the results of the > evaluation an ocaml babel block because the evaluation needs to start a > toplevel > and thus asks the user what program to run. This of cou