[Orgmode] Re: contributing Debian build scripts
On Jun 23, 2010, at 7:21 PM, Mark A. Hershberger wrote: Carsten Dominik carsten.domi...@gmail.com writes: Can you please first elaborate what it would mean if we were to take over the production of this package? Mosty, when releases are made, it would mean adding a changelog entry to the debian/changelog file, re-building the source package and then using dput to send the updates to Launchpad.net Where would we have to submit it or put it up on the web so that it would be found as an official package? I think the best way would be for me to create a group on Launchpad and then invite people to be a part of that group. Anyone in the group could submit packages to the package archive. How does all of this work? The packaging scripts are kept in a debian subdirectory that can be in the same repository as org-mode itself or (as I've been doing) in a separate source repository. I've been using bzr-builddeb to create the packages since this allows me to maintain my packaging scripts separately from the upstream source. It looks like Launchpad has introduced support for automated daily builds and build recipes (https://wiki.ubuntu.com/DailyBuilds/BzrBuilder) since I last looked, so the work involved is probably going to be less than what I've been doing. After thinking about it a bit, I've created an Org-Mode group on Launchpad and requested an import of the Org-Mode git archive into a launchpad repository there so that it can be used in build recipies. I've also pushed my build scripts to that group so anyone who joins can contribute. So, next steps are: set up a daily build. Anyone interested in contributing is welcome to join: http://launchpad.net/~org-mode/ Mark. Hi Mark, thanks! If I understand correctly, there is no action I need to take, right? - Carsten ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] agenda views
On Jun 22, 2010, at 6:29 PM, J. David Boyd wrote: I have my agenda set to start up in a Month view, from today. At least, that is how it starts. But if I switch to day or week, view, then back to month view, it shows the entire month, from day 1, not the 30 days from today. Anyone know what I have set wrong? Or am doing wrong? Thanks, This is just because Org does not really have a way to tell what you want. So it falls back to a simple default. I don't think it makes a lot of sense to change this. - Carsten ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Tables and environment with parameters
Hi Sebastien, maybe you could use git bisect to identify the offending commit? Thanks! - Carsten On Jun 23, 2010, at 11:30 PM, Sébastien Vauban wrote: Hi, I'm filling my taxes now. Of course, using Org for keeping a trace of all computations and reasons of imputing this or that... Though, since one of the last updates -- I guess --, I now have a problem exporting such a table: --8---cut here---start-8--- * Autres frais professionnels #+BEGIN_changemargin {-4.2cm}{0cm} #+TBLNAME: AutresFPNVE #+ATTR_LaTeX: align=lr | | | Montant total (\EUR) | Taux amort (\%) | Part pro. (\%) | Déduc (\%) | NVE (\EUR) | |---+-- +--+-+ ++| | | Documentation et formation | 51.05 | ||| 0.00 | | | Communications GSM | 831.16 | 100 | 25 |100 | 207.79 | | | Internet (Dommel)| 167.88 | 100 | 33 |100 | 55.40 | | | Fournitures à amortir (ordinateur + GSM) | 762.51 | 33 | 80 |100 | 201.30 | | | Restaurant | 304.70 | 100 |100 | 69 | 210.24 | |---+-- +--+-+ ++| | | Total | | | ||1062.02 | | ^ | | | | || Total | #+TBLFM: $7=$3*$4*$5*$6/100;%. 2f ::@2 $ 3 = 51.05 ::@3 $ 3 = 9.00 + 184.88 + 51.22 + 201.82 + 45.67 + 69.03 + 62.93 +54.16+38.87+39.77+36.35+37.46::@4$3=12*13.99::@6$3=146.50+158.20;%. 2f::@7$7=vsum(@-...@-ii);%.2f #+END_changemargin Some text. --8---cut here---end---8--- 1. I see the meta-tags in the PDF output! Very new... 2. The `changemargin' environment is not correctly handled. See http://article.gmane.org/gmane.emacs.orgmode/25849 for more info. FYI, here is the code for `changemargin' in my default class: --8---cut here---start-8--- % changing margins on the fly (in mid document) \newenvironment{changemargin}[2]% {\begin{list}{}{% \setlength{\topsep}{0pt}% \setlength{\leftmargin}{#1}% \setlength{\rightmargin}{#2}% \setlength{\listparindent}{\parindent}% \setlength{\itemindent}{\parindent}% \setlength{\parsep}{\parskip}% }\item[]}% {\end{list}} --8---cut here---end---8--- Any confirmation of these problems as new? Best regards, Seb PS- Something not new, a bit annoying (even if detail): the `#+BEGIN_environment' meta-tags must begin at column 0. -- Sébastien Vauban ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode - Carsten ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Checkboxes in Agenda
On Jun 23, 2010, at 6:05 PM, Nick Parker wrote: Is there a way to allow checkboxes to be displayed within an agenda view? I am currently just seeing the root element associated to the checkboxes in my agenda. No, checkboxes do not make it into the agenda. You can press SPC to see them in another window, but that's it. Cheers - Carsten ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: [ANN] Org-babel integrated into Org-mode
Hi Eric, I've just merged the babel branch into the main branch of Org-mode. [...] 2) Babel will now be loaded by default along with the rest of Org-mode. This means that *everyone* currently using babel will need to change their Emacs config and remove the (require 'org-babel-int) and/or (require 'org-babel) lines. Support for evaluating emacs-lisp code blocks is loaded by default. All other languages will need to be required explicitly. To conform to Emacs filename specifications all language require lines have been shortened from e.g. (require 'org-babel-sh) to (require 'ob-sh) For my own understanding, what's the status of `Org-babel-screen', for which I've never been able to understand completely all the differences with `sh' in `Org-babel'? Second, a problem with the following code: --8---cut here---start-8--- ;; Org-babel needs to be told to recognize awk source code blocks and ;; how they should be tangled, which can be accomplished with the ;; following: (org-babel-add-interpreter awk) (add-to-list 'org-babel-tangle-langs '(awk awk)) (org-babel-add-interpreter fortran) (add-to-list 'org-babel-tangle-langs '(fortran f)) ;; ;; org-babel panics when trying to evaluate ruby code blocks because ;; ;; you don't have the required ruby executables available on your ;; ;; system. Probably the best way to deal with this is to remove ruby ;; ;; from the list of languages supported by babel: ;; (setq org-babel-interpreters (delete ruby org-babel-interpreters)) ;; make pre-built helper functions (`lob') available ;; (org-babel-load-library-of-babel) ;; mapping between languages (listings in LaTeX) and their major mode ;; (in Emacs) (setq org-src-lang-modes '((ocaml . tuareg) (elisp . emacs-lisp) ;; (Delphi . perl) (ditaa . artist) (asymptote . asy) (dot . fundamental))) ;; ) --8---cut here---end---8--- Neither org-babel-add-interpreter, neither its shorter version do exist now? Best regards, Seb -- Sébastien Vauban ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: Capture mode seems to be easily confused in Emacs 22
Carsten Dominik carsten.domi...@gmail.com writes: On Jun 24, 2010, at 4:57 AM, Bernt Hansen wrote: In my Emacs 22 on Debian GNU Emacs 22.2.1 (i486-pc-linux-gnu, GTK+ Version 2.12.11) of 2008-11-09 on raven, modified by Debian if I start a capture buffer with C-c c t and then immediately try to file it with C-c C-c (with the point still on the heading) it prompts for tags instead of filing. This seems to work fine in Emacs 23. In Emacs 22 I end up in the CAPTURE-refile.org buffer with the overlay on line 1 stating to use C-c C-c to file and C-c C-k to abort but these keys no longer work. Widening the buffer and using C-c C-c on the #+STARTUP line refreshes the config and makes it possible to continue. this is strange, and also a sign that org-capture-mode is not active in that buffer. My preliminary test show that it works here under emacs 22. Anything suspicious in *Messages* ? The toggling capture mode off message look suspicious. , | Loading /home/bernt/git/org-mode/lisp/org-capture.el (source)...done | Template key: | Loading tabify...done | Clipboard pasted as level 1 subtree | Toggling org-capture-mode off; better pass an explicit argument. | Clock starts at [2010-06-24 Thu 08:24] - showing entire task time. ` -Bernt ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: [Patch] New implementation of the Org remember process ready for comments and testing
Sebastian Rose sebastian_r...@gmx.de wrote: Carsten Dominik carsten.domi...@gmail.com writes: I have not tested it, but I think this problem should be fixed now as well. - Carsten It works for me. Sebastian and for me, too. Thanks a lot :) Ulf ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: agenda views
On Jun 24, 2010, at 3:12 PM, J. David Boyd wrote: Carsten Dominik carsten.domi...@gmail.com writes: On Jun 22, 2010, at 6:29 PM, J. David Boyd wrote: I have my agenda set to start up in a Month view, from today. At least, that is how it starts. But if I switch to day or week, view, then back to month view, it shows the entire month, from day 1, not the 30 days from today. Anyone know what I have set wrong? Or am doing wrong? Thanks, This is just because Org does not really have a way to tell what you want. So it falls back to a simple default. I don't think it makes a lot of sense to change this. - Carsten I can live with it. Just wanted to make certain that I wasn't missing some setting that would tell month view (or year view) to start from 'today'. OK, thanks for your reply. - Carsten ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: Capture mode seems to be easily confused in Emacs 22
Carsten Dominik carsten.domi...@gmail.com writes: On Jun 24, 2010, at 2:26 PM, Bernt Hansen wrote: Carsten Dominik carsten.domi...@gmail.com writes: On Jun 24, 2010, at 4:57 AM, Bernt Hansen wrote: In my Emacs 22 on Debian GNU Emacs 22.2.1 (i486-pc-linux-gnu, GTK+ Version 2.12.11) of 2008-11-09 on raven, modified by Debian if I start a capture buffer with C-c c t and then immediately try to file it with C-c C-c (with the point still on the heading) it prompts for tags instead of filing. This seems to work fine in Emacs 23. In Emacs 22 I end up in the CAPTURE-refile.org buffer with the overlay on line 1 stating to use C-c C-c to file and C-c C-k to abort but these keys no longer work. Widening the buffer and using C-c C-c on the #+STARTUP line refreshes the config and makes it possible to continue. this is strange, and also a sign that org-capture-mode is not active in that buffer. My preliminary test show that it works here under emacs 22. Anything suspicious in *Messages* ? The toggling capture mode off message look suspicious. , | Loading /home/bernt/git/org-mode/lisp/org-capture.el (source)...done | Template key: | Loading tabify...done | Clipboard pasted as level 1 subtree | Toggling org-capture-mode off; better pass an explicit argument. | Clock starts at [2010-06-24 Thu 08:24] - showing entire task time. ` Hi Bernt, I suspect that you use (org-capture-mode) in one of your hook function, in order to check if the mode is on. However, this is a function call, and it will TOGGLE the mode, so you are turning it off. Just remove the parenthesis, to test the *variable* (if org-capture-mode . If you want to protect yourself from running this hook before org- capture is is loaded and org-capture-mode defined, you can do (if (and (boundp 'org-capture-mode) org-capture-mode .. I am willing to bet that this is the problem you are experiencing. :-) *BINGO*. Duh now I feel stupid :) Sorry about that snafu. /me blames it on the guy that named the variable and function the same thing ;) After my post to Nick about not being able to use the capture mode *variable* I promptly updated my clock in to NEXT function to try to use it and I wrapped org-capture-mode in parens... so it called the function. Just FYI this is my new function , | (defun bh/clock-in-to-next (kw) | Switch task from TODO to NEXT when clocking in. | Skips remember tasks and tasks with subtasks | (if (and (string-equal kw TODO) | (not (string-equal (buffer-name) *Remember*)) | ;(not (string-match ^CAPTURE-.*\.org (buffer-name) ))) | (not org-capture-mode)) | (let ((subtree-end (save-excursion (org-end-of-subtree t))) | (has-subtask nil)) | (save-excursion | (forward-line 1) | (while (and (not has-subtask) | ( (point) subtree-end) | (re-search-forward ^\*+ subtree-end t)) | (message Found todo keyword %s (org-get-todo-state)) | (when (member (org-get-todo-state) org-not-done-keywords) | (setq has-subtask t | (when (not has-subtask) | NEXT ` and the call to org-capture-mode used to look like this , | (not (org-capture-mode))) ` Thank for solving this one! Best regards, Bernt ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: Capture mode seems to be easily confused in Emacs 22
On Jun 24, 2010, at 3:14 PM, Bernt Hansen wrote: Carsten Dominik carsten.domi...@gmail.com writes: On Jun 24, 2010, at 2:26 PM, Bernt Hansen wrote: Carsten Dominik carsten.domi...@gmail.com writes: On Jun 24, 2010, at 4:57 AM, Bernt Hansen wrote: In my Emacs 22 on Debian GNU Emacs 22.2.1 (i486-pc-linux-gnu, GTK+ Version 2.12.11) of 2008-11-09 on raven, modified by Debian if I start a capture buffer with C-c c t and then immediately try to file it with C-c C-c (with the point still on the heading) it prompts for tags instead of filing. This seems to work fine in Emacs 23. In Emacs 22 I end up in the CAPTURE-refile.org buffer with the overlay on line 1 stating to use C-c C-c to file and C-c C-k to abort but these keys no longer work. Widening the buffer and using C-c C-c on the #+STARTUP line refreshes the config and makes it possible to continue. this is strange, and also a sign that org-capture-mode is not active in that buffer. My preliminary test show that it works here under emacs 22. Anything suspicious in *Messages* ? The toggling capture mode off message look suspicious. , | Loading /home/bernt/git/org-mode/lisp/org-capture.el (source)...done | Template key: | Loading tabify...done | Clipboard pasted as level 1 subtree | Toggling org-capture-mode off; better pass an explicit argument. | Clock starts at [2010-06-24 Thu 08:24] - showing entire task time. ` Hi Bernt, I suspect that you use (org-capture-mode) in one of your hook function, in order to check if the mode is on. However, this is a function call, and it will TOGGLE the mode, so you are turning it off. Just remove the parenthesis, to test the *variable* (if org-capture-mode . If you want to protect yourself from running this hook before org- capture is is loaded and org-capture-mode defined, you can do (if (and (boundp 'org-capture-mode) org-capture-mode .. I am willing to bet that this is the problem you are experiencing. :-) *BINGO*. Duh now I feel stupid :) Don't. I have been there, and I am sure others too. :-) So I guess that means that your setup is working now? - Carsten ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] AutOrg, and practice of GTD in a group
On Thu, Jun 24, 2010 at 9:00 AM, Hellekin O. Wolf helle...@cepheide.org wrote: *** So you do maintain multiple NEXT actions per project? Butting in on this, since I GTD with org-mode, and think the autorg site is kind of neat, I do maintain multiple NEXT actions per project. The caveat is that they must meet the following conditions: 1. Be independent of each other 2. All be currently doable in terms of resources and dependencies 3. Be feasible to get done before the next weekly review Having more than one NEXT action on a project lets you move a project forward even when you don't have the time/energy for one of them. The caveat is that you can't let it become a to-do list. That's what #3 is meant to avoid. I struggle with this, but for me it's mainly a result of having too many projects, so limiting myself to one next action on a project wouldn't be that helpful. -- Jason F. McBrayer http://jfm.carcosa.net/ ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: Pretty org-entities in org-mode buffers
Carsten Dominik carsten.domi...@gmail.com writes: On Jun 18, 2010, at 8:16 PM, Raghav Kumar Gautam wrote: Can we also have support for colors ? At least for a few colors ? High Raghav, Can you be more specific, please? - Carsten Hi Carsten, Often while workig out complex equations (say for a presentation), you want to highlight only parts of it that have changed. I have seen people using this trick in conferences. If we can have this supported in org-mode, it would be really great. By this support I mean if I can change color of certain parts of equation and istead of seeing latex code of this, I can see the changed color, it would be much more intuitive. On second thoughts, it would also be useful to have the support even for normal text. With Regards, Raghav. ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: Capture mode seems to be easily confused in Emacs 22
Carsten Dominik carsten.domi...@gmail.com writes: If you want to protect yourself from running this hook before org- capture is is loaded and org-capture-mode defined, you can do (if (and (boundp 'org-capture-mode) org-capture-mode .. And yes I need this -- thanks! -Bernt ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Fwd: [Orgmode] Checkboxes in Agenda
Carsten, Thank you for your reply. Was it intentionally designed to keep checkboxes out of the agenda view or is it just that way because no one has submitted a patch to provide that yet? Nick Parker www.developernotes.com On Thu, Jun 24, 2010 at 1:18 AM, Carsten Dominik carsten.domi...@gmail.comwrote: On Jun 23, 2010, at 6:05 PM, Nick Parker wrote: Is there a way to allow checkboxes to be displayed within an agenda view? I am currently just seeing the root element associated to the checkboxes in my agenda. No, checkboxes do not make it into the agenda. You can press SPC to see them in another window, but that's it. Cheers - Carsten ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: Pretty org-entities in org-mode buffers
Raghav Kumar Gautam raghavgau...@gmail.com writes: Carsten Dominik carsten.domi...@gmail.com writes: On Jun 18, 2010, at 8:16 PM, Raghav Kumar Gautam wrote: Can we also have support for colors ? At least for a few colors ? High Raghav, Can you be more specific, please? - Carsten Hi Carsten, Often while workig out complex equations (say for a presentation), you want to highlight only parts of it that have changed. I have seen people using this trick in conferences. If we can have this supported in org-mode, it would be really great. By this support I mean if I can change color of certain parts of equation and istead of seeing latex code of this, I can see the changed color, it would be much more intuitive. On second thoughts, it would also be useful to have the support even for normal text. With Regards, Raghav. I guess M-x highlight-changes-mode is not enough? Sebastian ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: Fwd: Checkboxes in Agenda
J., The way I use them is to simply associate the root element with a scheduled date, the checkboxes just provide a way to itemize the root task. Nick Parker www.developernotes.com On Thu, Jun 24, 2010 at 9:45 AM, J. David Boyd da...@adboyd.com wrote: Nick Parker ni...@developernotes.com writes: Carsten, Thank you for your reply. Was it intentionally designed to keep checkboxes out of the agenda view or is it just that way because no one has submitted a patch to provide that yet? Nick Parker www.developernotes.com On Thu, Jun 24, 2010 at 1:18 AM, Carsten Dominik carsten.domi...@gmail.com wrote: On Jun 23, 2010, at 6:05 PM, Nick Parker wrote: Is there a way to allow checkboxes to be displayed within an agenda view? I am currently just seeing the root element associated to the checkboxes in my agenda. No, checkboxes do not make it into the agenda. You can press SPC to see them in another window, but that's it. Cheers - Carsten It seems that checkboxes in the agenda would get confusing, fast. Unless you could tag each checkbox with it's own 'to accomplish' date, I don't see where that feature would help me any. Dave ___ Emacs-orgmode mailing list Please 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 Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: Fwd: Checkboxes in Agenda
Nick Parker ni...@developernotes.com writes: Hi Nick, Thank you for your reply. Was it intentionally designed to keep checkboxes out of the agenda view or is it just that way because no one has submitted a patch to provide that yet? I guess, that's intended. If a checkbox item is such a big task that it deserves its own DEADLINE/SCHEDULED/normal date, then you should have used a TODO heading in the first place. Bye, Tassilo ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: Fwd: Checkboxes in Agenda
Tassilo, The root item is in fact a TODO item with a scheduled date, I have just been using checkboxes as children of the root TODO item for tracking the individual work items related to the TODO. So for example: * TODO Prepare for trip [ ] pack clothes [ ] print boarding tickets [ ] turn on alarm I suppose could swap out the checkboxes for two stars instead, I was just asking. Nick Parker www.developernotes.com On Thu, Jun 24, 2010 at 10:42 AM, Tassilo Horn tass...@member.fsf.orgwrote: Nick Parker ni...@developernotes.com writes: Hi Nick, Thank you for your reply. Was it intentionally designed to keep checkboxes out of the agenda view or is it just that way because no one has submitted a patch to provide that yet? I guess, that's intended. If a checkbox item is such a big task that it deserves its own DEADLINE/SCHEDULED/normal date, then you should have used a TODO heading in the first place. Bye, Tassilo ___ Emacs-orgmode mailing list Please 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 Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: [ANN] Org-babel integrated into Org-mode
Hi Sébastien, Sébastien Vauban wxhgmqzgw...@spammotel.com writes: [...] For my own understanding, what's the status of `Org-babel-screen', for which I've never been able to understand completely all the differences with `sh' in `Org-babel'? I believe screen has more of a focus on sustained interaction with an interactive terminal, although to be honest I haven't really used it and can't say for sure. Benjamin Andresen, the author, may have a more satisfying answer for you. Second, a problem with the following code: ;; Org-babel needs to be told to recognize awk source code blocks and ;; how they should be tangled, which can be accomplished with the ;; following: (org-babel-add-interpreter awk) (add-to-list 'org-babel-tangle-langs '(awk awk)) (org-babel-add-interpreter fortran) (add-to-list 'org-babel-tangle-langs '(fortran f)) ;; ;; org-babel panics when trying to evaluate ruby code blocks because ;; ;; you don't have the required ruby executables available on your ;; ;; system. Probably the best way to deal with this is to remove ruby ;; ;; from the list of languages supported by babel: ;; (setq org-babel-interpreters (delete ruby org-babel-interpreters)) ;; make pre-built helper functions (`lob') available ;; (org-babel-load-library-of-babel) ;; mapping between languages (listings in LaTeX) and their major mode ;; (in Emacs) (setq org-src-lang-modes '((ocaml . tuareg) (elisp . emacs-lisp) ;; (Delphi . perl) (ditaa . artist) (asymptote . asy) (dot . fundamental))) ;; ) Neither org-babel-add-interpreter, neither its shorter version do exist now? Yes, thanks for bringing this up! I realized last night that I forgot to mention this in the announcement. We have simplified the handling of languages in Org-babel, in that the org-babel-interpreters and org-babel-tangle-langs variables have both been removed. Rather than keeping explicit lists of supported languages, Babel will now try to work with every language, and will only give up if it can't find a needed function (e.g. if there is no org-babel-execute:foo function defined then babel will give up on evaluating a foo code block). The only remaining language list is `org-babel-tangle-lang-exts' which can optionally be used to associate file extensions with language names, but is *not* required for evaluation or tangling. Given this, your configuration from above could be rewritten as --8---cut here---start-8--- ;; Org-babel now needs less hand-holding :) however it could be ;; useful to know extensions for some languages (add-to-list 'org-babel-tangle-lang-exts '(fortran . f)) ;; mapping between languages (listings in LaTeX) and their major mode ;; (in Emacs) (setq org-src-lang-modes '((ocaml . tuareg) (elisp . emacs-lisp) ;; (Delphi . perl) (ditaa . artist) (asymptote . asy) (dot . fundamental))) ;; ) --8---cut here---end---8--- Cheers -- Eric Best regards, Seb ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: Fwd: Checkboxes in Agenda
Bernt Hansen be...@norang.ca writes: Nick Parker ni...@developernotes.com writes: Tassilo, The root item is in fact a TODO item with a scheduled date, I have just been using checkboxes as children of the root TODO item for tracking the individual work items related to the TODO. So for example: * TODO Prepare for trip [ ] pack clothes [ ] print boarding tickets [ ] turn on alarm I suppose could swap out the checkboxes for two stars instead, I was just asking. Or put a checkbox cookie in the headline * TODO Prepare for trip [%] [/] and it updates when you check/uncheck the boxes * TODO Prepare for trip [ ] pack clothes [ ] print boarding tickets [ ] turn on alarm Sorry this mail got sent a bit prematurely :) * TODO Prepare for trip [0%] [0/3] - [ ] pack clothes - [ ] print boarding tickets - [ ] turn on alarm * TODO Prepare for trip [33%] [1/3] - [X] pack clothes - [ ] print boarding tickets - [ ] turn on alarm * TODO Prepare for trip [100%] [3/3] - [X] pack clothes - [X] print boarding tickets - [X] turn on alarm You can use either the [%] or [/] (or both) cookies in a headline As long as the checkboxes are lists it updates properly. HTH, Bernt ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: Fwd: Checkboxes in Agenda
On Thursday 24 June 2010 18:53:56 Bernt Hansen wrote: Hi! Sorry this mail got sent a bit prematurely :) * TODO Prepare for trip [0%] [0/3] - [ ] pack clothes - [ ] print boarding tickets - [ ] turn on alarm * TODO Prepare for trip [33%] [1/3] - [X] pack clothes - [ ] print boarding tickets - [ ] turn on alarm * TODO Prepare for trip [100%] [3/3] - [X] pack clothes - [X] print boarding tickets - [X] turn on alarm You can use either the [%] or [/] (or both) cookies in a headline As long as the checkboxes are lists it updates properly. Well, but that also doesn't make the checkboxes appear in the agenda so that you could check them off there. I guess, that was what Nick wanted to achieve. But with your suggestion at least you know that there are checkboxes below that TODO headline. And then you can hit SPACE to check them off in a separate buffer. Bye, Tassilo ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Checkboxes in Agenda
On Jun 24, 2010, at 3:33 PM, Nick Parker wrote: Carsten, Thank you for your reply. Was it intentionally designed to keep checkboxes out of the agenda view or is it just that way because no one has submitted a patch to provide that yet? This is by design. As Dave writes, Checkboxes have no meta data to decide about inclusion in the agenda view. They are meant as fine- grained subdivision of tasks. - Carsten Nick Parker www.developernotes.com On Thu, Jun 24, 2010 at 1:18 AM, Carsten Dominik carsten.domi...@gmail.com wrote: On Jun 23, 2010, at 6:05 PM, Nick Parker wrote: Is there a way to allow checkboxes to be displayed within an agenda view? I am currently just seeing the root element associated to the checkboxes in my agenda. No, checkboxes do not make it into the agenda. You can press SPC to see them in another window, but that's it. Cheers - Carsten ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode - Carsten ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] patch for org-mac-link-grabber
Hi Carsten, Could you please apply the following patch to fix a problem where Together links were being incorrectly opened with AddressBook? Thanks -Anthony -- diff --git a/contrib/lisp/org-mac-link-grabber.el b/contrib/lisp/org- mac-link-grabber.el index 46a9565..bb12204 100644 --- a/contrib/lisp/org-mac-link-grabber.el +++ b/contrib/lisp/org-mac-link-grabber.el @@ -318,7 +318,7 @@ applications and inserting them in org documents (defun org-mac-together-item-open (uid) Open the given uid, which is a reference to an item in Together - (shell-command (concat open \x-together-item: uid \))) + (shell-command (concat open -a Together \x-together-item: uid \))) (defun as-get-selected-together-items () (do-applescript @@ -378,9 +378,9 @@ applications and inserting them in org documents ;; ;; -(org-add-link-type addressbook 'org-mac-together-item-open) +(org-add-link-type addressbook 'org-mac-addressbook-item-open) -(defun org-mac-together-item-open (uid) +(defun org-mac-addressbook-item-open (uid) Open the given uid, which is a reference to an item in Together (shell-command (concat open \addressbook: uid \))) ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] [PATCH] orphaned captions and labels
Hi David and Nicolas, I didn't follow this thread closely, so forgive me if this is another bug then the one you tried to fix. David Maus dm...@ictsoc.de writes: Nicolas Goaziou wrote: Hello, This patch corrects the following problem : - #+caption: I'm not removed from export #+label: also-not-removed | A | B | | 1 | 2 | - Since org-handle-comments is only removing comments, #+caption, #+label and friends were left in the export file. Some still are. I applied the patch, but my #+ATTR_HTML: lines are not removed from ASCII export if they occur on a line with leading spaces. This might be true for other backends, too. Try to export this as ASCII: = ---8--8--8--- * Example #+ATTR_HTML: I am removed from ASCII export | THead 1 | THead 2 | #+ATTR_HTML: I am _NOT_ removed from ASCII export | THead 1 | THead 2 | #+CAPTION: removed #+ATTR_HTML: NOT removed | THead 1 | THead 2 | #+CAPTION: removed #+ATTR_HTML: removed | THead 1 | THead 2 | = ---8--8--8--- Leading space make the difference. Somtimes. Here is the result: = ---8-8-8--- 1 Example ~~ THead 1 THead 2 #+ATTR_HTML: I am NOT removed from ASCII export THead 1 THead 2 #+ATTR_HTML: NOT removed THead 1 THead 2 THead 1 THead 2 = ---8-8-8--- Sebastian ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] [patch] filing under current clocked item
Hi, The capture template (t task entry (clock) * TODO %? %^G:\n ) is giving me the error org-find-base-buffer-visiting: Wrong type argument: stringp, #buffer refile.org The patch below fixes it. diff --git a/lisp/org-capture.el b/lisp/org-capture.el index decf50a..0942e8b 100644 --- a/lisp/org-capture.el +++ b/lisp/org-capture.el @@ -585,7 +585,8 @@ already gone. (if (and (markerp org-clock-hd-marker) (marker-buffer org-clock-hd-marker)) (progn (set-buffer (org-capture-target-buffer - (marker-buffer org-clock-hd-marker))) + (buffer-file-name (marker-buffer + org-clock-hd-marker (goto-char org-clock-hd-marker)) (error No running clock that could be used as capture target))) Thanks, Puneeth ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Does Org-mode need to be position aware?
Dear All, I recently bought a Android-based phone and was pleased to see the mobileorg version for Android. As you all may know people tend away from static computer places and we have mobileorg and some of us even run emacs and org-mode natively on smartphones and other gadgets. More and more of this devices come with a build-in GPS or at least they get can get the current location by tracking the mobile phone towers. Playing around with Android for a few days, I saw many applications which make use of the fact that the location is known to them. E.g. they show restaurants, shops, or doctors praxis close to you. I start wondering whether org-mode should get aware of my location and whether people might be interested to add a location tag to org-mode tasks. In a similar way as we add status, priorities, dates, tags, etc. It might be interesting to add a location. A special agenda search could list only those entries associated with my current location (or within a given circle). Since GPS coordinates are somehow ugly and human unreadable, I thought it should be possible to mask them similar to links. E.g., like [[gps://35.71083783530009,139.8175048828125][Somewhere in Japan +3km]]. Obviously, the first part has to be generated by read out the GPS location, the second part is a human readable description and a given radius. Closing this link would end up in Somewhere in Japan +3km. A C-a l could compile an agenda list only showing those entries which intersect with my current location. Obviously, it requires to read in GPS data, which might be tricky to do for all those different devices. Furthermore, it might need emacs-lisp code as well as some external program to read-out the position of the GPS module. But I guess the emacs-lisp gurus here might know this much better then I do. Another issue comes to my mind for mobileorg users. As far as I know, mobileorg only fetches agenda views from a server but does not generate them. However, this would be necessary to create this kind of location aware agendas. Would be nice to hear other opinions. Makes this sens? Should it be part of mobileorg, or rather a independent package? Maybe something for me to get used to emacs-lisp ?! ;) Bye Torsten ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: Fwd: Checkboxes in Agenda
Bernt, Thanks for the suggestion, that will be helpful for now. :-) Nick Parker www.developernotes.com On Thu, Jun 24, 2010 at 11:53 AM, Bernt Hansen be...@norang.ca wrote: Bernt Hansen be...@norang.ca writes: Nick Parker ni...@developernotes.com writes: Tassilo, The root item is in fact a TODO item with a scheduled date, I have just been using checkboxes as children of the root TODO item for tracking the individual work items related to the TODO. So for example: * TODO Prepare for trip [ ] pack clothes [ ] print boarding tickets [ ] turn on alarm I suppose could swap out the checkboxes for two stars instead, I was just asking. Or put a checkbox cookie in the headline * TODO Prepare for trip [%] [/] and it updates when you check/uncheck the boxes * TODO Prepare for trip [ ] pack clothes [ ] print boarding tickets [ ] turn on alarm Sorry this mail got sent a bit prematurely :) * TODO Prepare for trip [0%] [0/3] - [ ] pack clothes - [ ] print boarding tickets - [ ] turn on alarm * TODO Prepare for trip [33%] [1/3] - [X] pack clothes - [ ] print boarding tickets - [ ] turn on alarm * TODO Prepare for trip [100%] [3/3] - [X] pack clothes - [X] print boarding tickets - [X] turn on alarm You can use either the [%] or [/] (or both) cookies in a headline As long as the checkboxes are lists it updates properly. HTH, Bernt ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode