Re: [Orgmode] Question re CATEGORY and Agenda Views
Markus Heller helle...@gmail.com writes: Hello, I apologize if this is RTFM, i couldn't find the answer. Maybe it's also because of a misconception on my part. I have a .org file with the following setup (HEAVILY inspired by Bernt Hansen, http://doc.norang.ca/org-mode.html): * ABC1 :PROPERTIES: :CATEGORY: Bugfixes :PROJECT: ABC1 :END: ** STARTED Find bugs ** STARTED Fix bugs * ABC2 :PROPERTIES: :CATEGORY: Bugfixes :PROJECT: ABC2 :END: ** STARTED Find bugs ** STARTED Fix bugs So I have 2 different projects with identical tasks. If I bring up the agenda and list all STARTED tasks, I get a list that looks like: Bugfixes: STARTED Find bugs :NEXT: Bugfixes: STARTED Fix bugs :NEXT: Bugfixes: STARTED Find bugs :NEXT: Bugfixes: STARTED Fix bugs :NEXT: So the first column is taken from the CATEGORY property. How can I change this so that the actual project is displayed in the agenda view? I would expect that I'd have to use the PROJECT property, but how do I do this? Or is my whole idea flawed? * Files To be honest, I never used the CATEGORY property at all, simply because that's a kind of information I need to see anyway and to put that information into a drawer is counterproductive. I'm still waiting for the day/mail when I apprehend the use of CATEGORY ;) Instead, I use one file per customer (or even project) and the file name is seen in the agenda. So I would have an `ABC1.org' and an `ABC2.org' [fn:1]. If I don't use one of those files anymore (everything is DONE and the customer is not likely to call anymore), I remove the file from the list of my agenda files. * Headlines Fix Bugs is my job, so why should I have a to-do entry with that title in one of my files? It wouldn't say anything about the task without context. That said, I would have to expand the entry when visiting the Org-file, just to find out what that entry is all about. In short, I use headlines that actually say something about the task. That way, never ran into an issue with two identical headlines. While the headline of two entries could be identical, the to-do state of those entries will be different. One of them will be DONE and thus not show up in the agenda. As an example, a bug could show up again for some reason, but I have to add a new entry, because the old one is billed already and therefore DONE. For small things that go in my organizer.org, I use tags which show up in the agenda, too. Best wishes Sebastian Footnotes: [fn:1] Note, that those files do not need to live in your `org-directory', but could live in your projects workspace if you prefer. ___ 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: How to get \\ in title or author?
Hi Nick and Bastien, Bastien wrote: Nick Dokos nicholas.do...@hp.com writes: The org-latex translation is no problem, but the resulting latex file does not give me a two-line authorship, either through pdflatex (tested with xpdf) or through latex-dvi (tested with xdvi) and then through dvi-ps (tested with gv). Yes, \newline and \linebreak work in \title (with different outputs) but not in \author. \\ works in \author. I confirm this as well... Though, it works (authors on two lines) with my company-class: --8---cut here---start-8--- \documentclass[11pt]{myreport} --8---cut here---end---8--- and it's OK for me... For your info (even if that does not change anything to the subject here), here is the new definition of my title page: --8---cut here---start-8--- \RequirePackage{keyval} \def...@key{mymktitle}{caption}[]{\def\mymktitle@caption{#1}} \def...@key{mymktitle}{logo}[]{\def\mymktitle@logo{#1}} \setkeys{myMkTitle}{caption={}, logo={}} % preset keys with a default value, % so that above variables are created \renewcommand{\maketitle}[1][]{% \setkeys{myMkTitle}{#1} \null \thispagestyle{empty}% \begin{changemargin}{-3.5cm}{0cm} \begin{center} \leavevmode \ifthenelse{\equal{\mymkti...@logo}{}} {}% {\includegraphics[height=2cm]{\mymkti...@logo}} \\% \ifthenelse{\equal{\mymkti...@caption}{}} {}% {\textbf{\sc{\mymkti...@caption}}} \par\vspace{\stretch{2}} \normalfont {\Huge \color{my-color-document-title}\textb...@title}\par}% \vskip 5mm {\large \...@author\par}% \vskip 2mm {\large \...@date\par}% \par\vspace{\stretch{3}} \includegraphics[height=2cm]{MissionCriticalIT} \end{center}% \end{changemargin} \null \clearpage } --8---cut here---end---8--- My maketitle accepts key-val pairs, such as: --8---cut here---start-8--- \maketitle[logo=LaTeX2e, caption=LaTeX] --8---cut here---end---8--- to have both the LaTeX2e figure and the LaTeX string outputted on the top of the title page (for client reports). 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] Re: How to get \\ in title or author?
Hi Bastien, Bastien wrote: Sébastien Vauban wxhgmqzgw...@spammotel.com writes: For sure, it'd be better if `\\' wasn't converted at all when exporting to LaTeX (for the ones in the TITLE and AUTHOR meta-tags, at least). But how do you insert a backlash in the resulting div/ps/pdf then? My expectation was that converting \\ into \textbackslash was more common than inserting linebreaks in title (of which I didn't think in fact...) As Tim told: So, from the perspective of standard LaTeX classes, any instance of \\ in the \author{} command should not be converted during export. I wanted to express that there are certainly more cases where you want the backslashes in the AUTHOR and TITLE meta-tags to be passed as is, than converted to their LaTeX equivalent. But, your question makes sense: what if one really wants a backslash in the author list or in the title... Problem stays for the authors as it seems that \newline is not good for the standard article class... 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] `C-u 2 S-Tab' with `#+STARTUP: odd'
I like the org-indent-mode with the soft-indentation but even more I like the hard-indentation with `#+STARTUP: odd hidestars' instead for which I have a question. This is the content of the example file oddeven: -*- mode: org -*- #+STARTUP: oddeven hidestars content * 1 Org Mode ** 1.1 Introduction *** 1.1.1 Installation This is the content of the example file odd: -*- mode: org -*- #+STARTUP: odd hidestars content * 1 Org Mode *** 1.1 Introduction * 1.1.1 Installation The different _Emacs-faces_ (colors) for the heading levels are the same when comparing the two files. This Emacs-internal adaptation I appreciate a lot. C-u 2 S-Tab shows _two_ levels with the file oddeven but only _one_ with the file odd. Is this how it is intended to work for the file odd? org-version is 6.30e. ___ 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] `C-u 2 S-Tab' with `#+STARTUP: odd'
Hi Michael, yes, I agree it would be consistent to adapt the interpretation of the prefix arg when using odd-levels. I have fixed this, it is available in git now, and will be in the next release (6.31). Thanks! - Carsten On Sep 10, 2009, at 1:48 PM, Michael Brand wrote: I like the org-indent-mode with the soft-indentation but even more I like the hard-indentation with `#+STARTUP: odd hidestars' instead for which I have a question. This is the content of the example file oddeven: -*- mode: org -*- #+STARTUP: oddeven hidestars content * 1 Org Mode ** 1.1 Introduction *** 1.1.1 Installation This is the content of the example file odd: -*- mode: org -*- #+STARTUP: odd hidestars content * 1 Org Mode *** 1.1 Introduction * 1.1.1 Installation The different _Emacs-faces_ (colors) for the heading levels are the same when comparing the two files. This Emacs-internal adaptation I appreciate a lot. C-u 2 S-Tab shows _two_ levels with the file oddeven but only _one_ with the file odd. Is this how it is intended to work for the file odd? org-version is 6.30e. ___ 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] multiline description list, partial patch
On Sep 9, 2009, at 9:59 PM, Eric Schulte wrote: Hi, I've noticed that the bold face isn't applied to multiline description lists. What exactly do you mean here? This patch [1] partially fixes the problem, but for some reason I keep losing the bold. Any thoughts/ideas? Maybe you need to add a fontilock-multiline text property? On a related topic, I'd like to consistently indent my decision list text, rather than sometimes moving back to the depth of the bold portion, does anyone else feel similarly and is this supported? Have you had a look at the variable org-description-max-indent ? But maybe I am again not clearly understanding what you mean? - Carsten thanks -- Eric Footnotes: [1] diff --git a/lisp/org.el b/lisp/org.el index 39ef466..ed8d776 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -4703,7 +4703,7 @@ between words. '(\\[\\([0-9]*%\\)\\]\\|\\[\\([0-9]*\\)/\\([0-9]*\\)\\] (0 (org-get-checkbox-statistics-face) t))) ;; Description list items - '(^[ \t]*\\([-+*]\\|[0-9]+[.)]\\) +\\(.*? ::\\) + '(^[ \t]*\\([-+*]\\|[0-9]+[.)]\\) +\\(.*?\n?.*? ::\\) 2 'bold prepend) ;; ARCHIVEd headings (list (concat ^\\*+ \\(.*: org-archive-tag :.*\\)) @@ -16272,7 +16272,7 @@ which make use of the date at the cursor. (setq column (current-column))) ((org-in-item-p) (org-beginning-of-item) - (looking-at [ \t]*\\(\\S-+\\)[ \t]*\\(\\[[- X]\\][ \t]*\\|.*? :: \ \)?) + (looking-at [ \t]*\\(\\S-+\\)[ \t]*\\(\\[[- X]\\][ \t]*\\|.*? \n?.*? :: \\)?) (setq bpos (match-beginning 1) tpos (match-end 0) bcol (progn (goto-char bpos) (current-column)) tcol (progn (goto-char tpos) (current-column)) @@ -16372,7 +16372,7 @@ In particular, this makes sure hanging paragraphs for hand-formatted lists work correctly. (cond ((looking-at #[ \t]+) (match-string 0)) - ((looking-at [ \t]*\\([-*+] .*? :: \\)) + ((looking-at [ \t]*\\([-*+] .*?\n?.*? :: \\)) (save-excursion (if ( (match-end 1) (+ (match-beginning 1) org-description-max-indent)) ___ 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 6.30e bug with limited table column width corrupts file
Fixed, thanks. - Carsten On Sep 9, 2009, at 10:58 AM, Michael Brand wrote: First, when I open a file with the content -*- eval: (org-mode) -*- #+STARTUP: align | l8 | | 3.14 | | 3.1415926535897932384626433832795 | and answer yes, I get -*- eval: (org-mode) -*- #+STARTUP: align | l8| l8 | | 3.14 | | 3.1415= | but would expect -*- eval: (org-mode) -*- #+STARTUP: align | l8 | | 3.14 | | 3.1415= | Second, when I delete the last line and save the file, the file content will be -*- eval: (org-mode) -*- #+STARTUP: align | l8| l8 | | 3.14 | as I can see e. g. with emacs itself when I close the file and open it again declining org-mode with answering no. But the file content should be -*- eval: (org-mode) -*- #+STARTUP: align | l8 | | 3.14 | Can someone please confirm with a more stable and recent emacs version? --- * org-submit-bug-report Emacs : GNU Emacs 23.0.90.7 (x86_64-unknown-linux-gnu, GTK+ Version 2.10.4) of 2009-06-23 on ... Package: Org-mode version 6.30e current state: == (setq org-after-todo-state-change-hook '(org-clock-out-if-current) org-goto-auto-isearch nil 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-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-mode-hook '(#[nil \300\301\302\303\304$\207 [org-add-hook change-major-mode-hook org-show-block-all append local] 5] ) org-confirm-elisp-link-function 'yes-or-no-p org-occur-hook '(org-first-headline-recenter) ) ___ 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: How to get \\ in title or author?
On Sep 10, 2009, at 4:30 PM, Sébastien Vauban wrote: Hi Bastien, Bastien wrote: Sébastien Vauban wxhgmqzgw...@spammotel.com writes: For sure, it'd be better if `\\' wasn't converted at all when exporting to LaTeX (for the ones in the TITLE and AUTHOR meta-tags, at least). But how do you insert a backlash in the resulting div/ps/pdf then? My expectation was that converting \\ into \textbackslash was more common than inserting linebreaks in title (of which I didn't think in fact...) As Tim told: So, from the perspective of standard LaTeX classes, any instance of \\ in the \author{} command should not be converted during export. I wanted to express that there are certainly more cases where you want the backslashes in the AUTHOR and TITLE meta-tags to be passed as is, than converted to their LaTeX equivalent. But, your question makes sense: what if one really wants a backslash in the author list or in the title... Problem stays for the authors as it seems that \newline is not good for the standard article class... Hi, A workaround is this: #+LaTeX_HEADER: \def\dblbackslash{\\} \author{Einstein \dblbackslash{} Bose} - Carsten ___ 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] Percent signs in org-remember-templates
On Sep 9, 2009, at 3:42 PM, Desmond Rivet wrote: Carsten Dominik carsten.domi...@gmail.com writes: On Aug 24, 2009, at 3:27 AM, Desmond Rivet wrote: I'm attempting to use the remember package to insert a diary-sexp into a file for use by the org-mode agenda. It looks like this; %%(diary-remind '(diary-date %^{Month} %^{Day} t) -%^{Remind days}) %^{Brief Description}%? The double percent at the beginning is causing problems. Is there any way to escape the percent signs? Hi Desmond, Please pull from git, and then escape like this: %\%(diary-remind '(diary-date %^{Month} %^{Day} t) -%^{Remind days}) %^{Brief Description}%? Hrm...tried that with the latest version from git, but it still doesn't seem to work. My templates look like this: (setq org-remember-templates '( (Next Action ?n ** TODO %^{Brief Description}\nAdded: %U\n%? \n ~/pim/gtd/main_gtd.org Misc) (Waiting ?w ** TODO %^{Brief Description}\nAdded: %U\n%?\n ~/ pim/gtd/main_gtd.org Waiting) (Project ?p ** TODO %^{Brief Description} :project: \n:PROPERTIES:\n:CATEGORY: %^{Category}\n:END:\nAdded: %U\n%?\n ~/pim/gtd/main_gtd.org Projects) (Someday ?s ** %^{Brief Description}\nAdded: %U\n%?\n ~/pim/ gtd/someday.org Misc) ;; calendar (Birthday ?b %\%(diary-remind '(diary-date %^{Month} %^{Day}t) -%^{Remind days}) %^{Brief Description}%? Hi Desmond, to get a backslash in a string constant, you need to write two: %\\%(diary HTH - Carsten ~/pim/gtd/dates.org Birthdays) (Appointment ?a * %^T %^{Brief Description}%? ~/pim/gtd/ dates.org Appointments) ) ) The Birthday one is giving me this when I hit C-c r b: %%![Error: (void-function diary-remind)] %? Any ideas? -- Desmond Rivet Pain is weakness leaving the body. ___ 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: How to get \\ in title or author?
Carsten Dominik carsten.domi...@gmail.com wrote: Hi, A workaround is this: #+LaTeX_HEADER: \def\dblbackslash{\\} \author{Einstein \dblbackslash{} Bose} Does that work for Fermi-Dirac as well? Just kidding :-) ___ 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: iPhone app for Org view and capture
Sven Bretfeld sven.bretf...@gmx.ch writes: Richard Moreland r...@ncogni.to writes: Here is a teaser video of the app running in the simulator: http://ncogni.to/ mobileorg-demo1.mov Very nice, congratulations. The unavoidable question: Will there be an Android port as well? My thoughts exactly. Especially since I recently bought an Android phone specifically so that I could use org on it. My current solution is to run emacs under Debian on the phone (see here: http://www.androidfanatic.com/cms/community-forums.html?func=viewcatid=9id=2248) however this uses alot of memory and causes the phone to reboot when the memory runs out, very annoying. Anyone like to give a rough guess of the number of man hours required to make an Android org app? -- 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 Makefile: make clean needed? make doc error?
Perhaps the makefile could use texi2html and emacs-w3m could display? Also, AFAIK, git pull does not return an exit status, so will always execute. One solution: head=`git rev-parse --verify HEAD` git pull git status newhead=`git rev-parse --verify HEAD` if [ $newhead != $head ] then #does make clean ret exit code? account echodoq1 make cleanall elup--make-clean echo \=== make makeelup--make 21 echo cat elup--make | account mygrep error diffoldnew cat doc/org.texi #make install ... unnec unless you want #delorg to be backed up. if so then #install setting prefix lispdir etc. in #some annoying way fi ___ 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] Refreshing custom agenda view ignores daily setting
On Sep 8, 2009, at 8:58 AM, PT wrote: If I open the builtin agenda view with a M-1 prefix I see the entries for the current day. When I press g then the view is refreshed properly. If I define a custom agenda (setq org-agenda-custom-commands '((h Agenda and todo ((agenda ) (alltodo ) and invoke it with a M-1 prefix then it shows my daily agenda entries and the global todo items under it. If I press g here then the view is refreshed, but the agenda view forgets I invoked it with a prefix and shows a weekly agenda above the todo list, instead of a daily one. Hi PT, yes, the prefix argument is not preserved in his case. You can add a setting for org-agenda-ndays to the option settings for the agenda command (untested): (setq org-agenda-custom-commands '((h Agenda and todo ((agenda ((org-agenda-ndays 1))) (alltodo ) HTH - Carsten ___ 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: Question re CATEGORY and Agenda Views
Sebastian Rose wrote: Markus Heller helle...@gmail.com writes: [long reply snipped] Thanks Sebastian, your reply gave me some stuff to think about. Exactly what I was looking for. I'll see how I'm going to go about this ... Also thanks to Matt for his reply! Cheers Markus ___ 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: transpose a table
Hi, I do not know if I can do org-plot on rows instead of columns. But today after I finished a table, I found I have to transpose the table by hand so that I can plot it as I want. Here is original table: | x | y | x | y | ... | |-++++-| | 1 | 2 | 3 | 4 | | | 5 | 6 | 7 | 8 | | | 9 | 0 | 1 | 2 | | | ... |||| | And I have to convert it into: | x | y | x | y | x | y | ... | |-+---+---+---+---+---+-| | 1 | 2 | 5 | 6 | 9 | 0 | | | 3 | 4 | 7 | 8 | 1 | 2 | | | ... | | | | | | | so that every two columns stand for a line. I also wonder how do you guys draw multiple lines in one image, since here there are multiple inds. ___ 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] diary-remind, and org-agenda, and remember
Hi all, I'm trying to implement a quick and easy way to add birthday reminder functionality to my orgmode setup. For this purpose, I've been using sexp's like this (for example): %%(diary-remind '(diary-date 9 20 t) -14) John's birthday.. When these appear in an org file, I get a reminder in the agenda timeline view everyday for 14 days preceding the date in question. Seems to work okay. I have, however, been noticing some weirdness. Or maybe I just misunderstand how this all works. For example, this will work in an org file (the reminders show up on the agenda): * Birthdays %%(diary-remind '(diary-date 1 6 t) -14) Suzie's birthday. %%(diary-remind '(diary-date 11 5 t) -14) John's birthday. But this will *not* work in an org file (the reminders do *not* show up): * Birthdays ** %%(diary-remind '(diary-date 1 6 t) -14) Suzie's birthday. ** %%(diary-remind '(diary-date 11 5 t) -14) John's birthday. I'm using the latest orgmode from the repository. Anyway, this normally wouldn't be too much of a bother except that I'm experimenting with org-remember to add the dates, and this seems to have its own problems. (I was recently having trouble with using '%' signs in the org remember templates, but this particular problem has been solved. Thanks!) For example, when I have this in my dates.org file: * Birthday %%(diary-remind '(diary-date 1 6 t) -14) Suzie's birthday. %%(diary-remind '(diary-date 11 5 t) -14) John's birthday. with a remember template that looks like this: (setq org-remember-templates '( (Birthday ?b %\\%(diary-remind '(diary-date %^{Month} %^{Day} t) -%^{Remind days}) %^{Brief Description}%? ~/pim/gtd/dates.org Birthdays) ) ) then I get this when I finish with C-c C-c: * Birthdays %%(diary-remind '(diary-date 1 6 t) -14) Suzie's birthday. %%(diary-remind '(diary-date 11 5 t) -14) John's birthday. ** Thu Sep 10 19:06:55 2009 (%%(diary-remind '(diary-date 12 12 t) -12) 12) %%(diary-remind '(diary-date 12 12 t) -12) 12 This is not what I was expecting. I'm not sure what's happening there. Of course, if I set up my dates.org to look like this: * Birthdays ** %%(diary-remind '(diary-date 1 6 t) -14) Suzie's birthday. ** %%(diary-remind '(diary-date 11 5 t) -14) John's birthday. and set up my remember template like this: (setq org-remember-templates '( (Birthday ?b * %\\%(diary-remind '(diary-date %^{Month} %^{Day} t) -%^{Remind days}) %^{Brief Description}%? ~/pim/gtd/dates.org Birthdays) ) ) I get this in dates.org when I press C-c C-c: * Birthdays ** %%(diary-remind '(diary-date 1 6 t) -14) Suzie's birthday. ** %%(diary-remind '(diary-date 11 5 t) -14) John's birthday. ** %%(diary-remind '(diary-date 12 12 t) -12) New birthday Which would be okay except that, as noted above, org agenda doesn't seem to pick up on these kinds of dates when they're in a heading. Perhaps remember isn't the right tool for this? Any advice is appreciated. Thanks in advance! -- Desmond Rivet Pain is weakness leaving the body. ___ 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: diary-remind, and org-agenda, and remember
Desmond Rivet desmond.ri...@videotron.ca writes: For example, this will work in an org file (the reminders show up on the agenda): * Birthdays %%(diary-remind '(diary-date 1 6 t) -14) Suzie's birthday. %%(diary-remind '(diary-date 11 5 t) -14) John's birthday. But this will *not* work in an org file (the reminders do *not* show up): * Birthdays ** %%(diary-remind '(diary-date 1 6 t) -14) Suzie's birthday. ** %%(diary-remind '(diary-date 11 5 t) -14) John's birthday. I'm using the latest orgmode from the repository. Anyway, this normally wouldn't be too much of a bother except that I'm experimenting with org-remember to add the dates, and this seems to have its own problems. (I was recently having trouble with using '%' signs in the org remember templates, but this particular problem has been solved. Thanks!) For example, when I have this in my dates.org file: * Birthday %%(diary-remind '(diary-date 1 6 t) -14) Suzie's birthday. %%(diary-remind '(diary-date 11 5 t) -14) John's birthday. with a remember template that looks like this: (setq org-remember-templates '( (Birthday ?b %\\%(diary-remind '(diary-date %^{Month} %^{Day} t) -%^{Remind days}) %^{Brief Description}%? ~/pim/gtd/dates.org Birthdays) ) ) then I get this when I finish with C-c C-c: * Birthdays %%(diary-remind '(diary-date 1 6 t) -14) Suzie's birthday. %%(diary-remind '(diary-date 11 5 t) -14) John's birthday. ** Thu Sep 10 19:06:55 2009 (%%(diary-remind '(diary-date 12 12 t) -12) 12) %%(diary-remind '(diary-date 12 12 t) -12) 12 I think org-remember automatically adds a heading for purposes of filing. Otherwise remember items could easily get lost. Would something like this work? --8---cut here---start-8--- (setq org-remember-templates '( (Birthday ?b * %^{Title}\n %\\%(diary-remind '(diary-date %^{Month} %^{Day} t) %^{Remind days}) %^{Brief Description}%? ~/pim/gtd/dates.org Birthdays) ) ) --8---cut here---end---8--- I'm wondering, though, whether it wouldn't be easier to navigate to the birthdays heading and simply kill, yank, and edit to create a new birthday, e.g., --8---cut here---start-8--- * Birthday %%(diary-remind '(diary-date 1 6 t) -14) Suzie's birthday. %%(diary-remind '(diary-date 11 5 t) -14) John's birthday. %%(diary-remind '(diary-date 3 5 t) -14) George's birthday. --8---cut here---end---8--- Adding George's birthday just took me only a few seconds. Best, Matt ___ 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: Publishing clocked time
On Sep 7, 2009, at 5:56 PM, Russell Adams wrote: Actually on this topic, I'd like to be able to make a simple table of all time itemized by day. It'd be prettier than the clocktable lines, and lower maintenance than the existing reports. This is not enough information to act upon. - Carsten On Mon, Sep 07, 2009 at 05:35:56PM +0200, S??bastien Vauban wrote: Hi Carsten, Carsten Dominik wrote: On Sep 4, 2009, at 5:32 PM, Ivan Chernetsky wrote: is it possible to publish clocked time of a TODO item? clocking lines are considered ugly and are therefore not included during publishing. I could make an option for it... Are there more people interested? Yes, quite interested, even if not absolutely required. I needed that when I transferred my billing info to our company's accountant, so that she was able to correctly bill the clients, and check that I worked enough time on the month. However, as the LaTeX export was quite empty of those info, I switched back to sending the info as plain text email. Though, would that be available, yes, I would definitely use it... 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 -- Russell Adamsrlad...@adamsinfoserv.com PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/ Fingerprint:1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3 ___ 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: diary-remind, and org-agenda, and remember
On Sep 11, 2009, at 5:16 AM, Matt Lundin wrote: Desmond Rivet desmond.ri...@videotron.ca writes: For example, this will work in an org file (the reminders show up on the agenda): * Birthdays %%(diary-remind '(diary-date 1 6 t) -14) Suzie's birthday. %%(diary-remind '(diary-date 11 5 t) -14) John's birthday. But this will *not* work in an org file (the reminders do *not* show up): * Birthdays ** %%(diary-remind '(diary-date 1 6 t) -14) Suzie's birthday. ** %%(diary-remind '(diary-date 11 5 t) -14) John's birthday. I'm using the latest orgmode from the repository. Anyway, this normally wouldn't be too much of a bother except that I'm experimenting with org-remember to add the dates, and this seems to have its own problems. (I was recently having trouble with using '%' signs in the org remember templates, but this particular problem has been solved. Thanks!) For example, when I have this in my dates.org file: * Birthday %%(diary-remind '(diary-date 1 6 t) -14) Suzie's birthday. %%(diary-remind '(diary-date 11 5 t) -14) John's birthday. with a remember template that looks like this: (setq org-remember-templates '( (Birthday ?b %\\%(diary-remind '(diary-date %^{Month} %^{Day} t) -%^{Remind days}) %^{Brief Description}%? ~/pim/gtd/ dates.org Birthdays) ) ) then I get this when I finish with C-c C-c: * Birthdays %%(diary-remind '(diary-date 1 6 t) -14) Suzie's birthday. %%(diary-remind '(diary-date 11 5 t) -14) John's birthday. ** Thu Sep 10 19:06:55 2009 (%%(diary-remind '(diary-date 12 12 t) -12) 12) %%(diary-remind '(diary-date 12 12 t) -12) 12 I think org-remember automatically adds a heading for purposes of filing. Otherwise remember items could easily get lost. Would something like this work? --8---cut here---start-8--- (setq org-remember-templates '( (Birthday ?b * %^{Title}\n %\\%(diary-remind '(diary- date %^{Month} %^{Day} t) %^{Remind days}) %^{Brief Description} %? ~/pim/gtd/dates.org Birthdays) ) ) --8---cut here---end---8--- I'm wondering, though, whether it wouldn't be easier to navigate to the birthdays heading and simply kill, yank, and edit to create a new birthday, e.g., --8---cut here---start-8--- * Birthday %%(diary-remind '(diary-date 1 6 t) -14) Suzie's birthday. %%(diary-remind '(diary-date 11 5 t) -14) John's birthday. %%(diary-remind '(diary-date 3 5 t) -14) George's birthday. --8---cut here---end---8--- Adding George's birthday just took me only a few seconds. Good point. How often during a day do you hear about a new birthday you need to add? Remember is really for repetitive stuff one does all the time. Setting up a remember template for this tasks takes probably more time than it will ever save you. Desmond, if you insist: Use a separate file for these, and use the symbol `bottom' as the headline specification. - Carsten ___ 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] multiline description list, partial patch
Hi Eric, I am assuming you are trying to do something like this: - a very long description item :: here is the explanation This is not going to work properly with export. - Carsten On Sep 9, 2009, at 9:59 PM, Eric Schulte wrote: Hi, I've noticed that the bold face isn't applied to multiline description lists. This patch [1] partially fixes the problem, but for some reason I keep losing the bold. Any thoughts/ideas? On a related topic, I'd like to consistently indent my decision list text, rather than sometimes moving back to the depth of the bold portion, does anyone else feel similarly and is this supported? thanks -- Eric Footnotes: [1] diff --git a/lisp/org.el b/lisp/org.el index 39ef466..ed8d776 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -4703,7 +4703,7 @@ between words. '(\\[\\([0-9]*%\\)\\]\\|\\[\\([0-9]*\\)/\\([0-9]*\\)\\] (0 (org-get-checkbox-statistics-face) t))) ;; Description list items - '(^[ \t]*\\([-+*]\\|[0-9]+[.)]\\) +\\(.*? ::\\) + '(^[ \t]*\\([-+*]\\|[0-9]+[.)]\\) +\\(.*?\n?.*? ::\\) 2 'bold prepend) ;; ARCHIVEd headings (list (concat ^\\*+ \\(.*: org-archive-tag :.*\\)) @@ -16272,7 +16272,7 @@ which make use of the date at the cursor. (setq column (current-column))) ((org-in-item-p) (org-beginning-of-item) - (looking-at [ \t]*\\(\\S-+\\)[ \t]*\\(\\[[- X]\\][ \t]*\\|.*? :: \ \)?) + (looking-at [ \t]*\\(\\S-+\\)[ \t]*\\(\\[[- X]\\][ \t]*\\|.*? \n?.*? :: \\)?) (setq bpos (match-beginning 1) tpos (match-end 0) bcol (progn (goto-char bpos) (current-column)) tcol (progn (goto-char tpos) (current-column)) @@ -16372,7 +16372,7 @@ In particular, this makes sure hanging paragraphs for hand-formatted lists work correctly. (cond ((looking-at #[ \t]+) (match-string 0)) - ((looking-at [ \t]*\\([-*+] .*? :: \\)) + ((looking-at [ \t]*\\([-*+] .*?\n?.*? :: \\)) (save-excursion (if ( (match-end 1) (+ (match-beginning 1) org-description-max-indent)) ___ 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: Publishing clocked time
On Sep 9, 2009, at 9:47 AM, Ivan Chernetsky wrote: Actually on this topic, I'd like to be able to make a simple table of all time itemized by day. I am definitely subscribing to it. Also it would be wonderful if there will be an option to include a table with tasks that was done or was being done, by day. IMHO, such options allow to use org-mode at work more freely and effectively. Same here. WIthout an example, nothing actionable here. By the way, are there any means of extensibility of publishing, not touching the source code of org-mode? If no, what are plans about it in the near future? What do you mean??? - Carsten ___ 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: Publishing clocked time
On Sep 7, 2009, at 5:35 PM, Sébastien Vauban wrote: Hi Carsten, Carsten Dominik wrote: On Sep 4, 2009, at 5:32 PM, Ivan Chernetsky wrote: is it possible to publish clocked time of a TODO item? clocking lines are considered ugly and are therefore not included during publishing. I could make an option for it... Are there more people interested? Yes, quite interested, even if not absolutely required. I needed that when I transferred my billing info to our company's accountant, so that she was able to correctly bill the clients, and check that I worked enough time on the month. However, as the LaTeX export was quite empty of those info, I switched back to sending the info as plain text email. Though, would that be available, yes, I would definitely use it... No a single post in this thread does explain what exactly would be useful.. :-( - Carsten ___ 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] orgstruct and orgtbl mode inhibit TAB completion of addresses in gnus
On Sep 8, 2009, at 10:03 PM, Sebastian Rose wrote: Hi, I don't remember when this started, but since some days orgstruct-mode and orgtbl-mode inhibit TAB-completion in the `To:', `Cc:' and 'Bcc:' lines in gnus. I have to turn off _both_ of them to make it work again. Do you have yasnippets on? Did you add anything to some of the ...-tab-..hooks in Org? - Carsten I have: (add-hook 'message-mode-hook 'turn-on-orgtbl) (add-hook 'message-mode-hook 'turn-on-orgstruct) in my init file. I use * GNU Emacs 23.1.1, * Org-mode version 6.30trans (release_6.30d.26.g9252) ___ 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: Stuck in a folded section when subtree is folded
On Sep 6, 2009, at 6:34 PM, PT wrote: Carsten Dominik carsten.dominik at gmail.com writes: Wrong answer: The correct answer would have been: Yes, it is nil! Because the default value is t!. The default value means that TAB will not at all fold an entry when the cursor is not in the headline. Maybe this is really the setting you want? You are correct, I set it to nil, but this was not the issue. I thought you ask it because of some strange interaction. I'm happy with the current setting. I want TAB to fold everywhere. The problem is if I'm standing in a place like this I did understand the problem. The reason why I am not moving the cursor after folding is so that you can go back with another TAB, with the cursor still at the same position. In my setup, `C-a' works to bring the cursor to the beginning of the headline. What are you using to try to get to the beginning of the lines? - Carsten * header some text cursor is here some other text and press TAB then the subtree is folded properly, but the cursor is stuck in the folded section: * header cursor appears here, it is in the folded section... and I think it should be put to the beginning of line to avoid leaving it in the folded section after a fold: cursor* header... Maybe I was not clear enough in the first post. ___ 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: Publishing clocked time
Sorry, I think I'd chipped in here at one point, the idea is for routine timecards a simple list of hours aggregated by date would be useful. I could see aggregate hours for task by ALL dates unless otherwise specified. * Timecard ** Customer X CLOCK: [2009-09-01 Thu 09:00]--[2009-09-01 Thu 12:00] = 3:00 CLOCK: [2009-09-02 Thu 09:00]--[2009-09-02 Thu 12:00] = 3:00 CLOCK: [2009-09-03 Thu 09:00]--[2009-09-03 Thu 12:00] = 3:00 CLOCK: [2009-09-04 Thu 09:00]--[2009-09-04 Thu 12:00] = 3:00 CLOCK: [2009-09-05 Thu 09:00]--[2009-09-05 Thu 12:00] = 3:00 CLOCK: [2009-09-01 Thu 12:00]--[2009-09-01 Thu 17:00] = 5:00 CLOCK: [2009-09-02 Thu 12:00]--[2009-09-02 Thu 17:00] = 5:00 CLOCK: [2009-09-03 Thu 12:00]--[2009-09-03 Thu 17:00] = 5:00 CLOCK: [2009-09-04 Thu 12:00]--[2009-09-04 Thu 17:00] = 5:00 CLOCK: [2009-09-05 Thu 12:00]--[2009-09-05 Thu 17:00] = 5:00 #+BEGIN timecard |++-| | *Date* | *Task* | *Hours* | |++-| | 2009-09-01 | Customer X | 8 | | 2009-09-02 | Customer X | 8 | | 2009-09-03 | Customer X | 8 | | 2009-09-04 | Customer X | 8 | | 2009-09-05 | Customer X | 8 | |++-| |*Total* || 40 | |++-| #+END I would anticipate that it may be optional to sort by date or by task (if you include sublevels), though I have mixed feelings about adding subtotal lines between aggregates. Comments? FYI, I'm learning LISP as we speak! Perhaps I can start customizing things soon! On Fri, Sep 11, 2009 at 05:51:45AM +0200, Carsten Dominik wrote: On Sep 7, 2009, at 5:35 PM, S?bastien Vauban wrote: Hi Carsten, Carsten Dominik wrote: On Sep 4, 2009, at 5:32 PM, Ivan Chernetsky wrote: is it possible to publish clocked time of a TODO item? clocking lines are considered ugly and are therefore not included during publishing. I could make an option for it... Are there more people interested? Yes, quite interested, even if not absolutely required. I needed that when I transferred my billing info to our company's accountant, so that she was able to correctly bill the clients, and check that I worked enough time on the month. However, as the LaTeX export was quite empty of those info, I switched back to sending the info as plain text email. Though, would that be available, yes, I would definitely use it... No a single post in this thread does explain what exactly would be useful.. :-( - Carsten ___ 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 -- Russell Adamsrlad...@adamsinfoserv.com PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/ Fingerprint:1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3 ___ 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