Re: [Orgmode] agenda view - assign file name
May be you are referring o "rename-buffer" command or to CATEGORY property that is prefixed to items in agenda (use C-c Cx p CATEGORY RET, enter a name, C-c a a) -- Manish On Sat, Dec 26, 2009 at 1:14 PM, henry atting wrote: > I once used an option (but can't remember its name) which makes it > possible to assign a different file name to a file from the agenda list. > Lets say I have a file `name.org` then this option set in the file setup > displays the entries after e.g. `another_name:` > > henry > > -- > http://literaturlatenight.de > > > > ___ > 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] radio tables in an org buffer
On Dec 25, 2009, at 6:36 PM, Thomas S. Dye wrote: Aloha all, Is it possible to use radio tables and lists inside an org buffer? I'm writing and tangling LaTeX with Org-babel and it would be useful to leverage the LaTeX export capabilities of Org-mode, especially with tabular material, which is tedious to format by hand in LaTeX. Here's what it would look like in the Org-mode buffer: * Sales figures table #+source: salefigures #+begin_src latex % BEGIN RECEIVE ORGTBL salesfigures % END RECEIVE ORGTBL salesfigures #+end_src #+ORGTBL: SEND salesfigures orgtbl-to-latex | Month | Days | Nr sold | per day | |---+--+-+-| | Jan | 23 | 55 | 2.4 | | Feb | 21 | 16 | 0.8 | | March | 22 | 278 |12.6 | #+TBLFM: $4=$3/$2;%.1f % $ (optional extra dollar to keep font-lock happy, see footnote) All the best, This looks as if it should work! - Carsten Tom Thomas S. Dye, Ph.D. T. S. Dye & Colleagues, Archaeologists, Inc. Phone: (808) 529-0866 Fax: (808) 529-0884 http://www.tsdye.com ___ 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] quote in code (eg ='foo=)
On Dec 25, 2009, at 3:51 PM, Tamas K Papp wrote: How can I format inline code with ' (quote) correctly? ='foo= doesn't work, it is exported as is. The "Emphasis and monospace" section does not talk about this issue, is there a section in the org manual which would help me? Please check out the varaiable org-emphasis-regexp-components and remove ' from the third element. Be prepared that this may then break other situations where you have emphasis inside quotes - but it is also possible that it will be just right for you. Emphasis is black magic. - 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: Org-ctags released
Hi Paul, this looks good and very comprehensive! Before we can include this into the core, we need to fix a few technical issues. 1. In org-mode we currently don't use "/" in function names - this is of course no show-stopper and I would accept the file as is, it is only a wish from my side for consistency. 2. The file will need an arch-tag and a standard ending, you can use ;; arch-tag: 4b1ddd5a-8529-4b17-bcde-96a922d26343 ;;; org-ctags.el ends here 3. You need to get the paperwork done and assign the copyright to the FSF, see http://orgmode.org/worg/org-contribute.php#sec-2 Thanks for your contribution! - Carsten On Dec 25, 2009, at 2:17 AM, Paul Sexton wrote: Happy Xmas everyone. I have updated org-ctags to use an existing hook which has recently been added to the development version of org-mode by Carsten. So now, no patch is needed. I have also fixed a couple of bugs. Latest version can be downloaded at: http://bitbucket.org/eeeickythump/org-ctags/ Paul ___ 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] Re: Feature request: Prompt to remove deadline/scheduled dates
On Dec 24, 2009, at 6:53 PM, Paul Holcomb wrote: On Wed, Dec 23, 2009 at 07:14:44PM -0500, Matt Lundin wrote: Paul Holcomb writes: Its great that there is a log when the DEADLINE or SCHEDULED value changes for an entry. It would also be nice if you could remove the deadline or scheduled value using the same interface so it could be logged. I'm not entirely sure if this is what you are asking for, but you can remove SCHEDULED and DEADLINE metadata by adding a prefix argument to C-c C-s and C-c C-d. That's my fault; I wasn't very clear. Here's the problem: When you remove a deadline or schedule with the prefix argument, it doesn't make an entry about the removed deadline or schedule if you have the variable org-log-redeadline or org-log-reschedule set to 'note, respectively. From a quick glance, it looks like an easy patch to org-deadline and org-schedule as well. Turns out I was just thinking about it the wrong way yesterday. Thanks for your followup here. Hi Paul, would you like to propose a patch? - 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] Supporting non-stuck projects view with minimal effort
On Dec 22, 2009, at 6:58 PM, Friedrich Delgado Friedrichs wrote: Hi! I've been thinking, the view of stuck projects is nice, but I'd need a view of non-stuck projects to complement it. Hi Friedel, can you describe how you would use such a view in your workflow? - Carsten I came up with this ugly mess: (defun fdf/org-agenda-list-unstuck-projects (&rest ignore) "Create agenda view for projects that are NOT stuck. Stuck projects are project that have no next actions. For the definitions of what a project is and how to check if it stuck, customize the variable `org-stuck-projects'. MATCH is being ignored." (interactive) (let* ((org-agenda-overriding-header (or org-agenda-overriding-header "List of unstuck projects: ")) (matcher (nth 0 org-stuck-projects)) (todo (nth 1 org-stuck-projects)) (todo-wds (if (member "*" todo) (progn (org-prepare-agenda-buffers (org-agenda-files nil 'ifmode)) (org-delete-all org-done-keywords-for-agenda (copy-sequence org-todo-keywords-for-agenda))) todo)) (todo-re (concat "^\\*+[ \t]+\\(" (mapconcat 'identity todo-wds "\\|") "\\)\\>")) (tags (nth 2 org-stuck-projects)) (tags-re (if (member "*" tags) (org-re "^\\*+ .*:[[:alnum:]...@]+:[ \t]*$") (if tags (concat "^\\*+ .*:\\(" (mapconcat 'identity tags "\\|") (org-re "\\):[[:alnum:]_@:]*[ \t]*$") (gen-re (nth 3 org-stuck-projects)) (re-list (delq nil (list (if todo todo-re) (if tags tags-re) (and gen-re (stringp gen-re) (string-match "\\S-" gen-re) gen-re (skip-regexp (if re-list (mapconcat 'identity re-list "\\|") (error "No information how to identify unstuck projects" (org-tags-view nil matcher) (let ((org-agenda-skip-function (lambda () (org-agenda-skip-if t 'notregexp skip-regexp (with-current-buffer org-agenda-buffer-name (setq org-agenda-redo-command '(org-agenda-list-stuck-projects (or current-prefix-arg org-last-arg))) As you will notice, this is blatantly copied and pasted from org-agenda-list-stuck-projects (which is why it's ugly), the only difference is that it doesn't set org-agenda-skip-function but uses org-agenda-skip-if. I think this could be very easily integrated into org-agenda-list-stuck-projects (with an optional parameter 'negate'), but I somehow feel reluctant to patch org-core for some irrational reason. Kind regards Friedel -- Friedrich Delgado Friedrichs TauPan on Ircnet and Freenode ;) ___ 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] Re: Clock logging -- possible to include seconds?
On Dec 22, 2009, at 4:16 PM, Bill Powell wrote: Hi folks, Thanks again to y'all for org-mode. Here's a quick question: how hard would it be to include seconds in the clock logging? It may sound like a silly request, but I often have to work on two or three billable different projects in a day, sometimes switching back and forth between them. When you add up all those intervals for an invoice covering a month or more, counting those half and quarter minutes might add up to an additional hour or so of billable time. It's possible I'm just misunderstanding the org-mode algorithm, and that its rounding turns out to be almost as accurate over the long haul. Plus, many people expect to be billed by the half hour anyhow. But I time various projects for myself, too, so this is really an interest for my own work. What do you all think? Bill Powell Hi Bill, I would think that this will average away. When clocking in, Org only notices the full minutes. If you are clocking in at 14:22:59 and out again 1 second later at 14:23:00 you will cheat 59 seconds into the clocking interval and bill a whole minute. So this kind of *cheating* goes both ways and will average out. And yes, it really would seem strange to clock by the second :-) - 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: Organizing a students live
Hi Daniel, I think it is a good idea to add such a function to org-mode. But I am not sure if skipping holidays is the best, because Universities also have lecture-free weeks etc. So I am more thinking about a function like this (untested) (defun org-diary-class (m1 d1 y1 m2 d2 y2 dayname &rest skip-weeks) "Entry applies if date is between dates on DAYNAME, but skips SKIP- WEEKS. Order of the parameters is M1, D1, Y1, M2, D2, Y2 if `european-calendar-style' is nil, and D1, M1, Y1, D2, M2, Y2 if `european-calendar-style' is t. The weeks are ISO week numbers where the item should not apply." (let* ((date1 (calendar-absolute-from-gregorian (if european-calendar-style (list d1 m1 y1) (list m1 d1 y1 (date2 (calendar-absolute-from-gregorian (if european-calendar-style (list d2 m2 y2) (list m2 d2 y2 (d (calendar-absolute-from-gregorian date))) (and (<= date1 d) (<= d date2) (= (calendar-day-of-week date) dayname) (or (not skip-weeks) (progn (require 'cal-iso) (not (member (car (calendar-iso-from-absolute d)) skip-weeks entry))) What do you think? - Carsten On Dec 21, 2009, at 4:54 PM, Daniel Martins wrote: In fact, it helps! Thanks However a sentence like this: +# a class that meets every Monday evening between February 16 and April 20, 2009 ** Class 7:00pm-9:00pm <%%(and (= 1 (calendar-day-of-week date)) (diary-block 2 16 2009 4 20 2009))> is not an example of simplicity and visibility for a quite common feature! Maybe as a suggestion we could encapsulate such a huge expression in a simpler org-mode function ? Daniel PS In http://www.emacswiki.org/cgi-bin/wiki/DiaryMode#toc12 I found another suggestion which I do not know how to include in org- mode Schedule If you want to write a schedule for school or university, you need to define a block (it’s derived from diary-block) between two dates and a weekday. The following function also recognizes holidays and won’t send you to school on those days… :) (defun diary-schedule (m1 d1 y1 m2 d2 y2 dayname) "Entry applies if date is between dates on DAYNAME. Order of the parameters is M1, D1, Y1, M2, D2, Y2 if `european-calendar-style' is nil, and D1, M1, Y1, D2, M2, Y2 if `european-calendar-style' is t. Entry does not apply on a history." (let ((date1 (calendar-absolute-from-gregorian (if european-calendar-style (list d1 m1 y1) (list m1 d1 y1 (date2 (calendar-absolute-from-gregorian (if european-calendar-style (list d2 m2 y2) (list m2 d2 y2 (d (calendar-absolute-from-gregorian date))) (if (and (<= date1 d) (<= d date2) (= (calendar-day-of-week date) dayname) (not (check-calendar-holidays date)) ) entry))) Then: "&%%(diary-schedule 22 4 2003 1 8 2003 2) 18:00 History" 2009/12/20 Matt Lundin : Daniel Martins writes: All academics here present (including of course Carsten) suffer from the same problem, I think *** Math classes <2009-12-10 Thu 11:00-14:00 +1w> will repeat forever and ever... We need to create a schedule for a period. The package "remind" (and its simple interface "wyrd") do this job wonderfully but I do not know how to deal with this problem in Org mode The following FAQ should help: http://orgmode.org/worg/org-faq.php#diary-sexp-in-org-files - Matt ___ 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: Clock logging -- possible to include seconds?
Carsten Dominik writes: > On Dec 22, 2009, at 4:16 PM, Bill Powell wrote: > >> >> Hi folks, >> >> Thanks again to y'all for org-mode. Here's a quick question: how hard >> would it be to include seconds in the clock logging? It may sound like >> a silly request, but I often have to work on two or three billable >> different projects in a day, sometimes switching back and forth >> between them. When you add up all those intervals for an invoice >> covering a month or more, counting those half and quarter >> minutes might add up to an additional hour or so of billable time. >> >> It's possible I'm just misunderstanding the org-mode algorithm, and >> that its rounding turns out to be almost as accurate over the long >> haul. Plus, many people expect to be billed by the half hour anyhow. >> But I time various projects for myself, too, so this is really an >> interest for my own work. What do you all think? >> >> Bill Powell > > Hi Bill, > > I would think that this will average away. When clocking in, > Org only notices the full minutes. If you are clocking in at > 14:22:59 and out again 1 second later at 14:23:00 you will > cheat 59 seconds into the clocking interval and bill a whole > minute. So this kind of *cheating* goes both ways and will > average out. > > And yes, it really would seem strange to clock by the second :-) I also think clocking by second is overkill. I clock time spent on things in a day and normally bill hours worked per day. When billing for time spent over an entire month I go through the clock reports for each day separately and add up the hours for each project. Rounding clocked time to less than 15 minutes per day when doing billing doesn't make sense to me -- most people I think round to half or full hours. I often work on multiple billable items per day too - and switch all back and forth on my clocking items. I try to keep my clocking items so that they include every minute worked from the start to the finish of my day - then I just look at the time spent on each billable project at the end of the day to figure out how much to bill. -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
Re: [Orgmode] Export to LaTeX without "surroundings"?
Thanks a lot, Darlan! Am 23.12.09 04:41, schrieb Darlan Cavalcante Moreira: > > If all you want to do is using the org-mode superpowers for tables to write > latex tables then you should about "Radio tables" in the manual > (http://orgmode.org/manual/Radio-tables.html#Radio-tables). Basically, you > write > a standard org-mode table as a comment in your .tex file and then call a > function to send the table as a latex table to a specified place in the same > file. It is really nice and you can use all of the spreadsheet operations. > > - Darlan Cavalcante Moreira > > At Tue, 22 Dec 2009 13:45:05 +0100, > Karl Maihofer wrote: >> >> Hi, >> >> is there a way to only export the content of an org-file to the LaTeX >> syntax (without LaTeX header etc.)? >> >> I'd like to include a table.tex (my bibliography, i do not use bibtex) >> into my main tex-file. But because it is very nice to write tables in >> orgmode, i thought i could write my table in a file table.org, export it >> to table.tex, which then will be included into my main.tex file. >> >> Thanks! >> >> Karl >> >> >> ___ >> 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] Supporting non-stuck projects view with minimal effort
Hi! Carsten Dominik schrieb: > On Dec 22, 2009, at 6:58 PM, Friedrich Delgado Friedrichs wrote: > >I've been thinking, the view of stuck projects is nice, but I'd need a > >view of non-stuck projects to complement it. > can you describe how you would use such a view in your workflow? ---Zitatende--- Sure. I'll mostly use it in my reviews or mindsweeps. I am using the trigger list from the GTD book (also on http://wiki.43folders.com/index.php/Trigger_List ) so I'll start by looking through the projects that are already started to see if something requires my attention, then review the list of stuck (or unstarted) projects and see if I can come up with a next action for them. It's important for me that there are no items that occur on both lists, since that means I will review them twice (and might end up not reviewing them thoroughly). Without the list of unstuck projects I can only look at stuck projects and then at all projects. Greetings Friedel -- frie...@nomaden.org ___ 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: Supporting non-stuck projects view with minimal effort
Friedrich Delgado Friedrichs writes: > Hi! > > Carsten Dominik schrieb: >> On Dec 22, 2009, at 6:58 PM, Friedrich Delgado Friedrichs wrote: >> >I've been thinking, the view of stuck projects is nice, but I'd need a >> >view of non-stuck projects to complement it. >> can you describe how you would use such a view in your workflow? > ---Zitatende--- > > Sure. I'll mostly use it in my reviews or mindsweeps. I am using the > trigger list from the GTD book (also on > http://wiki.43folders.com/index.php/Trigger_List ) so I'll start by > looking through the projects that are already started to see if > something requires my attention, then review the list of stuck (or > unstarted) projects and see if I can come up with a next action for > them. > > It's important for me that there are no items that occur on both > lists, since that means I will review them twice (and might end up not > reviewing them thoroughly). Without the list of unstuck projects I can > only look at stuck projects and then at all projects. Or you can look at NEXT actions which should only be unstuck project tasks you can work on immediately. -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
Re: [Orgmode] radio tables in an org buffer
Hi Carsten, On Dec 26, 2009, at 12:43 AM, Carsten Dominik wrote: On Dec 25, 2009, at 6:36 PM, Thomas S. Dye wrote: Aloha all, Is it possible to use radio tables and lists inside an org buffer? I'm writing and tangling LaTeX with Org-babel and it would be useful to leverage the LaTeX export capabilities of Org-mode, especially with tabular material, which is tedious to format by hand in LaTeX. Here's what it would look like in the Org-mode buffer: * Sales figures table #+source: salefigures #+begin_src latex % BEGIN RECEIVE ORGTBL salesfigures % END RECEIVE ORGTBL salesfigures #+end_src #+ORGTBL: SEND salesfigures orgtbl-to-latex | Month | Days | Nr sold | per day | |---+--+-+-| | Jan | 23 | 55 | 2.4 | | Feb | 21 | 16 | 0.8 | | March | 22 | 278 |12.6 | #+TBLFM: $4=$3/$2;%.1f % $ (optional extra dollar to keep font-lock happy, see footnote) All the best, This looks as if it should work! - Carsten And so it does! The magic key, which most (all?) on the list probably understand already, is to call the function orgtbl-crtl-c-ctrl-c directly when the point is in the table. All the best, Tom ___ 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: Supporting non-stuck projects view with minimal effort
Hi! Bernt Hansen schrieb: > Or you can look at NEXT actions which should only be unstuck project > tasks you can work on immediately. ---Zitatende--- No, that's not the same. - Next actions might not have a project at all. A single action is not a project. - Projects may have more than one next action. If the order doesn't matter, I'll just do them in the appropriate context to further the project. If I use those actions as placeholder for a project, the project will turn up multiple times. -- frie...@nomaden.org ___ 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] How to change CREATED property value to inactive in org-expiry
Hello! I have just spent an hour trying to figure out how to change the timestamp added as a result of org-expiry-insinuate to inactive with no success. It seems to me that I need to change something in function org-expiry-insert-created but don't know what. I also do not understand in which situations does an active timestamp for CREATED property make sense. Thanks! -- Manish ___ 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] [babel] documentation released to Worg
Hello, Tom Dye, Dan Davison and I have significantly updated the Org-babel documentation. All of the features of Org-babel should now be covered. http://orgmode.org/worg/org-contrib/babel/ Best -- Eric ___ 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: Agenda repeats diary entries
On Mon, Dec 14, 2009 at 1:52 PM, Nathan Neff wrote: > Hello, > > I'm using org-agenda-diary-file. > > When I run agenda-mode with the attached configuration, > I see the same diary entry under each day. > > Here's what my agenda shows. Notice that the entry > from Dec. 08 shows up on Dec. 14's and Dec. 15's agenda. > Also, "2009" and "2009-12-December" headers > repeated under each day. > > Monday 14 December 2009 W51 > Diary: 2009 > Diary: 2009-12 December > Diary: * 2009-12-08 Tuesday > Diary: ** Something else. > Diary: <2009-12-08 Tue> > Tuesday15 December 2009 > Diary: 2009 > Diary: 2009-12 December > Diary: * 2009-12-08 Tuesday > Diary: ** Something else. > Diary: <2009-12-08 Tue> > > Here's the contents of my diary file "journal.org" > * 2009 > ** 2009-12 December > *** 2009-12-08 Tuesday > Something else. > <2009-12-08 Tue> > > I've tried to include the bare-minimum in my .emacs file, > and I can provide it if necessary. I'm submitting this > using M-x org-submit-bug-report, so hopefully, all necessary > info is included. > > Thanks for any suggestions, > > --Nate > > > > > mode > Emacs : GNU Emacs 23.1.50.1 (x86_64-pc-linux-gnu, GTK+ Version 2.18.0) > of 2009-09-27 on crested, modified by Debian > Package: Org-mode version 6.33trans (release_6.33f.113.ga3b7) > > current state: > == > (setq > org-export-latex-after-initial-vars-hook '(org-beamer-after-initial-vars) > org-agenda-files '("~/tmp/temp-org-dir/temp.org") > org-agenda-include-diary t > org-after-todo-state-change-hook '(org-clock-out-if-current) > org-export-latex-format-toc-function 'org-export-latex-format-toc-default > org-export-preprocess-hook '(org-export-blocks-preprocess) > org-agenda-diary-file "~/Documents/journal.org" > 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-export-first-hook '(org-beamer-initialize-open-trackers) > org-agenda-before-write-hook '(org-agenda-add-entry-text) > org-directory "~/tmp/temp-org-dir" > 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) > org-export-preprocess-before-selecting-backend-code-hook > '(org-beamer-select-beamer-code) > org-export-latex-final-hook '(org-beamer-amend-header org-beamer-fix-toc >org-beamer-auto-fragile-frames >org-beamer-place-default-actions-for-lists) > ) > Can anyone confirm this behavior? It appears to be a bug. Thanks, --Nate ___ 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: Organizing a students live
I liked the idea of org-diary-class! About avoiding holidays and certain weeks: I used remind and wyrd for a while and they are a quite good software for dealing with such appts. There we have the OMIT function where we determine holidays and other non-working days including Sat and Sundays Normally we have an OMIT list at the beginning of file Some functions simply omit those dates Other expressions use another keyword AFTER (or BEFORE) to change OMIT behaviour like 23 Mar AFTER OMIT "Bank payment" eg If 23 Mar is in Saturday it will appear in Monday This preamble is just to say 2 things: 1) remind/wyrd could be used as a benchmark for some of the calendar isuues we have 2) I do not know if the week number in a year is a practical way of setting exceptions to org-diary-class Daniel PS Wyrd page is http://pessimization.com/software/wyrd/ 2009/12/26 Carsten Dominik : > Hi Daniel, > > I think it is a good idea to add such a function to org-mode. But I > am not sure if skipping holidays is the best, because Universities > also have lecture-free weeks etc. > > So I am more thinking about a function like this (untested) > > (defun org-diary-class (m1 d1 y1 m2 d2 y2 dayname &rest skip-weeks) > "Entry applies if date is between dates on DAYNAME, but skips SKIP-WEEKS. > Order of the parameters is M1, D1, Y1, M2, D2, Y2 if > `european-calendar-style' is nil, and D1, M1, Y1, D2, M2, Y2 if > `european-calendar-style' is t. The weeks are ISO week numbers where > the item should not apply." > (let* ((date1 (calendar-absolute-from-gregorian > (if european-calendar-style > (list d1 m1 y1) > (list m1 d1 y1 > (date2 (calendar-absolute-from-gregorian > (if european-calendar-style > (list d2 m2 y2) > (list m2 d2 y2 > (d (calendar-absolute-from-gregorian date))) > (and > (<= date1 d) > (<= d date2) > (= (calendar-day-of-week date) dayname) > (or (not skip-weeks) > (progn > (require 'cal-iso) > (not (member (car (calendar-iso-from-absolute d)) skip-weeks > entry))) > > > What do you think? > > - Carsten > > On Dec 21, 2009, at 4:54 PM, Daniel Martins wrote: > >> In fact, it helps! Thanks >> >> However a sentence like this: >> >> >> +# a class that meets every Monday evening between February 16 and >> April 20, 2009 >> ** Class 7:00pm-9:00pm >> <%%(and (= 1 (calendar-day-of-week date)) (diary-block 2 16 2009 4 20 >> 2009))> >> >> is not an example of simplicity and visibility for a quite common feature! >> >> Maybe as a suggestion we could encapsulate such a huge expression in a >> simpler org-mode function ? >> >> Daniel >> >> >> PS In >> >> http://www.emacswiki.org/cgi-bin/wiki/DiaryMode#toc12 >> >> I found another suggestion which I do not know how to include in org-mode >> >> >> >> Schedule >> >> If you want to write a schedule for school or university, you need to >> define a block (it’s derived from diary-block) between two dates and a >> weekday. The following function also recognizes holidays and won’t >> send you to school on those days… :) >> >> (defun diary-schedule (m1 d1 y1 m2 d2 y2 dayname) >> "Entry applies if date is between dates on DAYNAME. >> Order of the parameters is M1, D1, Y1, M2, D2, Y2 if >> `european-calendar-style' is nil, and D1, M1, Y1, D2, M2, Y2 if >> `european-calendar-style' is t. Entry does not apply on a history." >> (let ((date1 (calendar-absolute-from-gregorian >> (if european-calendar-style >> (list d1 m1 y1) >> (list m1 d1 y1 >> (date2 (calendar-absolute-from-gregorian >> (if european-calendar-style >> (list d2 m2 y2) >> (list m2 d2 y2 >> (d (calendar-absolute-from-gregorian date))) >> (if (and >> (<= date1 d) >> (<= d date2) >> (= (calendar-day-of-week date) dayname) >> (not (check-calendar-holidays date)) >> ) >> entry))) >> >> Then: "&%%(diary-schedule 22 4 2003 1 8 2003 2) 18:00 History" >> >> >> >> >> >> >> 2009/12/20 Matt Lundin : >>> >>> Daniel Martins writes: >>> All academics here present (including of course Carsten) suffer from the same problem, I think *** Math classes <2009-12-10 Thu 11:00-14:00 +1w> will repeat forever and ever... We need to create a schedule for a period. The package "remind" (and its simple interface "wyrd") do this job wonderfully but I do not know how to deal with this problem in Org mode >>> >>> The following FAQ should help: >>> >>> http://orgmode.org/worg/org-faq.php#diary-sexp-in-org-files >>> >>> - Matt >>> >> > > ___