Re: [Orgmode] Unnecessary comma escapes in HTML export of #+INCLUDE files
Hi Hsiu-Khuern, I am not able to reproduce the problem. - Carsten On Sep 2, 2009, at 12:03 AM, Hsiu-Khuern Tang wrote: * On Fri 05:45AM +, 24 Jul 2009, Tang, Hsiu-Khuern (hsiu-khuern.t...@hp.com ) wrote: * On Fri 01:22AM +, 24 Jul 2009, Bastien (bastiengue...@googlemail.com ) wrote: Hi Hsiu-Khuern, I've just pushed a fix for this: when the src switch is present, including a file won't escape org-like lines. With a bare #+include we still escape lines starting with * or #. Please test it and report any problem. It works beautifully now. Thank you very much for the fix! It looks Org has reverted to the old behavior: inserting a comma at a beginning of every line in the #INCLUDE'd file that starts with whitespace followed by #. For example, if you export this as ascii (see http://article.gmane.org/gmane.emacs.orgmode/15718): File 1: a.org == * test #+INCLUDE: a.sh src sh == File 2: a.sh == #!/bin/sh ## shell comment echo This is a test == the output contains the line , ## shell comment. Related question: what git commands does one use to obtain all the commits that changed a particular range of lines in a file? I'm quite lost with git. -- Best, Hsiu-Khuern. ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Org-mode version 6.30 (release_6.30); Batch archiving needs to be more clever
Hi Andrew, Org does take care of this possibility. All I get in my simple test case is the following message: Acted on 1 entries, skipped 2 (disappeared before their turn) That is not an error, it is just feedback. Or are you really getting an error? - Carsten On Sep 1, 2009, at 9:06 PM, Andrew Hyatt wrote: Remember to cover the basics, that is, what you expected to happen and what in fact did happen. You don't know hoe 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. Batch archiving mode appears to just try the most obvious thing: take each tagged member and archive it. However, it always runs into problems, because it will archive a parent node, then try and archive the children. Not finding the children anymore, it errors out. Probably an easy solution would be to just gracefully handle this error by ignoring it and pretending the item was archived. Alternatively, updating the list after every operation could also work. Ideal solution, IMHO: always archive parents first, then clear the children from the list automatically. Emacs : GNU Emacs 23.1.50.2 (x86_64-unknown-linux-gnu, X toolkit) Package: Org-mode version 6.30 (release_6.30) current state: == (setq org-log-done 'time org-link-frame-setup '((gnus . gnus) (file . find-file-other-window)) org-clock-string-limit 50 org-agenda-custom-commands '((w todo #(WAITING 0 7 (face org- warning)) nil) (n tags-todo #(-live 0 5 (face org- warning)) ((org-show-hierarchy-above nil) (org- agenda-todo-ignore-with-date t) (org-agenda-tags-todo-honor-ignore- options t)) ) (l Agenda and live tasks ((agenda ) (tags-todo +live org-agenda-files '(~/org/work.org) org-agenda-include-diary t org-blocker-hook '(org-block-todo-from-children-or-siblings-or- parent org-depend-block-todo) org-completion-use-ido t org-after-todo-state-change-hook '(org-clock-out-if-current) org-agenda-todo-ignore-scheduled t org-agenda-start-with-log-mode t org-clock-out-switch-to-state '(lambda (prev-state) (if (member prev- state org-done-keywords) DONE STARTED)) org-deadline-warning-days 1 org-agenda-skip-scheduled-if-done t org-trigger-hook '(org-depend-trigger-todo) org-export-preprocess-hook '(org-export-blocks-preprocess) org-tab-first-hook '(org-hide-block-toggle-maybe) org-src-mode-hook '(org-src-mode-configure-edit-buffer) org-confirm-shell-link-function 'yes-or-no-p org-todo-keywords '((sequence TODO(t) STARTED(s) WAITING(w@/!) | DONE(d) OBSOLETE(o))) org-agenda-before-write-hook '(org-agenda-add-entry-text) org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide- drawers org-cycle-show-empty-lines org-optimize-window-after-visibility-change) org-agenda-dim-blocked-tasks 'invisible org-agenda-tags-todo-honor-ignore-options t org-mode-hook '(#[nil \300\301\302\303\304$\207 [org-add-hook change-major-mode-hook org-show- block-all append local] 5] ) org-agenda-ndays 1 org-refile-targets '((nil :maxlevel . 3)) org-emphasis-regexp-components '( ('\{ - .,:!?;'\)} .\n, \' . 1) org-confirm-elisp-link-function nil org-agenda-mode-hook '((lambda nil (hl-line-mode 1))) org-enforce-todo-dependencies t org-agenda-skip-deadline-if-done t org-occur-hook '(org-first-headline-recenter) org-from-is-user-regexp \\Andrew Hyatt\\ org-drawers '(PROPERTIES CLOCK LOGBOOK NOTES) ) ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Release 6.30
Hi Andrew, it is this commit: bbc27c011ab5d44d37dca662d1a393d429dbe4b3 and it is part of the 6.30 release. Maybe it only does not work? Killing the frame does not work if the the agenda window is not the only window on the frame. So you could press o, then q. Hmm, I guess I could check for the dedicated flag and delete other windows before exiting the agenda. OK, I am doing this now. Let me know if this fixes the issue. - Carsten On Sep 1, 2009, at 9:00 PM, Andrew Hyatt wrote: Hi Carsten, Thanks for the release! The dedicated frame patch does not actually appear to be in this release, though. On Tue, Sep 1, 2009 at 12:20 AM, Carsten Dominikcarsten.domi...@gmail.com wrote: Hi, I am releasing Org-mode version 6.30. Enjoy! - Carsten Changes in Version 6.30 === Inconsistent changes ~ Agenda now uses `f' and `b' to move through time = Up to now, the Org-mode agenda used the cursor keys `left' and `right' to switch the agenda view forward an backward through time. However, many people found this confusing, and others wanted to be able to do cursor motion in the agenda, for example to select text. Therefore, after an extensive discussion on `emacs-orgm...@gnu.org', it was decided to use the `b' and `f' keys instead, and to let the cursor keys do cursor motion again. Agenda follow mode is now on the `F' key = This was necessary to free up the `f' key, see above. Details Maintenance New command to submit a bug report --- There is now a special command `M-x org-submit-bug-report'. This command will create a mail buffer with lots of useful details. In particular, it contains complete version information for Emacs and Org-mode. It will also (if you agree to it) contain all non-standard settings of org-mode and outline-mode related variables. Even if you do not sent your emails from within Emacs, please still use this command to generate the information and then copy it into your mail program. The command will not generate and include a `*Backtrace*' buffer, please do this yourself if you have hit an error. For more information, see the [feedback section] of the manual. [feedback section]: http://orgmode.org/manual/Feedback.html#Feedback New contributed package org-track.el - This package allows to keep up-to-date with current Org development, using only Emacs on-board means. So if you don't want or cannot use `git', but still want to run the latest and hottest Org-mode, this is for you. Thanks to Sebastian Rose for this contribution. Agenda === Agenda now uses `f' and `b' to move through time - Up to now, the Org-mode agenda used the cursor keys `left' and `right' to switch the agenda view forward an backward through time. However, many people found this confusing, and others wanted to be able to do cursor motion in the agenda, for example to select text. Therefore, after an extensive discussion on `emacs-orgm...@gnu.org', it was decided to use the `b' and `f' keys instead, and to let the cursor keys do cursor motion again. Agenda follow mode is now on the `F' key - This was necessary to free up the `f' key, see above. The agenda can be put into a dedicated frame - When the variable `org-agenda-window-setup' has the value `separate-frame', then the new frame created to show the agenda will now have the window marked as /dedicated/. As a consequence, exiting the agenda while the agenda is the only window on the frame will kill that frame. This was a request by Henry Atting. New mode to show some entry body text in the agenda There is now a new agenda sub-mode called `org-agenda-entry-text-mode'. It is toggled with the `E' key. When active, all entries in the agenda will be accompanied by a few lines from the outline entry. The amount of text can be customized with the variable `org-agenda-entry-text-maxlines'. This was a request by Anthony Fairchild, Manish, and others. Improve following links from the agenda `C-c C-o' in the agenda will now offer all links in the headline and text of an entry. If there is only a single link, it will be followed immediately. Avoid some duplicate entries - There is a new variable that can be used to avoid some duplicate agenda entries: `org-agenda-skip-scheduled-if-deadline-is-shown' If that is set, it avoids that an entry shows up in the agenda for today for both a scheduling and a deadline entry. See the docstring of the variables for more details. This partially addresses a request by Samuel Wales. Mark the running clock in
Re: [Orgmode] Re: org-mode on sloooow computer
Hi Daniel, On Sep 1, 2009, at 3:15 PM, Daniel Martins wrote: Carsten, thanks for your reply : 1. Looks like you are using a 7 day agenda. Consider using a day agenda (setq org-agenda-ndays 1) I did it 2. Looks like you are including all TODO entries into your agenda. Consider not doing this. Have you set org-agenda-include-all-todo ? It was set. I have changed to nil. 3. You seem to get 678 matches. Assuming that it's a week agenda, this still makes 100 matches a day. Have you that many items scheduled? Yes. This is an organizational problem. I estimate a date to do something but due to priorities I keep them late. I do not know yet how to mark several items and schedule them in a few keystrokes. You can do this from the agenda. Use m to mark entries, and then B to execute a command on all of them. You need a recent version of org for this, 6.21 will not be sufficient. 4. Consider archiving stuff that is no longer active. I did a lot. Same problem as before, I do this stuff one by one and could not automatize this process. I do not know the impact of archiving in the same file and in a different file on the speed. Anyway I tried to transport most of my activities to organizer.org_archive 5. Did you compile the Lisp files? org is compiled in the Ubuntu distribution I have a package which has all my org and bbdb configurations and itwas not compiled. Now I compiled it. Normally I did not compile my configuration files but I can change this behaviour. org-bbdb-daniel.el now is compiled to org-bbdb-daniel.elc If this is just variable settings, this will not make a difference, so you can leave them uncompiled. After the above changes, here are the results for org version 6.21 (again I had some issues using the latest versions across my 3 computers and decided to keep for a while the Ubuntu version to compare them) in the same computer I used before First of all, as you have already noticed, there have been massive optimizations after 6.21. You can see from your timings that the entire time is spent in org-up-heading-all. In a more recent version that function basically takes no time at all anymore, so you will get from 14 seconds to 3 or so. org-agenda 1 14.869551 14.869551 org-agenda-list 1 14.294828 14.294828 org-agenda-get-day-entries 6 13.043817 2.1739695 org-get-tags-at 415 11.353463000 0.0273577421 org-up-heading-all 168311.130422000 0.0066134414 It is better than before, almost 50% faster but I missed some features. Anyway I miss a hint about scheduling. If I do not schedule I miss a bit the preferences to solve an unsolved issue. If I do not schedule and do not include all TODOS I will not see them in my default org-agenda. I was not suggesting that you should not schedule stuff. Of course you should. This is important. I was merely curious about why you had so many matches on a day. About the TODOs: why do you think it is necessary to have them in the same view as todays agenda? The scheduled stuff is what is important for today. You can use a separate view for the TODO entries when you are looking for unscheduled TODOs. If you have all your TODO entries in each agenda, the only thing this will do is giving you a feeling of being overwhelmed. I am a bit lost in this jungle. Anyway org-mode saved my life when I had fewer activities. I think I will find a way of saving my life in this myriad of activities of my academic life (postgraduate and graduate students, projects, bureaucracy, personal life, children, payments, etc.) If you keep these different areas of your activity in separate files, you can speed up things further by putting Org's focus onto a single file: See the commands `C-c C-x ' and `C-c C-x ' in the manual. http://orgmode.org/manual/Agenda-files.html#Agenda-files Hope this all helps a bit. - Carsten Daniel 6.21 before Carsten proposals org-agenda 1 29.408703 29.408703 org-agenda-list 1 28.648282000 28.648282000 org-agenda-get-day-entries 27 26.459491999 0.9799811851 org-get-tags-at 737 21.298774999 0.0288992876 org-up-heading-all 295021.033886999 0.0071301311 org-agenda-get-scheduled 24 9.637174 0.4015489166 org-finalize-agenda 1 7.912788 7.912788 org-agenda-to-appt
[Orgmode] Re: Release 6.30
Carsten Dominik carsten.domi...@gmail.com writes: it is this commit: bbc27c011ab5d44d37dca662d1a393d429dbe4b3 That commit is in, but grepping for separate-frame in all *.el files gives no result and the docs don't mention it, too. ,[ C-h v org-agenda-window-setup RET ] | org-agenda-window-setup is a variable defined in `org-agenda.el'. | Its value is reorganize-frame | | Documentation: | How the agenda buffer should be displayed. | Possible values for this option are: | | current-windowShow agenda in the current window, keeping all other windows. | other-frame Use `switch-to-buffer-other-frame' to display agenda. | other-window Use `switch-to-buffer-other-window' to display agenda. | reorganize-frame Show only two windows on the current frame, the current | window and the agenda. | See also the variable `org-agenda-restore-windows-after-quit'. ` Looking at git show bbc27c011ab5d44d37dca662d1a393d429dbe4b3 it seems to me, that there's no new value, but that other-frame now uses a dedicated window. Bye, Tassilo ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: Usability idea: color coding items with priorities in agenda
PT spamfilteracco...@gmail.com wrote: Damn! Org is again a step ahead of me. :D Yup - get used to it ;-) Nick ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: Release 6.30
On Sep 2, 2009, at 10:11 AM, Tassilo Horn wrote: Carsten Dominik carsten.domi...@gmail.com writes: it is this commit: bbc27c011ab5d44d37dca662d1a393d429dbe4b3 That commit is in, but grepping for separate-frame in all *.el files gives no result and the docs don't mention it, too. ,[ C-h v org-agenda-window-setup RET ] | org-agenda-window-setup is a variable defined in `org-agenda.el'. | Its value is reorganize-frame | | Documentation: | How the agenda buffer should be displayed. | Possible values for this option are: | | current-windowShow agenda in the current window, keeping all other windows. | other-frame Use `switch-to-buffer-other-frame' to display agenda. | other-window Use `switch-to-buffer-other-window' to display agenda. | reorganize-frame Show only two windows on the current frame, the current | window and the agenda. | See also the variable `org-agenda-restore-windows-after-quit'. ` Looking at git show bbc27c011ab5d44d37dca662d1a393d429dbe4b3 it seems to me, that there's no new value, but that other-frame now uses a dedicated window. Yes, this seems to have been a typo in the release notes. You need to use the value `other-frame'. - Carsten Bye, Tassilo ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Unnecessary comma escapes in HTML export of #+INCLUDE files
Ah, yes, thank you for that detail. Fixed now. - Carsten On Sep 2, 2009, at 9:40 AM, Nick Dokos wrote: Carsten Dominik carsten.domi...@gmail.com wrote: I am not able to reproduce the problem. If the comment in a.sh starts with a space like this: , | #!/bin/sh | | ## shell comment | echo This is a test ` then the .txt file has a comma before the comment: , | ... | 1 test | ~~~ | | #!/bin/sh | | , ## shell comment | echo This is a test ` If there is no space, then the comma is not present. I'm really not sure how this is supposed to work - is that the intention? Thanks, Nick Versions: GNU Emacs 23.1.50.1 (i686-pc-linux-gnu, GTK+ Version 2.12.9) of 2009-08-09 on gamaville.dokosmarshall.org Org-mode version 6.30 (release_6.30.8.g8b6ff) (that includes my local changes, but nothing relating to this problem). Carsten Dominik carsten.domi...@gmail.com wrote: Hi Hsiu-Khuern, I am not able to reproduce the problem. - Carsten On Sep 2, 2009, at 12:03 AM, Hsiu-Khuern Tang wrote: * On Fri 05:45AM +, 24 Jul 2009, Tang, Hsiu-Khuern (hsiu-khuern.t...@hp.com ) wrote: * On Fri 01:22AM +, 24 Jul 2009, Bastien (bastiengue...@googlemail.com ) wrote: Hi Hsiu-Khuern, I've just pushed a fix for this: when the src switch is present, including a file won't escape org-like lines. With a bare # +include we still escape lines starting with * or #. Please test it and report any problem. It works beautifully now. Thank you very much for the fix! It looks Org has reverted to the old behavior: inserting a comma at a beginning of every line in the #INCLUDE'd file that starts with whitespace followed by #. For example, if you export this as ascii (see http://article.gmane.org/gmane.emacs.orgmode/15718): File 1: a.org == * test #+INCLUDE: a.sh src sh == File 2: a.sh == #!/bin/sh ## shell comment echo This is a test == the output contains the line , ## shell comment. Related question: what git commands does one use to obtain all the commits that changed a particular range of lines in a file? I'm quite lost with git. -- Best, Hsiu-Khuern. ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] git and possibly 6.30 xemacs bug
Hi Wes, I have included this fix into Org as well, thanks. - Carsten On Sep 1, 2009, at 4:30 PM, Wes Hardaker wrote: The select-frame-set-input-focus function doesn't exist in xemacs, which was recently added in org-eval-in-calendar. This seems to be a common problem as gnus defines this to get around it: (defun gnus-select-frame-set-input-focus (frame) Select FRAME, raise it, and set input focus, if possible. (cond ((featurep 'xemacs) (if (fboundp 'select-frame-set-input-focus) (select-frame-set-input-focus frame) (raise-frame frame) (select-frame frame) (focus-frame frame))) ;; `select-frame-set-input-focus' defined in Emacs 21 will not ;; set the input focus. ((= emacs-major-version 22) (select-frame-set-input-focus frame)) (t (raise-frame frame) (select-frame frame) (cond ((memq window-system '(x ns mac)) (x-focus-frame frame)) ((eq window-system 'w32) (w32-focus-frame frame))) (when focus-follows-mouse (set-mouse-position frame (1- (frame-width frame)) 0) -- \ Wes Hardaker http://pontifications.hardakers.net / \_ In the bathtub of history the truth is harder to hold than / \___ the soap, and much more difficult to find. ___/ \_ -- Terry Pratchett __/ \__/ ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] org-agenda-file-to-front (unbalanced parentheses))))
I get a scan error when I try to add my current ORG file to the list of agenda files. I'm using Emacs 23.1.1 on Windows, so it has the Org mode built in. I create a new .ORG file, add some text, and save it. Then I type C-c [ and I get this error. Scan error: Unbalanced parentheses, 17495, 29440 Any ideas? The same thing happens if I use the menu: Org -- File list for agenda -- Add/Move current file to front of list Or the full command: org-agenda-file-to-front I tried running the debugger, but that part of Emacs I've never learned. I haven't done my own Lisp programming. I'd provide some more info if someone wanted to prompt me on the next thing to try! Jai Jeffryes NYC _ Windows Live: Keep your friends up to date with what you do online. http://windowslive.com/Campaign/SocialNetworking?ocid=PID23285::T:WLMTAGL:ON:WL:en-US:SI_SB_online:082009___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Setting timestamp format to English
--- Dom 30/8/09, bar tomas barto...@gmail.com ha scritto: Hi, Bar, I have a french version of windows so when I set a timestamp on an item with C-c , I get the timestamp in french. I've the italian version of windows XP, I get the timestamp in italian ;-) I'd like to get it in english. As a workaround, for org files, you can change the *format* of the date having the *appearance* of the English date. Please have a look at the variable org-time-stamp-custom-formats C-h v org-time-stamp-custom-formats In a file I have: #Local Variables: #org-time-stamp-custom-formats : (%d/%m/%Y . %d/%m/%Y %a %H:%M) #End: [2009-09-02 mer] becomes [02/09/2009] Nice, but you can only change the date day by day and the format will *not* be exported. Or [beware, untested!] you could change the format-time string variable in your .emacs. cheers, Giovanni ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] org-todo-keywords prompt for note
On Sep 1, 2009, at 5:47 PM, Nathan Neff wrote: Hello, When marking an item as DONE, I would like to be able to press n if I want to leave a note, and press d to just mark the item as DONE. I've tried using this trick: (setq org-todo-keywords '( (sequence TODO(t) STARTED(s) | DONE(n@/@) DONE(d!)) I also tried this: (sequence TODO(t) STARTED(s) | DONE(n@/@)) (sequence TODO(t) STARTED(s) | DONE(d!)) But neither kludge would prompt me for a note when I press Ctrl-C Ctrl-T n I realize this is picky, because I can manually insert a note before marking an item as DONE. I'm just wondering if anyone knows a way that two shortcuts can be defined for the same TODO state, with one of the shortcuts prompting for a note. Hi Nathan, I can think of two solutions: 1. Just follow Org into the notes buffer, but kill it with `C-c C-k'. 2. (setq org-treat-S-cursor-todo-selection-as-state-change nil) and then use S-right to switch states when you don't want notes to be taken. Unfortunately that does not work from the agenda.. HTH - Carsten Thanks, --Nate ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Can't get tasks [%] and [/] to work
Hi Michael, you can now (6.30b) also press C-c C-c on a cookie to get it updated. - Carsten On Sep 1, 2009, at 11:24 AM, Michel Blanc wrote: Dear All, I probably miss something here, but I really cannot get subtasks stats to work (i.e. what's described in the manual at 5.5 Breaking tasks down into subtasks). For instance, in the snippet below : *** Cage [%] DONE Redesign motherboard SCHEDULED: 2009-07-29 mer. - State DONE from TODO [2009-09-01 mar. 10:59] DONE Solder motherboard SCHEDULED: 2009-07-30 jeu. - State DONE from TODO [2009-09-01 mar. 10:59] DONE Write code SCHEDULED: 2009-07-31 ven. - State DONE from TODO [2009-09-01 mar. 10:59] All subentries are marked DONE, but the [%] next to cage stays empty. If I try to force an update with 'C-c #', I get : *** Cage [0%] which is also wrong. Another example is here : DONE Web interface [100%] - [X] Fix lang page - Implement buttons in web interface [0/1] - [ ] Refresh Medias (content) 100% is wrong, since Refresh Medias isn't checked. (org-hierarchical-todo-statistics is set globally). I probably messed up things somewhere. If anyone has an idea... Thanks for reading, M -- Michel Blanc - Systèmes/Réseaux Erasme Erasme/CG69/Saint Clément les Places/FR69930 T +33-474706840 mbl...@erasme.org http://reseau.erasme.org FA67 4EDA D648 9E50 BFA4 3F29 FDF5 4971 24B3 5C22 ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: Release 6.30
Yep, that was my confusion. Thanks! On Wed, Sep 2, 2009 at 5:30 AM, Carsten Dominikcarsten.domi...@gmail.com wrote: On Sep 2, 2009, at 10:11 AM, Tassilo Horn wrote: Carsten Dominik carsten.domi...@gmail.com writes: it is this commit: bbc27c011ab5d44d37dca662d1a393d429dbe4b3 That commit is in, but grepping for separate-frame in all *.el files gives no result and the docs don't mention it, too. ,[ C-h v org-agenda-window-setup RET ] | org-agenda-window-setup is a variable defined in `org-agenda.el'. | Its value is reorganize-frame | | Documentation: | How the agenda buffer should be displayed. | Possible values for this option are: | | current-window Show agenda in the current window, keeping all other windows. | other-frame Use `switch-to-buffer-other-frame' to display agenda. | other-window Use `switch-to-buffer-other-window' to display agenda. | reorganize-frame Show only two windows on the current frame, the current | window and the agenda. | See also the variable `org-agenda-restore-windows-after-quit'. ` Looking at git show bbc27c011ab5d44d37dca662d1a393d429dbe4b3 it seems to me, that there's no new value, but that other-frame now uses a dedicated window. Yes, this seems to have been a typo in the release notes. You need to use the value `other-frame'. - Carsten Bye, Tassilo ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] wrong-type-argument when publishing to HTML
Hello, A colleague of mine gets the error `(wrong-type-argument stringp nil)' when executing the command (from a script, under Ubuntu and Emacs 22.2.1 with Org-mode 6.29c): --8---cut here---start-8--- emacs --batch \ --load ./Org2HTML.el \ --visit=agile-software-development.org \ --funcall org-publish-current-file --8---cut here---end---8--- The detailed result is: --8---cut here---start-8--- Loading 00debian-vars... No /etc/mailname. Reverting to default... Loading /etc/emacs22/site-start.d/50auctex.el (source)... Loading /usr/share/emacs/22.2/site-lisp/auctex.el (source)... Loading /usr/share/emacs/22.2/site-lisp/preview-latex.el (source)... Loading /etc/emacs/site-start.d/50autoconf.el (source)... Loading /etc/emacs/site-start.d/50dictionaries-common.el (source)... Loading debian-ispell... Loading /var/cache/dictionaries-common/emacsen-ispell-default.el (source)... Loading /var/cache/dictionaries-common/emacsen-ispell-dicts.el (source)... Loading /etc/emacs/site-start.d/50erlang-mode.el (source)... Loading /etc/emacs/site-start.d/50latex-cjk-common.el (source)... Loading cjk-enc... Loading /etc/emacs/site-start.d/50latex-cjk-thai.el (source)... Loading /etc/emacs/site-start.d/50lilypond-data.el (source)... Loading /etc/emacs/site-start.d/50psvn.el (source)... Loading vc-svn... Publishing file /home/llg/devel/Internet/source/agile-software-development.org using `org-publish-org-to-html' Exporting... Warning: defvar ignored because description is let-bound Exporting... Exporting... Debugger entered--Lisp error: (wrong-type-argument stringp nil) string-match(nil ) (while (string-match org-maybe-keyword-time-regexp s) (or b (setq b ...)) (setq r (concat r ... @span class=\timestamp-wrapper\ ... ... @/span) s (substring s ...))) (let (r b) (while (string-match org-maybe-keyword-time-regexp s) (or b ...) (setq r ... s ...)) (if (not r) s (setq r ...) (unless ... ...) r)) (catch (quote exit) (let (r b) (while ... ... ...) (if ... s ... ... r))) org-html-handle-time-stamps() (setq line (org-html-handle-time-stamps line)) (catch (quote nextline) (when (and inquote ...) (insert /pre\n) (org-open-par) (setq inquote nil)) (when inquote (insert ... \n) (throw ... nil)) (when (and org-export-with-fixed-width ...) (when ... ... ... ...) (insert ... \n) (when ... ... ... ...) (throw ... nil)) (org-export-html-close-lists-maybe line) (when (get-text-property 0 ... line) (let ... ... ... ... ...) (throw ... nil)) (when (equal ORG-BLOCKQUOTE-START line) (org-close-par-maybe) (insert blockquote\n) (org-open-par) (throw ... nil)) (when (equal ORG-BLOCKQUOTE-END line) (org-close-par-maybe) (insert \n/blockquote\n) (org-open-par) (throw ... nil)) (when (equal ORG-VERSE-START line) (org-close-par-maybe) (insert \np class=\verse\\n) (setq inverse t) (throw ... nil)) (when (equal ORG-VERSE-END line) (insert /p\n) (org-open-par) (setq inverse nil) (throw ... nil)) (when (equal ORG-CENTER-START line) (org-close-par-maybe) (insert \ndiv style=\text-align: center\) (org-open-par) (throw ... nil)) (when (equal ORG-CENTER-END line) (org-close-par-maybe) (insert \n/div) (org-open-par) (throw ... nil)) (run-hooks (quote org-export-html-after-blockquotes-hook)) (when inverse (let ... ... ...)) (while (string-match ?\\([^]*\\)?\\((INVISIBLE)\\)?[]*\n? line) (cond ... ... ...)) (setq line (org-html-handle-time-stamps line)) (or (string-match org-table-hline-regexp line) (setq line ...)) (setq start 0) (while (string-match org-bracket-link-analytic-regexp++ line start) (setq start ...) (setq path ...) (setq type ...) (setq path ...) (setq attr ...) (setq desc1 ... desc2 ... descp ... desc ...) (when ... ... ...) (cond ... ... ... ... ... ... ... ...) (setq line ... start ...)) (if (and ... ...) (setq line ...)) (when org-export-with-footnotes (setq start 0) (while ... ...)) (cond (... ... ... ... ... ... ... ...) (... ... ...) (... ... ... ...) (t ... ... ... ... ... ... ...))) (while (setq line (pop lines) origline line) (catch (quote nextline) (when ... ... ... ...) (when inquote ... ...) (when ... ... ... ... ...) (org-export-html-close-lists-maybe line) (when ... ... ...) (when ... ... ... ... ...) (when ... ... ... ... ...) (when ... ... ... ... ...) (when ... ... ... ... ...) (when ... ... ... ... ...) (when ... ... ... ... ...) (run-hooks ...) (when inverse ...) (while ... ...) (setq line ...) (or ... ...) (setq start 0) (while ... ... ... ... ... ... ... ... ... ...) (if ... ...) (when org-export-with-footnotes ... ...) (cond ... ... ... ...))) (let ((case-fold-search nil) (org-odd-levels-only odd)) (mapc (lambda ... ...) org-export-plist-vars) (setq umax (if arg ... org-export-headline-levels)) (setq umax-toc (if ... ... umax)) (unless body-only (insert ...) (org-export-html-insert-plist-item opt-plist :preamble opt-plist) (when
[Orgmode] Footnote references don't belong in the table of contents
Emacs : GNU Emacs 22.1.1 (x86_64-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of 2008-05-02 on king, modified by Ubuntu Package: Org-mode version 6.30 current state: == (setq org-clock-in-switch-to-state DOING org-todo-keyword-faces '((BLOCKING . org-agenda-dimmed-todo-face) (DOING . stribb/org-agenda-doing)) org-agenda-clockreport-parameter-plist '(:link t :maxlevel 2 :effort t) org-agenda-custom-commands '((S snippet view agenda ((org-agenda-show-log t) (org-agenda-log-mode-items (quote (state))) (org-agenda-archives-mode t) (org-agenda-include-inactive-timestamps t) (org-agenda-clockreport-mode t)) ) ) org-agenda-files '(~/org/feedback-template.org ~/org/kill-all-gateways.org ~/org/notes.org ~/org/objectives.org ~/org/perms.org ~/org/proj-sanitised.org ~/org/tax.org ~/org/todo.org ~/org/whisky.org) org-after-todo-state-change-hook '(org-clock-out-if-current) org-clock-history-length 35 org-clock-in-prepare-hook '(stribb/org-mode-ask-effort) org-export-preprocess-hook '(org-export-blocks-preprocess) org-tab-first-hook '(org-hide-block-toggle-maybe) org-src-mode-hook '(org-src-mode-configure-edit-buffer) org-confirm-shell-link-function 'yes-or-no-p org-todo-keywords '((sequence TODO(t) DOING(w!) | DONE(d!) CANCELLED(c@)) (sequence BLOCKING(b@/!))) org-agenda-before-write-hook '(org-agenda-add-entry-text) org-agenda-start-with-follow-mode t org-default-notes-file ~/org/refile.org org-directory ~/org/ org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers org-cycle-show-empty-lines org-optimize-window-after-visibility-change) org-publish-project-alist '((org :base-directory ~/org/ :base-extension org :publishing-directory ~/public_html/org/ :style-include-default nil :style link rel=stylesheet href=\org.css\ type=\text/css\) ) org-refile-target-verify-function '(lambda nil (not (member ARCHIVE (org-get-tags org-mode-hook '((lambda nil (auto-fill-mode 1)) #[nil \300\301\302\303\304$\207 [org-add-hook change-major-mode-hook org-show-block-all append local] 5] ) org-clock-out-remove-zero-time-clocks t org-refile-targets '((org-agenda-files :maxlevel . 2)) org-confirm-elisp-link-function 'yes-or-no-p org-refile-use-outline-path 'file org-log-into-drawer t org-occur-hook '(org-first-headline-recenter) org-remember-templates '((refile 114 * %?\n :PROPERTIES:\n :Filed: %U\n :END:\n %i\n %a) ) org-link-abbrev-alist '((b . http://b/;) (tick . http://tick/;) (cl . http://cl/;) (googler . http://who/;) (p4 . http://s/file=;) (wiki . http://wiki/Main/;) (google3 . file:///Depot/google3/)) ) I have a file: 8- * Foo * Bar [fn:1] [fn:1] this explains bar 8- When I export it to HTML, I see Bar[1] in the ToC. The number there isn't clickable but I don't think it should be there at all. ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Org-mode version 6.30 (release_6.30); Batch archiving needs to be more clever
Hi Andrew, On Sep 2, 2009, at 3:43 PM, Andrew Hyatt wrote: Has the behavior changed in this release? My report was on 6.30, but actually I forgot to mention I have not reproduced it with 6.30, but with previous versions (since the feature was introduced). Tststs :-) How should I fix bugs if you use the wrong version to send the report :-) The issue was an error deep in the code (a stringp error, if I remember correctly). When that happened, there were items in the org agenda (generated by maching on TODO items of type DONE) that could not be navigated to. Hitting enter on those items gave an error because the item was not actually there anymore. I've confirmed your observation, that it does work right on 6.30 for at least simple cases. I'll keep an eye on this and see if it pops up on the current release. you are right, this was a bug very early on in the development of the bulk action feature. But I think already 6.29c had it fixed. - Carsten Carsten Dominik carsten.domi...@gmail.com writes: Hi Andrew, Org does take care of this possibility. All I get in my simple test case is the following message: Acted on 1 entries, skipped 2 (disappeared before their turn) That is not an error, it is just feedback. Or are you really getting an error? - Carsten On Sep 1, 2009, at 9:06 PM, Andrew Hyatt wrote: Remember to cover the basics, that is, what you expected to happen and what in fact did happen. You don't know hoe 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. Batch archiving mode appears to just try the most obvious thing: take each tagged member and archive it. However, it always runs into problems, because it will archive a parent node, then try and archive the children. Not finding the children anymore, it errors out. Probably an easy solution would be to just gracefully handle this error by ignoring it and pretending the item was archived. Alternatively, updating the list after every operation could also work. Ideal solution, IMHO: always archive parents first, then clear the children from the list automatically. Emacs : GNU Emacs 23.1.50.2 (x86_64-unknown-linux-gnu, X toolkit) Package: Org-mode version 6.30 (release_6.30) current state: == (setq org-log-done 'time org-link-frame-setup '((gnus . gnus) (file . find-file-other- window)) org-clock-string-limit 50 org-agenda-custom-commands '((w todo #(WAITING 0 7 (face org- warning)) nil) (n tags-todo #(-live 0 5 (face org- warning)) ((org-show-hierarchy-above nil) (org- agenda-todo-ignore-with-date t) (org-agenda-tags-todo-honor-ignore- options t)) ) (l Agenda and live tasks ((agenda ) (tags-todo +live org-agenda-files '(~/org/work.org) org-agenda-include-diary t org-blocker-hook '(org-block-todo-from-children-or-siblings-or- parent org-depend-block-todo) org-completion-use-ido t org-after-todo-state-change-hook '(org-clock-out-if-current) org-agenda-todo-ignore-scheduled t org-agenda-start-with-log-mode t org-clock-out-switch-to-state '(lambda (prev-state) (if (member prev- state org-done-keywords) DONE STARTED)) org-deadline-warning-days 1 org-agenda-skip-scheduled-if-done t org-trigger-hook '(org-depend-trigger-todo) org-export-preprocess-hook '(org-export-blocks-preprocess) org-tab-first-hook '(org-hide-block-toggle-maybe) org-src-mode-hook '(org-src-mode-configure-edit-buffer) org-confirm-shell-link-function 'yes-or-no-p org-todo-keywords '((sequence TODO(t) STARTED(s) WAITING(w@/!) | DONE(d) OBSOLETE(o))) org-agenda-before-write-hook '(org-agenda-add-entry-text) org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide- drawers org-cycle-show-empty-lines org-optimize-window-after-visibility-change) org-agenda-dim-blocked-tasks 'invisible org-agenda-tags-todo-honor-ignore-options t org-mode-hook '(#[nil \300\301\302\303\304$\207 [org-add-hook change-major-mode-hook org-show- block-all append local] 5] ) org-agenda-ndays 1 org-refile-targets '((nil :maxlevel . 3)) org-emphasis-regexp-components '( ('\{ -.,:!?;'\)} .\n, \' . 1) org-confirm-elisp-link-function nil org-agenda-mode-hook '((lambda nil (hl-line-mode 1))) org-enforce-todo-dependencies t org-agenda-skip-deadline-if-done t org-occur-hook '(org-first-headline-recenter) org-from-is-user-regexp \\Andrew Hyatt\\ org-drawers '(PROPERTIES CLOCK LOGBOOK NOTES) ) ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list
[Orgmode] Re: small emacs for using org on Android
Torsten Wagner torsten.wag...@gmail.com writes: please remember a org-file is still (and thankfully and amazingly) a plain text file. As long as you are not going to make big changes, any other (smaller) text editor will do, e.g., nano, pico, *cough* vim *cough*. I found myself comfortable to export the org-file to html and display it in my E-ink Ebook reader. Not able to edit it but reading my notes and thought like on printed paper is nice :) Good point. However some of my org entries are encrypted, and navigation is much easier with org. I wonder if anyone is working on an Android version of Emacs? -- aleblanc ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Org-mode version 6.30 (release_6.30); Batch archiving needs to be more clever
Has the behavior changed in this release? My report was on 6.30, but actually I forgot to mention I have not reproduced it with 6.30, but with previous versions (since the feature was introduced). The issue was an error deep in the code (a stringp error, if I remember correctly). When that happened, there were items in the org agenda (generated by maching on TODO items of type DONE) that could not be navigated to. Hitting enter on those items gave an error because the item was not actually there anymore. I've confirmed your observation, that it does work right on 6.30 for at least simple cases. I'll keep an eye on this and see if it pops up on the current release. Carsten Dominik carsten.domi...@gmail.com writes: Hi Andrew, Org does take care of this possibility. All I get in my simple test case is the following message: Acted on 1 entries, skipped 2 (disappeared before their turn) That is not an error, it is just feedback. Or are you really getting an error? - Carsten On Sep 1, 2009, at 9:06 PM, Andrew Hyatt wrote: Remember to cover the basics, that is, what you expected to happen and what in fact did happen. You don't know hoe 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. Batch archiving mode appears to just try the most obvious thing: take each tagged member and archive it. However, it always runs into problems, because it will archive a parent node, then try and archive the children. Not finding the children anymore, it errors out. Probably an easy solution would be to just gracefully handle this error by ignoring it and pretending the item was archived. Alternatively, updating the list after every operation could also work. Ideal solution, IMHO: always archive parents first, then clear the children from the list automatically. Emacs : GNU Emacs 23.1.50.2 (x86_64-unknown-linux-gnu, X toolkit) Package: Org-mode version 6.30 (release_6.30) current state: == (setq org-log-done 'time org-link-frame-setup '((gnus . gnus) (file . find-file-other-window)) org-clock-string-limit 50 org-agenda-custom-commands '((w todo #(WAITING 0 7 (face org- warning)) nil) (n tags-todo #(-live 0 5 (face org- warning)) ((org-show-hierarchy-above nil) (org- agenda-todo-ignore-with-date t) (org-agenda-tags-todo-honor-ignore- options t)) ) (l Agenda and live tasks ((agenda ) (tags-todo +live org-agenda-files '(~/org/work.org) org-agenda-include-diary t org-blocker-hook '(org-block-todo-from-children-or-siblings-or- parent org-depend-block-todo) org-completion-use-ido t org-after-todo-state-change-hook '(org-clock-out-if-current) org-agenda-todo-ignore-scheduled t org-agenda-start-with-log-mode t org-clock-out-switch-to-state '(lambda (prev-state) (if (member prev- state org-done-keywords) DONE STARTED)) org-deadline-warning-days 1 org-agenda-skip-scheduled-if-done t org-trigger-hook '(org-depend-trigger-todo) org-export-preprocess-hook '(org-export-blocks-preprocess) org-tab-first-hook '(org-hide-block-toggle-maybe) org-src-mode-hook '(org-src-mode-configure-edit-buffer) org-confirm-shell-link-function 'yes-or-no-p org-todo-keywords '((sequence TODO(t) STARTED(s) WAITING(w@/!) | DONE(d) OBSOLETE(o))) org-agenda-before-write-hook '(org-agenda-add-entry-text) org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide- drawers org-cycle-show-empty-lines org-optimize-window-after-visibility-change) org-agenda-dim-blocked-tasks 'invisible org-agenda-tags-todo-honor-ignore-options t org-mode-hook '(#[nil \300\301\302\303\304$\207 [org-add-hook change-major-mode-hook org-show- block-all append local] 5] ) org-agenda-ndays 1 org-refile-targets '((nil :maxlevel . 3)) org-emphasis-regexp-components '( ('\{ - .,:!?;'\)} .\n, \' . 1) org-confirm-elisp-link-function nil org-agenda-mode-hook '((lambda nil (hl-line-mode 1))) org-enforce-todo-dependencies t org-agenda-skip-deadline-if-done t org-occur-hook '(org-first-headline-recenter) org-from-is-user-regexp \\Andrew Hyatt\\ org-drawers '(PROPERTIES CLOCK LOGBOOK NOTES) ) ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: export (as latex) a large number of org files in a directory
Hi Nick and the others, Nick Dokos wrote: Stephen Tucker brown_...@yahoo.com wrote: Hi, I am trying to export a bunch of .org files stored in a directory as latex files. The following script (I call it org-to-latex) works fine on linux: #! /bin/bash orglib=$HOME/elisp/org-mode/lisp emacs --batch \ --load=$orglib/org.elc \ --eval (setq org-export-headline-levels 2) \ --visit=$1 --funcall org-export-as-latex-batch Another solution is a Makefile, such as this one: --8---cut here---start-8--- ## Makefile for Web site (+ PDF equivalent) # Time-stamp: 2009-09-02 Wed 16:43 sva on mundaneum # Defined rules for users: # # - (make called without parameter) # Generate all PDF # # - clean # Delete all temporary files # # - realclean # Do `make clean' plus remove all generated files # where to find a recent version of Org-mode ORGLIB = $(HOME)/Downloads/emacs/site-lisp/org-mode/lisp # publish HTML directory DISTDIR = ../public_html # platform-specific setup (to override ORGLIB and/or DISTDIR) -include Make.params PDFLATEX = pdflatex --interaction=batchmode RM = rm -f RMEXT= *.log *.aux *.toc *.lot *.lof *.out *.ilg *.idx *.ind *.blg *.bbl \ *.glg *.glx *.glo *.gls *.tex RMOUT= *.pdf $(DISTDIR)/*.html # all source files ORG=$(wildcard *.org) # all exported PDF files PDF=$(patsubst %.org, %.pdf, $(ORG)) # all TEX files TEX=$(patsubst %.org, %.tex, $(ORG)) # all published HTML files HTML=$(patsubst %.org, $(DISTDIR)/%.html, $(ORG)) .PHONY: all html pdf clean realclean # avoid make to delete intermediate `%.tex' target .PRECIOUS: %.tex .DEFAULT_GOAL := all all: html pdf html: $(HTML) pdf: $(PDF) clean tex: $(TEX) $(DISTDIR)/%.html: %.org @echo @emacs --batch \ --eval (add-to-list 'load-path \$(ORGLIB)\) \ --load ./Org2HTML.el \ --visit=$^ \ --funcall org-publish-current-file %.pdf: %.tex # Runs LaTeX once, then reruns LaTeX as many times as necessary to get rid of # the Rerun to get cross-references right warning message @echo @echo * Running \`pdfLaTeX $^' * @$(RM) *.log @$(PDFLATEX) $^ @while ( grep -e Rerun .* cross-references *.log /dev/null ); \ do \ echo; \ echo * Re-running \`pdfLaTeX $^' *; \ $(RM) *.log; \ $(PDFLATEX) $^; \ done %.tex: %.org # Pay attention that `--batch' implies `-q', so `.emacs' is *not* loaded and # you don't get your `load-path' customizations. Hence, this loads the Emacs # built-in version of Org-mode. @echo @emacs --batch \ --eval (add-to-list 'load-path \$(ORGLIB)\) \ --eval (require 'org) \ --eval (require 'org-exp) \ --eval (setq org-export-headline-levels 2) \ --load ./Org2LaTeX.el \ --visit=$^ \ --funcall org-export-as-latex-batch clean: -$(RM) $(RMEXT) realclean: clean -$(RM) $(RMOUT) ## Makefile ends here --8---cut here---end---8--- It has the advantage of running only the required compilation for the modified files, and generates both HTML and PDF versions... A nice thing would be to be able to even merge all the PDF files into one -- but here come questions like in which order, with or without title page, and so on. Comments (more than) welcome! Seb -- Sébastien Vauban ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] wrong-type-argument when publishing to HTML
On Sep 2, 2009, at 1:44 PM, Sébastien Vauban wrote: Hello, A colleague of mine gets the error `(wrong-type-argument stringp nil)' when executing the command (from a script, under Ubuntu and Emacs 22.2.1 with Org-mode 6.29c): --8---cut here---start-8--- emacs --batch \ --load ./Org2HTML.el \ --visit=agile-software-development.org \ --funcall org-publish-current-file --8---cut here---end---8--- This looks to me as if the the file being published is not in org-mode. So my first guess would be that Org2HTML.el misses the following line: (add-to-list 'auto-mode-alist '(\\.org\\' . org-mode)) Remember that --batch processing implies -q, i.e. the .emacs file will not be evalated. Another solution might be to add --load ~/.emacs directly after --batch, but that only works if the .emacs files does not do seomthing strange. For example, some people have their .emacs file automatically switch to a certain file or displaying the agenda or so. That may not be a good idea in batch mode. HTH - Carsten The detailed result is: --8---cut here---start-8--- Loading 00debian-vars... No /etc/mailname. Reverting to default... Loading /etc/emacs22/site-start.d/50auctex.el (source)... Loading /usr/share/emacs/22.2/site-lisp/auctex.el (source)... Loading /usr/share/emacs/22.2/site-lisp/preview-latex.el (source)... Loading /etc/emacs/site-start.d/50autoconf.el (source)... Loading /etc/emacs/site-start.d/50dictionaries-common.el (source)... Loading debian-ispell... Loading /var/cache/dictionaries-common/emacsen-ispell-default.el (source)... Loading /var/cache/dictionaries-common/emacsen-ispell-dicts.el (source)... Loading /etc/emacs/site-start.d/50erlang-mode.el (source)... Loading /etc/emacs/site-start.d/50latex-cjk-common.el (source)... Loading cjk-enc... Loading /etc/emacs/site-start.d/50latex-cjk-thai.el (source)... Loading /etc/emacs/site-start.d/50lilypond-data.el (source)... Loading /etc/emacs/site-start.d/50psvn.el (source)... Loading vc-svn... Publishing file /home/llg/devel/Internet/source/agile-software- development.org using `org-publish-org-to-html' Exporting... Warning: defvar ignored because description is let-bound Exporting... Exporting... Debugger entered--Lisp error: (wrong-type-argument stringp nil) string-match(nil ) (while (string-match org-maybe-keyword-time-regexp s) (or b (setq b ...)) (setq r (concat r ... @span class=\timestamp-wrapper \ ... ... @/span) s (substring s ...))) (let (r b) (while (string-match org-maybe-keyword-time-regexp s) (or b ...) (setq r ... s ...)) (if (not r) s (setq r ...) (unless ... ...) r)) (catch (quote exit) (let (r b) (while ... ... ...) (if ... s ... ... r))) org-html-handle-time-stamps() (setq line (org-html-handle-time-stamps line)) (catch (quote nextline) (when (and inquote ...) (insert /pre\n) (org-open-par) (setq inquote nil)) (when inquote (insert ... \n) (throw ... nil)) (when (and org-export-with-fixed-width ...) (when ... ... ... ...) (insert ... \n) (when ... ... ... ...) (throw ... nil)) (org-export-html-close-lists-maybe line) (when (get- text-property 0 ... line) (let ... ... ... ... ...) (throw ... nil)) (when (equal ORG-BLOCKQUOTE-START line) (org-close-par-maybe) (insert blockquote\n) (org-open-par) (throw ... nil)) (when (equal ORG-BLOCKQUOTE-END line) (org-close-par-maybe) (insert \n/ blockquote\n) (org-open-par) (throw ... nil)) (when (equal ORG- VERSE-START line) (org-close-par-maybe) (insert \np class=\verse \\n) (setq inverse t) (throw ... nil)) (when (equal ORG-VERSE- END line) (insert /p\n) (org-open-par) (setq inverse nil) (throw ... nil)) (when (equal ORG-CENTER-START line) (org-close- par-maybe) (insert \ndiv style=\text-align: center\) (org-open- par) (throw ... nil)) (when (equal ORG-CENTER-END line) (org-close- par-maybe) (insert \n/div) (org-open-par) (throw ... nil)) (run- hooks (quote org-export-html-after-blockquotes-hook)) (when inverse (let ... ... ...)) (while (string-match ?\\([^]*\\)?\\ ((INVISIBLE)\\)?[ ]*\n? line) (cond ... ... ...)) (setq line (org- html-handle-time-stamps line)) (or (string-match org-table-hline- regexp line) (setq line ...)) (setq start 0) (while (string-match org-bracket-link-analytic-regexp++ line start) (setq start ...) (setq path ...) (setq type ...) (setq path ...) (setq attr ...) (setq desc1 ... desc2 ... descp ... desc ...) (when ... ... ...) (cond ... ... ... ... ... ... ... ...) (setq line ... start ...)) (if (and ... ...) (setq line ...)) (when org-export-with-footnotes (setq start 0) (while ... ...)) (cond (... ... ... ... ... ... ... ...) (... ... ...) (... ... ... ...) (t ... ... ... ... ... ... ...))) (while (setq line (pop lines) origline line) (catch (quote nextline) (when ... ... ... ...) (when inquote ... ...) (when ... ... ... ... ...)
[Orgmode] Re: Subversion for backups?
Hi Rainer, Rainer Stengele wrote: Sébastien Vauban schrieb: Rainer Stengele wrote: I have a server in my office running the subversion server. Access is by port forwarding the subversion port via ssh - no matter being under windows (putty) or under Linux (ssh). In this way I have my subversion server and repository virtually local, that is acces is always via svn://localhost/repository Just for my own understanding, why to you want your repository to appear as local? In case you wanna change the physical location of the SVN server, and don't want to update any of the working copies? Something like that, or are there other major reasons for this setup? A reason is I use my notebook at home and at work. Having the localhost server solves the problem. I simply use different port forwarding scripts at home and at work. Thanks for the explanation. Seb -- Sébastien Vauban ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Mobile org
Hello list, org-mode really changed my life, and allowed me to fully implement GTD the way I wanted. However, I miss having access to it everytime, so, I'm looking for a mobile device that could run emacs and org, and that I could keep in sync with my laptop. What do you think? Any suggestions appreciated, Marcelo. ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Setting timestamp format to English
Hi, Many thanks for your reply. How could I change the format-time string variable in my .emacs file? Thanks again On Wed, Sep 2, 2009 at 11:03 AM, Giovanni Ridolfi giovanni.rido...@yahoo.it wrote: --- Dom 30/8/09, bar tomas barto...@gmail.com ha scritto: Hi, Bar, I have a french version of windows so when I set a timestamp on an item with C-c , I get the timestamp in french. I've the italian version of windows XP, I get the timestamp in italian ;-) I'd like to get it in english. As a workaround, for org files, you can change the *format* of the date having the *appearance* of the English date. Please have a look at the variable org-time-stamp-custom-formats C-h v org-time-stamp-custom-formats In a file I have: #Local Variables: #org-time-stamp-custom-formats : (%d/%m/%Y . %d/%m/%Y %a %H:%M) #End: [2009-09-02 mer] becomes [02/09/2009] Nice, but you can only change the date day by day and the format will *not* be exported. Or [beware, untested!] you could change the format-time string variable in your .emacs. cheers, Giovanni ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: Mobile org
Marcelo de Moraes Serpa celose...@gmail.com writes: Hello list, org-mode really changed my life, and allowed me to fully implement GTD the way I wanted. However, I miss having access to it everytime, so, I'm looking for a mobile device that could run emacs and org, and that I could keep in sync with my laptop. There have been many discussions of this topic in the past. I would recommend searching the gmane archives for iPhone, Nokia N810, Android, portable, etc. http://news.gmane.org/gmane.emacs.orgmode If I had money to burn[1] and needed a mobile device, I would wait for the Nokia N900, which is both a smartphone and a hackable Linux pocket computer. There are Emacs packages that run on its predecessor, the N810. Best, Matt Footnotes: [1] This is a big if. ;) ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Setting timestamp format to English
Hi, the following works for me: (setq system-time-locale C) Cheers, Valentin On Sun, Aug 30, 2009 at 8:06 PM, bar tomasbarto...@gmail.com wrote: Hi, First of all I'd like to say that I find orgmode great. I'd been looking for a tool like this for years. I have a french version of windows so when I set a timestamp on an item with C-c , I get the timestamp in french. I'd like to get it in english. I've tried setting the language environment to english through the menu (options/mule/set language environment) but it makes no difference. In a previous mail of this mailing list (http://www.mail-archive.com/emacs-orgmode@gnu.org/msg03064.html), it is mentioned that this depends on the variable system-time-locale. How can I set system-time-locale to english permanently in my emacs init file? ( I'm a newbie to emacs) I've tried the following, but it doesnt work: (set-locale-environment English) (system-time-locale English) Thanks very much. ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Setting timestamp format to English
Great! Many thanks On Wed, Sep 2, 2009 at 5:10 PM, Valentin Wüstholz wuesth...@gmail.comwrote: Hi, the following works for me: (setq system-time-locale C) Cheers, Valentin On Sun, Aug 30, 2009 at 8:06 PM, bar tomasbarto...@gmail.com wrote: Hi, First of all I'd like to say that I find orgmode great. I'd been looking for a tool like this for years. I have a french version of windows so when I set a timestamp on an item with C-c , I get the timestamp in french. I'd like to get it in english. I've tried setting the language environment to english through the menu (options/mule/set language environment) but it makes no difference. In a previous mail of this mailing list (http://www.mail-archive.com/emacs-orgmode@gnu.org/msg03064.html), it is mentioned that this depends on the variable system-time-locale. How can I set system-time-locale to english permanently in my emacs init file? ( I'm a newbie to emacs) I've tried the following, but it doesnt work: (set-locale-environment English) (system-time-locale English) Thanks very much. ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Some table questions
I really like tables and I enabled it also in mail-mode, but I have some questions about them. - When I export tables to html I don't get any border, I looked at the code and it's the css embedded, but I didn't find the variables to set it up. Is it also possible to set it for every different table? (with a comment on top) - Always about exporting, I also found org-plot which is very nice, would be possible to set (in a project for example) to also export and include somehow the generated graph inside my html page?? Maybe would be tricky but would be really useful... - Is it possible to do something only on one row/column/region?? If for example I have a table like that | USER | SECRET PASSWORD| |---+| | pippo | I don't want to see it | Would I be able to encrypt/decrypt only one column? Rectangles are not always working fine for me on emacs, so I was looking for an org-mode solution - Last thing is plotting with dates. Given a table like |+-+-| | Date | max | min | |+-+-| | [2009-05-05 Tue 11:40] | 145 | 90 | | [2009-05-16 Sat 20:00] | 135 | 85 | | [2009-05-25 Mon 20:00] | 130 | 85 | | [2009-06-12 Fri 13:00] | 130 | 78 | | [2009-08-06 Thu 17:45] | 118 | 88 | For example I can't plot it with the dates because gnuplot maybe doesn't accept some characters, would be possible to convert it to a nicer string before trying to plot? Phew ok sorry a lot of questions but I've been collecting them for some time.. ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Some table questions
andrea crotti andrea.crott...@gmail.com wrote: - When I export tables to html I don't get any border, I looked at the code and it's the css embedded, but I didn't find the variables to set it up. Is it also possible to set it for every different table? (with a comment on top) Check out section 12.6.4 (Tables in HTML export) of the Org manual. Nick ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] BUG: blank items in the agenda
This is quite obscure, and an odd corner case, but here it is. If you have an item which is: - a TODO - scheduled - ordered - blocked by a child TODO then it leaves an empty line in the agenda. Here's a test case: , | * Press t r on this line in the agenda | SCHEDULED: 2009-09-02 Wed | :PROPERTIES: | :ORDERED: t | :END: | *** TODO Report invisible scheduled items ` C-a a a will show an agenda with Scheduled: Press t r Press t on that line to add a TODO. Press r to redisplay, and see the line go blank. Peter. ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Table Editing Cycle Does Not Return to Start State
Table Editing Cycle With Multiple Windows On One Buffer Does Not Return to Start State When I have two windows open on two buffers, one to a table in a file that I'm editing, the other to some other file of interest, the editing cycle of C-` ... C-c C-c works great, meaning that when the cycle is finished, the windows are restored to the start state. But when I have two windows open on the same buffer, one window on the table, and the other window somewhere else, the editing cycle does not restore to the beginning state. ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] BUG: blank items in the agenda
On Wed, Sep 2, 2009 at 10:37 PM, Peter Westlake wrote: This is quite obscure, and an odd corner case, but here it is. If you have an item which is: - a TODO - scheduled - ordered - blocked by a child TODO then it leaves an empty line in the agenda. Here's a test case: , | * Press t r on this line in the agenda | SCHEDULED: 2009-09-02 Wed | :PROPERTIES: | :ORDERED: t | :END: | *** TODO Report invisible scheduled items ` C-a a a will show an agenda with Scheduled: Press t r Press t on that line to add a TODO. Press r to redisplay, and see the line go blank. Is the value of org-use-fast-todo-selection set to t? And what's the value for org-agenda-dim-blocked-tasks in your setup? ,[ org-agenda-dim-blocked-tasks ] | org-agenda-dim-blocked-tasks is a variable defined in `org-agenda.el'. | Its value is t | | Documentation: | Non-nil means, dim blocked tasks in the agenda display. | This causes some overhead during agenda construction, but if you | have turned on `org-enforce-todo-dependencies', | `org-enforce-todo-checkbox-dependencies', or any other blocking | mechanism, this will create useful feedback in the agenda. | | Instead ot t, this variable can also have the value `invisible'. | Then blocked tasks will be invisible and only become visible when | they become unblocked. An exemption to this behavior is when a task is | blocked because of unchecked checkboxes below it. Since checkboxes do | not show up in the agenda views, making this task invisible you remove any | trace from agenda views that there is something to do. Therefore, a task | that is blocked because of checkboxes will never be made invisible, it | will only be dimmed. ` -- Manish ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Org-mode version 6.30; Links in categories break layout
Remember to cover the basics, that is, what you expected to happen and what in fact did happen. You don't know hoe 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. Here's a plain-text view of my agenda that shows the problem: meta: TODO Report invisible scheduled items [[foo][test]]:TODO Get layout right when category is a link Because the link is displayed as test in the link face, it is only four characters long, so it should have seven spaces after it. (Aside: I wondered if this might be simple enough for me to fix it myself. Turns out not :-) Peter. Emacs : GNU Emacs 23.1.50.1 (i486-pc-linux-gnu, GTK+ Version 2.12.12) of 2009-07-30 on elegiac, modified by Debian Package: Org-mode version 6.30 ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] BUG: blank items in the agenda
On Wed, 02 Sep 2009 23:12 +0530, Manish mailtomanish.sha...@gmail.com wrote: On Wed, Sep 2, 2009 at 10:37 PM, Peter Westlake wrote: This is quite obscure, and an odd corner case, but here it is. If you have an item which is: - a TODO - scheduled - ordered - blocked by a child TODO then it leaves an empty line in the agenda. Here's a test case: , | * Press t r on this line in the agenda | SCHEDULED: 2009-09-02 Wed | :PROPERTIES: | :ORDERED: t | :END: | *** TODO Report invisible scheduled items ` C-a a a will show an agenda with Scheduled: Press t r Press t on that line to add a TODO. Press r to redisplay, and see the line go blank. Is the value of org-use-fast-todo-selection set to t? No, it's nil. Sorry, I was forgetting that not everyone has the same keys! This isn't part of the bug, just a way to make the behaviour more visible. And what's the value for org-agenda-dim-blocked-tasks in your setup? It is invisible, but I would have expected the item not to appear in the agenda at all rather than leaving a gap. Whether scheduled items should be hidden is an interesting question: if I'm meant to do something at a given time, it would be helpful to know that something is stopping me. That applies even more to deadlines. Peter. P.S. Matt - I have org-enforce-todo-dependencies t, which is another possible difference that might stop this happening in your case. ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: BUG: blank items in the agenda
Matt Lundin m...@imapmail.org wrote: Peter Westlake peter.westl...@pobox.com writes: This is quite obscure, and an odd corner case, but here it is. If you have an item which is: - a TODO - scheduled - ordered - blocked by a child TODO then it leaves an empty line in the agenda. Here's a test case: , | * Press t r on this line in the agenda | SCHEDULED: 2009-09-02 Wed | :PROPERTIES: | :ORDERED: t | :END: | *** TODO Report invisible scheduled items ` C-a a a will show an agenda with Scheduled: Press t r Press t on that line to add a TODO. Press r to redisplay, and see the line go blank. I can't duplicate this. GNU Emacs 23.1.1 (i686-pc-linux-gnu, GTK+ Version 2.16.5) Org-mode version 6.30c Neither can I (same versions, more-or-less). Peter, can you check the faces? Maybe the item disappears in a same-color background? I get 'org-agenda-dimmed-todo-face' for your item and 'org-scheduled-previously' for other items (not sure why), so it's conceivable that a face setting is responsible. M-x describe-face while the cursor is on the appropriate text will do it (if you have hl-line-mode on, you may have to turn it off first). Nick ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: Mobile org
I am using org-mode on a N800 (or N810). It works pretty well in reverse-video mode with emacs 22. Here is the link to the Emacs for maemo site: http://danielsz.freeshell.org/code/mine/emacs-for-maemo/index.shtml And one can easily sync writing with unison on the N800. The N900 looks great, but until the price comes down the N800 and N810 are a great deal. They are small enough to replace a Moleskine notebook and work with a folding bluetooth keyboard like the iGo to give a truely protable org experience. Delwood ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Feature Request: changes regarding attachments and subtasks
Hello orgers, I have a task with several subtasks and some of them are associated with an external PDF file. Since in this case each PDF file exists only for the corresponding subtask, I think using attachments is a better option then storing the PDFs somewhere and using hyperlinks. If each subtask has its own directory everything is fine and using C-c C-a o on a subtask with only one PDF will open the PDF without further questions. However, I'd like to have all subtasks files stored in the same folder but still be able to reference only the specific subtask file. For instance, I have set the :ATTACH_DIR: property of the parent task to something such as parent_task_files and the :ATTACH_DIR_INHERIT: property to t. Then in a subtask1 I have added the file file1 (using C-c C-a a) and in subtask2 I have added the file file2. Both of them were added to the folder data/parent_task_files (which is what I want) but no information (property) is added to the subtasks. Therefore, if I go to subtask1 and try to open the file with C-c C-a o it will ask me each file to open: file1 or file2. My suggestion is that when I add a file to a subtask in this case it should add the property :Atachments: filename such that even if all files are stored in the same folder, only the files that I added to this subtask is associated with it. ps: I'm using org 6.28e -- _ Darlan Cavalcante Moreira ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Workshop invitation to Berlin this weekend
Hi everyone, September 5th 2PM I will conduct a workshop on Org-mode in Berlin. The title is Working and publishing with GNU Emacs and Org-mode We will start setting up org-mode and have run through all the basics like tasks, time tracking, remember, tables and so on, to adjust the levels of all participants. We will go on and use Org-mode as the glue for projects, which involves time tracking as well as bug tracking and code management, radio tables, use the agenda and more. We will then go ahead and show how Org-mode can be used for authoring. The emphasis will be on publishing to XHTML and LaTeX/PDF. Note, that we have open end, so we might discuss more topics if we feel like it. E.g. check out some contributions in the contrib/lisp/ directory. The workshop will take place in Linienstrasse 54 in the centre of Berlin. Map: http://maps.google.de/maps?q=map+Linienstraße+54+Berlinfb=1split=1gl=decid=0,0,9608563565675805904sa=Xoi=local_resultct=imageresnum=1 Arrival Line U2, station Rosa-Luxemburg-Platz: http://www.bvg.de/index.php/de/Bvg/Detail/folder/553/id/1982/nb/1/name/U-Bahnlinie+U2 Line U8, station Rosenthaler Platz: http://www.bvg.de/index.php/de/Bvg/Detail/folder/559/id/2000/nb/1/name/U-Bahnlinie+U8 You can download a map of underground network as PDF here: http://www.bvg.de/index.php/de/Common/Document/field/file/id/2597/filename/S%2BU-Bahn_3108_2009.PDF Cost: €5 per participant (this includes food) Please email m...@1010.co.uk to reserve a place (strictly limited) Prerequisites on any operating system: * emacs 22/23 * Latest Git-version of org * TexLive installation * gnuplot (optional) * ditaa.jar (nowadays comes with the git version of Org-mode) Best wishes Sebastian ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: Mobile org
Marcelo de Moraes Serpa celose...@gmail.com writes: org-mode really changed my life, and allowed me to fully implement GTD the way I wanted. However, I miss having access to it everytime, so, I'm looking for a mobile device that could run emacs and org, and that I could keep in sync with my laptop. What do you think? Any suggestions appreciated, I took the easy way out - I got myself a Eee PC 1000HE which has a reported 9 hour battery runtime in Windows. I get 7+ hours in Linux and it's a full PC with an 85% keyboard. It's great for my purposes and it runs full emacs and org-mode. -Bernt ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: BUG: blank items in the agenda
On Wed, 02 Sep 2009 14:11 -0400, Nick Dokos nicholas.do...@hp.com wrote: Matt Lundin m...@imapmail.org wrote: ... I can't duplicate this. GNU Emacs 23.1.1 (i686-pc-linux-gnu, GTK+ Version 2.16.5) Org-mode version 6.30c Neither can I (same versions, more-or-less). Peter, can you check the faces? Maybe the item disappears in a same-color background? I get 'org-agenda-dimmed-todo-face' for your item and 'org-scheduled-previously' for other items (not sure why), so it's conceivable that a face setting is responsible. M-x describe-face while the cursor is on the appropriate text will do it (if you have hl-line-mode on, you may have to turn it off first). It's org-scheduled-today, foreground DarkGreen. That's the colour it appears when it isn't a TODO item. It doesn't change when I add a TODO, or when the agenda is redisplayed with the blank line. One reason for treating this as a bug rather than an oddity of display is that the apparently blank line still responds to commands, so it could be modified without the user knowing. Peter. ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] macros which expand to other macros
Hi. I want to include a note in several pages, therefore I created a #+MACRO for it. The macro must say „This file is best viewed when you open file {{{input-file}}} in org-mode (Emacs).“, where {{{input-file}}} would be expanded to the name of the file being expanded. Then I noticed that macros can't expand to other macros. This means: #+MACRO: uno 1 #+MACRO: one {{{uno}}} {{{uno}}} works (1) but {{{one}}} should also be 1, not {{…uno}}} I attach a patch [1] which adds support for macros which expand to other macros, so the previous examples would work. It would of course get locked if you wanted macros like #+MACRO: recu {{{recu}}}, but that's apparently the intended behaviour :-) It will even work for macros that create parts of other macros. #+MACRO: cc1 11 #+MACRO: cc2 12 #+MACRO: mycc-start {{{cc #+MACRO: mycc-end 2}}} Yes, it is {{{mycc-start}}}{{{mycc-end}}}. And even: #+MACRO: mycc {{{mycc-start}}}{{{mycc-end}}} {{{mycc}}}. (12 in both cases). If this is too complex, this partial macro writing can be disallowed by changing the (beginning-of-line) to a (goto-char (match-beginning 0)). -- Daniel [1] diff --git a/lisp/org-exp.el b/lisp/org-exp.el index 3e12e6a..3d2fad8 100644 --- a/lisp/org-exp.el +++ b/lisp/org-exp.el @@ -2106,7 +2106,7 @@ TYPE must be a string, any of: (if (and val (not (stringp val))) (setq val (format %s val (and (stringp val) -(replace-match val t t)) +(prog1 (replace-match val t t) (beginning-of-line))) (defun org-export-apply-macros-in-string (s) Apply the macros in string S. ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: BUG: blank items in the agenda
Hi Peter, is this only happening if the entry is the *first* entry in the list in the agenda? - Carsten On Sep 2, 2009, at 11:02 PM, Peter Westlake wrote: On Wed, 02 Sep 2009 14:11 -0400, Nick Dokos nicholas.do...@hp.com wrote: Matt Lundin m...@imapmail.org wrote: ... I can't duplicate this. GNU Emacs 23.1.1 (i686-pc-linux-gnu, GTK+ Version 2.16.5) Org-mode version 6.30c Neither can I (same versions, more-or-less). Peter, can you check the faces? Maybe the item disappears in a same-color background? I get 'org-agenda-dimmed-todo-face' for your item and 'org-scheduled-previously' for other items (not sure why), so it's conceivable that a face setting is responsible. M-x describe-face while the cursor is on the appropriate text will do it (if you have hl-line-mode on, you may have to turn it off first). It's org-scheduled-today, foreground DarkGreen. That's the colour it appears when it isn't a TODO item. It doesn't change when I add a TODO, or when the agenda is redisplayed with the blank line. One reason for treating this as a bug rather than an oddity of display is that the apparently blank line still responds to commands, so it could be modified without the user knowing. Peter. ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: BUG: blank items in the agenda
On Wed, 02 Sep 2009 23:35 +0200, Carsten Dominik carsten.domi...@gmail.com wrote: Hi Peter, is this only happening if the entry is the *first* entry in the list in the agenda? No, it's the same if it's second or third too (or more, but I stopped there). Thanks for looking at this, Peter. - Carsten On Sep 2, 2009, at 11:02 PM, Peter Westlake wrote: On Wed, 02 Sep 2009 14:11 -0400, Nick Dokos nicholas.do...@hp.com wrote: Matt Lundin m...@imapmail.org wrote: ... I can't duplicate this. GNU Emacs 23.1.1 (i686-pc-linux-gnu, GTK+ Version 2.16.5) Org-mode version 6.30c Neither can I (same versions, more-or-less). Peter, can you check the faces? Maybe the item disappears in a same- color background? I get 'org-agenda-dimmed-todo-face' for your item and 'org-scheduled-previously' for other items (not sure why), so it's conceivable that a face setting is responsible. M-x describe-face while the cursor is on the appropriate text will do it (if you have hl-line-mode on, you may have to turn it off first). It's org-scheduled-today, foreground DarkGreen. That's the colour it appears when it isn't a TODO item. It doesn't change when I add a TODO, or when the agenda is redisplayed with the blank line. One reason for treating this as a bug rather than an oddity of display is that the apparently blank line still responds to commands, so it could be modified without the user knowing. Peter. ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Unnecessary comma escapes in HTML export of #+INCLUDE files
* On Wed 09:33AM +, 02 Sep 2009, Carsten Dominik (carsten.domi...@gmail.com) wrote: Ah, yes, thank you for that detail. Fixed now. Yes, it works now, thank you very much! -- Best, Hsiu-Khuern. ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode