Re: [Orgmode] bug report: global tags completion in agenda
This is fixed now, thanks. - Carsten On Jun 27, 2007, at 16:13, Maxim Loginov wrote: hi all from info: `C-c a m' Create a global list of tag matches from all agenda files. I expect that global list of tags to be created and prompted for completion. but when try to complete tags in prompt "Match:" only tags from org-file, where tags were recently edited in any way, are prompted, not a global list from all agenda-files as expected. the most wondering thing is that tag list is prompted not even from last edited file, but from file where tags were somehow touched (edited, realigned or similar). if you simply edit file without touching tags, the tag set is not changed. basically, if you just run emacs without any tag editing/aligning/whatever, you'll see empty completion list. I'm using emacs-22.1 and org-mode-4.79 best Maxim Loginov ___ Emacs-orgmode mailing list Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode -- Carsten Dominik Sterrenkundig Instituut "Anton Pannekoek" Universiteit van Amsterdam Kruislaan 403 NL-1098SJ Amsterdam phone: +31 20 525 7477 ___ Emacs-orgmode mailing list Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] feature request: tags in remember template
This is now implemented, thank you for the idea. - Carsten On Jun 26, 2007, at 7:27, Maxim Loginov wrote: hi all It would be nice to have a special `%'-escape for tags in remember templates, %g for example. so one may use completion for tags when creating a note (now I do it by hands and sometimes have a mistypings). a global list of tags from agenda-files should be created for such completion thanks Maxim Loginov ___ Emacs-orgmode mailing list Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode -- Carsten Dominik Sterrenkundig Instituut "Anton Pannekoek" Universiteit van Amsterdam Kruislaan 403 NL-1098SJ Amsterdam phone: +31 20 525 7477 ___ Emacs-orgmode mailing list Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] The icalender export does not appear to support the new time ranges feature
Fixed, thanks. - Carsten On Jun 23, 2007, at 12:12, Vagn Johansen wrote: The icalender export does not appear to support the new time ranges feature. When I export the following to ics via "C-C C-e i" ** TODO time range test2 SCHEDULED: <2007-06-30 Sat 16:00-20:00> I get ... DTSTART:20070630T16 DTEND:20070630T18 .. The range becomes 16-18 becomes org-ical-ts-to-string is hardcoded to add 2 hours: (defun org-ical-ts-to-string (s keyword &optional inc) "Take a time string S and convert it to iCalendar format. KEYWORD is added in front, to make a complete line like DTSTART When INC is non-nil, increase the hour by two (if time string contains a time), or the day by one (if it does not contain a time)." ... ... ___ Emacs-orgmode mailing list Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode -- Carsten Dominik Sterrenkundig Instituut "Anton Pannekoek" Universiteit van Amsterdam Kruislaan 403 NL-1098SJ Amsterdam phone: +31 20 525 7477 ___ Emacs-orgmode mailing list Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] filling cells automatically
On Jun 20, 2007, at 17:44, [EMAIL PROTECTED] wrote: Dear Org users! I would like to have the following functionality: I have a table like this: | number1 | number2 | description | |-+-+-| | 1 | 1 | a | | 1 | 2 | b | | 1 | 3 | c | | 1 | 4 | d | |-+-+-| | 2 | 1 | aa | | 2 | 2 | bb | | 2 | 3 | cc | | 2 | 4 | dd | |-+-+-| | 3 | 1 | aaa | | 3 | 2 | bbb | | 3 | 3 | ccc | | 3 | 4 | ddd | |-+-+-| I would like to generate number1 and number2 rows automatically (so when I insert something the numbering will be okay), is this possible? Well I know it is, but is it possible within the current org table framework? This is currently difficult because of a bug in org-mode in the treatment of fields that have a field formula assigned, but also are in a column with a column formula. This bug will be fixed in the next version, and then you can do: | number1 | number2 | description | |-+-+-| | 1 | 1 | a | | 1 | 2 | b | | 1 | 3 | c | | 1 | 4 | d | |-+-+-| | 2 | 1 | aa | | 2 | 2 | bb | | 2 | 3 | cc | | 2 | 4 | dd | |-+-+-| | 3 | 1 | aaa | | 3 | 2 | bbb | | 3 | 3 | ccc | | 3 | 4 | ddd | |-+-+-| #+TBLFM: [EMAIL PROTECTED]::[EMAIL PROTECTED]::@2$1=1::@2$2=1::@6$1=2::@6$2=1::@10$1=3::@10$2=1 Make sure that you insert new rows with Org-mode commands, not by hand. With this setup, C-u C-c C-c will update the table and fill rows 1 and 2. Hope this helps - Carsten ___ Emacs-orgmode mailing list Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Idea - adds new TODO item for specific time and task-group
Hi Juraj, this is useful functionality, but you can do the same already using remember templates. Just define templates that do not contain a link to the current location, and specify file in which, and headline under which the new item should be filed. For example: (setq org-remember-templates '((?s "* TODO %?\n %i" "~/Org/main.org.txt" "Small Tasks of project 1") (?h "* TODO %?\n %i" "~/Org/main.org.txt" "Small tasks at home"))) You can also insert deadline, scheduling etc in this way. It would not take the date from the agenda date, but for the rest it supports everything you are suggesting. - Carsten On Jun 17, 2007, at 19:56, Juraj Kubelka wrote: Hi, I tried to implement function for adding a new todo item to an org-file. Let's say there is a org-file: = * Project 1 ** Small Tasks of project 1 ###-PROJECT1-### *** a task no.1 DEADLINE: ... = If I am in agenda-view and press "I" key, it will insert new task after the "###-PROJECT1-###" string with deadline or schedule for given day: = * Project 1 ** Small Tasks of project 1 ###-PROJECT1-### *** TODO (cursor here) DEADLINE: *** a task no.1 DEADLINE: ... = It is similar for "i" key (org-self-insert-command). So, after pressing of "I" key, it will ask for schedule or deadline and afterwards for task-group according to a configuration (see attachment). Am not so familiar with org-mode, so this is just pilot version with lot of drawbacks. For example it will not insert new task, if file is in OVERVIEW presentation. If some find it useful, I advice to add it to official package. But of course with better implementation. Can you have a look and explain me how to do it better? Thank you in advance, Juraj code (require 'org) (defcustom myorg-tasks '((?s "Project1" "###-PROJECT1-###" "~/Org/main.org.txt") (?h "Home" "###-HOME-###" "~/Org/main.org.txt")) "*Tasks list. (key description search-string file-name) ") (defun myorg-insert-task (search-string what time file) "Add new TODO item in orgmode file after search-string string. what = SCHEDULED or DEADLINE (see org-add-planning-info). " (let (point) (find-file-other-window (substitute-in-file-name file)) (when (setq point (save-excursion (goto-char (point-min)) (search-forward search-string nil t))) (goto-char point) (org-insert-heading) (org-do-demote) (org-todo 'right) (org-add-planning-info what time 'closed (defun myorg-agenda-insert-task () "Make a task." (interactive) (org-agenda-check-type t 'agenda 'timeline) (require 'diary-lib) (let* ((char (progn (message "Choose [d]eadline [s]chedule") (read-char-exclusive))) (type (cdr (assoc char '((?d . deadline) (?s . scheduled) (point (point)) (calendar-date-display-form '(year "-" month "-" day)) task) (unless type (error "No task type associated with <%c>" char)) (unless (setq time (get-text-property point 'day)) (error "Don't know which date to use for task entry")) (unless (setq task (myorg-ask-for-task-type)) (error "No tasks selected.")) (myorg-insert-task (caddr task) type (org-read-date nil 'to-time (calendar-date-string (calendar-gregorian-from-absolute (get-text-property point 'day (cadddr task (defun myorg-ask-for-task-type () (unless myorg-tasks (error "No tasks defined. See myorg-tasks custom variable.")) (let* (tmp (tasks (dolist (task myorg-tasks tmp) (setq tmp (concat tmp " " (cadr task) "[" (char-to-string (car task)) "]" (char (progn (message "Choose %s" tasks) (read-char-exclusive))) (selected (car (member* char myorg-tasks :key #'car :test #'eql selected)) (org-defkey org-agenda-mode-map "I" 'myorg-agenda-insert-task) ___ Emacs-orgmode mailing list Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode -- Carsten Dominik Sterrenkundig Instituut "Anton Pannekoek" Universiteit van Amsterdam Kruislaan 403 NL-1098SJ Amsterdam phone: +31 20 525 7477 ___ Emacs-orgmode mailing list Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] repeating within a range
Hi Austin, this is not supported, and I do not have plans to put it in. You can either directly insert the several dates explicitly, or define a repeating date and then just delete it once it is over. If you really need this functionality, I think it would be relatively easy to hack this, using a diary sexp entry. Start with either diary-cyclic, or with diary-float, add additional arguments for the end date, and then see how dates are handled and change the function to deal with the end date. Hope this helps. - Carsten On Jun 23, 2007, at 20:59, Austin Frank wrote: Hello! I'd like to specify that an event repeats weekly, but only for a month. Ideally, I'd also be able to specify a time for the weekly event. Is there currently a way to say "this event happens every Thursday in July From 17:00-19:00"? Given the new time range syntax from 4.78, I wonder if something like the following might work <2007-07-06--2007-26-31 17:00--19:00 +1w> I changed the time range to also use -- as the range indicator to provide some consistency across the date and time specifications. It's fine with me if that changes back to 17:00-19:00. Another option would be to use a diary sexp. I'm not aware of a built-in diary function that accomplishes the above goal, but if anyone can show me how to do this with a <%%()> timestamp I'd really appreciate it. Thanks, /au -- Austin Frank http://aufrank.net GPG Public Key (D7398C2F): http://aufrank.net/personal.asc ___ Emacs-orgmode mailing list Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode -- Carsten Dominik Sterrenkundig Instituut "Anton Pannekoek" Universiteit van Amsterdam Kruislaan 403 NL-1098SJ Amsterdam phone: +31 20 525 7477 ___ Emacs-orgmode mailing list Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Org-mode version 5.01
Hi, I am releasing Org-mode 5.01. It is available at my website http://www.astro.uva.nl/~dominik/Tools/org and also through Emacs CVS. I am pretty excited about this release, a new major version. First: Credit where credit is due: Much of this was triggered by the thread "Duration Tally" on [EMAIL PROTECTED] Many thanks to - Edward DeVilla for coming up with the idea of properties. - Russel Adams for mentioning an "additional level of folding" to be used for capturing properties. This trigger has become the new "Drawer" feature. - Scott Jaderholm for pointing out the advantages of column view. - Raman for suggesting a minor mode that exports org-mode structure editing to arbitrary modes. There are important changes, so unless you plan to read the manual in the near future, I'd advise you carefully read the notes below. Enjoy! - Carsten Changes in version 5.01 --- * Overview - A new minor mode, orgstruct-mode, exports the Org-mode structure editing commands into any other mode. - DRAWERS are a new level off folding for special sections that should stay closed during visibility cycling and only open if explicitly asked. - Entries can now have PROPERTIES. - A COLUMN VIEW implementation allows to easily view and edit the properties of a hierarchy of entries. - Formula evaluation in the spreadsheet is more consistent now. Properties and per-file constants can be used during evaluation. - Bug fixes and minor changes. * Incompatible changes - When using LEVEL=N in a tags search, things have changed if you are also using `org-odd-levels-only'. If you are using only odd levels (i.e. 1 or 3 or 5... stars), LEVEL=2 will now refer to 3 stars, LEVEL=3 to 5 stars etc. Many thanks to Leo (or blame him if you must) who has convinced me that this is the better convention. * Details + Orgstruct minor mode There is a new minor mode, orgstruct-mode. This modes works in a similar way as Orgtbl-mode. It can be used to export the Org-mode structure-editing commands into arbitrary major modes in Emacs. For example, you can use it in Mail-mode to easily create lists. The functionality in Orgstruct mode is only active, if the cursor is in a line that looks either like a headline, or like the first line of a plain list item. Then the commands `TAB', `M-cursor', `M-S-cursor', `M-RET', `M-S-RET', `C-c ^', `C-c C-c', and `C-c -' will do structure-related editing just like in Org-mode. If the cursor is not in such a line, all these keys will do whatever the major mode or other active minor modes have assigned to them. Orgstruct-mode is the result of a proposal by Raman, quite some time ago. It has taken a long time, but here is finally the promised implementation. + Drawers The new concept of /drawers/ allows to create sections that remain folded during visibility cycling. Drawers need to be configured using the variable `org-drawers'. A drawer starts with a line containing only the name of the drawer bracketed by colons. It ends with :END:. For example, after setting (setq org-drawers '("PROPERTIES" "HIDDEN")) you can then create drawers like this: :HIDDEN: here is some stuff that remains hidden unless TAB is pressed directly in that line :END: The PROPERTIES drawer has special meaning for ORG-mode, it contains properties of an entry (see below). + Properties and Column View - Entries in Org-mode can now have arbitrary /properties/ associated with them. Org-mode handles some default properties like the TODO state, the priority, the local tags, and planning information like DEADLINE and SCHEDULED. In addition, you can assign arbitrary properties by creating a property drawer and inserting a line like :PROPNAME: This is the value of the property Org-mode has an API for properties, if you want to write a program using properties, use the functions `org-entry-properties', `org-entry-get', `org-entry-put', and `org-entry-delete'. - Planning information like DEADLINE can be hidden in the properties drawer. If the PROPERTIES drawer starts in the first line after a headline, also the DEADLINE, SCHEDULED and CLOCK information will be inserted inside the drawer. If no PROPERTIES drawer is present, or if it does not start in the line right after the headline, this information remains in the lines directly after the headline, outside the drawer. - TAGS searches can now also query properties. For example, the search LEVEL=3+BOSS+ASSIGNED="Hans"/WAITING will find entries that - are level 3 - have the tag BOSS - have an ASSIGNED property with the value "Hans" - are TODO status WAITING. So here
[Orgmode] Re: Is the feature useful?
Hi, Carsten Dominik science.uva.nl> writes: > > | (muse-what-changed) > This looks like a function that is not only useful in org-mode, > but in any mode. Exactly. I use it all the time but this is my method: (global-set-key (kbd "C-c d") (lambda () (interactive) (diff-buffer-with-file (current-buffer When I was more paranoid, pressing C-x C-s would have cause such thing happening plus a yes-no question before saving the buffer content :) Now I only use this plus version-control (to keep up to 7 old copies, just in case). Xavier ___ Emacs-orgmode mailing list Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Org-mode version 5.01
Carsten Dominik <[EMAIL PROTECTED]> writes: > Hi, > > I am releasing Org-mode 5.01. It is available at my website > >http://www.astro.uva.nl/~dominik/Tools/org > > and also through Emacs CVS. > > I am pretty excited about this release, a new major version. It's fantastic! I'm so loving it. Thank you, Dominik. Xiao-Yong -- c/*__o/* <\ * (__ */\ < ___ Emacs-orgmode mailing list Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: Org-mode version 5.01
Carsten Dominik science.uva.nl> writes: > I am pretty excited about this release, a new major version. Marvelous ! Xavier ___ Emacs-orgmode mailing list Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Org-mode version 5.01
I must say it: Is it not nifty?! Thanks! On Mon, Jul 02, 2007 at 03:42:36PM +0200, Carsten Dominik wrote: > Hi, > > I am releasing Org-mode 5.01. It is available at my website > >http://www.astro.uva.nl/~dominik/Tools/org > > and also through Emacs CVS. > > I am pretty excited about this release, a new major version. > > First: Credit where credit is due: > > Much of this was triggered by the thread "Duration Tally" > on [EMAIL PROTECTED] Many thanks to > > - Edward DeVilla for coming up with the idea of properties. > > - Russel Adams for mentioning an "additional level of folding" > to be used for capturing properties. This trigger has become > the new "Drawer" feature. > > - Scott Jaderholm for pointing out the advantages of column view. > > - Raman for suggesting a minor mode that exports org-mode > structure editing to arbitrary modes. > > There are important changes, so unless you plan to read the manual > in the near future, I'd advise you carefully read the notes below. > > Enjoy! > > - Carsten > > Changes in version 5.01 > --- > > * Overview > > - A new minor mode, orgstruct-mode, exports the Org-mode > structure editing commands into any other mode. > > - DRAWERS are a new level off folding for special sections > that should stay closed during visibility cycling and only > open if explicitly asked. > > - Entries can now have PROPERTIES. > > - A COLUMN VIEW implementation allows to easily view and edit > the properties of a hierarchy of entries. > > - Formula evaluation in the spreadsheet is more consistent > now. Properties and per-file constants can be used during > evaluation. > > - Bug fixes and minor changes. > > * Incompatible changes > > - When using LEVEL=N in a tags search, things have changed if > you are also using `org-odd-levels-only'. If you are using > only odd levels (i.e. 1 or 3 or 5... stars), LEVEL=2 will > now refer to 3 stars, LEVEL=3 to 5 stars etc. Many thanks > to Leo (or blame him if you must) who has convinced me > that this is the better convention. > > * Details > > + Orgstruct minor mode > > There is a new minor mode, orgstruct-mode. This modes works > in a similar way as Orgtbl-mode. It can be used to export > the Org-mode structure-editing commands into arbitrary major > modes in Emacs. For example, you can use it in Mail-mode to > easily create lists. > > The functionality in Orgstruct mode is only active, if the > cursor is in a line that looks either like a headline, or > like the first line of a plain list item. Then the commands > `TAB', `M-cursor', `M-S-cursor', `M-RET', `M-S-RET', `C-c ^', > `C-c C-c', and `C-c -' will do structure-related editing just > like in Org-mode. If the cursor is not in such a line, all > these keys will do whatever the major mode or other active > minor modes have assigned to them. > > Orgstruct-mode is the result of a proposal by Raman, quite > some time ago. It has taken a long time, but here is finally > the promised implementation. > > + Drawers > > The new concept of /drawers/ allows to create sections > that remain folded during visibility cycling. Drawers need > to be configured using the variable `org-drawers'. A drawer > starts with a line containing only the name of the drawer > bracketed by colons. It ends with :END:. For example, > after setting > >(setq org-drawers '("PROPERTIES" "HIDDEN")) > > you can then create drawers like this: > >:HIDDEN: > here is some stuff that remains hidden > unless TAB is pressed directly in that line >:END: > > The PROPERTIES drawer has special meaning for ORG-mode, it > contains properties of an entry (see below). > > + Properties and Column View > > - Entries in Org-mode can now have arbitrary /properties/ > associated with them. Org-mode handles some default > properties like the TODO state, the priority, the local > tags, and planning information like DEADLINE and SCHEDULED. > In addition, you can assign arbitrary properties by creating > a property drawer and inserting a line like > > :PROPNAME: This is the value of the property > > Org-mode has an API for properties, if you want to write a > program using properties, use the functions > `org-entry-properties', `org-entry-get', `org-entry-put', > and `org-entry-delete'. > > - Planning information like DEADLINE can be hidden in the > properties drawer. > > If the PROPERTIES drawer starts in the first line after a > headline, also the DEADLINE, SCHEDULED and CLOCK information > will be inserted inside the drawer. If no PROPERTIES drawer > is present, or if it does not start in the line right after > the headline, this information remains in the
Re: [Orgmode] Org-mode version 5.01
On 7/2/07, Carsten Dominik <[EMAIL PROTECTED]> wrote: Hi, I am releasing Org-mode 5.01. It is available at my website Good Lord! That is an awful lot of new stuff! It's going to take me a while to soak in what all it is and how to use it. I didn't think the properties idea was even coherent enough to to be coded yet. Columns with properties sound great as do draws. I'm starting to use formulas more and I'm sure that will be useful. Likewise, I'm sure the minor mode will become useful. I don't know how you do it. Good show Carsten! Edd ___ Emacs-orgmode mailing list Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: inserting (optional) timestamp with manually inserted `CLOCK: =>'
Carsten Dominik <[EMAIL PROTECTED]> writes: > On Jul 1, 2007, at 1:35, Patrick Drechsler wrote: > >> inserting a `CLOCK: => 2:30' manually works fine: Cool feature. >> >> How do I insert something like the above with the attribute "Jan >> 2007" so that following org-tables notice it when being updated? > > You cannot. Just clock in and out of the item with > > C-c C-x C-i C-c C-x C-o > > and then adjust the time stamps to be in the correct month and to > have the right time difference. Ok, thanks for the feedback. Cheers, Patrick -- Military intelligence is a contradiction in terms. (Groucho Marx) ___ Emacs-orgmode mailing list Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: Org-mode version 5.01
There is a (debug) call on line 21425 in org.el -- Vagn Johansen ___ Emacs-orgmode mailing list Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: Org-mode version 5.01
Vagn Johansen hotmail.com> writes: > There is a (debug) call on line 21425 in org.el I do not have this here. What emacs version do you use ? Xavier ___ Emacs-orgmode mailing list Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Fair comparison of blorg and org-blog ?
Hi, Is there any comparison table of the two main blog solution for org-mode available somewhere ? I have used them myself but I am quite unable to explain in what they differ, what are the pros and cons of the solutions. A friend of mine has asked me to help him choose one of them and I can't :) Regards, Xavier ___ Emacs-orgmode mailing list Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: Org-mode version 5.01
On Jul 2, 2007, at 22:17, Vagn Johansen wrote: There is a (debug) call on line 21425 in org.el Well, yes, there is one, but in different line. Sigh, always the same mistakes. Fixed now, version 5.01b. - Carsten -- Vagn Johansen ___ Emacs-orgmode mailing list Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode -- Carsten Dominik Sterrenkundig Instituut "Anton Pannekoek" Universiteit van Amsterdam Kruislaan 403 NL-1098SJ Amsterdam phone: +31 20 525 7477 ___ Emacs-orgmode mailing list Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: Org-mode version 5.01
hi Carsten very nice job! I'm impressed by properties a lot! some comments/improvement suggestions: > There are important changes, so unless you plan to read the manual > in the near future, I'd advise you carefully read the notes below. addition Changes subsection into info with hyperlinks to relevant pages make it easier to track new feature. and you do not need comments like above - Remember template %^G always surround newly added tag with colons even empty tags (if do not want to insert tag and simply you press RET for tag prompt). additionally if some :tag: is already predefined then none of these :tag%^G :tag:%^G handle empty/non-empty inserted tags correctly - in agenda view tag completion when no more completion matched the message [Sole Completion] instead of [No match] looks less scary :-) best Maxim ___ Emacs-orgmode mailing list Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode