Re: [O] Bug: org-time-stamp loses repeater interval
Hi Nick, Nick Dokos wrote: Bastien b...@altern.org wrote: Okay, I've pushed another fix. This let me stumble upon another case: the one with org-schedule and org-deadline ignoring warning cookies -- these cases are also fixed. Please confirm! Confirmed. There is a peculiar corner case: If I have a headline that's both scheduled and deadlined, like this: * scheduled DEADLINE: 2011-07-04 Mon +2w -3d SCHEDULED: 2011-07-06 Wed +1w -2d and I C-c C-s in the scheduled date, I get a second SCHEDULED: item with the new date on the DEADLINE line. The original SCHEDULED: is still on the next line, unchanged - like this: * scheduled DEADLINE: 2011-07-04 Mon +2w -3d SCHEDULED: 2011-07-03 Sun +1w -2d SCHEDULED: 2011-07-06 Wed +1w -2d See http://www.mail-archive.com/emacs-orgmode@gnu.org/msg37987.html where I report such a case with inactive timestamps and SCHEDULED dates. See Bastien's answer in the same thread. In this case, SCHEDULED should come first, before DEADLINE, for it to work. Note -- I prefer that order (SCHEDULED, then DEADLINE) since dates are then chronologically sorted (at least, I expect so, that SCHEDULED date DEADLINE date)... Best regards, Seb -- Sebastien Vauban
Re: [O] [babel] using #+call for inline results
Hi Eric, Eric Schulte wrote: Well, I have many other problems with this version (such as speed commands not working anymore, yasnippet expansion not working anymore on TAB, some files which say they're not in Org-agenda-files, etc.) but that's another story. I don't understand, are you saying that all of the above problems are caused by the introduction of inline call lines? I have not experienced any of these problems. No, I just said I had many other little problems since the last git update. Though, I did not know where they come from. Now, I am positive that it comes from the LOB. See the ECM I sent yesterday, and the similar report done yesterday by Darlan. About this, my only weirdness is that I had to confirm 12 times (yes, 12!) that I wanted to execute the calls. I have this in my emacs config file for months ;; don't be prompted on every code block evaluation (setq org-confirm-babel-evaluate nil) ... has this var become a local file variable? This has not become a buffer local variable and I can not reproduce your problem, could you please submit a minimal configuration with which I can reproduce this problem. When removing the Org file with the SQL code from my org-agenda-files, and relaunching Emacs (on an updated git), I don't see that problem anymore... Maybe related to the above problem, then. Last thing: the questions in the echo area sometimes display the block name in parentheses, sometimes not... - Evaluate this emacs-lisp code block (square) on your system? (yes or no) - Evaluate this emacs-lisp code block on your system? (yes or no) When the code block has a name, the name is shown in parens, when the code block is not named no name is shown. What I did not understand, is that these messages appeared when running the example file I took, where only one block is defined, and that block is named. Hence, I'd expect to always see the same message, with the block name in parentheses. Though, as I don't have to confirm anymore (the symptom disappeared), we can put this in the fridge... but for the problem with the LOB file (see http://www.mail-archive.com/emacs-orgmode@gnu.org/msg43083.html). Best regards, Seb -- Sebastien Vauban
[O] [PATCH] org-html: fix typo in doc
Hi, this patch fixes a typo in the documentation of org-html. Best JulianFrom 40483bb63d236595d6982dca26a2a3d80bfd39bc Mon Sep 17 00:00:00 2001 From: Julian Gehring julian.gehr...@googlemail.com Date: Wed, 29 Jun 2011 10:31:21 +0200 Subject: [PATCH] org-html: fix typo in doc --- lisp/org-html.el |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/lisp/org-html.el b/lisp/org-html.el index f6108fc..fd43bbf 100644 --- a/lisp/org-html.el +++ b/lisp/org-html.el @@ -196,7 +196,7 @@ For example, a valid value would be: ]] /style -If you'd like to refer to en external style file, use something like +If you'd like to refer to an external style file, use something like link rel=\stylesheet\ type=\text/css\ href=\mystyles.css\ -- 1.7.4.1
[O] No Brackets in TODO keywords?
Hello List, For visual reasons I'd like to have TODO keywords in brackets, like [TODO], [DONE] etc. Unfortunately, orgmode does not allow me to do that. I can define them, I can select them with C-c C-t, but in the actual .org file they are not recognized as TODO keywords. Or, at least, they don't get drawn using the org-todo face. Ciao, Marcus
Re: [O] Checkbox Statistics - Report Progress
Hi Neil, neil whitley neil.whit...@yahoo.co.uk writes: The way the statistics work as far as I can see is that they give an instant 'snapshot'. BUT is there a way to generate an agenda report that shows how the projects have progressed to [100%] ? This is not currently possible. Maybe have checkbox statistics logged as they change with a timestamp for example? We could implement this by adding a log note to the parent-with-stats task each time a subtask is marked DONE. But I need to think a bit more about this -- normally notes are for the task you act upon, not for another task, so this change might involve a more general change. But thanks for the idea, I would love to make Org handle this. -- Bastien
[O] Bug: inline images for filenames with spaces
Hi, inline image display doesn't seem to work for image links with spaces in them. However, clicking on the image links does work: a window shows the image. Example: [[file:img/test.png]] will display inline [[file:img/test copy.png]] won't I'm using the latest org-mode sources in git as of a few minutes ago on: GNU Emacs 23.3.1 (x86_64-apple-darwin, NS apple-appkit-1038.35) of 2011-03-10 on black.porkrind.org Thanks, Huy
Re: [O] [PATCH] org-html: fix typo in doc
Julian Gehring julian.gehr...@googlemail.com writes: this patch fixes a typo in the documentation of org-html. Applied, thanks. -- Bastien
[O] [Accepted] org-html: fix typo in doc
Patch 813 (http://patchwork.newartisans.com/patch/813/) is now Accepted. Maintainer comment: none This relates to the following submission: http://mid.gmane.org/%3C20110629103958.2b580e74%40avery%3E Here is the original message containing the patch: Content-Type: text/plain; charset=utf-8 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [O] org-html: fix typo in doc Date: Wed, 29 Jun 2011 13:39:58 - From: Julian Gehring julian.gehr...@googlemail.com X-Patchwork-Id: 813 Message-Id: 20110629103958.2b580e74@avery To: emacs-orgmode@gnu.org Hi, this patch fixes a typo in the documentation of org-html. Best Julian From 40483bb63d236595d6982dca26a2a3d80bfd39bc Mon Sep 17 00:00:00 2001 From: Julian Gehring julian.gehr...@googlemail.com Date: Wed, 29 Jun 2011 10:31:21 +0200 Subject: [PATCH] org-html: fix typo in doc --- lisp/org-html.el |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/lisp/org-html.el b/lisp/org-html.el index f6108fc..fd43bbf 100644 --- a/lisp/org-html.el +++ b/lisp/org-html.el @@ -196,7 +196,7 @@ For example, a valid value would be: ]] /style -If you'd like to refer to en external style file, use something like +If you'd like to refer to an external style file, use something like link rel=\stylesheet\ type=\text/css\ href=\mystyles.css\ -- 1.7.4.1
Re: [O] Bug: org-time-stamp loses repeater interval
Hi Sebastien, Sebastien Vauban wxhgmqzgw...@spammotel.com writes: See http://www.mail-archive.com/emacs-orgmode@gnu.org/msg37987.html where I report such a case with inactive timestamps and SCHEDULED dates. See Bastien's answer in the same thread. In this case, SCHEDULED should come first, before DEADLINE, for it to work. There are still strange things here, I want to address them before 7.6. Stay tuned. -- Bastien
Re: [O] No Brackets in TODO keywords?
Hi Marcus, Marcus Klemm marcus.kl...@googlemail.com writes: For visual reasons I'd like to have TODO keywords in brackets, like [TODO], [DONE] etc. Unfortunately, orgmode does not allow me to do that. I can define them, I can select them with C-c C-t, but in the actual .org file they are not recognized as TODO keywords. Or, at least, they don't get drawn using the org-todo face. I'm not in favor of allowing square brackets for TODO keywords, I find the limitations for the TODO keywords really acceptable. So unless many people are asking for this, I will not implement it. -- Bastien
Re: [O] Bug: inline images for filenames with spaces
Huy list-orgm...@reml.org writes: Example: [[file:img/test.png]] will display inline [[file:img/test copy.png]] won't Just tested on the same emacs version and few minutes old org-mode and both works for me. How do you export? Do you have some special settings? -- Manuel Giraud
[O] [BUG] crash while ping-ponging between back-to-back footnotes.
Summary: Sample org file down below also doubles up as bug report. * Sample Add footnote-1 using C-c C-x f [fn:1][fn:2] * Footnotes [fn:1] This is footnote-1. Jump back to the text by mouse-clicking the footnote link. Once you jump back, immediately create another footnote reference using C-c C-x f. [fn:2] This footnote-2. Try jumping back to text by mouse-clicking this fn-2 link. Note the following message on the screen if: Cannot find reference of footnote fn:2. Stack trace is attached.. Debugger entered--Lisp error: (error #(Cannot find reference of footnote fn:2 34 38 (face org-footnote keymap (keymap (follow-link . mouse-face) (mouse-3 . org-find-file-at-mouse) (mouse-2 . org-open-at-mouse)) mouse-face highlight org-no-flyspell t help-echo Footnote definition fontified t))) signal(error (#(Cannot find reference of footnote fn:2 34 38 (face org-footnote keymap (keymap (follow-link . mouse-face) (mouse-3 . org-find-file-at-mouse) (mouse-2 . org-open-at-mouse)) mouse-face highlight org-no-flyspell t help-echo Footnote definition fontified t error(Cannot find reference of footnote %s #(fn:2 0 4 (fontified t help-echo Footnote definition org-no-flyspell t mouse-face highlight keymap (keymap (follow-link . mouse-face) (mouse-3 . org-find-file-at-mouse) (mouse-2 . org-open-at-mouse)) face org-footnote))) (if (not ref) (error Cannot find reference of footnote %s label) (goto-char (nth 1 ref)) (org-show-context (quote link-search))) (let* ((label (org-footnote-normalize-label label)) ref) (save-excursion (setq ref (or (org-footnote-get-next-reference label t) (org-footnote-get-next-reference label) (save-restriction (widen) (or (org-footnote-get-next-reference label t) (org-footnote-get-next-reference label)) (if (not ref) (error Cannot find reference of footnote %s label) (goto-char (nth 1 ref)) (org-show-context (quote link-search org-footnote-goto-previous-reference(#(fn:2 0 4 (fontified t help-echo Footnote definition org-no-flyspell t mouse-face highlight keymap (keymap (follow-link . mouse-face) (mouse-3 . org-find-file-at-mouse) (mouse-2 . org-open-at-mouse)) face org-footnote))) (cond (special (message Footnotes: [s]ort | [r]enumber fn:N | [S]=r+s |-[n]umeric | [d]elete) (setq c (read-char-exclusive)) (cond ((equal c 115) (org-footnote-normalize (quote sort))) ((equal c 114) (org-footnote-renumber-fn:N)) ((equal c 83) (org-footnote-renumber-fn:N) (org-footnote-normalize (quote sort))) ((equal c 110) (org-footnote-normalize)) ((equal c 100) (org-footnote-delete)) (t (error No such footnote command %c c ((setq tmp (org-footnote-at-reference-p)) (if (car tmp) (org-footnote-goto-definition (car tmp)) (goto-char (nth 1 tmp)) (forward-char 5))) ((setq tmp (org-footnote-at-definition-p)) (org-footnote-goto-previous-reference (car tmp))) (t (org-footnote-new))) (let (tmp c) (cond (special (message Footnotes: [s]ort | [r]enumber fn:N | [S]=r+s |-[n]umeric | [d]elete) (setq c (read-char-exclusive)) (cond ((equal c 115) (org-footnote-normalize (quote sort))) ((equal c 114) (org-footnote-renumber-fn:N)) ((equal c 83) (org-footnote-renumber-fn:N) (org-footnote-normalize (quote sort))) ((equal c 110) (org-footnote-normalize)) ((equal c 100) (org-footnote-delete)) (t (error No such footnote command %c c ((setq tmp (org-footnote-at-reference-p)) (if (car tmp) (org-footnote-goto-definition (car tmp)) (goto-char (nth 1 tmp)) (forward-char 5))) ((setq tmp (org-footnote-at-definition-p)) (org-footnote-goto-previous-reference (car tmp))) (t (org-footnote-new org-footnote-action() (cond ((and (org-on-heading-p) (not (org-in-regexp (concat org-plain-link-re \\| org-bracket-link-regexp \\| org-angle-link-re \\| [ ]:[^\n]+:[ ]*$))) (not (get-text-property (point) (quote org-linked-text (or (org-offer-links-in-entry arg) (progn (require (quote org-attach)) (org-attach-reveal (quote if-exists) ((run-hook-with-args-until-success (quote org-open-at-point-functions))) ((org-at-timestamp-p t) (org-follow-timestamp-link)) ((and (or (org-footnote-at-reference-p) (org-footnote-at-definition-p)) (not (org-in-regexp org-bracket-link-regexp))) (org-footnote-action)) (t (let (type path link line search (pos (point))) (catch (quote match) (save-excursion (skip-chars-forward ^]\n) (when (org-in-regexp org-bracket-link-regexp 1) (setq link (org-extract-attributes ...)) (while (string-match *\n * link) (setq link ...)) (setq link (org-link-expand-abbrev link)) (cond (... ...) (... ...) (t ...)) (throw (quote match) t))) (when (get-text-property (point) (quote org-linked-text)) (setq type thisfile pos (if (get-text-property ... ...) (1+ ...) (point)) path (buffer-substring (or ... ...) (or ... ...))) (throw (quote match) t)) (save-excursion (when (or (org-in-regexp org-angle-link-re) (org-in-regexp org-plain-link-re)) (setq type (match-string 1) path (match-string 2)) (throw (quote match) t)))
Re: [O] Bug: org-time-stamp loses repeater interval
I checked out via «git pull», re-compiled Org-mode and tested again: this time, all my test cases mentioned in the original posting worked fine. Bug fixed so far. * Nick Dokos nicholas.do...@hp.com wrote: There is a peculiar corner case: If I have a headline that's both scheduled and deadlined, like this: --8---cut here---start-8--- * scheduled DEADLINE: 2011-07-04 Mon +2w -3d SCHEDULED: 2011-07-06 Wed +1w -2d --8---cut here---end---8--- and I C-c C-s in the scheduled date, I get a second SCHEDULED: item with the new date on the DEADLINE line. The original SCHEDULED: is still on the next line, unchanged - like this: --8---cut here---start-8--- * scheduled DEADLINE: 2011-07-04 Mon +2w -3d SCHEDULED: 2011-07-03 Sun +1w -2d SCHEDULED: 2011-07-06 Wed +1w -2d --8---cut here---end---8--- I can confirm this behavior at my side too. But: When I create SCHEDULED (and DEADLINE) using the shortcut «C-c C-s» SCHEDULED is always in the same like as DEADLINE. In this case, I can not notice the behavior as above. The behavior described by Nick happens only (here) if SCHEDULED is not in the same like as DEADLINE. Remark regarding the order of the two entries: the last thing that gets added/modified is always the last one in this line. So if I create SCHEDULED and DEADLINE, DEADLINE is the second (last) in the line. When I modify SCHEDULED afterwards, it is SCHEDULED that gets positioned at the end of the line. Same for modifications of DEADLINE. -- Karl Voit
[O] Visual distinctiveness of todo states (was: No Brackets in TODO keywords?)
Hi Marcus, Marcus Klemm marcus.kl...@googlemail.com writes: For visual reasons I'd like to have TODO keywords in brackets, like [TODO], [DONE] etc. not sure about the brackets, but to add some visual distinctiveness, I use this: (setq org-todo-keyword-faces '((PROJ :background blue :weight bold :box (:line-width 2 :style released-button)) (TODO :background red1 :weight bold :box (:line-width 2 :style released-button)) (NEXT :background red1 :weight bold :box (:line-width 2 :style released-button)) (STRT :background orange :weight bold :box (:line-width 2 :style released-button)) (WAIT :background yellow :weight bold :box (:line-width 2 :style released-button)) (APPT :background red1 :weight bold :box (:line-width 2 :style released-button)) (DONE :background forest green :weight bold :box (:line-width 2 :style released-button)) (CNCL :background lime green :weight bold :box (:line-width 2 :style released-button)) )) Great on X, less so on tty. Give it a try ;). hth Memnon
Re: [O] [BUG] crash while ping-ponging between back-to-back footnotes.
Hello, Jambunathan K kjambunat...@gmail.com writes: Summary: Sample org file down below also doubles up as bug report. * Sample Add footnote-1 using C-c C-x f [fn:1][fn:2] * Footnotes [fn:1] This is footnote-1. Jump back to the text by mouse-clicking the footnote link. Once you jump back, immediately create another footnote reference using C-c C-x f. [fn:2] This footnote-2. Try jumping back to text by mouse-clicking this fn-2 link. Note the following message on the screen if: Cannot find reference of footnote fn:2. Stack trace is attached.. [...] Did you try it with git head? I can't reproduce it. Regards, -- Nicolas Goaziou
Re: [O] No Brackets in TODO keywords?
Hi Marcus, Marcus Klemm wrote: For visual reasons I'd like to have TODO keywords in brackets, like [TODO], [DONE] etc. Unfortunately, orgmode does not allow me to do that. You can have approaching effects using boxes to surround the TODO keywords. For example: --8---cut here---start-8--- (org-todo ((t (:weight bold :box (:line-width 1 :color red3) :foreground white :background #FF --8---cut here---end---8--- in my color theme Leuven (see http://orgmode.org/worg/color-themes/color-theme-leuven.el). Best regards, Seb -- Sebastien Vauban
Re: [O] HTML Postamble is inside Content DIV
Le 28 juin 11 à 23:45, Sebastien Vauban a écrit : Sebastien Vauban wrote: Sébastien Vauban wrote: Jonathan BISSON wrote: Sébastien Vauban wxhgmqzgwmuf@... writes: After a couple of tests, I've observed that the postamble is forced to be included *inside* the div content. Proof on Line 1764... These are the ending tags of every HTML page: #+begin_src emacs-lisp (unless body-only (insert \n/div\n/body\n/html\n)) #+end_src ... the closing /div referring to the opening of content. Shouldn't it make sense to be able to insert something *out of* the content div? I think so (and the same for preamble)! I rewrote org-export-as-html and did a custom org-publish-org-to- html to call it, in order to get them out off the content div (you can look at a first test on my webpage http://www.bjonnh.net). It's easy to do it I can send you my file if you are interested. I think sharing the code here is always a good idea. However, I'd favor an approach commonly shared by others, ie by either: - moving the postamble out of the content DIV - adding an extra environment next to the content DIV, if the postamble must stay where it currently is -- for historical or compliance reasons? (same applies for preamble) I'm hijacking my own thread, as it received little support, and as the new question is quite related to that: - if we customize the preamble, our string will be inserted as is; - if we customize the postamble, our string will be inserted as is... between a wrapping div called postamble. Shouldn't it be normal to apply the same reasoning for both cases: either impose a wrapper, either not? Any comment for others? Except for the reply of Jonathan, I received no answer on this. Here is thus my proposition for a better div-structured HTML. There are only four parts required in the HTML for all the magic to work with the CSS: - The first part is a container div (content, by default) that surrounds everything. - Inside that are three more parts: + a preamble (in a div, if the user wants it), + a div body and + a postamble (in a div, if the user wants it). The patch is attached. Best regards, Seb Hello, I think my regular use of the html export would be broken. I add a div id=wrapper in the preamble and a /div in the postamble. This allows me to make a boxed page (see http://homepages.ulb.ac.be/ ~pdebuyl/ ) which I like. If I cannot end my div in the postamble, I think it would break my setup. Here is my setup: :html-preamble div id=\wrapper\ div id=\menu\ HERE, some static menu items. /div :html-postamble /div I tried without that extra div and I cannot reproduce my former layout. Pierre
Re: [O] [BUG] crash while ping-ponging between back-to-back footnotes.
Nicolas Goaziou n.goaz...@gmail.com writes: Hello, Jambunathan K kjambunat...@gmail.com writes: Summary: Sample org file down below also doubles up as bug report. * Sample Add footnote-1 using C-c C-x f [fn:1][fn:2] * Footnotes [fn:1] This is footnote-1. Jump back to the text by mouse-clicking the footnote link. Once you jump back, immediately create another footnote reference using C-c C-x f. [fn:2] This footnote-2. Try jumping back to text by mouse-clicking this fn-2 link. Note the following message on the screen if: Cannot find reference of footnote fn:2. Stack trace is attached.. [...] Did you try it with git head? I can't reproduce it. Confirming that this is a bogus bug report for master repo. (I think I was seeing this issue on ngz) Regards,
Re: [O] [BUG] crash while ping-ponging between back-to-back footnotes.
Hi Jambunathan, Jambunathan K kjambunat...@gmail.com writes: Summary: Sample org file down below also doubles up as bug report. * Sample Add footnote-1 using C-c C-x f [fn:1][fn:2] Workaround: separate the footnotes with a space. Add footnote-1 using C-c C-x f [fn:1] [fn:2] Both fontification and export get confused if footnotes are not separated with a space -- I think it's okay to live with this one-space-between-footnotes policy, but I let Nicolas decides. Thanks for reporting this, -- Bastien
Re: [O] [BUG] crash while ping-ponging between back-to-back footnotes.
Bastien b...@altern.org writes: Hi Jambunathan, Jambunathan K kjambunat...@gmail.com writes: Summary: Sample org file down below also doubles up as bug report. * Sample Add footnote-1 using C-c C-x f [fn:1][fn:2] Workaround: separate the footnotes with a space. Add footnote-1 using C-c C-x f [fn:1] [fn:2] Both fontification and export get confused if footnotes are not separated with a space -- I think it's okay to live with this one-space-between-footnotes policy, but I let Nicolas decides. Since [fn:2] is automagically added by C-c C-x f may be it can check for an immediately preceding footnote and DTRT (inserting space or whatever the preference is) if it is not done already. Thanks for reporting this,
Re: [O] Visual distinctiveness of todo states (was: No Brackets in TODO keywords?)
Memnon Anon gegendosenfleisch at googlemail.com writes: Hi Marcus, Marcus Klemm marcus.klemm at googlemail.com writes: For visual reasons I'd like to have TODO keywords in brackets, like [TODO], [DONE] etc. not sure about the brackets, but to add some visual distinctiveness, I use this: [...] Give it a try ;). I experimented a lot with background colors and boxes (although the pseudo-3D is so 90s) and came to the conclusion, that a combination of brackets and a colorful background looks best. But it's only a cosmetic issue, if allowing square brackets is too much work, so be it. Ciao, Marcus
Re: [O] Fwd: Exporting latex without preamble
Hi Bastien, I was planning to use this to create an automated platform for writing my PhD thesis.The plan was to use org to edit separate files corresponding to the chapters of the thesis. Those chapters would then be exported to latex and included (preferably by an automated tool) in a master file that takes care of administrative boilerplate (preambles, cover sheets, boring style configurations, etc, etc...). The idea was to separate latex boilerplate from the text itself. I must use all kinds of custom styles in latex to conform to my university norms, and I wanted to start to write the text in a way that was independent of this boilerplate and only care about it when I must compile a distribution version. I guess I'll have to try to do this differently. What I really was interested in doing is a org-thesis or org-text-production package, in the spirit of org-babel or org2blog. But I don't know much of lisp to be honest (the only functional language I'm familiar with is haskell). My original idea involved a huge makefile and some python scripts, which seems to be a sub-optimal solution. I also played a bit with using an org master file to include each chapters, but I had some problems. Anyway, if you have any kind of tip or suggestion about this, I'm really interested! :D Thanks, --- Rafael Calsaverini Dep. de Física Geral, Sala 336 Instituto de Física - Universidade de São Paulo rafael.calsaver...@gmail.com http://stoa.usp.br/calsaverini/weblog CEL: (11) 7525-6222 USP: (11) 3091-6803 On Tue, Jun 28, 2011 at 20:05, Bastien b...@altern.org wrote: Hi Rafael, Rafael Calsaverini rafael.calsaver...@gmail.com writes: is it possible to export an org file to latex with no preamble and no \begin{document}?? Not at the moment. Is it something you need regularily? -- Bastien
[O] Recurring TODO on weekdays only?
Dear all, I want to have a todo which repeats indefinitely on weekdays only. I have the following: ** TODO Dust hard drives SCHEDULED: 2011-07-04 Mon +1w ** TODO Dust hard drives SCHEDULED: 2011-07-05 Tue +1w ** TODO Dust hard drives SCHEDULED: 2011-06-29 Wed +1w ** TODO Dust hard drives SCHEDULED: 2011-06-30 Thu +1w ** TODO Dust hard drives SCHEDULED: 2011-07-01 Fri +1w However, I'm sure I'm overlooking something and there is a more elegant way. Cheers, Loris -- Dr. Loris Bennett (Mr.) ZEDAT, Freie Universität Berlin Email loris.benn...@fu-berlin.de
Re: [O] [BUG] Ugly checkbox on HTML export
Jambunathan K kjambunat...@gmail.com writes: A test file and the html output are attached. The ugly checkbox is ugly only because it is unlike anyother checkboxes. This patch should do. Hope it doesn't break any other case. From a316c18009b878c3edd2ef241fd42ba25b91246a Mon Sep 17 00:00:00 2001 From: Manuel Giraud manuel.gir...@univ-nantes.fr Date: Wed, 29 Jun 2011 16:57:03 +0200 Subject: [PATCH 2/2] * org-html.el (org-html-export-list-line): correct the ugly checkbox --- lisp/org-html.el |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/lisp/org-html.el b/lisp/org-html.el index 174ee4b..814b772 100644 --- a/lisp/org-html.el +++ b/lisp/org-html.el @@ -2532,7 +2532,7 @@ the alist of previous items. (string-match (concat [ \t]*\\(\\S-+[ \t]*\\) \\(?:\\[@\\(?:start:\\)?\\([0-9]+\\|[A-Za-z]\\)\\]\\)? - \\(?:\\(\\[[ X-]\\]\\)[ \t]+\\)? + [ \t]*\\(?:\\(\\[[ X-]\\]\\)[ \t]+\\)? \\(?:\\(.*\\)[ \t]+::\\(?:[ \t]+\\|$\\)\\)? \\(.*\\)) line) (let* ((checkbox (match-string 3 line)) -- 1.7.5 -- Manuel Giraud
Re: [O] Bug: org-time-stamp loses repeater interval
Sebastien Vauban wxhgmqzgw...@spammotel.com wrote: Hi Nick, Nick Dokos wrote: Bastien b...@altern.org wrote: Okay, I've pushed another fix. This let me stumble upon another case: the one with org-schedule and org-deadline ignoring warning cookies -- these cases are also fixed. Please confirm! Confirmed. There is a peculiar corner case: If I have a headline that's both scheduled and deadlined, like this: * scheduled DEADLINE: 2011-07-04 Mon +2w -3d SCHEDULED: 2011-07-06 Wed +1w -2d and I C-c C-s in the scheduled date, I get a second SCHEDULED: item with the new date on the DEADLINE line. The original SCHEDULED: is still on the next line, unchanged - like this: * scheduled DEADLINE: 2011-07-04 Mon +2w -3d SCHEDULED: 2011-07-03 Sun +1w -2d SCHEDULED: 2011-07-06 Wed +1w -2d See http://www.mail-archive.com/emacs-orgmode@gnu.org/msg37987.html where I report such a case with inactive timestamps and SCHEDULED dates. See Bastien's answer in the same thread. In this case, SCHEDULED should come first, before DEADLINE, for it to work. Note -- I prefer that order (SCHEDULED, then DEADLINE) since dates are then chronologically sorted (at least, I expect so, that SCHEDULED date DEADLINE date)... Seb, thanks for pointing out the thread. I think Bastien is referring to the order of {SCHEDULED or DEADLINE} against inactive, so it's not quite the same - in particular, he mentions that he uses SCHEDULED and DEADLINE together, but I cannot see a dictum about which one of those should come first. For my part, my needs are simple: I never have more than one timestamp on an item, so I don't run into these corner cases usually (except when I'm in twisted testing mode). And the existence of these corner cases validates my approach[fn:1]. It would theoretically be better if there were no rules of course: you could put any set of timestamps in any order you liked and org would do the right thing in all cases. But I doubt very much that the effort is worth it. If there are hard-and-fast rules, about ordering however, an addition to the docs might be a good idea (unless it's already there - I haven't checked). The other thing that I *think* I ran into is that occasionally, with a DEADLINE and SCHEDULED on the same line, changing one would change the *order*. I did wonder whether org was chronologically ordering them, but that was not the case. However, I cannot duplicate the reordering at all now (I tried quite a few times), so I could have imagined it (after all, it happened yesterday, which was a red-letter day of imaginary findings for me). Thanks, Nick Footnotes: [fn:1] :-)
Re: [O] [BUG] Ugly checkbox on HTML export
Oops, the previous patch was applied on top on another one I have here. This one's better. From d9533465909a822275c01450cb00afa96ddcf1b6 Mon Sep 17 00:00:00 2001 From: Manuel Giraud manuel.gir...@univ-nantes.fr Date: Wed, 29 Jun 2011 17:11:16 +0200 Subject: [PATCH] * org-html.el (org-html-export-list-line): correct the ugly checkbox --- lisp/org-html.el |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/lisp/org-html.el b/lisp/org-html.el index a343647..db8b42b 100644 --- a/lisp/org-html.el +++ b/lisp/org-html.el @@ -2532,7 +2532,7 @@ the alist of previous items. (string-match (concat [ \t]*\\(\\S-+[ \t]*\\) \\(?:\\[@\\(?:start:\\)?\\([0-9]+\\|[A-Za-z]\\)\\]\\)? - \\(?:\\(\\[[ X-]\\]\\)[ \t]+\\)? + [ \t]*\\(?:\\(\\[[ X-]\\]\\)[ \t]+\\)? \\(?:\\(.*\\)[ \t]+::\\(?:[ \t]+\\|$\\)\\)? \\(.*\\)) line) (let* ((checkbox (match-string 3 line)) -- 1.7.5 -- Manuel Giraud
Re: [O] [PATCH] org-end-of-meta-data-and-drawers
It looks like patch-acceptance has picked up again recently -- may I humbly bump the fix below? Such a useful helper function, otherwise! Thanks, Eric diff --git a/lisp/org.el b/lisp/org.el index 777850a..ee0b88c 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -19992,7 +19992,7 @@ clocking lines, and drawers. \\| \\([ \t]*\\( org-keyword-time-regexp \\)\\ (forward-line 1) -(while (looking-at (concat [ \t]*\\( org-keyword-time-regexp \\))) +(while (looking-at re) (if (not (match-end 1)) ;; empty or planning line (forward-line 1)
Re: [O] [babel] Maxima code blocks do not work
Bernd Weiss bernd.we...@uni-koeln.de writes: [...] Hi Eric, Again, thanks a lot for your help! You're very welcome! Okay, it definitely is a Windows problem. If I run the following command in a cygwin shell, everything works as expected: maxima --very-quiet -r 'batchload(c:/Users/weiss/AppData/Local/Temp/babel-17716aLH/maxima-17716hCp)$' nil However, it does not work in a Windows shell. But this is no longer an org issue. Bernd Actually, it is still an org issue, albeit one which requires input from those with much more Windows knowledge than I have. It's an org issue because I think we do (or should) strive to have org, as a whole, work on any system that runs Emacs? There are only two arguments to the maxima invocation above: =--very-quiet= to minimise the amount of superfluous output and =-r= to ask maxima to execute the following maxima command (batchload(...)) which is what tells maxima to execute commands from the file that babel creates. If you (anybody) can figure out the magic incantation necessary to invoke maxima on Windows and have it execute commands from a file, it should be straightforward to upgrade the =ob-maximal.el= file to use the right incantation depending on the operating system. -- : Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1 : using Org-mode version 7.5 (release_7.5.510.g56080)
Re: [O] Fwd: Exporting latex without preamble
Thanks for the tip! If I succeed I'll post something in my blog and tell here. --- Rafael Calsaverini Dep. de Física Geral, Sala 336 Instituto de Física - Universidade de São Paulo rafael.calsaver...@gmail.com http://stoa.usp.br/calsaverini/weblog CEL: (11) 7525-6222 USP: (11) 3091-6803 On Wed, Jun 29, 2011 at 13:28, Bastien b...@altern.org wrote: Hi Rafael, thanks for the clear explanations! Rafael Calsaverini rafael.calsaver...@gmail.com writes: Anyway, if you have any kind of tip or suggestion about this, I'm really interested! :D Maybe you should have a look at section 11.4 Include files of the manuals: it's precisely design to tackle the problem you describe. HTH, -- Bastien
Re: [O] org and microsoft exchange
Matthieu Lemerre ra...@free.fr writes: On Mon, 27 Jun 2011 18:14:19 +0100, Eric S Fraga e.fr...@ucl.ac.uk wrote: Matthieu Lemerre ra...@free.fr writes: Hi, After some digging I found the following setup to share my calendar with people using outlook. [...] Matthieu, thanks for this. I am unable to test it but will likely have to do so at the end of the summer (northern hemisphere) when we are supposedly going to be expected to start using various MS tools for collaboration (yech). I'll come back to you then! ;-) Eric, No problem. But note that currently I am able to synchronize with people using Outlook, but not really with Exchange, if that's what you would like to do... I have no idea what I will need to do! I really am truly ignorant of the whole MS world other than I know, if push comes to shove, I can install cygwin and then Emacs when I have to... ;-) For the record, here are some other things that I tried/maybe worth trying: - Davmail + thunderbird: allows accessing exchange mail and calendar and syncinc with it, but did not manage to import org ics into that. - Evolution and the openexchange client may be other things to try. These two seem to imply using something other than Emacs for my email? Or have I misunderstood? - With a bit of elisp (to implement RFC-2446 compliant export), I think full outlook/exchange compliance could be really doable. Okay. I'll keep this in mind although I notice that Bastien has already asked for a link so maybe this will be done by the time I need it :-) Thanks again, eric -- : Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1 : using Org-mode version 7.5 (release_7.5.510.g56080)
[O] Replaced obsolete interactive-p function
Dear all, interactive-p is obsolete since Emacs 23.2 and should be replaced by called-interactively-p. The org-called-interactively-p macro takes care of using either interactive-p or called-interactively-p. I've just updated the latest git and Org uses org-called-interactively-p wherever it makes sense. Please report any weird compilation warnings and/or problems. Thanks! -- Bastien
Re: [O] Problem with autoloads
Eric S Fraga e.fr...@ucl.ac.uk wrote: Suvayu Ali fatkasuvayu+li...@gmail.com writes: [...] prefix for me and works without errors. However as Nick says, maybe its worthwhile to understand why this was happening in the first place. My lisp knowledge is very little, but please let me know if I can help track this down. I'm jumping late into this thread so apologies first but I just wanted to add one data point: I had this problem as well (and did mention it in passing in some message a few weeks ago) but it disappeared. I track Julien's Emacs 24 builds and it would *appear* that the change in behaviour appeared and then disappeared. At least, my org-install.el file suddenly had lisp/org and then just as suddenly did not! Good info - thanks! BTW, where can one get at Julien's emacs 24 builds? Nick
Re: [O] [babel] using #+call for inline results
[...] Sorry for the delay in getting back to you: work sometimes interrupts and, just to add a little excitement in my life, we had a major lighting storm yesterday which blew out my home network! :( But I can't complain: a house down the street caught fire due to the same storm. It's a lot cheaper and slightly less inconvenient to buy a new router than rebuild a house... In any case, everything seems to be working just fine now! Happy to hear you made it through the storm relatively unscathed. [...] There are cases where I would like the inline evaluation to be at the end of a sentence, for instance, or even something like: 25^2=call_square(it=25) hmm, good example, so what set of characters should be allowed to prefix and postfix such a block? For example, = before should export however = both before and after would be a literal example. I don't know if you've done anything about this but I think it is probably not worth worrying about these edge cases. It probably opens up a can of worms and requiring a white space before the inline call is fine with me. This actually wasn't hard to implement, and the example you mentioned above should be working now, at least according to the relevant portion of the Org-mode test suite -- see exporting an lob call line in org-mode/testing/examples/babel.org. Cheers -- Eric -- Eric Schulte http://cs.unm.edu/~eschulte/
Re: [O] Problem with autoloads
On 29 Jun 2011, Eric S. Fraga wrote: Suvayu Ali fatkasuvayu+li...@gmail.com writes: [...] prefix for me and works without errors. However as Nick says, maybe its worthwhile to understand why this was happening in the first place. My lisp knowledge is very little, but please let me know if I can help track this down. I'm jumping late into this thread so apologies first but I just wanted to add one data point: I had this problem as well (and did mention it in passing in some message a few weeks ago) but it disappeared. I track Julien's Emacs 24 builds and it would *appear* that the change in behaviour appeared and then disappeared. At least, my org-install.el file suddenly had lisp/org and then just as suddenly did not! Uhh this is getting more weird with every new message. From when is your package? And what is the current state of this problem? With the package from yesterday I still see the problem. Like I said in another message in this thread: From looking at the source I see no way, that autoloads could generate the path we need. @Suvayu Do you use Julien's emacs-snapshot, too? Michael pgpVQQ4gJjRSZ.pgp Description: PGP signature
Re: [O] [babel] using #+call for inline results
Sebastien Vauban wxhgmqzgw...@spammotel.com writes: Hi Eric, Eric Schulte wrote: Well, I have many other problems with this version (such as speed commands not working anymore, yasnippet expansion not working anymore on TAB, some files which say they're not in Org-agenda-files, etc.) but that's another story. I don't understand, are you saying that all of the above problems are caused by the introduction of inline call lines? I have not experienced any of these problems. No, I just said I had many other little problems since the last git update. Though, I did not know where they come from. Now, I am positive that it comes from the LOB. See the ECM I sent yesterday, and the similar report done yesterday by Darlan. Hi Seb, I don't know what you are referencing above, but if the new LOB behavior is causing problems then I certainly want to help resolve them. Can you link me to the ECM you mentioned, and to Darlan's report? About this, my only weirdness is that I had to confirm 12 times (yes, 12!) that I wanted to execute the calls. I have this in my emacs config file for months ;; don't be prompted on every code block evaluation (setq org-confirm-babel-evaluate nil) ... has this var become a local file variable? This has not become a buffer local variable and I can not reproduce your problem, could you please submit a minimal configuration with which I can reproduce this problem. When removing the Org file with the SQL code from my org-agenda-files, and relaunching Emacs (on an updated git), I don't see that problem anymore... Maybe related to the above problem, then. Hmm, could you send me a copy (or minimal subset) of this offending Org-mode file that causes the multiple prompts? Are you loading this file using `org-babel-lob-ingest'? Last thing: the questions in the echo area sometimes display the block name in parentheses, sometimes not... - Evaluate this emacs-lisp code block (square) on your system? (yes or no) - Evaluate this emacs-lisp code block on your system? (yes or no) When the code block has a name, the name is shown in parens, when the code block is not named no name is shown. What I did not understand, is that these messages appeared when running the example file I took, where only one block is defined, and that block is named. Hence, I'd expect to always see the same message, with the block name in parentheses. Though, as I don't have to confirm anymore (the symptom disappeared), we can put this in the fridge... but for the problem with the LOB file (see thtp://www.mail-archive.com/emacs-orgmode@gnu.org/msg43083.html). Oh, I see, the file in question is mentioned in this linked email. I will take a look and see if I can reproduce locally. Expect more from me on this today. Cheers -- Eric Best regards, Seb -- Eric Schulte http://cs.unm.edu/~eschulte/
Re: [O] Recurring TODO on weekdays only?
Hi, Loris Bennett loris.benn...@fu-berlin.de writes: I want to have a todo which repeats indefinitely on weekdays only. I have the following: ** TODO Dust hard drives SCHEDULED: 2011-07-04 Mon +1w ** TODO Dust hard drives SCHEDULED: 2011-07-05 Tue +1w ** TODO Dust hard drives SCHEDULED: 2011-06-29 Wed +1w ** TODO Dust hard drives SCHEDULED: 2011-06-30 Thu +1w ** TODO Dust hard drives SCHEDULED: 2011-07-01 Fri +1w ** TODO Dust hard drives 2011-07-04 Mon +1w 2011-07-05 Tue +1w 2011-07-06 Wed +1w 2011-07-07 Thu +1w 2011-07-08 Fri +1w should do it ... ... shouldn't it? Vielleicht hat die Rostlaube auch heute einfach mein Gehirn weichgekocht ;). Memnon
Re: [O] [babel] using #+call for inline results
Hi Seb, I have attempted to reproduce the two problems I've seen mentioned, specifically 1. repeated prompts to evaluate code when `org-confirm-babel-evaluate' is set to nil 2. Org-mode files not being seen with Org set as the major mode I've used the following minimal configuration seb.el Description: application/emacs-lisp which adds the problematic Org-mode file you included in a recent email (attached) into the list of org-agenda-files. #+TITLE: Babel ECM #+DATE: 2011-06-28 #+DESCRIPTION: #+KEYWORDS: #+LANGUAGE: en_US #+LaTeX_CLASS: mcreport #+LaTeX_CLASS_OPTIONS: (final) #+BABEL: :eval never :engine msosql :cmdline -S cauchy -U sa -P LpmdlP -d pfi-paiestag -n -w 700 :results output :exports both :noweb yes * Introduction This library is an extensible *collection of* ready-made *code blocks* for handling common tasks. * Generic Transact-SQL ** Add a column into a table #+srcname: add-column-in-table[table, column, type, nullability] #+begin_src sql -- add column `$column' [if column does not exist yet] IF NOT EXISTS [SELECT * FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_NAME = '$table' AND COLUMN_NAME = '$column'] BEGIN ALTER TABLE $table ADD $column $type $nullability END #+end_src I have been unable to reproduce either of the problems you described. Could you start with these two files and build a minimal example demonstrating the bug which can be started with something along the lines of : emacs -Q -l seb.el Once I can observer the behavior then I should have a chance to fix it. Thanks -- Eric Eric Schulte schulte.e...@gmail.com writes: Sebastien Vauban wxhgmqzgw...@spammotel.com writes: Hi Eric, Eric Schulte wrote: Well, I have many other problems with this version (such as speed commands not working anymore, yasnippet expansion not working anymore on TAB, some files which say they're not in Org-agenda-files, etc.) but that's another story. I don't understand, are you saying that all of the above problems are caused by the introduction of inline call lines? I have not experienced any of these problems. No, I just said I had many other little problems since the last git update. Though, I did not know where they come from. Now, I am positive that it comes from the LOB. See the ECM I sent yesterday, and the similar report done yesterday by Darlan. Hi Seb, I don't know what you are referencing above, but if the new LOB behavior is causing problems then I certainly want to help resolve them. Can you link me to the ECM you mentioned, and to Darlan's report? About this, my only weirdness is that I had to confirm 12 times (yes, 12!) that I wanted to execute the calls. I have this in my emacs config file for months ;; don't be prompted on every code block evaluation (setq org-confirm-babel-evaluate nil) ... has this var become a local file variable? This has not become a buffer local variable and I can not reproduce your problem, could you please submit a minimal configuration with which I can reproduce this problem. When removing the Org file with the SQL code from my org-agenda-files, and relaunching Emacs (on an updated git), I don't see that problem anymore... Maybe related to the above problem, then. Hmm, could you send me a copy (or minimal subset) of this offending Org-mode file that causes the multiple prompts? Are you loading this file using `org-babel-lob-ingest'? Last thing: the questions in the echo area sometimes display the block name in parentheses, sometimes not... - Evaluate this emacs-lisp code block (square) on your system? (yes or no) - Evaluate this emacs-lisp code block on your system? (yes or no) When the code block has a name, the name is shown in parens, when the code block is not named no name is shown. What I did not understand, is that these messages appeared when running the example file I took, where only one block is defined, and that block is named. Hence, I'd expect to always see the same message, with the block name in parentheses. Though, as I don't have to confirm anymore (the symptom disappeared), we can put this in the fridge... but for the problem with the LOB file (see thtp://www.mail-archive.com/emacs-orgmode@gnu.org/msg43083.html). Oh, I see, the file in question is mentioned in this linked email. I will take a look and see if I can reproduce locally. Expect more from me on this today. Cheers -- Eric Best regards, Seb -- Eric Schulte http://cs.unm.edu/~eschulte/
Re: [O] [BUG] crash while ping-ponging between back-to-back footnotes.
Jambunathan K kjambunat...@gmail.com writes: Both fontification and export get confused if footnotes are not separated with a space -- I think it's okay to live with this one-space-between-footnotes policy, but I let Nicolas decides. Since [fn:2] is automagically added by C-c C-x f may be it can check for an immediately preceding footnote and DTRT (inserting space or whatever the preference is) if it is not done already. I'm a bit confused. I still fail to see what is wrong about the current behavior in master branch. AFAICT, two or more footnotes side-by-side are correctly handled. I think Bastien somehow tested an intermediary revision of the patch. Regards, -- Nicolas Goaziou
Re: [O] Fwd: Exporting latex without preamble
Hi Rafael, thanks for the clear explanations! Rafael Calsaverini rafael.calsaver...@gmail.com writes: Anyway, if you have any kind of tip or suggestion about this, I'm really interested! :D Maybe you should have a look at section 11.4 Include files of the manuals: it's precisely design to tackle the problem you describe. HTH, -- Bastien
Re: [O] [babel] using #+call for inline results
Eric Schulte schulte.e...@gmail.com writes: Eric S Fraga e.fr...@ucl.ac.uk writes: [...] this was working on Friday but seems to have stopped working for me now completely. For instance, your snippet above exports as Hmm, have you updated Org-mode in the last hour/minutes, there have indeed been a number of changes recently. I believe that the above should be working now, without requiring any special configuration. Sorry for the delay in getting back to you: work sometimes interrupts and, just to add a little excitement in my life, we had a major lighting storm yesterday which blew out my home network! :( But I can't complain: a house down the street caught fire due to the same storm. It's a lot cheaper and slightly less inconvenient to buy a new router than rebuild a house... In any case, everything seems to be working just fine now! Also, I note from the comments that you expect the inline call to be whitespace delimited. I haven't tested this but, just in case, could I request that the delimiting be either whitespace or punctuation? As this behaves currently there need only be whitespace _before_ the inline call line, not after, so most normal punctuation usage should work. Yes, that's fine. Thanks for the clarification! [...] There are cases where I would like the inline evaluation to be at the end of a sentence, for instance, or even something like: 25^2=call_square(it=25) hmm, good example, so what set of characters should be allowed to prefix and postfix such a block? For example, = before should export however = both before and after would be a literal example. I don't know if you've done anything about this but I think it is probably not worth worrying about these edge cases. It probably opens up a can of worms and requiring a white space before the inline call is fine with me. Thanks again, eric -- : Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1 : using Org-mode version 7.5 (release_7.5.510.g56080)
Re: [O] Problem with autoloads
Suvayu Ali fatkasuvayu+li...@gmail.com writes: [...] prefix for me and works without errors. However as Nick says, maybe its worthwhile to understand why this was happening in the first place. My lisp knowledge is very little, but please let me know if I can help track this down. I'm jumping late into this thread so apologies first but I just wanted to add one data point: I had this problem as well (and did mention it in passing in some message a few weeks ago) but it disappeared. I track Julien's Emacs 24 builds and it would *appear* that the change in behaviour appeared and then disappeared. At least, my org-install.el file suddenly had lisp/org and then just as suddenly did not! -- Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D)
Re: [O] Problem with autoloads
Nick Dokos nicholas.do...@hp.com writes: [...] BTW, where can one get at Julien's emacs 24 builds? I get them with the following line in my /etc/apt/sources.list: deb http://emacs.naquadah.org/ unstable/ deb-src http://emacs.naquadah.org/ unstable/ Latest version is from yesterday. Julien tends to do a weekly snapshot. There are some strange window/frame problems with the latest versions, especially to do with popups, but not deal breaking (IMO). -- : Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1 : using Org-mode version 7.5 (release_7.5.511.g2b7d)
Re: [O] Problem with autoloads
Michael Markert markert.mich...@googlemail.com writes: On 29 Jun 2011, Eric S. Fraga wrote: Suvayu Ali fatkasuvayu+li...@gmail.com writes: [...] prefix for me and works without errors. However as Nick says, maybe its worthwhile to understand why this was happening in the first place. My lisp knowledge is very little, but please let me know if I can help track this down. I'm jumping late into this thread so apologies first but I just wanted to add one data point: I had this problem as well (and did mention it in passing in some message a few weeks ago) but it disappeared. I track Julien's Emacs 24 builds and it would *appear* that the change in behaviour appeared and then disappeared. At least, my org-install.el file suddenly had lisp/org and then just as suddenly did not! Uhh this is getting more weird with every new message. From when is your package? And what is the current state of this problem? With the package from yesterday I still see the problem. Like I said in another message in this thread: From looking at the source I see no way, that autoloads could generate the path we need. @Suvayu Do you use Julien's emacs-snapshot, too? Michael Actually, it's getting even more confusing. My summary above is wrong. Sorry! However, I have three systems: |+++-| | system | emacs-snapshot version | org-install format | org version | |+++-| | 1. | 20110620-1 | org | 2b7dbee | | 2. | 20110620-1 | lisp/org | 2b7dbee | | 3. | 20110628-1 | lisp/org | 560804b | |+++-| These are all Debian testing/unstable systems with slightly different mixes of packages and two (1,2) with one commit newer than the other (3). Two different versions of Emacs but the different method of specifying the autoload not matching the version of Emacs. There's something else going on! I'm happy to give versions of other packages if required, of course! Very very strange! -- : Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1 : using Org-mode version 7.5 (release_7.5.511.g2b7d)
Re: [O] Fwd: Exporting latex without preamble
Aloha Rafael, Is there a reason not to have everything in one .org file? I find Org-mode's ability to fold on headlines and to edit subtrees in indirect buffers very convenient, even for long documents. For my work, that functionality has replaced LaTeX \include files. I'm not exactly sure what you mean by latex boilerplate but you ought to be able to map your University's custom styles to standard LaTeX constructs in a way that makes the text you write easily portable to other LaTeX style and class files later on. hth, Tom Rafael Calsaverini rafael.calsaver...@gmail.com writes: Hi Bastien, I was planning to use this to create an automated platform for writing my PhD thesis.The plan was to use org to edit separate files corresponding to the chapters of the thesis. Those chapters would then be exported to latex and included (preferably by an automated tool) in a master file that takes care of administrative boilerplate (preambles, cover sheets, boring style configurations, etc, etc...). The idea was to separate latex boilerplate from the text itself. I must use all kinds of custom styles in latex to conform to my university norms, and I wanted to start to write the text in a way that was independent of this boilerplate and only care about it when I must compile a distribution version. I guess I'll have to try to do this differently. What I really was interested in doing is a org-thesis or org-text-production package, in the spirit of org-babel or org2blog. But I don't know much of lisp to be honest (the only functional language I'm familiar with is haskell). My original idea involved a huge makefile and some python scripts, which seems to be a sub-optimal solution. I also played a bit with using an org master file to include each chapters, but I had some problems. Anyway, if you have any kind of tip or suggestion about this, I'm really interested! :D Thanks, --- Rafael Calsaverini Dep. de Física Geral, Sala 336 Instituto de Física - Universidade de São Paulo rafael.calsaver...@gmail.com http://stoa.usp.br/calsaverini/weblog CEL: (11) 7525-6222 USP: (11) 3091-6803 On Tue, Jun 28, 2011 at 20:05, Bastien b...@altern.org wrote: Hi Rafael, Rafael Calsaverini rafael.calsaver...@gmail.com writes: is it possible to export an org file to latex with no preamble and no \begin{document}?? Not at the moment. Is it something you need regularily? -- Bastien -- Thomas S. Dye http://www.tsdye.com
Re: [O] Problem with autoloads
Hi, On Wed, Jun 29, 2011 at 11:24 AM, Michael Markert markert.mich...@googlemail.com wrote: @Suvayu Do you use Julien's emacs-snapshot, too? No I usually follow the git mirror on repo.or.cz[1] unless there is some bugfix that I want, in that case I use the bzr repo here[2]. Michael Footnotes: [1] http://repo.or.cz/w/emacs.git [2] http://bzr.savannah.gnu.org/lh/emacs/trunk/changes -- Suvayu Open source is the future. It sets us free.
Re: [O] Fwd: Exporting latex without preamble
Hi Rafael, On Wed, Jun 29, 2011 at 7:20 AM, Rafael Calsaverini rafael.calsaver...@gmail.com wrote: The idea was to separate latex boilerplate from the text itself. I must use all kinds of custom styles in latex to conform to my university norms, and I wanted to start to write the text in a way that was independent of this boilerplate and only care about it when I must compile a distribution version. Arem't you using latex styles? I recently wrote my Master's thesis. All I had to do to use my university style was put this in the header: #+LaTeX_HEADER: \usepackage[options]{thesisstyle} This was followed by other thesis preamble related commands like my adding my examining committee, copyright notice, approval date and so on. In the following text I used regular org syntax to write the body of the thesis. I used babel latex src blocks for equations or multiple figures under one caption (I use this to gain syntax highlighting, plain latex with the text should also work fine. I hope this helps. PS: I am also thinking of writing a tutorial or gotcha page for a document like this on Worg once I have some free time. -- Suvayu Open source is the future. It sets us free.
Re: [O] ob-lilypond
Hi I have a commit ready to push to add lilypond support to Org-mode, first I just have two questions. 1. I see Shelagh Manton mentioned as an author, would it be possible for Shelagh to complete the FSF copyright assignment forms? Otherwise I don't believe we can add ob-lilypond to the Org-mode core, although we could still place it in the contrib directory with ob-oz. Initially this project was intended to be a joint project between Shelagh and myself, but short of the initial commit, Shelagh hasn't been involved (unfortunately, since she will certainly know LilyPond better than I do - I believe she is very busy). The initial commit was broken and wasn't used. I'll try to contact her, but haven't an email address, so must use Github. 2. I see you have a test suite which is fantastic. Additionally this test suite uses ert, which is what the main Org-mode test suite uses. Would it be possible to fold this test suite into Org-mode's test suite in the testing directory? My test suite can live anywhere - it requires altering relative paths. Currently my test suite requires the test-build directory and contained files. If these tests require a lilypond executable we may have to partition them off from the main Org-mode test suite so that they can be run independently of each other. They don't. Regards Martyn
Re: [O] Recurring TODO on weekdays only?
* Loris Bennett loris.benn...@fu-berlin.de wrote: Dear all, Hi you :-) I want to have a todo which repeats indefinitely on weekdays only. Probably you are looking for sexp datestamps: http://orgmode.org/org.html#Timestamps (and following) (I do not use them by my self (yet)). -- Karl Voit
[O] emacs snapshot on debian and ubuntu (was: Problem with autoloads)
Nick Dokos nicholas.do...@hp.com writes: BTW, where can one get at Julien's emacs 24 builds? http://emacs.naquadah.org/ hth Memnon
[O] Org-mode as a replacement for LaTeX (was: Fwd: Exporting latex without preamble)
* Thomas S. Dye t...@tsdye.com wrote: Aloha Rafael, Sorry, I thought you might as well be interested in my point of view. First: I am pretty new to Org-mode but I am using LaTeX a while now and I am even teaching LaTeX to motivated beginners. Is there a reason not to have everything in one .org file? I find Org-mode's ability to fold on headlines and to edit subtrees in indirect buffers very convenient, even for long documents. For my work, that functionality has replaced LaTeX \include files. I did not follow the thread here but I do think I get the idea that you want to replace LaTeX with Org-mode and generate a PDF via LaTeX/PDF-export functionality of Org-mode. On the one hand, I do agree that (simple) PDF documents are written very easily with Org-mode. But on the other hand you are going to add just another layer. This means that you probably end up wanting this LaTeX feature in Org-mode, that other handy LaTeX feature too and so forth. In my point of view, if you leave the basic stuff, you should stick to LaTeX. And I do have good news to you: You are very fortune because Emacs does have the IMHO most advanced editor support for LaTeX: AucTeX (with all of its extensions like preview-latex and RefTeX). I plan to use Org-mode as an outline tool for larger documents, where the basic structure evolves, keywords are moved from one part to the other. But before I start to write the detailed document content, I move to AucTeX, having the great possibilities for writing documents that end up being great PDFs. But this is just my point of view. -- Karl Voit
Re: [O] [BUG] Ugly checkbox on HTML export
Hello, Manuel Giraud manuel.gir...@univ-nantes.fr writes: Jambunathan K kjambunat...@gmail.com writes: A test file and the html output are attached. The ugly checkbox is ugly only because it is unlike anyother checkboxes. This patch should do. Hope it doesn't break any other case. The problem is deeper than that. At the moment [@6] [ ] isn't recognized as a valid check-box, while [@6][ ] is. Proof: try to C-c C-c the ugly checkbox. Anyhow, for now, when there is both a counter and a checkbox in the item, you have to stick them. It will then export fine. Regards, -- Nicolas Goaziou
Re: [O] ob-lilypond
Martyn Jago martyn.j...@btinternet.com writes: Hi I have a commit ready to push to add lilypond support to Org-mode, first I just have two questions. 1. I see Shelagh Manton mentioned as an author, would it be possible for Shelagh to complete the FSF copyright assignment forms? Otherwise I don't believe we can add ob-lilypond to the Org-mode core, although we could still place it in the contrib directory with ob-oz. Initially this project was intended to be a joint project between Shelagh and myself, but short of the initial commit, Shelagh hasn't been involved (unfortunately, since she will certainly know LilyPond better than I do - I believe she is very busy). The initial commit was broken and wasn't used. I'll try to contact her, but haven't an email address, so must use Github. If Shelagh hasn't actually authored any of ob-lilypond.el (or at least hasn't authored more than 10 lines of) then we could simply remove her name from the authors list and include it into the Org-mode core. This however may not be the best long-term solution if you anticipate her increased participation later-on in the project. Please let me know (soon) if you would like me to make this change. 2. I see you have a test suite which is fantastic. Additionally this test suite uses ert, which is what the main Org-mode test suite uses. Would it be possible to fold this test suite into Org-mode's test suite in the testing directory? My test suite can live anywhere - it requires altering relative paths. Currently my test suite requires the test-build directory and contained files. Alright, I think we can wait for this integration, but please don't delete your github repo in the mean time as I would like to fold this test suite in at some point. Ultimately this points to the more general issue of how to include Babel language-specific tests into the Org-mode test suite s.t. they can be executed independently of the core of the test suite. Thanks -- Eric If these tests require a lilypond executable we may have to partition them off from the main Org-mode test suite so that they can be run independently of each other. They don't. Regards Martyn -- Eric Schulte http://cs.unm.edu/~eschulte/
Re: [O] Problem with autoloads
On 29 Jun 2011, Nick Dokos wrote: Eric S Fraga e.fr...@ucl.ac.uk wrote: Suvayu Ali fatkasuvayu+li...@gmail.com writes: [...] prefix for me and works without errors. However as Nick says, maybe its worthwhile to understand why this was happening in the first place. My lisp knowledge is very little, but please let me know if I can help track this down. I'm jumping late into this thread so apologies first but I just wanted to add one data point: I had this problem as well (and did mention it in passing in some message a few weeks ago) but it disappeared. I track Julien's Emacs 24 builds and it would *appear* that the change in behaviour appeared and then disappeared. At least, my org-install.el file suddenly had lisp/org and then just as suddenly did not! Good info - thanks! BTW, where can one get at Julien's emacs 24 builds? http://emacs.naquadah.org/ Michael pgpFYEBW9Gr14.pgp Description: PGP signature
Re: [O] Problem with autoloads
On Wed, Jun 29, 2011 at 1:02 PM, Nick Dokos nicholas.do...@hp.com wrote: Latest version is from yesterday. Julien tends to do a weekly snapshot. There are some strange window/frame problems with the latest versions, especially to do with popups, but not deal breaking (IMO). Yes, I slammed into those head-first yesterday: I got a frame for each message viewed (I use mh-e) and for each debug trace. I ran away as fast as possible. Those were annoying me a lot[1]! However it has been fixed in the latest Emacs 24. I had to use bzr for the bugfix since the git mirror is behind by several days (not sure why that is though, until March it used to be only a few days behind). Footnotes: [1] The pop-ups became intolerable when exporting files with lots of babel blocks. The problem was switch-buffer-to-other-window was behaving as switch-buffer-to-other-frame. -- Suvayu Open source is the future. It sets us free.
Re: [O] Problem with autoloads
Eric S Fraga e.fr...@ucl.ac.uk wrote: Nick Dokos nicholas.do...@hp.com writes: [...] BTW, where can one get at Julien's emacs 24 builds? I get them with the following line in my /etc/apt/sources.list: deb http://emacs.naquadah.org/ unstable/ deb-src http://emacs.naquadah.org/ unstable/ Thanks! (and to Michael as well for the reference). Like Suvauy, I use the git mirror on repo.or.cz. I'm allergic to bzr so I try not to go too close to savanah. Latest version is from yesterday. Julien tends to do a weekly snapshot. There are some strange window/frame problems with the latest versions, especially to do with popups, but not deal breaking (IMO). Yes, I slammed into those head-first yesterday: I got a frame for each message viewed (I use mh-e) and for each debug trace. I ran away as fast as possible. Nick
Re: [O] Recurring TODO on weekdays only?
* Memnon Anon gegendosenflei...@googlemail.com wrote: ** TODO Dust hard drives SCHEDULED: 2011-07-04 Mon +1w ** TODO Dust hard drives SCHEDULED: 2011-07-05 Tue +1w ** TODO Dust hard drives SCHEDULED: 2011-06-29 Wed +1w ** TODO Dust hard drives SCHEDULED: 2011-06-30 Thu +1w ** TODO Dust hard drives SCHEDULED: 2011-07-01 Fri +1w ** TODO Dust hard drives 2011-07-04 Mon +1w 2011-07-05 Tue +1w 2011-07-06 Wed +1w 2011-07-07 Thu +1w 2011-07-08 Fri +1w should do it ... ... shouldn't it? It does. But you should be aware that you «lose» a cool feature I was pointed to: org-clone-subtree-with-time-shift [1] With this cool thing you can «generate» several simple occurrences from the recurring entry. I use this to manually delete single events of a recurring series of events. Vielleicht hat die Rostlaube auch heute einfach mein Gehirn weichgekocht ;). Du wirst von einer Rostlaube gekocht? 1. http://orgmode.org/org.html#Structure-editing and http://orgmode.org/org.html#Repeated-tasks -- Karl Voit
Re: [O] Replaced obsolete interactive-p function
On 29 Jun 2011, Bastien wrote: Dear all, interactive-p is obsolete since Emacs 23.2 and should be replaced by called-interactively-p. The org-called-interactively-p macro takes care of using either interactive-p or called-interactively-p. I've just updated the latest git and Org uses org-called-interactively-p wherever it makes sense. Please report any weird compilation warnings and/or problems. I still see a lot warnings complaining about `interactive-p'. I figured that it happens because the byte-compiler still sees the `interactive-p's Appended is a patch to the macro that checks on expand which interactive predicate we need. I don't see those warnings anymore and a quick check showed that it behaves as the complete version (at least on emacs24). Michael From e6c8ce384d7e848367a900681f10a13fffea882b Mon Sep 17 00:00:00 2001 From: Michael Markert markert.mich...@googlemail.com Date: Thu, 30 Jun 2011 00:25:09 +0200 Subject: [PATCH] org-macs: Determine on macro expand which interactive predicate we need. Signed-off-by: Michael Markert markert.mich...@googlemail.com --- lisp/org-macs.el |8 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lisp/org-macs.el b/lisp/org-macs.el index 27e1d88..731642d 100644 --- a/lisp/org-macs.el +++ b/lisp/org-macs.el @@ -48,13 +48,13 @@ (declare-function org-string-match-p org-compat (rest args)) (defmacro org-called-interactively-p (optional kind) - `(if (featurep 'xemacs) - (interactive-p) + (if (featurep 'xemacs) + `(interactive-p) (if (or ( emacs-major-version 23) (and (= emacs-major-version 23) (= emacs-minor-version 2))) -(with-no-warnings (called-interactively-p ,kind)) ;; defined with no argument in =23.1 - (interactive-p +`(with-no-warnings (called-interactively-p ,kind)) ;; defined with no argument in =23.1 + `(interactive-p (if (and (not (fboundp 'with-silent-modifications)) (or ( emacs-major-version 23) -- 1.7.5.4 pgpcKBTojsYMD.pgp Description: PGP signature
Re: [O] Replaced obsolete interactive-p function
I suggest to talk to Eric Schulte before applying this patch - Carsten On 30.6.2011, at 00:29, Michael Markert wrote: On 29 Jun 2011, Bastien wrote: Dear all, interactive-p is obsolete since Emacs 23.2 and should be replaced by called-interactively-p. The org-called-interactively-p macro takes care of using either interactive-p or called-interactively-p. I've just updated the latest git and Org uses org-called-interactively-p wherever it makes sense. Please report any weird compilation warnings and/or problems. I still see a lot warnings complaining about `interactive-p'. I figured that it happens because the byte-compiler still sees the `interactive-p's Appended is a patch to the macro that checks on expand which interactive predicate we need. I don't see those warnings anymore and a quick check showed that it behaves as the complete version (at least on emacs24). Michael 0001-org-macs-Determine-on-macro-expand-which-interactive.patch
Re: [O] Replaced obsolete interactive-p function
Michael's patch looks great to me, I can confirm that it does stifle the warnings on Emacs24, and everything compiles and works as expected -- at least as far as the Org-mode test suite is able to differentiate. In addition to applying this patch I've also added another patch which supplies the optional KIND argument to every invocation of org-called-interactively-p. Cheers -- Eric Carsten Dominik carsten.domi...@gmail.com writes: I suggest to talk to Eric Schulte before applying this patch - Carsten On 30.6.2011, at 00:29, Michael Markert wrote: On 29 Jun 2011, Bastien wrote: Dear all, interactive-p is obsolete since Emacs 23.2 and should be replaced by called-interactively-p. The org-called-interactively-p macro takes care of using either interactive-p or called-interactively-p. I've just updated the latest git and Org uses org-called-interactively-p wherever it makes sense. Please report any weird compilation warnings and/or problems. I still see a lot warnings complaining about `interactive-p'. I figured that it happens because the byte-compiler still sees the `interactive-p's Appended is a patch to the macro that checks on expand which interactive predicate we need. I don't see those warnings anymore and a quick check showed that it behaves as the complete version (at least on emacs24). Michael 0001-org-macs-Determine-on-macro-expand-which-interactive.patch -- Eric Schulte http://cs.unm.edu/~eschulte/