Re: [Orgmode] How to tag all headlines in a region?
Carsten Dominik schrieb: This will be in 5.06. - Carsten On Jul 17, 2007, at 15:15, rst wrote: sorry if I missed that one in the manual. How can I tag multiple headlines simultaneously? all in a region? maybe mark them in the agenda and tag all marked? thx, rainer ___ 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 Hello Carsten, did I miss that feature on 5.06? I also cannot find it in the docs for 5.09. Again, how could I mark several todos (maybe create a region) and shift the schedule date of all marked items simultaneously? I sometimes have to readjust all private todos from a passed day to maybe to a future date. Rainer begin:vcard fn:Rainer Stengele n:Stengele;Rainer org:diplan GmbH;Administration adr:;;Wetterkreuz 27;Erlangen;;91058;Germany email;internet:[EMAIL PROTECTED] title:Technical Control - Senior Administrator tel;work:+49(0)9131 777 885 tel;fax:+49(0)9131 777 888 url:http://www.diplan.de version:2.1 end:vcard ___ 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] recognize comma separated text as table?
William Henney [EMAIL PROTECTED] writes: You could use org-table-import after converting all commas to tabs with query-replace (or sed, or whatever). Only problem would be if there were commas in quoted strings Stupid heuristic would compute the average number of commas per line, and the average number of characters per quoted string. But doesn't csv exporters already escape commas when they are part of a cell? Maybe they should. -- Bastien ___ 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: Open gnus link without popping up a new frame
Nuutti Kotivuori [EMAIL PROTECTED] writes: Leo wrote: I run Emacs in xterm and popup frames are useless. Thus I would like to open a gnus link without a new frame. I have the following config: Does gnus-other-frame in an xterm actually do something? Is there a frame it can pop up? Frames on a tty work kind of like 'screen' windows. They take up the whole tty, and you can switch between them with C-x 5 o. I'd assume gnus-other-frame works normally in this context. -- +---+ | Jason F. McBrayer[EMAIL PROTECTED] | | If someone conquers a thousand times a thousand others in | | battle, and someone else conquers himself, the latter one | | is the greatest of all conquerors. --- The Dhammapada| ___ 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] Integration of Org mode with Mairix: org-mairix.el
Hi all, since it appears that quite some people are using Org mode to do their GTD organising, and email obviouisly plays an important role in that, I've taken a little bit of time to clean up the integration of Mairix with Org. At the moment it only has support for Gnus as MUA, but it should be fairly simple to also support other MUAs, the code supports it. I've also made sure the file has the appropriate legal notices and such, so it may eventually be elegible for integration into Org mode. The weakest point right now is the selection of the Gnus group upon matching, as I am still looking for a way to do this in Gnus that will not generate zombies. But overall I'm quite happy now: By default, this will pull an entire thread into the search group and automatically select the mail that was linked to. Please test, help debug and extend. I don't have the time to maintain this actively, but would be happy if people found it useful. Regards, Georg org-mairix.el Description: application/emacs-lisp -- Georg C. F. Greve [EMAIL PROTECTED] Free Software Foundation Europe (http://fsfeurope.org) Join the Fellowship and protect your freedom! (http://www.fsfe.org) What everyone should know about DRM (http://DRM.info) pgpFuZOX57Tqv.pgp Description: PGP signature ___ 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] Integration of Org mode with Mairix: org-mairix.el
Georg C. F. Greve [EMAIL PROTECTED] writes: I've taken a little bit of time to clean up the integration of Mairix with Org. Great! The weakest point right now is the selection of the Gnus group upon matching, as I am still looking for a way to do this in Gnus that will not generate zombies. Please have a look at the patch below and tell me if it solves the issue above. Look for the small FIXME: (bzg) cookies in the patch. But overall I'm quite happy now: By default, this will pull an entire thread into the search group and automatically select the mail that was linked to. BTW, this might be just personal taste, but I would prefer a shorter syntax for thread searches (like mairix:t). Right now --thread in the link is converted as %20--thread and this is not parsed by the (split-string ... ) part of your code. Please test, help debug and extend. I don't have the time to maintain this actively, but would be happy if people found it useful. This *is* definitely very useful! diff -u /home/guerry/elisp/testing/org-mairix.el /home/guerry/elisp/testing/bzg/org-mairix.el --- /home/guerry/elisp/testing/org-mairix.el 2007-09-26 16:45:30.0 +0200 +++ /home/guerry/elisp/testing/bzg/org-mairix.el 2007-09-26 16:43:03.0 +0200 @@ -35,31 +35,31 @@ (defcustom org-mairix-threaded-links t Should new links be created as threaded links? - If t, links will be stored as threaded searches. - If nil, links will be stored as non-threaded searches. +If t, links will be stored as threaded searches. +If nil, links will be stored as non-threaded searches. :group 'org-mairix :type 'boolean) (defcustom org-mairix-augmented-links nil Should new links be created as augmenting searches? - If t, links will be stored as augmenting searches. - If nil, links will be stored as normal searches. +If t, links will be stored as augmenting searches. +If nil, links will be stored as normal searches. - Attention: When activating this option, you will need - to remove old articles from your mairix results group - in some other way, mairix will not do it for you. +Attention: When activating this option, you will need +to remove old articles from your mairix results group +in some other way, mairix will not do it for you. :group 'org-mairix :type 'boolean) (defcustom org-mairix-display-hook 'org-mairix-gnus-display-results Hook to call to display the results of a successful mairix search. - Defaults to Gnus, feel free to add your own MUAs or methods. +Defaults to Gnus, feel free to add your own MUAs or methods. :group 'org-mairix :type 'hook) (defcustom org-mairix-executable mairix The mairix executable to call. If your paths are set up - correctly, you should not need to change this. +correctly, you should not need to change this. :group 'org-mairix :type 'string) @@ -70,8 +70,8 @@ (defcustom org-mairix-gnus-results-group nnmaildir:mairix The group that is configured to hold the mairix search results, - which needs to be setup independently of the org-mairix integration, - along with general mairix configuration. +which needs to be setup independently of the org-mairix integration, +along with general mairix configuration. :group 'org-mairix-gnus :type 'string) @@ -85,7 +85,8 @@ ;;; Generic org-mairix functions (defun org-mairix-store-link () - Store a link to the current message as a Mairix search for its Message ID. + Store a link to the current message as a Mairix search for its +Message ID. ;; gnus integration (when (memq major-mode '(gnus-summary-mode gnus-article-mode)) @@ -94,10 +95,11 @@ (header (gnus-summary-article-header article)) (from (mail-header-from header)) (message-id (mail-header-id header)) - (date (mail-header-date header)) + ;; FIXME: (bzg) we don't need the date + (date (mail-header-date header)) (subject (gnus-summary-subject-string))) (org-store-link-props :type mairix :from from :subject subject - :message-id message-id ) + :message-id message-id) (setq cpltxt (org-email-link-description)) (org-store-link-props :link (concat mairix: (org-remove-angle-brackets message-id) (if org-mairix-threaded-links --thread) @@ -107,11 +109,12 @@ (defun org-mairix-open (path) Function to open mairix link. - We first need to split it into its individual parts, and then extract the - message-id to be passed on to the display function before call mairix, evaluate - the number of matches returned, and make sure to only call display of mairix - succeeded in matching. - +We first need to split it into its individual parts, and then +extract the message-id to be passed on to the display function +before call mairix, evaluate the number of matches returned, and +make sure to only call display of mairix succeeded in matching. + ;; FIXME (bzg) mhh... better use let* construct for arguments, + ;; message-id and cmdline. (setq
Re: [Orgmode] recognize comma separated text as table?
On Sep 25, 2007, at 11:31, Sivaram Neelakantan wrote: I've been using org mode tables where possible and I frequently receive data as csv, is there any any org-table function to transform the csv function to org tables? I guess I can generalize the import and conversion commands to handle CSV material. Should be easy, to it'll be in 5.10. - Carsten -- Carsten Dominik Sterrenkundig Instituut Anton Pannekoek Universiteit van Amsterdam Kruislaan 403 NL-1098SJ Amsterdam phone: +31 20 525 7477 ___ 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] How to tag all headlines in a region?
On Sep 26, 2007, at 1:00, Rainer Stengele wrote: Carsten Dominik schrieb: This will be in 5.06. - Carsten On Jul 17, 2007, at 15:15, rst wrote: sorry if I missed that one in the manual. How can I tag multiple headlines simultaneously? all in a region? maybe mark them in the agenda and tag all marked? thx, rainer ___ 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 Hello Carsten, did I miss that feature on 5.06? I also cannot find it in the docs for 5.09. This is the command `org-change-tag-in-region'. It currently has no key, but in the agenda you can simply mark a region and press :. I forgot to to document this. Again, how could I mark several todos (maybe create a region) and shift the schedule date of all marked items simultaneously? This is not possible. However, you could try a keyboard macro for this kind of things. C-x ( 4 S-right down C-x ) will define a keyboard macro to shift the date by 4 days into the future and then move one line down. With `C-u 1 0 C-x e' you can execute the macro 10 times. - 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: Open gnus link without popping up a new frame
On 2007-09-26 14:42 +0100, Jason F. McBrayer wrote: Nuutti Kotivuori [EMAIL PROTECTED] writes: Leo wrote: I run Emacs in xterm and popup frames are useless. Thus I would like to open a gnus link without a new frame. I have the following config: Does gnus-other-frame in an xterm actually do something? Is there a frame it can pop up? Frames on a tty work kind of like 'screen' windows. They take up the whole tty, and you can switch between them with C-x 5 o. I'd assume gnus-other-frame works normally in this context. That's why it is not usefully. Try to switch between 3 or more frames in tty, you will see how awkward that is. -- .: Leo :. [ sdl.web AT gmail.com ] .: [ GPG Key: 9283AA3F ] :. Use the most powerful email client -- http://gnus.org/ ___ 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: org-toc.el - browsable table of contents for Org
On Sep 26, 2007, at 9:06, Bastien wrote: I don't see any way to make boxquotes works with the TOC anyway, since there would be too many complexity when displaying several levels at the same time. How about changing the background color of the toc, maybe only slightly from the default? - 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: recognize comma separated text as table?
Carsten Dominik [EMAIL PROTECTED] writes: On Sep 25, 2007, at 11:31, Sivaram Neelakantan wrote: I've been using org mode tables where possible and I frequently receive data as csv, is there any any org-table function to transform the csv function to org tables? I guess I can generalize the import and conversion commands to handle CSV material. Should be easy, to it'll be in 5.10. - Carsten While at that, is there a possibility of getting horizontal rules too, please? To separate one row from another. sivaram -- ___ 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] PATCH: include in-progress/started todos into daily agenda
I had always used the day/weekly/mothly agenda vs the searchable agenda separately and sometimes missed things because they were in one list but not another. For example when looking into a tags based agenda for :computer, I may have missed some other item that was scheduled for today but not tagged with computer, and via versa. The method described in the post titled Not using GTD post, where only the daily agenda is the primary agenda used solves this problem, but I don't like to schedule/reschedule my items all the time. So inspired by the Not using GTD post, proposed patch allows specifying a TODO type that would always be included into daily agenda on a current day, as if it was scheduled. So one can just mark items that need to be worked on doing the day as lets say INPROGRESS and they would stay in the daily agenda alongside/intermixed with the items scheduled for today until you close them. If you like to postpone the item, you put it as TODO again, and it would disappear. Proposed patch is as plain text below, feel free to rewrite/change as the method I've used may not have been optimal. Regards, Max diff -rp -x '*.orig' -x '*.elc' -x '*~' org-5.10a.orig/org.el org-5.10a/org.el *** org-5.10a.orig/org.el Wed Sep 26 13:33:20 2007 --- org-5.10a/org.elWed Sep 26 16:33:52 2007 *** When nil, only the days which actually h *** 2323,2328 --- 2323,2342 :group 'org-agenda-daily/weekly :type 'boolean) + (defcustom org-agenda-show-inprogress-todos nil + Non-nil means, include the TODO's of the type specified by + `org-inprogress-todos' into the daily agenda. + :group 'org-agenda-daily/weekly + :type 'boolean) + + (defcustom org-inprogress-todos INPROGRESS + Specifies TODO type that would be automatically included into + the daily agenda when `org-agenda-show-inprogress-todos' is set. + You can specify more then one value separating them with |, for + example INPROGRESS|STARTED + :group 'org-agenda-daily/weekly + :type 'string) + (defcustom org-agenda-format-date 'org-agenda-format-date-aligned Format string for displaying dates in the agenda. Used by the daily/weekly agenda and by the timeline. This should be *** NDAYS defaults to `org-agenda-ndays'. *** 18056,18062 (- sd (+ (if ( d 0) 7 0) d) (day-numbers (list start)) (inhibit-redisplay (not debug-on-error)) !s e rtn rtnall file date d start-pos end-pos todayp nd) (setq org-agenda-redo-command (list 'org-agenda-list (list 'quote include-all) start-day ndays)) ;; Make the list of days --- 18070,18077 (- sd (+ (if ( d 0) 7 0) d) (day-numbers (list start)) (inhibit-redisplay (not debug-on-error)) !s e rtn rtnall file date d start-pos end-pos todayp nd ! args) (setq org-agenda-redo-command (list 'org-agenda-list (list 'quote include-all) start-day ndays)) ;; Make the list of days *** NDAYS defaults to `org-agenda-ndays'. *** 18102,18117 (setq end-pos (point (setq files thefiles rtnall nil) (while (setq file (pop files)) (catch 'nextfile (org-check-agenda-file file) ! (if org-agenda-show-log ! (setq rtn (org-agenda-get-day-entries !file date !:deadline :scheduled :timestamp :sexp :closed)) ! (setq rtn (org-agenda-get-day-entries ! file date ! :deadline :scheduled :sexp :timestamp))) (setq rtnall (append rtnall rtn (if org-agenda-include-diary (progn --- 18117,18132 (setq end-pos (point (setq files thefiles rtnall nil) + (setq args '(:deadline :scheduled :timestamp :sexp)) + (when org-agenda-show-log + (push :closed args)) + (when org-agenda-show-inprogress-todos + (push :inprogress args)) (while (setq file (pop files)) (catch 'nextfile (org-check-agenda-file file) ! (setq rtn (apply 'org-agenda-get-day-entries !file date args)) (setq rtnall (append rtnall rtn (if org-agenda-include-diary (progn *** the documentation of `org-diary'. *** 18606,18611 --- 18621,18632 ;; The way we repeatedly append to `results' makes it O(n^2) :-( (while (setq arg (pop args)) (cond +((and (eq arg :inprogress) + (equal date (calendar-current-date))) + (let ((org-select-this-todo-keyword + org-inprogress-todos)) + (setq rtn (org-agenda-get-todos)) + (setq results (append results rtn ((and (eq arg :todo) (equal date
Re: [Orgmode] Release org-mode 5.10
Carsten Dominik [EMAIL PROTECTED] writes: Hi, org-mode 5.10 is available at http://org-mode.org Enjoy! - Carsten I believe it's http://orgmode.org without the dash `-'? And I also have two issues. 1. I'm not able to export the file as Latex. It says org-export-as-latex: Wrong type argument: number-or-marker-p, t 2. Column groups in table are exported wrongly as ASCII. Take the example in the info section. That table is exported into N | N^2 | N^3 N^4 sqrt(n) | sqrt[4](N) +-+-+-+-+ 1 | 1 | 1 1 1 | 1 2 | 4 | 8161.4142 | 1.1892 3 | 9 | 27811.7321 | 1.3161 The later two vertical lines are wrong. Xiao-Yong -- c/*__o/* \ * (__ */\ ___ 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] Integration of Org mode with Mairix: org-mairix.el
On Wed, 26 Sep 2007 16:50:42 +0200 Bastien [EMAIL PROTECTED] wrote: b Please have a look at the patch below and tell me if it solves the b issue above. Look for the small FIXME: (bzg) cookies in the patch. Thanks a lot for your help. The zombie issue is still present, and I've tried to address the FIXME: issues as well as possible, or ask for clarification on the point. b BTW, this might be just personal taste, but I would prefer a shorter b syntax for thread searches (like mairix:t). Right now --thread b in the link is converted as %20--thread and this is not parsed by b the (split-string ... ) part of your code. Strange, it worked when I first tested it, and now does no more. I agree shorter is nicer, so changed the syntax accordingly. Version 0.2 attached below. Please test, comment, improve... Best rgeards, Georg org-mairix.el Description: application/emacs-lisp -- Georg C. F. Greve [EMAIL PROTECTED] Free Software Foundation Europe (http://fsfeurope.org) Join the Fellowship and protect your freedom! (http://www.fsfe.org) What everyone should know about DRM (http://DRM.info) pgpmYZuYmBd5O.pgp Description: PGP signature ___ 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] Release org-mode 5.10
On Sep 26, 2007, at 22:48, Xiao-Yong Jin wrote: 2. Column groups in table are exported wrongly as ASCII. Take the example in the info section. That table is exported into N | N^2 | N^3 N^4 sqrt(n) | sqrt[4](N) +-+-+-+-+ 1 | 1 | 1 1 1 | 1 2 | 4 | 8161.4142 | 1.1892 3 | 9 | 27811.7321 | 1.3161 The later two vertical lines are wrong. Fixed, thanks. - Carsten -- Carsten Dominik Sterrenkundig Instituut Anton Pannekoek Universiteit van Amsterdam Kruislaan 403 NL-1098SJ Amsterdam phone: +31 20 525 7477 ___ 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] PATCH: include in-progress/started todos into daily agenda
Hi Max, thanks for this. Before looking deeper into it: Have you considered a block agenda as an alternative? That will list the TODO matches in a separate list, but in the *same* agenda buffer. - Carsten On Sep 26, 2007, at 22:50, Max Mikhanosha wrote: I had always used the day/weekly/mothly agenda vs the searchable agenda separately and sometimes missed things because they were in one list but not another. For example when looking into a tags based agenda for :computer, I may have missed some other item that was scheduled for today but not tagged with computer, and via versa. The method described in the post titled Not using GTD post, where only the daily agenda is the primary agenda used solves this problem, but I don't like to schedule/reschedule my items all the time. So inspired by the Not using GTD post, proposed patch allows specifying a TODO type that would always be included into daily agenda on a current day, as if it was scheduled. So one can just mark items that need to be worked on doing the day as lets say INPROGRESS and they would stay in the daily agenda alongside/intermixed with the items scheduled for today until you close them. If you like to postpone the item, you put it as TODO again, and it would disappear. Proposed patch is as plain text below, feel free to rewrite/change as the method I've used may not have been optimal. Regards, Max diff -rp -x '*.orig' -x '*.elc' -x '*~' org-5.10a.orig/org.el org-5.10a/org.el *** org-5.10a.orig/org.el Wed Sep 26 13:33:20 2007 --- org-5.10a/org.elWed Sep 26 16:33:52 2007 *** When nil, only the days which actually h *** 2323,2328 --- 2323,2342 :group 'org-agenda-daily/weekly :type 'boolean) + (defcustom org-agenda-show-inprogress-todos nil + Non-nil means, include the TODO's of the type specified by + `org-inprogress-todos' into the daily agenda. + :group 'org-agenda-daily/weekly + :type 'boolean) + + (defcustom org-inprogress-todos INPROGRESS + Specifies TODO type that would be automatically included into + the daily agenda when `org-agenda-show-inprogress-todos' is set. + You can specify more then one value separating them with |, for + example INPROGRESS|STARTED + :group 'org-agenda-daily/weekly + :type 'string) + (defcustom org-agenda-format-date 'org-agenda-format-date-aligned Format string for displaying dates in the agenda. Used by the daily/weekly agenda and by the timeline. This should be *** NDAYS defaults to `org-agenda-ndays'. *** 18056,18062 (- sd (+ (if ( d 0) 7 0) d) (day-numbers (list start)) (inhibit-redisplay (not debug-on-error)) !s e rtn rtnall file date d start-pos end-pos todayp nd) (setq org-agenda-redo-command (list 'org-agenda-list (list 'quote include-all) start-day ndays)) ;; Make the list of days --- 18070,18077 (- sd (+ (if ( d 0) 7 0) d) (day-numbers (list start)) (inhibit-redisplay (not debug-on-error)) !s e rtn rtnall file date d start-pos end-pos todayp nd ! args) (setq org-agenda-redo-command (list 'org-agenda-list (list 'quote include-all) start-day ndays)) ;; Make the list of days *** NDAYS defaults to `org-agenda-ndays'. *** 18102,18117 (setq end-pos (point (setq files thefiles rtnall nil) (while (setq file (pop files)) (catch 'nextfile (org-check-agenda-file file) ! (if org-agenda-show-log ! (setq rtn (org-agenda-get-day-entries !file date !:deadline :scheduled :timestamp :sexp :closed)) ! (setq rtn (org-agenda-get-day-entries ! file date ! :deadline :scheduled :sexp :timestamp))) (setq rtnall (append rtnall rtn (if org-agenda-include-diary (progn --- 18117,18132 (setq end-pos (point (setq files thefiles rtnall nil) + (setq args '(:deadline :scheduled :timestamp :sexp)) + (when org-agenda-show-log + (push :closed args)) + (when org-agenda-show-inprogress-todos + (push :inprogress args)) (while (setq file (pop files)) (catch 'nextfile (org-check-agenda-file file) ! (setq rtn (apply 'org-agenda-get-day-entries !file date args)) (setq rtnall (append rtnall rtn (if org-agenda-include-diary (progn *** the documentation of `org-diary'. *** 18606,18611 --- 18621,18632 ;; The way we repeatedly append to `results' makes it O(n^2) :-( (while (setq arg (pop args)) (cond +((and (eq arg :inprogress) + (equal date (calendar-current-date))) + (let