Re: [O] Agenda optimization: new option `org-agenda-inhibit-startup'

2013-01-26 Thread Eric S Fraga
Bastien writes: > Hi all, > > in the maint and master branch, there is `org-agenda-inhibit-startup', > a new option defaulting to t which prevent the agenda buffers to run > some startup initialization when called for generating an agenda -- > e.g. opening the buffer with a specific cycling state

Re: [O] [BUG] org-mode fontification error [11 times]

2013-01-26 Thread Achim Gratz
Leo Liu writes: > In an empty org buffer, type > > #+tit > > Then M-TAB to complete. You should observe: > > org-mode fontification error > > Org-mode version 7.9.3d (release_7.9.3d-892-gdfa07a) Does not reproduce, this must be dependent on some customization of yours (completion etc.) — c

[O] Footnote export question

2013-01-26 Thread Alan L Tyree
G'day, My publisher wants footnotes to look like this: --- * Section title Here is some text.^1 And some more.^2 1. First footnote 2. Second footnote * New title Text for the new title.^1 And some more.^2 1. first footnote of second section. 2. second footnote of second se

[O] org-tree-slide: some small changes

2013-01-26 Thread Eric S Fraga
Dear Takaaki, I have been playing with your org tree slide mode. I really like it. It didn't quite do what I wanted so I have played around with it. I've made a couple of simple changes which you may wish to consider incorporating. Specifically, I have added two hooks, one run just before play

[O] [BUG] org-mode fontification error [11 times]

2013-01-26 Thread Leo Liu
In an empty org buffer, type #+tit Then M-TAB to complete. You should observe: org-mode fontification error Org-mode version 7.9.3d (release_7.9.3d-892-gdfa07a) Leo

Re: [O] Problems with org-caldav (wrong-type-argument stringp 47)

2013-01-26 Thread Sven Bretfeld
Hi David David Engster writes: > Sven Bretfeld writes: >> (setq org-caldav-files "/home/sven/Dropbox/myconf/testlocalcal.org") > > No, that's wrong. It has to be a list of files: > > (setq org-caldav-files '("/home/sven/Dropbox/myconf/testlocalcal.org")) Yes, that did it. Thank you. Now syncing

Re: [O] About range references in the spreadsheet

2013-01-26 Thread Eric S Fraga
Bastien writes: > Hi Xue, > > Xue Fuqiao writes: > >> In (info "(org) References"), there is an example explaining the range >> references: >> >> @-1$-2..@-1 3 numbers from the column to the left, 2 up to >> current row >> >> What does `2 up to current row' mean? I don't understand. IIR

Re: [O] [bug] latex fragment preview with dvipng ignores :foreground specification

2013-01-26 Thread Eric S Fraga
Nick Dokos writes: > I tried the imagemagick setting, set the options variable to black background > and red foreground - lo and behold, that's what I get in the preview. I was correct in my conclusion last night that I needed to go to bed... I was making a silly mistake (and I won't go into de

Re: [O] BUG? table output despite "#+begin_src sh :results verbatim"

2013-01-26 Thread Achim Gratz
Eric Schulte writes: > If you still experience the problem you may want to ensure that you > aren't using `org-babel-execute-src-block' from an old version of > Org-mode by executing the following from your scratch buffer > > ;; emacs-lisp > (when (require 'find-func) > (find-function

Re: [O] [PATCH] Add `org-reverse-string'

2013-01-26 Thread Daimrod
Eric Schulte writes: > This patch looks fine to me, although you'll need to add a > `declare-function' call to the top of ob-core.el (and maybe to org-id as > well) or the compiler will complain. I've added a `declare-function' call to `ob-core.el' but I think I don't need to add it to `org-id.e

Re: [O] #+headers: :tangle doesn't work

2013-01-26 Thread Eric Schulte
>> so it appears everything is working as expected. > > Not so fast, if I try to tangle each block separately C-u C-c C-v t then > the one with #+headers: doesn't tangle and there is the message: > > "tangled 0 code blocks from x.org" > I just pushed up a fix. Thanks for finding this bug. -- Er

Re: [O] [PATCH] Add `org-reverse-string'

2013-01-26 Thread Eric Schulte
This patch looks fine to me, although you'll need to add a `declare-function' call to the top of ob-core.el (and maybe to org-id as well) or the compiler will complain. Daimrod writes: > I needed a `reverse-string' function and I've found two in Org Mode. > `org-babel-reverse-string' and `org-id

Re: [O] #+headers: :tangle doesn't work

2013-01-26 Thread Myles English
Hi Eric, Thanks for taking a look at this. Eric Schulte writes: > Myles English writes: >> >> I'd just like to record a minor inconsistency in case anyone is looking >> at the code and decides they can change it. The tangle variable can't >> go in the #+headers line: >> >> #+headers: :tangle

[O] [PATCH] Add `org-reverse-string'

2013-01-26 Thread Daimrod
I needed a `reverse-string' function and I've found two in Org Mode. `org-babel-reverse-string' and `org-id-reverse-string'. So instead of rolling my own (I'm playing with `org-contacts.el'), I think it would be better to unify those functions into one. From e058c4fac767a5faffd8debaabc489c174eef58

Re: [O] BUG? table output despite "#+begin_src sh :results verbatim"

2013-01-26 Thread Eric Schulte
"Cook, Malcolm" writes: > THanks Thomas, I see we are running same version of org > > Has anyone else reading this got an idea what would cause org to > table-ize shell output despite a `:results verbatim` in the source > block header? > > Thanks! > Hi Malcolm, Try starting emacs without an

Re: [O] #+headers: :tangle doesn't work

2013-01-26 Thread Eric Schulte
Myles English writes: > Hi, > > I'd just like to record a minor inconsistency in case anyone is looking > at the code and decides they can change it. The tangle variable can't > go in the #+headers line: > > #+headers: :tangle a.sh > #+begin_src sh > echo "this won't be tangled" > #+end_src > >

[O] Info: (org)Customizing tables in ODT export

2013-01-26 Thread Thomas S. Dye
Aloha all, Section 12.8.11.4 of the info version of the Org mode manual is truncated in the middle of an emacs-lisp code block. (setq org-export-odt-table-styles (append org-export-odt-table-styles *--- truncated here ---* '(("TableWithHeaderRowAndColumn" "Custom"

Re: [O] Minor footnote suggestion

2013-01-26 Thread Alan L Tyree
Nicolas Goaziou writes: > Hello, > > Alan L Tyree writes: > >> When positioned in footnote text, the function jumps back *to the >> beginning* of the footnote reference. It would be more convenient to >> jump to the end of the reference since that is where the author is >> likely to pick up typi

Re: [O] Bug when exporting as html with (org-narrow-to-subtree)

2013-01-26 Thread Thomas S. Dye
Aloha David, David Bjergaard writes: > Hi, > > I'm not sure how to file bug reports but: See http://orgmode.org/org.html#Feedback I can't answer your main question, but I'm confident someone else on the list will be able to respond. All the best, Tom -- Thomas S. Dye http://www.tsdye.com

[O] Bug when exporting as html with (org-narrow-to-subtree)

2013-01-26 Thread David Bjergaard
Hi, I'm not sure how to file bug reports but: When exporting to html with (org-narrow-to-subtree) headlines deeper than 2 levels won't get exported. Expected behavior: All subheadings should be exported to a level set by headline-levels in my org init, or H: in the #+OPTIONS: line. Steps to

Re: [O] Still Wishing for Snooze

2013-01-26 Thread Marc-Oliver Ihm
Hi Andrew ! Sorry, but I forgot to include one line: (setq org-date-state-wait-state "PENDING") to define the state, that the node should be changed to (I have "PENDING" among my org-states). Now if I have a node like this: * TODO Foo and invoke org-date-state, I get asked for a date (lets

Re: [O] Problems with org-caldav (wrong-type-argument stringp 47)

2013-01-26 Thread David Engster
Sven Bretfeld writes: > (setq org-caldav-files "/home/sven/Dropbox/myconf/testlocalcal.org") No, that's wrong. It has to be a list of files: (setq org-caldav-files '("/home/sven/Dropbox/myconf/testlocalcal.org")) -David

Re: [O] no pdf-output in lilypond code blocks

2013-01-26 Thread Florian Beck
Bastien writes: > Hi Florian, > > Florian Beck writes: > >>> If so, I'll fix ly-process-basic so that it depends on >>> ly-gen-png/pdf/html/svg. >>> >>> Thanks for confirming, >> >> Thanks for fixing. > > Done -- please have a try and let me know. Minor hitch: the variable is called `ly-use-eps

Re: [O] How to track down "No heading for this item in buffer or region."?

2013-01-26 Thread Nick Dokos
Bastien wrote: > > Not quite: the file *is* opened in a buffer (the agenda code opens all the > > files, I presume with find-file-noselect), but the text properties are > > not up to date. It's only when I explicitly visit the buffer > > that they get updated. > > I updated the commit using the

Re: [O] TeX-master: TeX-master is let-bound

2013-01-26 Thread Christopher Schmidt
Bastien writes: > Generating autoloads for tex-jp.el... > forward-sexp: Scan error: "Unbalanced parentheses", 8785, 28213 > > When compiling. I have no idea. emacs-24 (GNU Emacs 24.2.90.1) works fine. > I'm off for the week-end, I'll dig this further later on next week. Thank you very much. H

[O] Agenda optimization: new option `org-agenda-inhibit-startup'

2013-01-26 Thread Bastien
Hi all, in the maint and master branch, there is `org-agenda-inhibit-startup', a new option defaulting to t which prevent the agenda buffers to run some startup initialization when called for generating an agenda -- e.g. opening the buffer with a specific cycling state is not honored. This will s

Re: [O] TeX-master: TeX-master is let-bound

2013-01-26 Thread Bastien
Hi Christopher, Christopher Schmidt writes: > Bastien writes: >> Christopher Schmidt writes: >> >>> $ emacs -q --eval "(progn (package-refresh-contents) (package-install >>> 'auctex) (kill-emacs))" >> >> I can't install auctex through package-install. > > Why is that? What's failing? Ge

[O] Problems with TODO and agenda command

2013-01-26 Thread Siegel, Aaron J.
Hello I cannot get agenda command to include any of my TODO's. I followed the tutorial http://orgmode.org/worg/org-tutorials/orgtutorial_dto.html My .emacs file copied directly from the tutorial on a Linux system (require 'org-install) (add-to-list 'auto-mode-alist '("\\.org$"

Re: [O] Contrib missing from (Cygwin) Emacs

2013-01-26 Thread Achim Gratz
Sebastien Vauban writes: > Wait, wait, wait... > > When reading the backtrace even more carefully, this 3rd observation is not > what's said by the error message: "../contrib" is not (I guess Achim is right) > the problem here, but the fact that `find-library-name' fails to find "org". > > So, the

Re: [O] Contrib missing from (Cygwin) Emacs

2013-01-26 Thread Bastien
Hi Sébastien, "Sebastien Vauban" writes: > So, the problem comes down to the fact that the following... > > #+begin_src emacs-lisp > (require 'find-func) > (find-library-name "org") > #+end_src > > ... does fail with the latest Cygwin [1]: > > Debugger entered--Lisp error: (error "Can't fi

Re: [O] No heading for this item in buffer or region

2013-01-26 Thread Bastien
"Sebastien Vauban" writes: > I know it looks like an Org active timestamp. Is that forbidden now? Fixed, thanks. -- Bastien

Re: [O] TeX-master: TeX-master is let-bound

2013-01-26 Thread Christopher Schmidt
Bastien writes: > Christopher Schmidt writes: > >> $ emacs -q --eval "(progn (package-refresh-contents) (package-install >> 'auctex) (kill-emacs))" > > I can't install auctex through package-install. Why is that? What's failing? ( "export HOME=/tmp" makes Emacs use /tmp/.emacs.d as it's

Re: [O] Wish: iCalendar export with free/busy only

2013-01-26 Thread Karl Voit
* Bastien wrote: > Hi Karl, Hi! > Karl Voit writes: > >> I'd love to have my agenda exported (for now I am using the snippet >> below[1]) to an ics file which only contains (anonymized) events >> optionally still containing (a set of allowed) tags. > > The new iCalendar exporter allows filters

[O] Problems with org-caldav (wrong-type-argument stringp 47)

2013-01-26 Thread Sven Bretfeld
Hi Thank you very much for org-caldav. I've waited for it since years. However, I have problems on my first sync. I think I have done everything correctly: (setq load-path (cons "~/elisp/org-caldav" load-path)) (require 'org-caldav) (setq org-caldav-url "https://www.google.com/calendar/dav";) (se

Re: [O] [bug] latex fragment preview with dvipng ignores :foreground specification

2013-01-26 Thread Eric S Fraga
Nick Dokos writes: > Eric S Fraga wrote: >> fragments is the most appealing mechanism. When I try to use >> org-preview-latex-fragment, the latex image is >> generated. Unfortunately, as I use a black background on my display, I >> cannot see the fragment as it is being generated with black te

Re: [O] TeX-master: TeX-master is let-bound

2013-01-26 Thread Bastien
Christopher Schmidt writes: > $ emacs -q --eval "(progn (package-refresh-contents) (package-install > 'auctex) (kill-emacs))" I can't install auctex through package-install. Can you give more directions? Thanks, -- Bastien

Re: [O] [bug] latex fragment preview with dvipng ignores :foreground specification

2013-01-26 Thread Eric S Fraga
Nick Dokos writes: [...] > Use a light background emacs for the presentation. And don't tell > anybody that you switched. Street creds intact, you can switch back to > the cool dark background afterwards. If you get caught, you can argue > that you switched for projection purposes (assuming that

Re: [O] TeX-master: TeX-master is let-bound

2013-01-26 Thread Christopher Schmidt
Christopher Schmidt writes: > Bastien writes: >> Can you provide a reproducible recipe? > > I already did, check <87390w5...@ch.ristopher.com>. The issue I > described will only occur if one uses AUCTeX and AUCTeX has not been > loaded already. Nick did not follow the recipe so he was not able

Re: [O] How to export results to latex?

2013-01-26 Thread Bastien
Hi Seweryn, Seweryn Kokot writes: > I have test1.org file (see below [1]) which I want to export to latex. However > when exporting to latex (both using org-export and org-export-dispatch), the > content of RESULTS is missing in the resulting test1.tex (see below [2]). > What is the reason for t

Re: [O] Issue with org-link and %

2013-01-26 Thread Bastien
Hi Russell, Russell Carden writes: > Is there a known issue with org-links if they having the encoded special > character %25 in a link. Is this something that may have been fixed > elsewhere. Any links that have %25, never make it to my link > handler. Please provide an example so that we ca

Re: [O] heads up: mode hooks not executed for agenda files

2013-01-26 Thread Bastien
Hi Eric, Eric S Fraga writes: > a problem I have had for a long time is that agenda files are opened > without =org-mode-hook= and =text-mode-hook= being processed. This is a > problem because I work within the agenda view all the time, writing notes > by accessing entries from the agenda view.

Re: [O] org-plus-contrib: Invalid function: org-no-popups

2013-01-26 Thread Bastien
Hi Achim, Achim Gratz writes: >> - it advices `require', which is a very core function in Emacs. > > Which has been discussed on Emacs devel and has been pronounced safe in > this case. No. Stefan just said it was safe to *experiment* with it. > Like a few hundred other places in Emacs and Or

Re: [O] [OT] open url in emacs was: Re: Using Org/babel for Emacs config files

2013-01-26 Thread Jambunathan K
Andreas Leha writes: > Hi Jambu, > > Jambunathan K writes: > >> Bastien writes: >> >>> Andreas Leha writes: >>> ^^ that is something I'd not expect to hear when it comes to emacs >>> >>> (when (switch-to-buffer-other-window >>>(url-retrieve-synchronously >>>

Re: [O] 24.2.92; `electirc-indent-mode' isn't compatible with `org-footnote-action'

2013-01-26 Thread Xue Fuqiao
On Sat, 26 Jan 2013 13:42:10 +0100 Bastien wrote: > Please don't post to both. Post it to bug-gnu-emacs when this is with > Org's from Emacs, to emacs-orgmode otherwise. I see, thanks for your advice. -- Best regards, Xue Fuqiao. http://www.emacswiki.org/emacs/XueFuqiao

Re: [O] org-plus-contrib: Invalid function: org-no-popups

2013-01-26 Thread Achim Gratz
Bastien writes: > I don't like it for at least these reasons: > > - it introduces an advice in the code -- we should work toward > removing them, not adding them. That's the mechanism Emacs provides for dealing with those situations. I could do it without an advice, but it would still do the sa

Re: [O] 24.2.92; `electirc-indent-mode' isn't compatible with `org-footnote-action'

2013-01-26 Thread Bastien
Hi Xue, Xue Fuqiao writes: > I don't know where it should be post (bug-gnu-emacs or > emacs-orgmode), so I'll post it on both of them. Please don't post to both. Post it to bug-gnu-emacs when this is with Org's from Emacs, to emacs-orgmode otherwise. > To reproduce: > > emacs -Q test.org > M-

[O] No heading for this item in buffer or region

2013-01-26 Thread Sebastien Vauban
Hello, Since the latest pull I did today (Org-mode release_7.9.3d-882-geab0cd), I now have errors "No heading for this item in buffer or region" when generating the agenda view. They all are related to the fact I have a time-stamp (automagically updated by Emacs when saving the file, if found in

Re: [O] About range references in the spreadsheet

2013-01-26 Thread Bastien
Hi Xue, Xue Fuqiao writes: > In (info "(org) References"), there is an example explaining the range > references: > > @-1$-2..@-1 3 numbers from the column to the left, 2 up to > current row > > What does `2 up to current row' mean? I don't understand. IIRC `@' > represents row, it shou

Re: [O] Wish: switch active time-stamps to inactive when CANCELED

2013-01-26 Thread Bastien
Hi Karl, Karl Voit writes: > I tend to keep events that I do not attend in my calendar for > archiving reasons. But I switch their status to CANCELED. > Unfortunately, those events still appear on my Google calendar and > so forth. I get my usual reminders and it messes up my free/busy > list. >

Re: [O] Wish: iCalendar export with free/busy only

2013-01-26 Thread Bastien
Hi Karl, Karl Voit writes: > I'd love to have my agenda exported (for now I am using the snippet > below[1]) to an ics file which only contains (anonymized) events > optionally still containing (a set of allowed) tags. The new iCalendar exporter allows filters -- so you should be able to filter

Re: [O] no pdf-output in lilypond code blocks

2013-01-26 Thread Bastien
Hi Florian, Florian Beck writes: >> If so, I'll fix ly-process-basic so that it depends on >> ly-gen-png/pdf/html/svg. >> >> Thanks for confirming, > > Thanks for fixing. Done -- please have a try and let me know. -- Bastien

Re: [O] How to track down "No heading for this item in buffer or region."?

2013-01-26 Thread Bastien
Hi Nick, Nick Dokos writes: > Not quite: the file *is* opened in a buffer (the agenda code opens all the > files, I presume with find-file-noselect), but the text properties are > not up to date. It's only when I explicitly visit the buffer > that they get updated. I updated the commit using th

Re: [O] Bug: manual for table column width and alignment [7.9.3a (7.9.3a-elpa @ /home/joost/.emacs.d/elpa/org-20130108/)]

2013-01-26 Thread Bastien
Hi Joost, Joost Helberg writes: > The manual states that the width and alignment values can be > combined. The example uses a combination of and <10>. The `l' is > not the best way to demonstrate this, as it looks like a `1'. The > scanning reader may see <110> instead of . If the manual reads

Re: [O] org-plus-contrib: Invalid function: org-no-popups

2013-01-26 Thread Bastien
Hi Achim, Achim Gratz writes: > My reading comprehension may be at an all-time low, but this is what you > wrote in another thread: > This [removing Org from ELPA -ed] is using Org users as hostages, I don't want to do this. > >> I think this is an option. > > Hm… I'm obviously missing

Re: [O] keymap for read-date-minibuffer

2013-01-26 Thread Bastien
Hi Mark, Mark Edgington writes: > I recently spent a while figuring out how to add custom-keybindings to > the read-date-minibuffer which appears when org-read-date is called. > The only way to do it currently is to use the > org-read-date-minibuffer-setup hook, and add keybindings to the > mini

Re: [O] Minor footnote suggestion

2013-01-26 Thread Nicolas Goaziou
Hello, Alan L Tyree writes: > When positioned in footnote text, the function jumps back *to the > beginning* of the footnote reference. It would be more convenient to > jump to the end of the reference since that is where the author is > likely to pick up typing the text. It was done this way b

Re: [O] [OT] open url in emacs was: Re: Using Org/babel for Emacs config files

2013-01-26 Thread Andreas Leha
Hi Jambu, Jambunathan K writes: > Bastien writes: > >> Andreas Leha writes: >> >>> ^^ that is something I'd not expect to hear when it comes to >>> emacs >> >> (when (switch-to-buffer-other-window >>(url-retrieve-synchronously >> >> "https://raw.github.com/eschulte