[O] [org-publish] Set style for htmlized source blocks
Hello, I want to generate a static blog using org-publish, crosslinking html files. It works pretty good, with one problem: Source blocks inherit the colors of the current color theme (white-on-black), but the website will a black-on-white theme. Is it possible to cleanly change/disable the current Emacs color theme for export? I use the theme facilities of emacs24 Thanks, Moritz Ulrich. -- Moritz Ulrich
Re: [O] converting people to Emacs and org-mode
I'm interested in the article too. Maybe you can arrange something with the editors if even the creator of org-mode is interested in the article? On Tue, Apr 9, 2013 at 10:51 AM, Carsten Dominik wrote: > > On 9 apr. 2013, at 10:46, Thorsten Jolitz wrote: > >> 42 147 writes: >> >>> This might be considered off-topic. >> >> Maybe not? I know of a fantastic Lisp dialect and >> web/database programming-environment out there >> >> , >> | PicoLisp >> | http://picolisp.com/5000/!wiki?home >> ` >> >> that suffers exactly from the rather low conversion rate of people to >> it, which is kind of hard to explain given its quality. >> >> But maybe Paul Graham is right in >> http://www.paulgraham.com/popular.html, at least with regards to >> programming languages: >> >> ,- >> | A friend of mine once told an eminent operating systems expert that he >> | wanted to design a really good programming language. The expert told him >> | that it would be a waste of time, that programming languages don't >> | become popular or unpopular based on their merits, and so no matter how >> | good his language was, no one would use it. At least, that was what had >> | happened to the language he had designed. >> `- >> >> And just like I try to spell the word about amazing PicoLisp with this >> email, I wrote an Org-mode article in the student magazine of my former >> German distance university with the title >> >> ,-- >> | Self-organization with Org-mode for distance students >> `-- > > > I would be interested to read this article. Can you make it available? > > - Carsten > >> >> (in German) >> >> Its in >> >> ,--- >> | "SprachRohr"-Ausgabe 04/2012 FernUni Hagen >> `--- >> >> and the cover can be seen here: >> http://www.fernstudis.de/node/1203 >> >> unfortunately only the cover, since download is restricted to >> immatriculated students, but I reached some 50-60k readers with this >> article and recieved very positive feedback, I cite from an anonymous >> fellow distance student: >> >> , >> | [...] ich gehöre normalerweise nicht zu den Leserbriefschreibern, aber hier >> | muss ich einfach mal ein ganz großes Lob loswerden: Vielen Dank für den >> | Artikel über Emacs Org-Mode - der erste Artikel [...] der mich wirklich >> | weiterbringt und ganz sehr zum "Weiterforschen" anregt. Org-Mode scheint >> | genau das Werkzeug zu sein, nach dem ich lange gesucht habe. >> ` >> >> (in English more or less: "normally I don't write reader comments, but >> Org-mode seems exactly the tool I was looking for and I feel very >> motivated to learn more about it after reading your article") >> >> So maybe there are ways to reach more people with less effort than in >> one-to-one conversion talks? Although, even with 50k readers, I will of >> course never know if I really achieved a single conversion. >> >> -- >> cheers, >> Thorsten >> >> > >
[O] org-plus-contrib: Invalid function: org-no-popups
Hello, I just installed org-plus-contrib from org's elpa repository, coming From custom git checkout. After removing the (require 'org-install) (because of the warning it now generates) I get the following error when trying to open the agenda dispatcher: --8<---cut here---start->8--- Debugger entered--Lisp error: (invalid-function org-no-popups) org-no-popups(#) org-switch-to-buffer-other-window(" *Agenda Commands*") byte-code(...) org-agenda-get-restriction-and-command(nil) byte-code(...) org-agenda(nil) call-interactively(org-agenda nil nil) --8<---cut here---end--->8--- (byte-code removed for sanity) I installed the following package: org-plus-contrib 20130121 installed Outline-based notes management and organizer Any hints? Googling just pointed me to a mail thread where removing, restarting Emacs and re-installing the package fixed everything - that doesn't work for me. I'm thankful for any pointers. Cheers, Moritz Ulrich -- Moritz Ulrich pgp6XE4zeX8CH.pgp Description: PGP signature
[O] Block-Agenda: Show whole entry
Hello, I'm trying to create an Agenda which will be printed / mailed daily. It should include the usual 'today' agenda and my shopping list. This shopping list is stored in an agenda file as a list with checkboxes. I want this list as the second block in my agenda. Is this possible? Cheers, Moritz Ulrich -- Moritz Ulrich pgpnBIMzBKJd8.pgp Description: PGP signature
Re: [O] external process modifying buffers
Ken Mankoff writes: > Thanks! That makes it much cleaner. My setup is now reduced to this: > > (setq global-auto-revert-mode t) > (run-at-time "2 minutes" 600 '(lambda () (shell-command "ical2org>iCal.org"))) > > With full paths to the ical2org binary and the iCal.org file. > > Thanks, > >-k. > Please note that `global-auto-revert-mode' reverts ALL Emacs buffers when the underlaying file changes. This isn't just active for the iCal.org buffer, but for all open buffers. If you like this behavior, ok, but if you prefer it for the iCal.org buffer only, enable auto-revert-mode (without global-) via a file-local variable in it: http://www.gnu.org/software/emacs/manual/html_node/emacs/File-Variables.html > > On Sun, Sep 16, 2012 at 2:08 PM, Charles Philip Chan wrote: >> Ken Mankoff writes: >> >> Hi Ken: >> >>> Right now I'm running ical2org via cron and re-generating iCal.org >>> (redirecting stdout with ">"). When I try to regenerate the agenda, >>> emacs complains: >>> >>> iCal.org changed on disk; really edit the buffer? (y, n, r or C-h) >> >> Set "global-auto-revert-mode" to "t". >> >> Cheers, >> Charles >> >> -- >> linux: the choice of a GNU generation >> (k...@cis.ufl.edu put this on Tshirts in '93) Cheers, Moritz -- Moritz Ulrich pgpuuMJ7XyJgz.pgp Description: PGP signature
Re: [O] Buffer is read-only: #
Aaron Ecay writes: > OK, I’ve tracked this down. I added a function to > ‘org-agenda-finalize-hook’ which makes modifications to the agenda > buffer (viz. removing the 'mouse-highlight text properties). At line > 3441 of org-agenda.el, in the ‘org-agenda-finalize’ function, this hook > is run outside of any (let ((inhibit-read-only t)) ...). This gives the > error. I use the same hook. > Only some types of agenda buffers are set to be read-only – > e.g. ‘org-todo-list’ sets read-only at l. 4418 of org-agenda.el. I > think ‘org-agenda-finalize-hook’ should be run with inhibit-read-only > bound to t, to let the hook modify the agenda buffer in any case. But > otherwise, it should be added to the hook’s documentation that any > changes to the agenda buffer could be turned into an error by a > read-only setting. Yup, I agree. For me, it looks like a documentation issue. For my part, I'll just modify the function in the hook to check if the buffer is read-only. Thanks, Moritz Ulrich -- Moritz Ulrich pgpjq1KlqGMaR.pgp Description: PGP signature
[O] Buffer is read-only: #
I get this error when I run `org-mobile-push'. Setting `debug-on-error' to t doesn't bring up an error buffer when I get this error. GNU Emacs 24.2.1 (x86_64-apple-darwin11.4.0, NS apple-appkit-1138.47) Org-mode version 7.9.1 (release_7.9.1-23-gf1f1fc) I used to get this error when I kept my agenda buffer open for a very long time. Killing the buffer fixed this. This doesn't seem to work anymore. Any ideas? Cheers, -- Moritz Ulrich pgpAhfaxduoVS.pgp Description: PGP signature
Re: [O] Differences between MobileOrg and MobileOrgNG
Laurent Hoeltgen writes: > Hi, > > I noticed today, that there are two apps for org-mode on android, namely > MobileOrg and MobileOrgNG. > > Is there any significant difference between them in terms of > functionality and stability? Is any of them to be recommended over the > other one? As far as I know, MobileOrg is the original implementation where NG was forked from. When I started using org-mobile, I used the NG version, but switched to the 'original' version where development is more active. However, I really prefer the NG user interface over normal MobileOrg's. It feels more modern and better integrated to Android 4.0. (Though it's not perfect) I'd really like to improve the look of MobileOrg itself, but I really can't get myself to program in java. > So far, I've been using MobileOrg and it worked for me. > > Regards, > Laurent -- Moritz Ulrich pgpS2QBT5TzxP.pgp Description: PGP signature
Re: [O] Quick poll - do you use the agenda more as a query interface or as your main view
Marcelo de Moraes Serpa writes: > I'm wondering: Do you use the agenda more as a query interface or as your > main view? Both. I usually keep a sticky agenda for my habits, tasks for today, etc. Projects are managed mostly without the agenda. (Sometimes I add deadlines etc.) What I use often is search and some custom agenda for querying (billing periods). -- Moritz Ulrich pgpyika21tr5e.pgp Description: PGP signature
Re: [O] Store org-files in a git repository?
Achim Gratz writes: > Moritz Ulrich writes: >> I plan to put my org directory (where I keep among other my agenda >> files) under version control and would like to have some sort of >> specialized function for that. >> >> My dream setup would be a range of functions hooking into all sorts of >> org-mode hooks, automatically committing changes done via the agenda or >> other org functions together with a context dependent commit message. > > »The road to hell is paved with good intentions.« — proverb > > What you're proposing (if I understand it correctly) would introduce > transactions to Org and with it the non-trivial problem of determining > when a transaction is finished (and started, but that's really another > one). Git would merely be the mechanism to record the transactions and > probably not a good one at that even with the merge driver. > > THat aside, even if it worked I'm sure it would annoy me so much I'd > switch it off entirely. > > > Regards, > Achim. I rarely thought about the problem of transactional operations in org-mode. From the standpoint you mentioned, my dream doesn't look that nice anymore. A simple cron job for committing doesn't sound that bad anymore ;-) Thanks for saving me much work. Cheers, Moritz Ulrich -- Moritz Ulrich pgpWEUPcO8v7Y.pgp Description: PGP signature
[O] Store org-files in a git repository?
Hello, I plan to put my org directory (where I keep among other my agenda files) under version control and would like to have some sort of specialized function for that. My dream setup would be a range of functions hooking into all sorts of org-mode hooks, automatically committing changes done via the agenda or other org functions together with a context dependent commit message. For example, changing a TODO item to DONE would commit this change to git with the following message: * Headline title: State changed to 'DONE' Archiving, refiling, etc. would do similar things. A use case is automatic, safe synchronization between different machines and generally having recoverable backups of my org setup. This setup should work pretty good with org-merge-driver. Has someone built something comparable to this? I'd like to give it a try but don't want to reinvent the wheel. Cheers, Moritz Ulrich -- Moritz Ulrich
Re: [O] org-sticky-agenda: Refiling broken
Bastien writes: > Moritz Ulrich writes: > >> When I try to refile a TODO from from a sticky agenda, I get the >> following error: >> >> Debugger entered--Lisp error: (wrong-type-argument stringp nil) >> org-remove-subtree-entries-from-agenda() >> org-agenda-refile(nil) >> call-interactively(org-agenda-refile nil nil) >> >> This happens in the latest release and the one before. > > Fixed, thanks a lot! Seems like `org-agenda-kill' is affected too: --8<---cut here---start->8--- Debugger entered--Lisp error: (wrong-type-argument stringp nil) org-remove-subtree-entries-from-agenda(# 12186 12227) org-agenda-kill() call-interactively(org-agenda-kill nil nil) --8<---cut here-------end--->8--- Sorry for not noticing before! -- Moritz Ulrich
Re: [O] advice on compiling org 7.9 for OSX Lion.
John Hendy writes: > On Sat, Aug 25, 2012 at 2:39 PM, Achim Gratz wrote: >> Filippo A. Salustri writes: >>> I haven't yet installed Xcode on some of my Lion machines, so I haven't >>> got 'make' everywhere. >> >> Why do you need Xcode to get make? > > Having a Mac myself, I'm assuming the answer is that it's just the > easiest way. Pop in the DVD and install the gcc tools from the extras > folder. Is there a better way? > > John > Yes, there is! :-) Use a recent Xcode from the Mac AppStore and install the command line tools via the option dialog. -- Moritz Ulrich
[O] org-sticky-agenda: Refiling broken
When I try to refile a TODO from from a sticky agenda, I get the following error: --8<---cut here---start->8--- Debugger entered--Lisp error: (wrong-type-argument stringp nil) org-remove-subtree-entries-from-agenda() org-agenda-refile(nil) call-interactively(org-agenda-refile nil nil) --8<---cut here---end--->8--- This happens in the latest release and the one before. Cheers, Moritz Ulrich -- Moritz Ulrich
Re: [O] Org-mode release 7.9
Bastien writes: > Hi all, > > I've released Org 7.9. > > http://orgmode.org/org-7.9.zip > http://orgmode.org/org-7.9.gz > http://orgmode.org/org-mode-download.html > The second link seems dead to me. Maybe it should read 'org-7.9.tar.gz'? -- Moritz Ulrich
Re: [O] Problems with diacritics in Mountain Lion + Org Mode
Bastien writes: > Hi Pierfranco, > > Pierfranco Minsenti writes: > >> What should I do to check which version of Emacs is charged when I >> use the Terminal application? > > M-x emacs-version RET > M-x org-version RET > > I'm not a Mac user, but I'm pretty sure ~$ emacs from the Terminal > is *not* linked to the Aquamacs executable. > > I don't know what is the equivalent to "~$ emacs -Q" for launching > a bare Aquamacs instance, but maybe for now just remove any .emacs.el > and see if the problem comes from your configuration? Just confirming your assumption: Emacs in terminal usually doesn't link to Aquamacs.app. moritz@Moritzs-MacBook-Air ~ % /usr/bin/emacs --version GNU Emacs 22.1.1 Pretty old. (I'm on Lion, not Mountain Lion, but I don't think there's a difference) Aquamacs itself is pretty horrible. It breaks so many things from Emacs. I'd suggest moving to Emacs.app, installed via Homebrew or downloaded from http://emacsformacosx.com/ Homebrew will take care of linking emacs to /usr/local/bin/, the .app from the website won't. -- Moritz Ulrich
[O] Switching from weekly to daily agenda loses window state
I use org-agenda with `org-agenda-restore-windows-after-quit' set to t. This causes Emacs to restore my prior window configuration when closing the agenda. This doesn't work in the following scenario: 1) Open Agenda with some split frames (C-x 2, C-a a) 2) Maximize agenda window using 'o' 3) Switch to another agenda (d, etc.) 4) Close Agenda via 'q' The expected result is, that org-mode restores the window configuration prior maximizing the agenda. This doesn't work, as org-mode seems to overwrite this information when re-creating the agenda when I press 'd' to switch to the daily agenda. Cheers Moritz Ulrich -- Moritz Ulrich
[O] Bug: Capture with %i replaces placeholders in copied region
When I capture a new item to org-mode where the template includes %i (capture active region), other placeholders in the region are replaced (evaluated). For example, capturing with the template --8<---cut here---start->8--- ("t" "Todo" entry (file+headline "todo.org" "Tasks") "* TODO %?\n %i\n %a\n") --8<---cut here---end--->8--- while the following region is active: --8<---cut here---start->8--- ;; ("w" "URL" entry (file+headline "notes.org" "URLs") ;;"* %^{Title}\n\n Source: %u, %c\n\n %i") --8<---cut here---end--->8--- it will asks for 'Title' because the captured region contains the placeholder %^{Title}. This feels wrong, and is most likely a bug. -- Moritz Ulrich
Re: [O] Setting Refiling Targets
Try (setq org-refile-targets `((nil :maxlevel . 9) (org-agenda-files :maxlevel . 9) (,(concat org-directory "/projects/project.org") :maxlevel . 9))) Notice the ` instead of ' and the ,. This feature is called 'quasiquote'. On Thu, Jul 19, 2012 at 10:20 AM, Varun Vats wrote: > (setq org-refile-targets '((nil :maxlevel . 9) >(org-agenda-files :maxlevel . 9) >(concat org-directory "/projects/project.org" > :maxlevel . 9)))
[O] Fix documentation for `org-mobile-post-pull-hook'
This hook only runs when there were new items in the inbox. Documentation says it runs after each `org-mobile-pull'. -- Moritz Ulrich
Re: [O] implement appt warntime
I haven't had a look at the patch, but this property looks like a very nice and easy solution. +1. Ivan Kanis writes: > Hi Bastien, > > I had a look at org-notify.el. It's over engineered for my need. If you > recall I submitted a patch that added warntime on the header. It's not > pretty but it works for me. > > I could use properties instead. For example: > > ** an appointment with a reminder 5 minutes before 10:00 >SCHEDULED: <2012-07-16 Mon 10:00> > :PROPERTIES: > :WARNTIME: 5 > :END: > > Would you integrate such a functionality? I might code it if I find the > time. > > Take care, -- Moritz Ulrich
Re: [O] Setting Face of clocking info in Modeline
Achim Gratz writes: > Nick Dokos writes: >> That's not right - it went in with commit 37fafb7b and git says: >> >> $ git describe 37fafb7b >> release_7.8.09-248-g37fafb7 > > Git describe by default describes from the object pointed to until the > next annotated tag. Annotated tags live in the maint branch, not in > master for org. So what the above means is "the relase tag on maint for > 7.8.09 plus 248 more commits on master". > >> so it should certainly be in 7.8.11: > > No. That commit was done on master and has not yet been merged or > cherry-picked into maint, so it is not in any release yet. > > > Regards, > Achim. It's definitely in release_7.8.11 (git commit 6cddf74). lisp/org-clock.el, line 340: --8<---cut here---start->8--- (defcustom org-clock-clocked-in-display 'mode-line _docstring_ :group 'org-clock :type '(choice (const :tag "Mode line" mode-line) (const :tag "Frame title" frame-title) (const :tag "Both" both) (const :tag "None" nil))) --8<---cut here---end--->8--- Followign a link to gitweb. (Sorry for the long link): [1]: http://orgmode.org/w/?p=org-mode.git;a=blob;f=lisp/org-clock.el;h=70c015b38f0a121d313c4d8ead17354da5e6c235;hb=6cddf7425096a743c02b9a17ad8e12b61f514210#l340 Cheers, Moritz Ulrich -- Moritz Ulrich
Re: [O] Setting Face of clocking info in Modeline
Hi, Jeff Rush writes: > I also found in a Google search the interesting > 'org-clock-frame-title-format' implying I might be able to display the > clocked-in task info in the frame header, but no actual example of it > being used. Try setting `org-clock-clocked-in-display' to 'both or 'frame-title. Cheers, Moritz -- Moritz Ulrich
Re: [O] Scheduling: Finishing a task 'Yesterday' OR Repeat on the same day
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Juan Pechiar writes: > On Sun, Jun 17, 2012 at 08:12:19PM -0400, William LÉCHELLE wrote: >> > org-mode thinks I finished it for 'today' because it's after 0AM and >> > schedules it for 'tomorrow'. This way, I'll forget it for one day. >> > >> > Is there a simple day to say: "I finished this task yesterday" without >> > me having to manually change every date in the tree, the PROPERTIES >> > drawer, and in the Logbook? >> >> Is the org-extend-today-until variable what you're searching for ? >> >> (Assuming you don't do anything past midnight you don't consider to be done >> the >> day before.) > > And if you are even past your org-extend-today-until time, the > command org-agenda-todo-yesterday comes to the rescue: it will record > your state change at 23:59 the previous day. > > Very useful for habit tracking. > > .j. `org-extend-today-until' seems to be the perfect solution. `org-agenda-todo-yesterday' seems helpful too. Thank you very much! Cheers, - -- Moritz Ulrich -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.12 (Darwin) iQEcBAEBCAAGBQJP3tKgAAoJEKUFGO1Zs0thECwIAMPI0hpLpsxpk1vqYaxp6Ghe I+E36CKrEmW/GuRmUXK7XxlO2gqnITUGo+1lwrazP3oejyHyFww5qN8+ha66FHeH 7AcPNgGb4alSwwTLrziskTn3h1Q9tbrWdu1cubHCXEDetqSxL/Ai6/iFb1wC5nMC JyNqvticdhr3of0S4DKMC0TyUtJl7CwB/rx+6+V6smqcLrzHoMJ5KH/q2B/xt54+ kQw8/5uYiEnhYnW6KUN99HK0g/WygRLvDBH0gzXQEQwgDxXgqgfttFTuBdl+Isf3 vpezm7Te9IDjeLcHBaYpyP8VEbtLtFtq0gxN59MjkJ0gQQWzfL2NrakxEgN9EKY= =uDWM -END PGP SIGNATURE-
[O] Scheduling: Finishing a task 'Yesterday' OR Repeat on the same day
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi, I have some tasks I want to complete every day. I sometimes do these for the current day after 0 AM so logging the task (habit) as "DONE" schedules it for the day after tomorrow. (.+1d). This is problematic as org-mode thinks I finished it for 'today' because it's after 0AM and schedules it for 'tomorrow'. This way, I'll forget it for one day. Is there a simple day to say: "I finished this task yesterday" without me having to manually change every date in the tree, the PROPERTIES drawer, and in the Logbook? I'd also accept a solution for repeating these tasks on the same day. Not the nicest solution as the task would appear in the agenda even when it was done today, but acceptable. Cheers, Moritz ulrich - -- Moritz Ulrich -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.12 (Darwin) Comment: GPGTools - http://gpgtools.org iQEcBAEBCAAGBQJP3m94AAoJEKUFGO1Zs0thaVkIAJNVnzO9MjDn+0i9G/QL++a5 RvgwVn1d+ffSw0oD1DLaVee8HR6AuFwTtTXbe3DspQ+pKYUpd9u2oNxil/EmI/+X +t6YbdYLyr7CMZezlc9i1REeehTBwFmKjt7DPM2v0AmiqoLWlF8Tt3eIGRnLMZa6 8ZVb+aOuvAxdWwvqppmuYRVlrhVP9oA+8npIjfMzh/0+aS9KVXgUFrx3YALbgScs xup+D1W45vIIyKMLLE7kqKrgpMQLmUBUizLXuGzO6US+rwuCMveD1V2LlZ8O4AfH SDJd4VoocpygH2DgWLrjoWSR51A0lmA06spiahunFQNSMQ4tJON0fJyWNOgYLjc= =xLyN -END PGP SIGNATURE-
[O] Typo in worg page about org-checkbox
Last line in section "Quick Example" in [1] misses a _ in the property. It reads RESET_CHECKBOXES but org-checklist.el checks for RESET_CHECK_BOXES. Just spent a few minutes tracking down why org-checklist wasn't working for me. [1]: http://orgmode.org/worg/org-contrib/org-checklist.html -- Moritz Ulrich
[O] org-clocktable: Show timestamps for CLOCKED
Hello, I'm currently running a report on my tasks last month. It works pretty fine using the following clocktable invocation: #+BEGIN: clocktable :maxlevel 2 :scope subtree :compact t :timestamp t #+END: This gives me a nice exportable clocktable for the current subtree (which is what I've done for work last month). However, one thing isn't very nice. One (big) task was clocked over two consecutive days: CLOCK: [2012-03-30 Fri 12:45]--[2012-03-30 Fri 18:25] => 5:40 CLOCK: [2012-03-29 Thu 14:45]--[2012-03-29 Thu 19:11] => 4:26 org-clocktable's :timestamp doesn't handle this, showing the task only with one timestamp in the table. This is as expected as the doc says: "Look for SCHEDULED, DEADLINE, TIMESTAMP and TIMESTAMP_IA, in this order.". I think org-clocktable should search for CLOCKED too. -- Moritz Ulrich
[O] Agenda: Don't widen narrowed subtrees
When a file used in the org-agenda is in a narrowed state (org-narrow-to-subtree or similar) and you refresh the agenda buffer via `g', it becomes un-narrowed. This is a very annoying behavior as I tend to narrow to subtrees while editing their contents. Is this a bug or desired behavior? If the latter, I'll try hunting the missing `save-restriction' down tomorrow. -- Moritz Ulrich
Re: [O] [URGENT] Regression in `org-todo'
Marking it URGENT as the release for emacs 24 seems to be affected too. On Sun, Apr 1, 2012 at 17:01, Moritz Ulrich wrote: > Commit 6cbf1f417222321a47848a7368427ba8a22fe3a5 renames variable > `last-state' to `org-last-state' in org.el. This change isn't > reflected in function `org-todo'. > > That causes the following regression: Toggling a TODO state to DONE on > a headline via C-c C-t (`org-todo') results in: "Symbol's value as > variable is void: org-last-state". > This is reproducible in latest HEAD and even in tag 'release_7.8.07'. > > M-x emacs-version: GNU Emacs 24.0.94.1 (i386-apple-darwin11.3.0, NS > apple-appkit-1138.32) of 2012-03-12 on moritz-macbook.local > > The attached patch contains a simple (two line) fix. > > > Cheers, > Moritz Ulrich > > -- > Moritz Ulrich -- Moritz Ulrich
[O] Regression in `org-todo'
Commit 6cbf1f417222321a47848a7368427ba8a22fe3a5 renames variable `last-state' to `org-last-state' in org.el. This change isn't reflected in function `org-todo'. That causes the following regression: Toggling a TODO state to DONE on a headline via C-c C-t (`org-todo') results in: "Symbol's value as variable is void: org-last-state". This is reproducible in latest HEAD and even in tag 'release_7.8.07'. M-x emacs-version: GNU Emacs 24.0.94.1 (i386-apple-darwin11.3.0, NS apple-appkit-1138.32) of 2012-03-12 on moritz-macbook.local The attached patch contains a simple (two line) fix. Cheers, Moritz Ulrich -- Moritz Ulrich fix-org-last-state.patch Description: Binary data
Re: [O] org-mobile: Strange #+TODO: in index.org
On Thu, Mar 29, 2012 at 12:51, Bastien wrote: > Hi Ulrich, It's Moritz, everyone confuses this ;-) (No hard feelings) > Moritz Ulrich writes: > >> I recently started using org-mode in combination with MobileOrg rather >> excessively. Everything works pretty good, with one exception: >> `org-mobile-push' adds a strange #+TODO: line to index.org: >> >> #+TODO: | DONE > > See this section in the manual: > > 5.2.5 Setting up keywords for individual files in I wasn't aware of | being a special operator for TODO keywords, thanks! >> This confuses my MobileOrg application (Android, MobileOrg-NG, a fork) >> and I couldn't find the source of the problem: >> >> - grepped my org-agenda files for 'DONE', '|' or 'TODO' (no abnormalities) >> - Checked `org-todo-keywords', `org-todo-keywords-for-agenda' and >> `org-todo-keyword-alist-for-agenda'. Again, nothing strange. >> >> The only file with this abnormality is index.org after >> org-mobile-push. Killing the line fixes it, but the next push will add >> it again. > > Can you check if this patch against master fixes the problem for you? > Sadly it causes a bunch of problems: MobileOrg and MobileOrg-NG doesn't seem to recognize #+TYP_TODO: lines. With this patch applied, MobileOrg doesn't recognize any TODO keyword and therefore fails to parse them correctly. Looks like a bug in the MobileOrg projects. > > -- > Bastien > -- Moritz Ulrich
[O] org-mobile: Strange #+TODO: in index.org
Hello, I recently started using org-mode in combination with MobileOrg rather excessively. Everything works pretty good, with one exception: `org-mobile-push' adds a strange #+TODO: line to index.org: #+TODO: | DONE This confuses my MobileOrg application (Android, MobileOrg-NG, a fork) and I couldn't find the source of the problem: - grepped my org-agenda files for 'DONE', '|' or 'TODO' (no abnormalities) - Checked `org-todo-keywords', `org-todo-keywords-for-agenda' and `org-todo-keyword-alist-for-agenda'. Again, nothing strange. The only file with this abnormality is index.org after org-mobile-push. Killing the line fixes it, but the next push will add it again. While this isn't a big deal, I'd rather have a clean setup. Can someone point me in the right direction? I'm using Org 7.8.06. Cheers, Moritz Ulrich -- Moritz Ulrich