Re: [O] Web site bug

2012-10-28 Thread Bastien
Hi Achim, let's start fresh. Can you point at an actual reproducible and simple bug with the current way Org defines autoloads? Thanks, -- Bastien

Re: [O] Web site bug

2012-10-28 Thread Bastien
Hi Achim, Bastien writes: >> + (write-region (autoload-rubric "org-install.el" nil "org-install") nil >> "org-install.el") >> + (write-region (autoload-rubric "org-loaddefs.el" nil "org-loaddefs") nil >> "org-install.el") > > I don't know what "autoload-rubric" is. Hint? You didn't reply t

Re: [O] [patch] fix bug introduced in commit aba9e2b9

2012-10-28 Thread Bastien
Le Wang writes: > This commit broke editing any source section with blank lines. Er.. yes, indeed. Thanks for the fix! I just applied it. -- Bastien

Re: [O] Bug in org-log-into-drawer

2012-10-28 Thread Bastien
Hi Erik and Sébastien, Erik Hetzner writes: > The function org-log-into-drawer called the function org-entry-get > with the inherit argument before I got there. (Maybe it needs to be > added to that list?) I don't have time to look deeper in this issue. Can one of you have a closer look at the

Re: [O] Filter weekly/daily agenda by tag

2012-10-28 Thread Bastien
Hi Alexander, Alexander Baier writes: > Another question: Do you know if there is any documentation on the > settings i can pass to the commands in org-agenda-custom-commands? Not sure it answers your question correctly, but here is a good tutorial about this configuration area: http://orgmode

Re: [O] Org-Mode menus not in text mode menu or lacarte

2012-10-28 Thread Bastien
Hi Lennart, Lennart Fricke writes: > Hello everybody, I was trying to use org-mode from console and realized > that there are no Org-Mode menus when I open the text menu with > (tmm-menubar) or lacarte. Bug confirmed. > Do you have an idea why there are not there. This is actually a bug in

Re: [O] New exporter: no custom timestamps

2012-10-28 Thread Bastien
Nicolas Goaziou writes: > Done. I've also added :repeater-unit for good measure. Great, thanks! -- Bastien

Re: [O] Contradiction between code and doc as regards commented lines

2012-10-28 Thread Bastien
Hi Rafael, Rafael Laboissiere writes: > I just noticed that my patch have a bad side effect, since the commented > lines at the beginning of the *Remember* buffer are not filtered out before > inclusion into the destination org file. The patch attached below fixes > this. Also, the org-remembe

[O] [new exporter] Date format string not handled for LaTeX export

2012-10-28 Thread Michael Gauland
When I provide a format string to the #+DATE: option, the old LaTeX exporter correctly uses it to format the current date; the new exporter just uses the format string for the date. The new HTML exporter does not have this problem.

Re: [O] New LaTeX exporter captions

2012-10-28 Thread Thomas S. Dye
Nicolas Goaziou writes: > Hello, > > t...@tsdye.com (Thomas S. Dye) writes: > >> An example I gave on the ML a few days ago doesn't really work right. >> >> #+name: fundamental-model >> #+header: :exports results >> #+header: :file fundamental-model.pdf >> #+BEGIN_SRC dot >> graph G >>

Re: [O] New LaTeX exporter captions

2012-10-28 Thread Nicolas Goaziou
Hello, t...@tsdye.com (Thomas S. Dye) writes: > An example I gave on the ML a few days ago doesn't really work right. > > #+name: fundamental-model > #+header: :exports results > #+header: :file fundamental-model.pdf > #+BEGIN_SRC dot > graph G > { > graph [margin="0.01"]; >

Re: [O] Tangling to Multiple Files

2012-10-28 Thread Alan Lue
Thanks Eric, I didn't know that you could pass lisp code as header arguments. It looks like it'll be best to conditionally tangle. :tangle (if (string-match "myhost" system-name) "yes" "no") Eric Schulte writes: > Alan Lue writes: > >> Hi, how does one tangle a single code block to multiple f

Re: [O] Running babel blocks in :noexport: sections

2012-10-28 Thread Eric Schulte
John Hendy writes: > Just kidding... just checked *Messages* buffer, and all the headlines > I converted to COMMENT headlines are *not* executing the enclosed > babel blocks. > > Is there a setting for this you have and I don't? > Not that I know of. Are you using the new or the old exporter?

[O] New LaTeX exporter captions

2012-10-28 Thread Thomas S. Dye
Aloha Nicolas, An example I gave on the ML a few days ago doesn't really work right. #+name: fundamental-model #+header: :exports results #+header: :file fundamental-model.pdf #+BEGIN_SRC dot graph G { graph [margin="0.01"]; d [label = "Dated event", shape ="box"];

Re: [O] Tangling to Multiple Files

2012-10-28 Thread Eric Schulte
Alan Lue writes: > Hi, how does one tangle a single code block to multiple files? > > I thought the following might work, but unfortunately it does not. > > Set the frame size. > #+HEADERS: :tangle user-host-a.el user-host-b.el > #+BEGIN_SRC emacs-lisp > (setq initial-frame-alist '((width . 80)

Re: [O] Tangling to Multiple Files

2012-10-28 Thread Thomas S. Dye
Aloha Alan, This can be achieved with noweb references. Something like this: #+name: user-host-a #+HEADERS: :tangle user-host-a.el :noweb tangle #+BEGIN_SRC emacs-lisp <> #+END_SRC #+name: user-host-b #+HEADERS: :tangle user-host-b.el :noweb tangle #+BEGIN_SRC emacs-lisp <> #+END_SRC #+name: i

Re: [O] Running babel blocks in :noexport: sections

2012-10-28 Thread John Hendy
Just kidding... just checked *Messages* buffer, and all the headlines I converted to COMMENT headlines are *not* executing the enclosed babel blocks. Is there a setting for this you have and I don't? John On Sun, Oct 28, 2012 at 12:23 PM, John Hendy wrote: > On Sat, Oct 27, 2012 at 5:57 PM, Er

[O] Tangling to Multiple Files

2012-10-28 Thread Alan Lue
Hi, how does one tangle a single code block to multiple files? I thought the following might work, but unfortunately it does not. Set the frame size. #+HEADERS: :tangle user-host-a.el user-host-b.el #+BEGIN_SRC emacs-lisp (setq initial-frame-alist '((width . 80) (height . 38))) #+END_SRC To p

Re: [O] Running babel blocks in :noexport: sections

2012-10-28 Thread John Hendy
On Sat, Oct 27, 2012 at 5:57 PM, Eric Schulte wrote: > John Hendy writes: > >> For papers and beamer presentations, I sometimes hide more "universal" >> babel blocks inside a sort of setup headline. I thought I'd done this >> before, but perhaps not... The idea would be like so: >> >> * Data setu

Re: [O] Contradiction between code and doc as regards commented lines

2012-10-28 Thread Rafael Laboissiere
* Bastien [2012-10-28 11:10]: Rafael Laboissiere writes: You might be interested in applying the patch attached below, which fixes the comments in the *Remember* buffer, allowing them to get correctly fontified. Applied, thanks! Thanks. I just noticed that my patch have a bad side effe

Re: [O] Web site bug

2012-10-28 Thread Achim Gratz
Bastien writes: > You mean "in case users install Org from a tar/zip archive that does > not contain org-loaddefs.el"? > > For now the tar/zip archives does not contain org-loaddefs.el but it > will starting from Org 7.9.3. > > (require 'org-loaddefs) is wrong in case users who cloned Org from Git

[O] [patch] fix bug introduced in commit aba9e2b9

2012-10-28 Thread Le Wang
This commit broke editing any source section with blank lines. Patch included. -- Le org-src.el.diff Description: Binary data

Re: [O] New exporter: no custom timestamps

2012-10-28 Thread Nicolas Goaziou
Nicolas Goaziou writes: > I tend to think that :raw-value would be a good option. Timestamps > properties could be enriched. Besides common properties > (:begin, :end, :post-blank) timestamps objects may accept : > > - :type > - :year-start > - :year-end > - :month-start > - :month-end

Re: [O] Filter weekly/daily agenda by tag

2012-10-28 Thread Alexander Baier
2012/10/28 Simon Thum : > On 10/28/2012 12:58 PM, Alexander Baier wrote: >> >> To explain what i want to achieve regarding this example: I want a >> weekly agenda view only displaying Event1, Event2 and Event4 but not >> Event3 as it should be excluded by its tag. >> >> Any help is appreciated. > >

Re: [O] [ANN] Editable HTML export of Org-mode files

2012-10-28 Thread Simon Thum
On 10/28/2012 04:19 PM, Eric Schulte wrote: Yes, the content of the edit boxes does come from the exported html. For each portion of the Org-mode document (as delimited by org-elements), both the raw Org-mode text and the HTML are exported side-by-side, then the raw Org-mode text is hidden and th

Re: [O] [new exporter] two unexpected behaviours of an #+INCLUDEd #+call

2012-10-28 Thread Nicolas Goaziou
Hello, "Myles English" writes: > Given the situation below, I would expect that the block named xxx > would never be evaluated: > > #- file b.org --- > #+TITLE: b.org > #+EXPORT_SELECT_TAGS: export > #+EXPORT_EXCLUDE_TAGS: noexport > > * A heading

Re: [O] Filter weekly/daily agenda by tag

2012-10-28 Thread Alexander Baier
2012/10/28 Bastien : > Hi Alexander, > > Alexander Baier writes: > >> (setq org-agenda-custom-commands >> '(("d" "Test Tag Filter" >> ((agenda "" >> ((org-agenda-files '("~/org/WeeklyFilterTest.org")) >>(org-agenda-filter "-EXCL"))) > > You need to locally

Re: [O] [ANN] Editable HTML export of Org-mode files

2012-10-28 Thread Eric Schulte
Simon Thum writes: > On 10/22/2012 10:38 PM, Eric Schulte wrote: >> Simon Thum writes: >> --8<---cut here---start->8--- >> foo bar >> >> >> >> >> >> --8<---cut here---end--->8--- >> >> all of the spaces and newlines are inse

Re: [O] Filter weekly/daily agenda by tag

2012-10-28 Thread Simon Thum
On 10/28/2012 12:58 PM, Alexander Baier wrote: To explain what i want to achieve regarding this example: I want a weekly agenda view only displaying Event1, Event2 and Event4 but not Event3 as it should be excluded by its tag. Any help is appreciated. FWIW, my agenda is constructed like this:

Re: [O] Filter weekly/daily agenda by tag

2012-10-28 Thread Bastien
Hi Alexander, Alexander Baier writes: > (setq org-agenda-custom-commands > '(("d" "Test Tag Filter" > ((agenda "" > ((org-agenda-files '("~/org/WeeklyFilterTest.org")) >(org-agenda-filter "-EXCL"))) You need to locally bind `org-agenda-tag-filter-preset'

Re: [O] Patch: org-agenda-skip-deadline-prewarning-if-scheduled prior to scheduled date

2012-10-28 Thread Justus-bulk
Nicolas Goaziou wrote on Sun, 28 Oct 2012 11:20:15 +0100: > I would have integrated the (if ds ...) within the cond (i.e (cond > ((not ds) nil) ...)) Oh yes! Please do :-) Justus

[O] Filter weekly/daily agenda by tag

2012-10-28 Thread Alexander Baier
Hello, this is my first post on the mailing list and i am not quite sure if i do everything right. If i screw something up, please let me know, so i can fix it and do it right next time. To the problem I'm facing: My setup: I have a single org file with appointments as sub trees. Each appointmen

Re: [O] [bug] [new-exporter] #+includes in non-exported regions do not work

2012-10-28 Thread Myles English
Hi Eric, You have: #+include: uml.org I think it should be: #+include: "uml.org" I have haven't tried it though. Myles Eric S Fraga writes: > Hello, > > with an up to date org, I cannot get the attached minimal example to > export using the new exporter. I have try exporting to latex

[O] [bug] [new-exporter] #+includes in non-exported regions do not work

2012-10-28 Thread Eric S Fraga
Hello, with an up to date org, I cannot get the attached minimal example to export using the new exporter. I have try exporting to latex-pdf, in case that matters. The (line-length truncated) error trace is: --8<---cut here---start->8--- Debugger entered--Lis

Re: [O] Web site bug

2012-10-28 Thread Bastien
Hi Achim, Achim Gratz writes: > It is if you are using Org from Git and you only want the autoload > definitions pulled in on startup and not the whole of Org plus most of > its dependencies. This is what a > > (require 'org-install) > > did before the change to org-loaddefs.el. You can't rely

Re: [O] Patch: org-agenda-skip-deadline-prewarning-if-scheduled prior to scheduled date

2012-10-28 Thread Nicolas Goaziou
Hello, justus-b...@piater.name writes: > My current solution (see the patch) involves some minor refactoring at > the price of an extra (if ds ...) that I don't see a way to get rid of, > but I find the result quite readable. It looks good. I would have integrated the (if ds ...) within the cond

Re: [O] Contradiction between code and doc as regards commented lines

2012-10-28 Thread Bastien
Rafael Laboissiere writes: > You might be interested in applying the patch attached below, which fixes > the comments in the *Remember* buffer, allowing them to get correctly > fontified. Applied, thanks! -- Bastien

Re: [O] Web site bug

2012-10-28 Thread Achim Gratz
Bastien writes: > No, (require 'org-loaddefs) is never needed IMHO. It is if you are using Org from Git and you only want the autoload definitions pulled in on startup and not the whole of Org plus most of its dependencies. This is what a (require 'org-install) did before the change to org-load