Re: [O] (no subject) How to sort agenda by timestamps (scheduled/deadline)?

2013-01-30 Thread Martin Beck
Martin Beck web.de> writes: (sorry, I was too fast and forgot to enter a subject) I'm trying to create a custom agenda setup for my org-mode and I wonder how I can sort the agenda-items by date (Scheduled or deadline): newest first. I only found time-up / time-down in the parameters, bu

Re: [O] How to improve Org startup time?

2013-01-30 Thread Sebastien Vauban
Hi Nick, Nick Dokos wrote: > Sebastien Vauban wrote: >> >> This may have something to do with my big amount of Org files in >> >> `org-agenda-files': 36 at this point. But is that so big?? >> > >> > I don't think so. >> >> I'm sure it is, as I wrote (removed from the joined log) a "message" call

Re: [O] How to improve Org startup time?

2013-01-30 Thread Sebastien Vauban
Hi Bastien, Bastien wrote: > "Sebastien Vauban" writes: > >> In particular, you'll see that *16 seconds* are "lost" between 21:20:30 and >> 21:20:46. They correspond to the executiong of just *one line*: >> >> #+begin_src emacs-lisp >> (org-agenda-to-appt) >> #+end_src >> >> This may have someth

Re: [O] How to improve Org startup time?

2013-01-30 Thread Daimrod
"Sebastien Vauban" writes: >> Finally, org-agenda-to-appt is very slow by default, it uses >> org-agenda-get-day-entries and check every entry... see the docstring on how >> to make it check only the ones you really need. > > Euh... > > ╭ > │ org-agenda-get-day-entries is a Lisp funct

Re: [O] Quick comment on the website

2013-01-30 Thread Bastien
Hi Aubrey, Aubrey Raech writes: > The website for org-mode (http://orgmode.org/) is fantastic. It's well > laid out, helpful, and beautiful to look at. Whoever's in charge of > maintaining it is doing a great job! Thanks Aubrey! I've actually waited long for someone to compliment the new websi

Re: [O] Bug: ODT export and environments

2013-01-30 Thread Bastien
Hi Cassio, Cassio Koshikumo writes: > I think there's a bug when exporting files to ODT using environments > (center, quote etc.).  Sample file: > > * Testing > #+BEGIN_CENTER > First line. > > Second line. > #+END_CENTER > > When exporting that, only "First line" will have the correct style > O

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

2013-01-30 Thread Bastien
Hi Carsten, Carsten Dominik writes: > Maybe it would be useful to exempt initializing org-indent-mode from > this. I double-checked and (setq org-startup-indented t) does not delay the agenda generation, so I implemented this: org-indent-mode is not inhibited anymore when `org-agenda-inhibit-st

[O] Sorting by scheduled-up/down (was: (no subject))

2013-01-30 Thread Bastien
Hi Martin, "Martin Beck" writes: > I'm trying to create a custom agenda setup for my org-mode and I > wonder how I can sort the agenda-items by date (Scheduled or > deadline): newest first. > > I only found time-up / time-down in the parameters, but that does not > seem to do what I need. > > An

Re: [O] Bug in org-bibtex (patch attached)

2013-01-30 Thread Bastien
ra...@free.fr writes: > There is a small bug in org-bibtex which prevents org-bibtex-search > to work correctly when org-bibtex-prefix is nil. Patch attached. Applied, thanks! -- Bastien

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

2013-01-30 Thread Bastien
Hi Torsten, Torsten Wagner writes: > I couldn't find a way to tell emacs to use the local version > instead. What about a simple (load "../url-dav.el") ? -- Bastien

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

2013-01-30 Thread Bastien
Hi Florian, Florian Beck writes: > I can live with setting `ly-gen-pdf', but maybe something like > > (pcase (file-name-extension out-file) > ("pdf" "--pdf ") > ("ps" "--ps ") > ("png" "--png ") > (t "--png ")) > > would be even better? Indeed. This is now the c

Re: [O] Macro question with new texinfo exporter

2013-01-30 Thread Bastien
Hi Nicolas, Nicolas Goaziou writes: > We ought to modify it. Perhaps something like: > > {{{name arg1 "arg2 with space" "arg3 \"with\" quote"}}} FWIW I'm all for a variation of this {{{name(arg1 "arg2 with space" "arg3 \"with\" quote")}}} if we can also support the old syntax. The reason w

Re: [O] Footnote export question

2013-01-30 Thread Bastien
Hi Alan, Alan L Tyree writes: > Is there some way to achieve the result required? Not that I'm aware of, but this is a frequent feature request, we might put some energy on this for the next major release. Best, -- Bastien

Re: [O] org-archive-add-header-to-new-files

2013-01-30 Thread Bastien
Hi Christopher, Christopher Schmidt writes: > here is a patch to master that allows one to inhibit the addition of the > header line to newly created archive files. > > 2013-01-28 Christopher Schmidt > > * org-archive.el (org-archive-add-header-to-new-files): New >

Re: [O] [Bug] test-org-export/before-parsing-hook

2013-01-30 Thread Bastien
Hi Achim, Achim Gratz writes: > Testing current Org fails with this backtrace (the culprit seems to be > calling looking-at with an argument of nil): FWIW I cannot reproduce the problem. Can you? -- Bastien

Re: [O] bbdb or bbdb3 or org-contacts

2013-01-30 Thread Bastien
Hi Dieter, Dieter Wilhelm writes: > What do you advise, what is already usable and what is the way > ahead, still bbdb or bbdb3 or already org-contacts? BBDB is great. org-contacts.el is too slow when you have many contacts, and it is not really maintained anymore. Best, -- Bastien

Re: [O] disable html-preambler per file

2013-01-30 Thread Bastien
Hi Henry, henry atting writes: > I see that there is the option `html-preamble' but apparently it is not > applicable on a per file basis. How can set org-export-html-preamble to nil > for single files? #+BIND: org-export-html-preamble nil HTH, -- Bastien

Re: [O] colorg: Weekly status!

2013-01-30 Thread Bastien
Hi François, François Pinard writes: > The parts slowly begin to fit together. I can launch a colorg server > and two Emacs sessions. In the first Emacs, I can upload a buffer > contents to the server as a resource. In the second Emacs, I can either > download that resource from the server in

Re: [O] copy file from link into agenda

2013-01-30 Thread Bastien
Hi Subhan, Subhan Tindall writes: > Hi, I am trying to set up a class notes system using Org (based on my > Nexus 7 w/BT Keyboard, but that's another story) > I mostly have things they way I would like (I think), with each day's > class notes as an org file, and a capture template to insert an e

Re: [O] Cannot get exported a correctly-recalculated table generated by org-babel

2013-01-30 Thread Bastien
Hi Miguel, Miguel Ruiz writes: > How can I get recalculated tables through org-export: > a) Switch-off org-babel-execute-buffer in org-export? > b) Switch-on org-tables recalculate-buffer-tables AFTER > org-babel-execute-buffer? > > I cannot figure out the sequence in org-export or the multipl

Re: [O] Cannot get exported a correctly-recalculated table generated by org-babel

2013-01-30 Thread Miguel Ruiz
> > > How can I get recalculated tables through org-export: > > > a) Switch-off org-babel-execute-buffer in org-export? > > b) Switch-on org-tables recalculate-buffer-tables AFTER > org-babel-execute-buffer? > > > > I cannot figure out the sequence in org-export or the > multiple hooks > > availa

Re: [O] (no subject)

2013-01-30 Thread Bernt Hansen
"Martin Beck" writes: > I'm trying to create a custom agenda setup for my org-mode and I wonder how I > can sort the agenda-items by date (Scheduled > or deadline): newest first. > > I only found time-up / time-down in the parameters, but that does not seem to > do what I need. > > Another impo

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

2013-01-30 Thread Carsten Dominik
Great, I am happy. - Carsten On 30 jan. 2013, at 11:21, Bastien wrote: > Hi Carsten, > > Carsten Dominik writes: > >> Maybe it would be useful to exempt initializing org-indent-mode from >> this. > > I double-checked and (setq org-startup-indented t) does not delay the > agenda generation, s

Re: [O] can babel results show time of evaluation?

2013-01-30 Thread Bastien
Hi Thomas, Thomas Alexander Gerds writes: > (when hash (concat "[["hash"][" (with-temp-buffer > (org-insert-time-stamp (current-time) 'hm)) "]]")) > > but, not sure if that is a good idea and what other changes this > would require. I'm not sure too (both whether this is a good idea and whether

Re: [O] Temporally/occasionally turn off hooks?

2013-01-30 Thread Thorsten Jolitz
Bernt Hansen writes: Hi Bernt, > I would leave the hook always enabled but make it smart enough to skip > inserting timestamps when you don't want them. Something like the > following: > > f9-T will toggle adding the timestamps ON and OFF > f9-t will always insert a timestamp at point > C-RET a

Re: [O] bbdb or bbdb3 or org-contacts

2013-01-30 Thread Daimrod
Bastien writes: > Hi Dieter, > > Dieter Wilhelm writes: > >> What do you advise, what is already usable and what is the way >> ahead, still bbdb or bbdb3 or already org-contacts? > > BBDB is great. org-contacts.el is too slow when you have many > contacts, and it is not really maintained anymor

Re: [O] (no subject) How to sort agenda by timestamps (scheduled/deadline)?

2013-01-30 Thread Martin Beck
Bernt Hansen norang.ca> writes: > > "Martin Beck" web.de> writes: > > > I'm trying to create a custom agenda setup for my org-mode and I wonder how I can sort the agenda-items by > date (Scheduled > > or deadline): newest first. > > > > I only found time-up / time-down in the parameters, bu

Re: [O] can babel results show time of evaluation?

2013-01-30 Thread Thomas Alexander Gerds
Hi Bastien, thanks for you reply, in particular for showing how to avoid org-insert-time-stamp to convert the current-time into a string. I should have said more clearly what I had in mind with this. I was thinking of a reproducible report or manuscript with R source blocks that produce some resu

Re: [O] How to improve Org startup time?

2013-01-30 Thread Daniel Clemente
> > Per chance, you did not forget to M-x compile ? ;) > > Good to remind me/us with that, but, once again, no, as I do not use compiled > Org files. That way, I'm sure not to forget such recompile step -- which I > would definitely do once in a while! > If you are worried about speed, you sh

Re: [O] Bug(?) in LaTeX export?

2013-01-30 Thread Thorsten Jolitz
t...@tsdye.com (Thomas S. Dye) writes: Hi Tom, > I do have org-export-latex-listings set to nil, and it gives me the > results I think you're looking for--a no fuss export of some source > code. The corresponding variable in the new exporter is > org-e-latex-listings. thats probably what I wa

Re: [O] Macro question with new texinfo exporter

2013-01-30 Thread Nicolas Goaziou
Hello, Bastien writes: > FWIW I'm all for a variation of this > > {{{name(arg1 "arg2 with space" "arg3 \"with\" quote")}}} > > if we can also support the old syntax. Supporting old syntax is a bit tricky. Perhaps something like: - Find the first one to appear between comma and quote: - i

Re: [O] Bug: Author email not included in postamble when doing HTML export [7.9.3d (release_7.9.3d-898-g005917-git @ org-loaddefs.el can not be found!)]

2013-01-30 Thread Bastien
Hi Michael, Michael Armbrecht writes: >    since v7.9 it seems that the author email (as in #+EMAIL:) is not >    part of the postamble any more when exporting an org-file to HTML > -- >    although the %e is still part of the > "org-export-html-postamble-format." The default value of `org-expo

Re: [O] How to improve Org startup time?

2013-01-30 Thread Sebastien Vauban
Hi Bastien, Bastien wrote: > Can you compare the time spent by the initialization process before and > after commit 582cca5806 ? > > It should improve things sensibly, I'd be curious to know why it does not > improve anything -- if that's the case. Before giving the results, let me tell you I've

Re: [O] How to improve Org startup time?

2013-01-30 Thread Sebastien Vauban
Hi Daniel, Daniel Clemente wrote: >>> Per chance, you did not forget to M-x compile ? ;) >> >> Good to remind me/us with that, but, once again, no, as I do not use compiled >> Org files. That way, I'm sure not to forget such recompile step -- which I >> would definitely do once in a while! > > If

[O] Bug: HTML export using (org-narrow-to-subtree) [7.9.2+ (7.9.2+-GNU-Emacs-24-3 (commit 488eea) @ /home/dave/.emacs-lisp/packages/org-20130128/)]

2013-01-30 Thread David Bjergaard
Remember to cover the basics, that is, what you expected to happen and what in fact did happen. You don't know how to make a good report? See http://orgmode.org/manual/Feedback.html#Feedback Your bug report will be posted to the Org-mode mailing list. -

Re: [O] How to improve Org startup time?

2013-01-30 Thread Florian Beck
"Sebastien Vauban" writes: > I have to admit working most of the time without the laptop being powered, > which I know (from observation) is 2 to 3 times slower. So maybe your disk is powered down or in a "sleep mode" in order to save power? Could you check whether you get the same result wi

[O] Bug: Extra spaces in babel #+call arguments [7.9.3d (release_7.9.3d-823-gd06fa4 @ /usr/share/emacs/24.2/site-lisp/org/)

2013-01-30 Thread Rick Lupton
Remember to cover the basics, that is, what you expected to happen and what in fact did happen. You don't know how to make a good report? See http://orgmode.org/manual/Feedback.html#Feedback Your bug report will be posted to the Org-mode mailing list. --

[O] org-caldav issue: Search failed: ";\\([A-Za-z0-9-]+\\)="

2013-01-30 Thread giles
org-caldav looks great but I've had a problem on initial sync with Google. I'm using the version ending 95629 from Jan 27 to sync with a corporate Google mail account. Setup: #+begin_src emacs-lisp (setq org-caldav-url "https://www.google.com/calendar/dav";) (setq org-caldav-calendar-id "gi...@

[O] [PATCH] Avoid all modification hooks in org-unmodified

2013-01-30 Thread Francesco Pizzolante
Hello, I've changed org-unmodified in order to avoid all modification hooks to be called (not only before-change-functions and after-change-functions, but also first-change-hook). I've used inhibit-modification-hooks as described here: http://www.gnu.org/software/emacs/manual/html_node/elisp/Chan

Re: [O] org-caldav issue: Search failed: ";\\([A-Za-z0-9-]+\\)="

2013-01-30 Thread David Engster
'giles' writes: > Contacting host: www.google.com:443 > Getting event 1 of 28 > icalendar--read-element: Search failed: ";\\([A-Za-z0-9-]+\\)=" Could you please do M-x toggle-debug-on-error before running the sync and post the resulting backtrace here? -David

Re: [O] colorg: Weekly status!

2013-01-30 Thread François Pinard
Bastien writes: >> I can launch a colorg server and two Emacs sessions. [...] Then, >> making edits to any Emacs go to the other. That's a start! > It looks like a *pretty* good one! Can't wait to have a screencast > showing this :) Thanks, Bastien. I begin to starve for getting this projec

Re: [O] Bug: Extra spaces in babel #+call arguments [7.9.3d (release_7.9.3d-823-gd06fa4 @ /usr/share/emacs/24.2/site-lisp/org/)

2013-01-30 Thread Thomas S. Dye
Aloha Rick, Rick Lupton writes: > As a separate question, is it possible to get ":results file" as the > default from the original block so it doesn't have to be repeated in each > #+CALL ? This should work: * Appropriate Heading Level :PROPERTIES: :RESULTS: file :END: All the best, To

Re: [O] Macro question with new texinfo exporter

2013-01-30 Thread Bastien
Hi Nicolas, Nicolas Goaziou writes: > Supporting old syntax is a bit tricky. Perhaps something like: > > - Find the first one to appear between comma and quote: > - if it is a comma, use old syntax > - in any other case, use new syntax. Sounds good to me. >> The reason why I prefer t

Re: [O] bbdb or bbdb3 or org-contacts

2013-01-30 Thread Bastien
Hi Greg, Daimrod writes: >> BBDB is great. org-contacts.el is too slow when you have many >> contacts, and it is not really maintained anymore. > > I've started to use org-contacts.el. I haven't (yet) problem with its > speed but I've improved the completion mecanism which prevented me to > use

Re: [O] testing/README: need to enable sh and org for the current test

2013-01-30 Thread Bastien
Hi Yasushi, Yasushi SHOJI writes: > With the current HEAD(release_7.9.3d-894-gfe805ed), it seems we need > to load "sh" and "org" for babel language to run the test sucessfully. Indeed. > #+BEGIN_SRC elisp > (org-babel-do-load-languages >'org-babel-load-languages >'((emacs-lisp . t)

Re: [O] About range references in the spreadsheet

2013-01-30 Thread Bastien
Hi Xue, Eric and Dieter, die...@duenenhof-wilhelm.de (H. Dieter Wilhelm) writes: > (I would avoid the ambiguous expression "column two" since it is a > relative specification) alternatively > > The TWO REFERENCES expand to a field range from the row above the > current row, starting with two

Re: [O] can babel results show time of evaluation?

2013-01-30 Thread Eric Schulte
Hi Thomas, I've just pushed this functionality up to the main branch. To make use of it add the following to your Emacs config. (setq org-babel-hash-show-time t) It works for me in some simple tests, and I can confirm that with this variable set to nil, I get no new failures in the Org-mode t

Re: [O] bbdb or bbdb3 or org-contacts

2013-01-30 Thread Gour
Bastien writes: > BBDB is great. org-contacts.el is too slow when you have many > contacts, and it is not really maintained anymore. Do you find its flexible-enough in comparison with org-contacts when one wants to add some custom structure? Otoh, I'm also worried about org-contact's future ma

Re: [O] can babel results show time of evaluation?

2013-01-30 Thread Bastien
Hi Eric, Eric Schulte writes: > I've just pushed this functionality up to the main branch. To make use > of it add the following to your Emacs config. > > (setq org-babel-hash-show-time t) Thanks! -- Bastien

Re: [O] bbdb or bbdb3 or org-contacts

2013-01-30 Thread Bastien
Hi Gour, Gour writes: > Bastien writes: > >> BBDB is great. org-contacts.el is too slow when you have many >> contacts, and it is not really maintained anymore. > > Do you find its flexible-enough in comparison with org-contacts when one > wants to add some custom structure? I used org-contac

Re: [O] Has anybody noticed ellipses instead of the top line of the window?

2013-01-30 Thread Bastien
Hi Samuel, Samuel Wales writes: > Please note how that ellipsis carries no useful information. > > I have tried to fix this and other visibility problems (namely, > canonical visibility is impossible to achieve using standard Org > variables) for years, and I still have not found out how to do i

Re: [O] can babel results show time of evaluation?

2013-01-30 Thread Bastien
Hi Eric, Eric Schulte writes: > I've just pushed this functionality up to the main branch. To make use > of it add the following to your Emacs config. > > (setq org-babel-hash-show-time t) Well, the patch breaks master, because of (defvar org-ts-regexp). Can you fix this? Thanks, -- Bas

[O] Babel-generated files not part of published projects?

2013-01-30 Thread Gunnar Wolf
Hi, I have the following (partial) target as a publishing declaration: (setq org-publish-project-alist '(("notas-html" :base-directory "~/vcs/sistemas_operativos/notas/" :base-extension "org" :publishing-directory "~/vcs/sistemas_operativos/html" :recursi

Re: [O] [PATCH] Avoid all modification hooks in org-unmodified

2013-01-30 Thread Bastien
Hi Francesco, "Francesco Pizzolante" writes: > I've changed org-unmodified in order to avoid all modification hooks to be > called (not only before-change-functions and after-change-functions, but also > first-change-hook). > > I've used inhibit-modification-hooks as described here: > http://w

Re: [O] How to improve Org startup time?

2013-01-30 Thread Bastien
Hi Sébastien, put your .emacs on diet :) More seriously, I would start by checking org-agenda-to-appt documentation. It should be on your system. If it is not, check online. That's what really slows down your config. Then, when this is done, I would try to use only those hooks that are rea

Re: [O] Footnote export question

2013-01-30 Thread Alan L Tyree
Bastien writes: > Hi Alan, > > Alan L Tyree writes: > >> Is there some way to achieve the result required? > > Not that I'm aware of, but this is a frequent feature request, > we might put some energy on this for the next major release. > > Best, I thought it was just a legal publisher quirk -

Re: [O] can babel results show time of evaluation?

2013-01-30 Thread Thomas Alexander Gerds
Hi Eric yes, it is in line 178 the call to (defcustom org-babel-load-languages '((emacs-lisp . t)) ... which seems to need `org-ts-regexp' but, otherwise it works! Thank you very much for this option. Best Thomas Bastien writes: > Hi Eric, > > Eric Schulte writes: > >> I've just pushed

Re: [O] Date/time prompt parses '3-2' as 'Month-Day', can I configure it to parse it as 'Day-Month' ?

2013-01-30 Thread David Rogers
Nick Dokos writes: > Yep, I told you I use ISO almost exlusively :-) (slightly) off-topic: What settings can I tweak to make sure that ISO dates are used everywhere in Emacs and Org? (everywhere that's practical, I mean) -- Thanks David

Re: [O] org-archive-add-header-to-new-files

2013-01-30 Thread Christopher Schmidt
Bastien writes: > Thanks for the ChangeLog, would be even greater to have it directly > within the patch as produced by git format-patch! > > In master, I added `org-archive-file-header-format' which see. > > Thanks for this idea, Thank you very much. Christopher

Re: [O] can babel results show time of evaluation?

2013-01-30 Thread Nicolas Goaziou
Hello, Eric Schulte writes: > I've just pushed this functionality up to the main branch. To make use > of it add the following to your Emacs config. > > (setq org-babel-hash-show-time t) > > It works for me in some simple tests, and I can confirm that with this > variable set to nil, I get no

Re: [O] org-caldav issue: Search failed: ";\\([A-Za-z0-9-]+\\)="

2013-01-30 Thread giles
Thanks for the interest. David Engster writes: > Could you please do M-x toggle-debug-on-error before running the sync > and post the resulting backtrace here? Slightly different behaviour this time: first seven events synced fine, number 8 blew up the same way. Debugger entered--Lisp error:

Re: [O] [Bug] test-org-export/before-parsing-hook

2013-01-30 Thread Achim Gratz
Bastien writes: >> Testing current Org fails with this backtrace (the culprit seems to be >> calling looking-at with an argument of nil): > > FWIW I cannot reproduce the problem. Can you? Aside from the fact that Eric's last commit broke compilation of all of Org and I had to back it out, yes I

Re: [O] org-caldav issue: Search failed: ";\\([A-Za-z0-9-]+\\)="

2013-01-30 Thread giles
In addition to the back trace I've just posted, one thought springs to mind given the regex search: My appointments feature a number of Norwegians whose names contain å, ø: non-ascii characters. May not be relevant but ... -- Giles Chamberlin

Re: [O] How to improve Org startup time?

2013-01-30 Thread Achim Gratz
Sebastien Vauban writes: > These are the means over a couple of tests. But the maximum variance (over > that small number of tests) is only about 0.04 s -- in powered mode. File operations on Windows _are_ slow to start with and since a virus scanner is more or less required these days, opening a

Re: [O] [Bug] test-org-export/before-parsing-hook

2013-01-30 Thread Nicolas Goaziou
Hello, Achim Gratz writes: > Aside from the fact that Eric's last commit broke compilation of all of > Org and I had to back it out, yes I can. Here's my config (in other > words the new exporter is active, otherwise that test may not even be > run): > > = Additional files from contrib/

Re: [O] [Bug] test-org-export/before-parsing-hook

2013-01-30 Thread Achim Gratz
Nicolas Goaziou writes: > Could you try this test instead? I don't trust `org-map-entries'. This works. Is this an indication that org-map-entries is buggy? Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ SD adaptation for Waldorf microQ V2.22R2: http:/

Re: [O] [Bug] test-org-export/before-parsing-hook

2013-01-30 Thread Nicolas Goaziou
Achim Gratz writes: > Nicolas Goaziou writes: >> Could you try this test instead? I don't trust `org-map-entries'. > > This works. Is this an indication that org-map-entries is buggy? It is more that this function does too much things behind the scenes (like calling `org-agenda-prepare-buffers'

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

2013-01-30 Thread Achim Gratz
Bastien writes: > Hi Florian, > > Florian Beck writes: > >> I can live with setting `ly-gen-pdf', but maybe something like >> >> (pcase (file-name-extension out-file) >> ("pdf" "--pdf ") >> ("ps" "--ps ") >> ("png" "--png ") >> (t "--png ")) >> >> would be even bett

Re: [O] can babel results show time of evaluation?

2013-01-30 Thread Eric Schulte
Nicolas Goaziou writes: > Hello, > > Eric Schulte writes: > >> I've just pushed this functionality up to the main branch. To make use >> of it add the following to your Emacs config. >> >> (setq org-babel-hash-show-time t) >> >> It works for me in some simple tests, and I can confirm that wit

Re: [O] can babel results show time of evaluation?

2013-01-30 Thread Eric Schulte
Bastien writes: > Hi Eric, > > Eric Schulte writes: > >> I've just pushed this functionality up to the main branch. To make use >> of it add the following to your Emacs config. >> >> (setq org-babel-hash-show-time t) > > Well, the patch breaks master, because of (defvar org-ts-regexp). > Oh,

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

2013-01-30 Thread Florian Beck
Achim Gratz writes: > This would be a bug, I believe you should use backquotes on the string > constants I don't think so. The string evaluates to itself or am I missing something? The real (but harmless) bug is > (t "--png ")) should be (_ "--png ")) -- Florian Beck

Re: [O] can babel results show time of evaluation?

2013-01-30 Thread Achim Gratz
Eric Schulte writes: > What's the "best practice" for how to use a defconst defined in an > external file (when you can't require that file because that file > requires you)? Putting all definitions into a separate "leaf" file that can then be required from everywhere with impunity. Bastien doesn

Re: [O] can babel results show time of evaluation?

2013-01-30 Thread Nicolas Goaziou
Eric Schulte writes: > Are there instances aside from "#+results" where one would want to > pack ancillary information into a keyword? So far, only #+results and #+caption (for the short caption) are concerned. See `org-element-dual-keywords' for some more details. > Perhaps both the hash and t

Re: [O] org-caldav issue: Search failed: ";\\([A-Za-z0-9-]+\\)="

2013-01-30 Thread David Engster
'giles' writes: > David Engster writes: >> Could you please do M-x toggle-debug-on-error before running the sync >> and post the resulting backtrace here? > > Slightly different behaviour this time: first seven events synced fine, > number 8 blew up the same way. > > Debugger entered--Lisp error:

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

2013-01-30 Thread Achim Gratz
Florian Beck writes: > I don't think so. The string evaluates to itself or am I missing > something? If it would fall under "SELFQUOTING" then yes (but I really don't understand what the doc string is trying to tell me there and what would be used for comparison). It seems that a string constant

Re: [O] [new exporter] adhere org-export-date-timestamp-format?

2013-01-30 Thread Nicolas Goaziou
Hello, Bastien writes: >> Though, I think I have to withdraw my proposal about using #+DATE: value >> as a time format string. Indeed, date value, along with any document >> property, is parsed, which defeats the purpose of using it as a format >> string. >> >> We can still implement a convenien

[O] Some advice on how to use babel to generate cisco configs

2013-01-30 Thread Bart Bunting
Good morning, I have been trying to figure out without much luck how to use babel to generate some cisco configs. What I would like to achieve is to have a table containing a few values, e.g. ip address vlan number etc. Then have a cisco config in the org file with markers where the substitutio

Re: [O] Macro question with new texinfo exporter

2013-01-30 Thread Nicolas Goaziou
Bastien writes: > Nicolas Goaziou writes: > >> Supporting old syntax is a bit tricky. Perhaps something like: >> >> - Find the first one to appear between comma and quote: >> - if it is a comma, use old syntax >> - in any other case, use new syntax. > > Sounds good to me. OTOH, the ch

Re: [O] How to improve Org startup time?

2013-01-30 Thread Sebastien Vauban
Hi Bastien, Bastien wrote: > put your .emacs on diet :) More seriously, I would start by checking > org-agenda-to-appt documentation. It should be on your system. If it is not, > check online. I tried to filter to only "timestamp" entries with the following: #+begin_src emacs-lisp (org-agenda-

Re: [O] How to improve Org startup time?

2013-01-30 Thread Sebastien Vauban
Hi Achim, Achim Gratz wrote: > Sebastien Vauban writes: >> These are the means over a couple of tests. But the maximum variance (over >> that small number of tests) is only about 0.04 s -- in powered mode. > > File operations on Windows _are_ slow to start with and since a virus > scanner is more

[O] babel: setting :cmdline header arg for sql blocks

2013-01-30 Thread Gary Oberbrunner
To run mysql code in org-mode (which by the way is pretty incredible that this works at all, and so beautifully, especially since I'm on Windows), I have to have a long header: #+BEGIN_SRC sql :exports both :results value :engine mysql :cmdline -h XXX.YYY.XXX.YYY -u user -ppassword -D database I'

Re: [O] [new exporter] adhere org-export-date-timestamp-format?

2013-01-30 Thread Rasmus
Nicolas Goaziou writes: q > Hello, > > Bastien writes: > >>> Though, I think I have to withdraw my proposal about using #+DATE: >>> value >>> as a time format string. Indeed, date value, along with any >>> document >>> property, is parsed, which defeats the purpose of using it as a >>> format >>>

Re: [O] (no subject) How to sort agenda by timestamps (scheduled/deadline)?

2013-01-30 Thread Bernt Hansen
Martin Beck writes: > Bernt Hansen norang.ca> writes: > >> >> "Martin Beck" web.de> writes: >> >> > I'm trying to create a custom agenda setup for my org-mode and I wonder how > I can sort the agenda-items by >> date (Scheduled >> > or deadline): newest first. >> > >> > I only found time-up /

Re: [O] About range references in the spreadsheet

2013-01-30 Thread Eric S Fraga
Bastien writes: > Hi Xue, Eric and Dieter, > > die...@duenenhof-wilhelm.de (H. Dieter Wilhelm) writes: > >> (I would avoid the ambiguous expression "column two" since it is a >> relative specification) alternatively >> >> The TWO REFERENCES expand to a field range from the row above the >> cu

Re: [O] Macro question with new texinfo exporter

2013-01-30 Thread Thomas S. Dye
Nicolas Goaziou writes: > Bastien writes: > >> Nicolas Goaziou writes: >> >>> Supporting old syntax is a bit tricky. Perhaps something like: >>> >>> - Find the first one to appear between comma and quote: >>> - if it is a comma, use old syntax >>> - in any other case, use new syntax.

Re: [O] How to improve Org startup time?

2013-01-30 Thread Bastien
"Sebastien Vauban" writes: > Plus, from the speed comparisons I had done once, I felt the difference as > being completely marginal. FWIW this is also what I observed, I don't compile anymore. -- Bastien

Re: [O] How to improve Org startup time?

2013-01-30 Thread Eric S Fraga
Sebastien Vauban writes: > Hello, > > Please find here an enriched log of the packages which are loaded for Org, and > the time it takes. > > [2013-01-29 21:20:18] (info) +-> Requiring `appt'... > [2013-01-29 21:20:18] (info) +-> Requiring `diary-lib'... > [2013-01-29 21:20:18] (info) +-> R

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

2013-01-30 Thread Eric S Fraga
Takaaki ISHIKAWA writes: > Feel free to request additional features. Takaaki, a few minor suggestions, and I mean *minor*, in case you get bored and want to work on org-tree-slide mode ;-) : - I would prefer if the title were shown as is, i.e. without adding []s. If I want []s around the ti

Re: [O] How to improve Org startup time?

2013-01-30 Thread Eric S Fraga
Daniel Clemente writes: > If you are worried about speed, you should always byte-compile, because > it's easy and byte-compiled code is faster. > Just do a "make" after each "git pull". I do compile org but I do not compile any of my start-up files; this is a practice I got into when I was

Re: [O] How to improve Org startup time?

2013-01-30 Thread Eric S Fraga
Some timings on a 3-4 (?) year old netbook with Intel N450 Atom @1.66GHz dual core powered: With old org, actually from October 2012 (!) as this system acts as a cloud server for me so I don't actually use it interactively much: | org-agenda-to-appt | 1 | 12.525722775 | 12.525722775 |

Re: [O] orgstruct-mode with custom headline prefix

2013-01-30 Thread Christopher Schmidt
Christopher Schmidt writes: > here is a patch for master that enables the use of a custom headline > prefix file locally in conjunction with orgstruct-mode. Here is the patch, now applying cleanly on master again. --- a/lisp/org-agenda.el +++ b/lisp/org-agenda.el @@ -4437,9 +4437,9 @@ in `org-age

Re: [O] orgstruct-mode with custom headline prefix

2013-01-30 Thread Bastien
Hi Christopher, Christopher Schmidt writes: > Here is the patch, now applying cleanly on master again. I did not have time to try the patch yet. Can you give an indication on how it impacts the generation of agenda? This is a potential blocker. Also, we won't be able to apply such a change u