Re: [Orgmode] Re: Using org-mode and git to make a wiki
Hi David, Matthew Lundin writes: > So the good news is: You can already do everything you mention with > org-mode and git. Just clone a bare repository somewhere and allow > others to push and pull from it. I second Matthew on this. All the wiki-like features you mentioned can be "emulated" with Emacs + Org-mode + a distributed versioning system. As far as communication is concerned (i.e. your idea of people talking to each others thru org-mode pages) I think it is possible to hook some scripts to your "git push" command, then let the scripts decide whether they should send an email to someone or not Simple example: when pushing changes on a page where you are not the main author (i.e. not in the #+AUTHOR line), send an email to these author about the change. I'm sure Bernt can write such a script :) The idea of communication only with org-mode files, I don't get it. Email is powerful, why don't use it? Same for the HTML output of org-mode+git pages, I don't see why we should live without it. In any case, I would be delighted to see Worg clones, exploring org-mode+git possibilities way beyond Worg! best, -- 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
[Orgmode] pretty icons in org buffers
I've been re-entering my life data into Orgmode after about a year of just using a palm pilot. So I would like to contribute something to the org community again. A while back I wrote some elisp code for displaying bitmap icons as overlays in org buffers (screenshots at http://dto.github.com/notebook/linkd.html ) As you can see I also drew a bunch of .xpm icons for emacs to display in the buffers. I would be happy to contribute these icons and rework that 30 or 40 lines of overlay code back into a nice little org extension. After a discussion on the #org-mode IRC channel, it seems like there might be a demand for this. We have at least 2 people who want it. :) What do people think of icons in org buffers? This could actually reduce visual noise and increase comprehension. Think of priorities being colored circles instead of [#A] [#B] [#C]. Or TODO and DONE and CANCELED being represented by different checkboxy icons. ___ 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: tags-tree question
Afternoon all. Last Nov I asked on the list if it was possible to have TODO items with a scheduled/deadline date more than 30 (or some fixed number) of days in the future to NOT show up on my custom agenda. The reason being that I don't want to be distracted when I look at my custom Home list by a task for next January until closer to the time. I have added my original email to the bottom of this in case you have forgotten it! :-) Bernt's reply was: > "Bernt" == Bernt Hansen writes: Bernt> Hi Pete, Bernt> For this do something like the following: Bernt> Set a deadline date on Bernt> *** NEXT Cut pampass grass :DIY: DEADLINE: <2009-01-12 Thu> Bernt> and Bernt> (setq org-agenda-todo-ignore-with-date t) Bernt> This keeps all tasks with a schedules or deadline date out of Bernt> the list of tasks when searching for next tasks and by Bernt> default deadlines show up on the agenda 30 days before they Bernt> need to be done. Bernt> I find I'm using DEADLINE: a lot more then SCHEDULED: in my Bernt> tasks. Bernt> In this case your custom agenda command to match NEXT tasks Bernt> will not list the tasks with dates (ever) and those tasks Bernt> will show up on the agenda 30 days before they need to be Bernt> complete. I couldn't get this to work at the time but have been trying to sort this issue out again over the last few days. Having set: (setq org-agenda-todo-ignore-with-date t) I can see that scheduled items for next January (cutting my pampas grass) are kept out of the pre-configured ^C a t command (list of all TODO entries) - so this does in fact work - my pampas grass entry doesn't show. However, my custom agenda command for Home does show it. (see my orig email below for details on the custom agenda). So it appears to me that there is a difference in how the org-agenda-todo-ignore-with-date variable behaves in the pre-configured TODO list and my custom view. Is there something simple I'm missing or is this a bug ? Cheers Pete --- Pete Phillips writes: Pete> > On a related question, is it possible to set up an Pete> > org-agenda-custom-command to pick out a set of tags, all of which have Pete> > NEXT as a todo-type, and which either have no scheduled date, OR which Pete> > have a scheduled or deadline date less than or equal to 1 month in the Pete> > future. Pete> > Pete> > For example, show lines with Pete> > Pete> > NEXT and (Home | LaptopH | DIY) Pete> > Pete> > where either there is no scheduled (or perhaps, deadline) date OR Pete> > Pete> >Scheduled Date <= today + 1 month Pete> > Pete> > My thinking on this is that sometimes I have next actions (such as Pete> > cutting my pampas grass every january), which would be set up like this: Pete> > Pete> > *** NEXT Cut pampass grass :DIY: Pete> > SCHEDULED: <2009-01-12 Thu> Pete> > Pete> > My current setup uses this: Pete> > Pete> > ("h" "Home Stuff (Next)" Pete> > ((tags "Home//NEXT" nil) Pete> >(tags "DIY//NEXT" nil) Pete> >(tags "LaptopH//NEXT" nil) Pete> > nil) Pete> > Pete> > The problem at the moment is that it shows up all year in my Home Stuff Pete> > (Next) list (which searches for Home|LaptopH|DIY with NEXT todotypes), Pete> > but I only want it to start showing up about a month before the date I Pete> > have decided I need to do it. At the moment, NEXT items which I will Pete> > need to do, but which I can't do anything about until nearer the time, Pete> > clutter up my action lists. Pete> > Pete> > Is there any way to do this ? Bernt> Hi Pete, Bernt> Bernt> For this do something like the following: Bernt> Bernt> Set a deadline date on Bernt> Bernt> *** NEXT Cut pampass grass :DIY: Bernt> DEADLINE: <2009-01-12 Thu> Bernt> Bernt> and Bernt> Bernt> (setq org-agenda-todo-ignore-with-date t) Bernt> Bernt> This keeps all tasks with a schedules or deadline date out of the list Bernt> of tasks when searching for next tasks and by default deadlines show up Bernt> on the agenda 30 days before they need to be done. Bernt> Bernt> I find I'm using DEADLINE: a lot more then SCHEDULED: in my tasks. Bernt> Bernt> In this case your custom agenda command to match NEXT tasks will not Bernt> list the tasks with dates (ever) and those tasks will show up on the Bernt> agenda 30 days before they need to be complete. You can control when Bernt> they show up individually using dates such as Bernt> Bernt> DEADLINE: <2009-01-12 Thu -60d> Bernt> Bernt> This works great for me. Bernt> Bernt> Regards, Bernt> Bernt ___ 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: tags-tree question
Hi Pete, That works for todo list searches only (not tags). There is a new variable org-agenda-tags-todo-honor-ignore-options which you can set which I think does what you are looking for. I have this set to t in my setup. HTH, Bernt Pete Phillips writes: > Afternoon all. > > Last Nov I asked on the list if it was possible to have TODO items with > a scheduled/deadline date more than 30 (or some fixed number) of days in > the future to NOT show up on my custom agenda. The reason being that I > don't want to be distracted when I look at my custom Home list by a task > for next January until closer to the time. I have added my original > email to the bottom of this in case you have forgotten it! :-) > > Bernt's reply was: > >> "Bernt" == Bernt Hansen writes: > > Bernt> Hi Pete, > Bernt> For this do something like the following: > Bernt> Set a deadline date on > > Bernt> *** NEXT Cut pampass grass :DIY: DEADLINE: <2009-01-12 Thu> > > Bernt> and > > Bernt> (setq org-agenda-todo-ignore-with-date t) > > Bernt> This keeps all tasks with a schedules or deadline date out of > Bernt> the list of tasks when searching for next tasks and by > Bernt> default deadlines show up on the agenda 30 days before they > Bernt> need to be done. > > Bernt> I find I'm using DEADLINE: a lot more then SCHEDULED: in my > Bernt> tasks. > > Bernt> In this case your custom agenda command to match NEXT tasks > Bernt> will not list the tasks with dates (ever) and those tasks > Bernt> will show up on the agenda 30 days before they need to be > Bernt> complete. > > I couldn't get this to work at the time but have been trying to sort > this issue out again over the last few days. > > Having set: > >(setq org-agenda-todo-ignore-with-date t) > > I can see that scheduled items for next January (cutting my pampas > grass) are kept out of the pre-configured > > ^C a t > > command (list of all TODO entries) - so this does in fact work - my > pampas grass entry doesn't show. However, my custom agenda command for > Home does show it. > > (see my orig email below for details on the custom agenda). > > So it appears to me that there is a difference in how the > org-agenda-todo-ignore-with-date variable behaves in the pre-configured > TODO list and my custom view. > > Is there something simple I'm missing or is this a bug ? > > Cheers > Pete > --- > > Pete Phillips writes: > > Pete> > On a related question, is it possible to set up an > Pete> > org-agenda-custom-command to pick out a set of tags, all of which > have > Pete> > NEXT as a todo-type, and which either have no scheduled date, OR > which > Pete> > have a scheduled or deadline date less than or equal to 1 month in > the > Pete> > future. > Pete> > > Pete> > For example, show lines with > Pete> > > Pete> > NEXT and (Home | LaptopH | DIY) > Pete> > > Pete> > where either there is no scheduled (or perhaps, deadline) date OR > Pete> > > Pete> > Scheduled Date <= today + 1 month > Pete> > > Pete> > My thinking on this is that sometimes I have next actions (such as > Pete> > cutting my pampas grass every january), which would be set up like > this: > Pete> > > Pete> > *** NEXT Cut pampass grass :DIY: > Pete> > SCHEDULED: <2009-01-12 Thu> > Pete> > > Pete> > My current setup uses this: > Pete> > > Pete> > ("h" "Home Stuff (Next)" > Pete> > ((tags "Home//NEXT" nil) > Pete> >(tags "DIY//NEXT" nil) > Pete> >(tags "LaptopH//NEXT" nil) > Pete> > nil) > Pete> > > Pete> > The problem at the moment is that it shows up all year in my Home > Stuff > Pete> > (Next) list (which searches for Home|LaptopH|DIY with NEXT > todotypes), > Pete> > but I only want it to start showing up about a month before the date > I > Pete> > have decided I need to do it. At the moment, NEXT items which I will > Pete> > need to do, but which I can't do anything about until nearer the > time, > Pete> > clutter up my action lists. > Pete> > > Pete> > Is there any way to do this ? > > Bernt> Hi Pete, > Bernt> > Bernt> For this do something like the following: > Bernt> > Bernt> Set a deadline date on > Bernt> > Bernt> *** NEXT Cut pampass grass :DIY: > Bernt> DEADLINE: <2009-01-12 Thu> > Bernt> > Bernt> and > Bernt> > Bernt> (setq org-agenda-todo-ignore-with-date t) > Bernt> > Bernt> This keeps all tasks with a schedules or deadline date out of the list > Bernt> of tasks when searching for next tasks and by default deadlines show > up > Bernt> on the agenda 30 days before they need to be done. > Bernt> > Bernt> I find I'm using DEADLINE: a lot more then SCHEDULED: in my tasks. > Bernt> > Bernt> In this case your custom agenda command to match NEXT tasks will not > Bernt> list the tasks with dates (ever) and those tasks will show up on the > Bernt> agenda 30 days before they need to be complete. You
[Orgmode] Special symbol table in Worg
Hello, As requested by Carsten, I created a table for special symbols: http://orgmode.org/worg/org-tutorials/org-publish-html-tutorial.php#sec-9 Comments or suggestions are welcome! Best, Xin ___ 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] any use for org-clock.el hooks?
Hello Carsten, I found myself wanting to run actions after I used the clock so I added hooks to the most commonly actions in regards to clocks. In case anyone is curious: I want to display the currently clocked in task in my statusbar, and so I write it to a file and have an inotify script update the statusbar on modification. I used to do this via defadvice, but hooks seem cleaner and maybe someone else wants to do something similar. Carsten, if you think that not everything deserves a hook I won't have any hard feelings if you don't apply it. :-) br, benny diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 97eb4c6..0922b49 100755 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,14 @@ +2009-06-21 Carsten Dominik + + * org-clock.el (org-clock-in-hook): New hook. + (org-clock-in): Run `org-clock-in-hook. + (org-clock-out-hook): New hook. + (org-clock-out): Run `org-clock-out-hook. + (org-clock-cancel-hook): New hook. + (org-clock-cancel): Run `org-clock-cancel-hook. + (org-clock-goto-hook): New hook. + (org-clock-goto): Run `org-clock-goto-hook. + 2009-06-20 Carsten Dominik * org.el (org-store-link): Better default description for link to diff --git a/lisp/org-clock.el b/lisp/org-clock.el index 780ad3f..2ae56a7 100644 --- a/lisp/org-clock.el +++ b/lisp/org-clock.el @@ -452,6 +452,8 @@ Use alsa's aplay tool if available." (= 0 (call-process "which" nil nil nil program-name)) )) +(defvar org-clock-in-hook nil + "Hook run when starting the clock.") (defvar org-clock-mode-line-entry nil "Information for the modeline about the running clock.") @@ -571,7 +573,8 @@ the clocking selection, associated with the letter `d'." (org-clock-update-mode-line) (setq org-clock-mode-line-timer (run-with-timer 60 60 'org-clock-update-mode-line)) - (message "Clock starts at %s - %s" ts msg-extra))) + (message "Clock starts at %s - %s" ts msg-extra) +(run-hooks 'org-clock-in-hook))) (defun org-clock-mark-default-task () "Mark current task as default task." @@ -701,6 +704,9 @@ line and position cursor in that line." (and (re-search-forward org-property-end-re nil t) (goto-char (match-beginning 0 +(defvar org-clock-out-hook nil + "Hook run when stopping the current clock.") + (defun org-clock-out (&optional fail-quietly) "Stop the currently running clock. If there is no running clock, throw an error, unless FAIL-QUIETLY is set." @@ -762,7 +768,11 @@ If there is no running clock, throw an error, unless FAIL-QUIETLY is set." (org-todo org-clock-out-switch-to-state)) (force-mode-line-update) (message (concat "Clock stopped at %s after HH:MM = " org-time-clocksum-format "%s") te h m - (if remove " => LINE REMOVED" ""))) + (if remove " => LINE REMOVED" "")) + (run-hooks 'org-clock-out-hook)) + +(defvar org-clock-cancel-hook nil + "Hook run when cancelling the current clock.") (defun org-clock-cancel () "Cancel the running clock be removing the start timestamp." @@ -776,7 +786,11 @@ If there is no running clock, throw an error, unless FAIL-QUIETLY is set." (setq global-mode-string (delq 'org-mode-line-string global-mode-string)) (force-mode-line-update) - (message "Clock canceled")) + (message "Clock canceled") + (run-hooks 'org-clock-cancel-hook)) + +(defvar org-clock-goto-hook nil + "Hook run when selecting the currently clocked-in entry.") (defun org-clock-goto (&optional select) "Go to the currently clocked-in entry, or to the most recently clocked one. @@ -802,7 +816,8 @@ With prefix arg SELECT, offer recently clocked tasks for selection." (org-cycle-hide-drawers 'children) (recenter) (if recent - (message "No running clock, this is the most recently clocked task" + (message "No running clock, this is the most recently clocked task")) +(run-hooks 'org-clock-goto-hook))) (defvar org-clock-file-total-minutes nil ___ 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] any use for org-clock.el hooks?
Hi Benjamin, I have no problems adding hooks wherever anyone can use one. If you have good use cases, write them up and put them up on Worg or simply describe them here on the list. I have applied your patch, thanks. - Carsten On Jun 21, 2009, at 5:00 PM, Benjamin Andresen wrote: Hello Carsten, I found myself wanting to run actions after I used the clock so I added hooks to the most commonly actions in regards to clocks. In case anyone is curious: I want to display the currently clocked in task in my statusbar, and so I write it to a file and have an inotify script update the statusbar on modification. I used to do this via defadvice, but hooks seem cleaner and maybe someone else wants to do something similar. Carsten, if you think that not everything deserves a hook I won't have any hard feelings if you don't apply it. :-) br, benny diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 97eb4c6..0922b49 100755 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,14 @@ +2009-06-21 Carsten Dominik + + * org-clock.el (org-clock-in-hook): New hook. + (org-clock-in): Run `org-clock-in-hook. + (org-clock-out-hook): New hook. + (org-clock-out): Run `org-clock-out-hook. + (org-clock-cancel-hook): New hook. + (org-clock-cancel): Run `org-clock-cancel-hook. + (org-clock-goto-hook): New hook. + (org-clock-goto): Run `org-clock-goto-hook. + 2009-06-20 Carsten Dominik * org.el (org-store-link): Better default description for link to diff --git a/lisp/org-clock.el b/lisp/org-clock.el index 780ad3f..2ae56a7 100644 --- a/lisp/org-clock.el +++ b/lisp/org-clock.el @@ -452,6 +452,8 @@ Use alsa's aplay tool if available." (= 0 (call-process "which" nil nil nil program-name)) )) +(defvar org-clock-in-hook nil + "Hook run when starting the clock.") (defvar org-clock-mode-line-entry nil "Information for the modeline about the running clock.") @@ -571,7 +573,8 @@ the clocking selection, associated with the letter `d'." (org-clock-update-mode-line) (setq org-clock-mode-line-timer (run-with-timer 60 60 'org-clock-update-mode-line)) - (message "Clock starts at %s - %s" ts msg-extra))) + (message "Clock starts at %s - %s" ts msg-extra) +(run-hooks 'org-clock-in-hook))) (defun org-clock-mark-default-task () "Mark current task as default task." @@ -701,6 +704,9 @@ line and position cursor in that line." (and (re-search-forward org-property-end-re nil t) (goto-char (match-beginning 0 +(defvar org-clock-out-hook nil + "Hook run when stopping the current clock.") + (defun org-clock-out (&optional fail-quietly) "Stop the currently running clock. If there is no running clock, throw an error, unless FAIL-QUIETLY is set." @@ -762,7 +768,11 @@ If there is no running clock, throw an error, unless FAIL-QUIETLY is set." (org-todo org-clock-out-switch-to-state)) (force-mode-line-update) (message (concat "Clock stopped at %s after HH:MM = " org-time- clocksum-format "%s") te h m - (if remove " => LINE REMOVED" ""))) + (if remove " => LINE REMOVED" "")) + (run-hooks 'org-clock-out-hook)) + +(defvar org-clock-cancel-hook nil + "Hook run when cancelling the current clock.") (defun org-clock-cancel () "Cancel the running clock be removing the start timestamp." @@ -776,7 +786,11 @@ If there is no running clock, throw an error, unless FAIL-QUIETLY is set." (setq global-mode-string (delq 'org-mode-line-string global-mode-string)) (force-mode-line-update) - (message "Clock canceled")) + (message "Clock canceled") + (run-hooks 'org-clock-cancel-hook)) + +(defvar org-clock-goto-hook nil + "Hook run when selecting the currently clocked-in entry.") (defun org-clock-goto (&optional select) "Go to the currently clocked-in entry, or to the most recently clocked one. @@ -802,7 +816,8 @@ With prefix arg SELECT, offer recently clocked tasks for selection." (org-cycle-hide-drawers 'children) (recenter) (if recent - (message "No running clock, this is the most recently clocked task" + (message "No running clock, this is the most recently clocked task")) +(run-hooks 'org-clock-goto-hook))) (defvar org-clock-file-total-minutes nil ___ 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] Special symbol table in Worg
Ah, I had thought you might have forgotten. Thanks! I would like to know from you if there were any symbols with problems, for example only working in HTML but on in LaTeX and vice versa... - Carsten On Jun 21, 2009, at 4:28 PM, Xin Shi wrote: Hello, As requested by Carsten, I created a table for special symbols: http://orgmode.org/worg/org-tutorials/org-publish-html-tutorial.php#sec-9 Comments or suggestions are welcome! Best, Xin ___ 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] Special symbol table in Worg
Hi Carsten, It's hard for one to forget a certain task once registered on his/her org file ;) Learning git and how to publish on Worg took me some time. As you can see from the webpage, most of the symbols are OK. I guess the symbols displayed as blank might have some problem, people with more experience with (X)HTML might have solutions. I haven't used the LaTeX export yet, but I'll let you know once I have questions there. Thanks! Xin On Sun, Jun 21, 2009 at 11:30 AM, Carsten Dominik wrote: > Ah, I had thought you might have forgotten. > > Thanks! > > > I would like to know from you if there were any symbols with > problems, for example only working in HTML but on in LaTeX > and vice versa... > > - Carsten > > On Jun 21, 2009, at 4:28 PM, Xin Shi wrote: > > Hello, >> >> As requested by Carsten, I created a table for special symbols: >> >> http://orgmode.org/worg/org-tutorials/org-publish-html-tutorial.php#sec-9 >> >> Comments or suggestions are welcome! >> >> Best, >> Xin >> >> ___ >> 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
[Orgmode] Emacs trunk is now open for development
Hi Carsten, It is exciting to know that Emacs trunk is now open for new development. So the version of orgmode can now be synced to the latest stable release. ,[ Yidong Chong ] | The trunk is now open for all non-regression bugfixes. New features can | also be added to the trunk, but please discuss on emacs-devel first. ` Best wishes, Leo -- Leo's Emacs uptime: 11 days, 2 hours, 26 minutes, 44 seconds ___ 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] table refresh: when should the buffer be marked modified?
I was not able to find a description about buffer modification after a table refresh. When a table gets a refresh like after C-c C-c or moving around with Tab the buffer is marked modified also when no change for realignment of the table grid is necessary. Is this an implementation limitation for simplification? If yes my vote for which of the features to be next would be that during a table refresh there is a check if an automatic realignment changed the table grid. If the buffer's file does not need an update I would like the buffer to remain not modified. Beside other advantages it would make it possible to narrow columns in read-only buffers which are not narrowed before for any reason and I am not sure if it would eventually help me with multiple undo in tables which confused me sometimes. My opposite finding is that - interestingly only with org-startup-align-all-tables t ! - when I open a file with a misaligned table not in org-mode and then invoke org-mode the table gets aligned but the buffer does not get modified. I expected it modified, org-mode version is 6.27a. ___ 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] pretty icons in org buffers
Hi David, "David O'Toole" writes: > What do people think of icons in org buffers? This could actually reduce > visual noise and increase comprehension. Think of priorities being colored > circles instead of [#A] [#B] [#C]. Or TODO and DONE and CANCELED being > represented by different checkboxy icons. I think I'm not a big fan of mixing text and images, but it's good to see you back in Org :) I guess many people don't feel like me and would be happy to try it. Please let us know. If you want to send me a screenshot of an org-mode buffer with .xpm icons, I'd happily add it to the screenshots page here: http://orgmode.org/worg/org-screenshots.php Thanks! -- 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
[Orgmode] pretty icons in org buffers
David O'Toole writes: > What do people think of icons in org buffers? This could actually reduce My own bias is less towards icons and more towards text. Sorry. Obviously I don't mind at all if others like icons! ;-) Out of curiousity, does the use of icons require Emacs to be running in a windowing system? I often use Emacs directly on the console (via screen). eric ___ 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] Inline images in latex
I am not able to get the inline images including in the exported latex output. The raw latex contains an \href{}{} instead of \includegraphics. I have verified that pdflatex is the latex to pdf process and the the appropriate image file extensions are in the org-export-latex-inline-image-extensions. I am at a loss and would find this feature very convenient. I am presently using two work arounds, including the raw latex in the org file or a post processing script to convert the href's to includegraphics. I'm using org 6.27a and I have the same issue on three linux computers running different emacs versions. So I think it has to do with how I am invoking "org". It must be something obvious, but I can't find the problem. Thanks in advancedand below is my .emacs file, Arne ;; (set-default-font "-adobe-courier-bold-r-normal--18-180-75-75-m-110-iso8859-1") ;;(set-default-font "-adobe-courier-bold-r-normal--14-140-75-75-m-90-iso8859-1") ;; get rid of the toolbar on top of the window (tool-bar-mode 0) ; load special stuff (add-to-list 'load-path "/usr/local/share/emacs/site-lisp") (add-to-list 'load-path "~/tasks/eeepc/site-lisp") (add-to-list 'load-path "~/tasks/eeepc/site-lisp/remember") ;;(add-to-list 'load-path "/usr/share/emacs21/site-lisp/emacs-goodies-el") (setq max-specpdl-size '10) ; special modes for elegant (require 'elegant-lattice-mode) (require 'elegant-control-mode) ; load csv-mode (require 'csv-mode) ; load iimage (require 'iimage) ; load remember (require 'org-install) (require 'remember) (require 'vc-git) (when (featurep 'vc-git) (add-to-list 'vc-handled-backends 'git)) (require 'git) ;;bbdb stuff (require 'bbdb) (bbdb-initialize 'gnus 'message 'sc 'w3) ;; external editor for thunderbird (require 'tbemail) (add-hook 'tbemail-mode-hook 'flyspell-mode) (add-hook 'tbemail-mode-hook 'auto-fill-mode) ;; autoload (autoload 'git-blame-mode "git-blame" "Minor mode for incremental blame for Git." t) (autoload 'flyspell-mode "flyspell" "On-the-fly spelling checker." t) (autoload 'iimage-mode "iimage" "Support Inline image minor mode." t) (autoload 'turn-on-iimage-mode "iimage" "Turn on Inline image minor mode." t) ; ;;flyspell on certain mods (add-hook 'latex-mode-hook 'flyspell-mode) (add-hook 'text-mode-hook 'flyspell-mode) (add-hook 'text-mode-hook 'auto-fill-mode) (add-hook 'text-mode-hook 'turn-on-orgstruct) (add-hook 'diary-mode-hook 'turn-on-orgtbl) ;;(add-hook 'diary-mode-hook 'turn-on-orgstruct) (add-hook 'diary-mode-hook 'flyspell-mode) (add-hook 'diary-mode-hook 'auto-fill-mode) (add-hook 'diary-display-hook 'fancy-diary-display) ;; The following lines are always needed. Choose your own keys. (add-to-list 'auto-mode-alist '("\\.org\\'" . org-mode)) (global-set-key "\C-cl" 'org-store-link) (global-set-key "\C-ca" 'org-agenda) (global-font-lock-mode 1) ; for all buffers (add-hook 'org-mode-hook 'turn-on-font-lock) ; org-mode buffers only (add-hook 'org-mode-hook 'flyspell-mode) ; autospell check (add-hook 'org-mode-hook 'iimage-mode); iimage mode ;; This line only if org-mode is not part of the X/Emacs distribution. ;;(require 'org-install) (custom-set-variables ;; custom-set-variables was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. '(LaTeX-command "pdfltex") '(auto-save-interval 3000) '(case-fold-search t) '(csv-separators (quote (" " ","))) '(current-language-environment "UTF-8") '(default-input-method "rfc1345") '(global-font-lock-mode t nil (font-lock)) '(inhibit-startup-screen t) '(org-agenda-files (quote ("/home/user/tasks/journal.org" "/home/user/tasks/meetings.org" "/home/user/tasks/ahla/RF_heat_AUG29.org" "/home/user/tasks/leaders/abandoned_projects.org" "/home/user/tasks/leaders/leaders_weekly.org" "/home/user/tasks/leaders/leaders_weekly_FY08.org" "/home/user/tasks/bteam/bteam_weekly.org"))) '(org-export-latex-classes (quote (("article" "\\documentclass[11pt,letter]{article} \\usepackage{inputenc} \\usepackage[T1]{fontenc} \\usepackage{graphicx} \\usepackage{hyperref}" ("\\section{%s}" . "\\section*{%s}") ("\\subsection{%s}" . "\\subsection*{%s}") ("\\subsubsection{%s}" . "\\subsubsection*{%s}") ("\\paragraph{%s}" . "\\paragraph*{%s}") ("\\subparagraph{%s}" . "\\subparagraph*{%s}")) ("report" "\\documentclass[11pt,letter]{report} \\usepackage{inputenc} \\usepackage[T1]{fontenc} \\usepackage{graphicx} \\usepackage{hyperref}" ("\\part{%s}" . "\\part*{%s}") ("\\chapter{%s}" . "\\chapter*{%s}") ("\\section{%s}" . "\\section*{%s}") ("\\subsection{%s}" . "\\subsection*{%s}") ("\\subsubsection{%s}" . "\\subsubsection*{%s}")) ("book" "\\documentclass[11pt,letter]{book} \\usepackage{inputenc} \\usepackage[T1]{fontenc} \\usepackage{graphicx} \\usepackage{hyperref}"
Re: [Orgmode] error starting the agenda with stuck projects enabled
> I am unable to reproduce this problem. It might already help if you produce > the backtrace with uncompiled code as described here: That is what I did... (as mentioned in the mail) >> I used the uncompiled version of org-mode (C-u M-x org-reload) Eraldo ___ 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-hook not started on auto-mode-alist
In deed it is weird... Thumper tried to help me but ran out of ideas as well. Greetings, Eraldo ___ 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] pretty icons in org buffers
Eric S Fraga , Eric S Fraga writes: > Out of curiousity, does the use of icons require Emacs to be running > in a windowing system? AFAIK it does. -- 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
[Orgmode] org-shifmetadown/up are slow
I frequently rearrange headlines with org-shiftmetadown/up. It is faster (in the human sense) than kill and yank or refile if the place I want to put them is underneath a sibling. However, it is sometimes slow, taking a second or two per command. This occurs when there are large trees around. Is this something that can be sped up, or is that impossible? Here is a profile generated with mostly medium-sized trees (I will have about thrice that size in some cases) in case it helps. I did elp-insrument package org then a bunch of the relevant operations then elp-results. Please tell me if there are better ways to profile. Thanks. Function Name Call Count Elapsed Time Average Time == org-move-subtree-down 26 14.905667 0.5732948846 org-compact-display-after-subtree-move26 13.594199000 0.5228538076 org-shiftmetaup 13 8.523098 0.6556229230 org-move-subtree-up 13 8.518649 0.6552806923 org-shiftmetadown 13 6.39124 0.4916338461 org-outline-level 215586 2.851335 1.322...e-05 org-cycle 2 1.302404 0.651202 org-cycle-internal-local 2 1.301338 0.650669 org-cycle-hide-drawers54 1.295570 0.0239920370 org-shiftmetaright2 0.694777 0.3473885 org-flag-drawer 4154 0.562664 0.0001354511 org-up-heading-safe 52 0.543978 0.0104611153 org-end-of-subtree70 0.322521 0.0046074428 org-show-empty-lines-in-parent26 0.280831 0.0108011923 org-map-tree 4 0.169852 0.042463 org-demote-subtree2 0.086123 0.0430615 org-shiftmetaleft 2 0.08543 0.042715 org-promote-subtree 2 0.084803 0.0424015 org-set-tags 360 0.084661 0.0002351722 org-demote180 0.075852 0.0004214055 org-promote 180 0.073965 0.0004109166 org-get-tags-string 360 0.024398 6.7775e-05 org-move-to-column360 0.021485 5.968...e-05 org-optimize-window-after-visibility-change 2 0.017915 0.0089575 org-subtree-end-visible-p 1 0.017782 0.017782 org-cycle-hide-archived-subtrees 2 0.01267 0.006335 org-get-string-indentation2187 0.011260 5.148...e-06 org-on-heading-p 390 0.011237 2.881...e-05 org-activate-tags 122 0.010786 8.840...e-05 org-back-to-heading 543 0.009370 1.725...e-05 org-cycle-show-empty-lines54 0.007597 0.0001407037 org-back-over-empty-lines 91 0.007464 8.202...e-05 org-first-sibling-p 26 0.007216 0.0002775769 org-do-emphasis-faces 73 0.007172 9.824...e-05 org-activate-footnote-links 71 0.005473 7.709...e-05 org-at-table-p32 0.005178 0.0001618125 org-activate-plain-links 113 0.004861 4.302...e-05 org-fontify-meta-lines-and-blocks 71 0.004194 5.908...e-05 org-show-entry27 0.004002 0.000148 org-activate-dates112 0.003513 3.1375e-05 org-font-lock-add-tag-faces 71 0.003265 4.598...e-05 org-save-markers-in-region26 0.002781 0.0001069615 org-activate-bracket-links83 0.002632 3.171...e-05 org-unfontify-region 71 0.002048 2.885...e-05 org
[Orgmode] Re: org-shifmetadown/up are slow
I should mention that I often autorepeat them. This also causes jumpy behavior due to display algorithms. ___ 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] Moon phases
I have enabled the inclusion of astronomical information in my agenda displays, using Diary.org, including the following: #%%(diary-astro-day-number) %%(diary-phases-of-moon) #%%(diary-sunrise-sunset) I commented out the first and last, as the clutter is unacceptable to me. However, I realliy need to keep the phases of the moon. Tomorrow is the new moon. Due to time of day of the New Moon, it might actually be tonight. And I'd like to be notified in advance, a day or two, and it would be interesting, for similar reasons to have notice in my agenda of New Moons and Full Moons a day or two passed. In fact, I really need to know how many days past New Moon it is today, as I am watching out for spawning of corals. Can anyone suggest how I can do this? Alan "...can the human soul be glimpsed through a microscope? Maybe, but you'd definitely need one of those very good ones with two eyepieces." -- Woody Allen, quoted by B. A. Palevitz ___ 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] a few suggestions for org-mode table
On Jun 19, 2009, at 5:29 PM, Michael Brand wrote: 2) One could like to have configurable left/right alignment, even combinable with column width, e. g. | || | 3.14 | 0x10 | | 3.141592=> | 0x32 0x10 | This is now implemented, thanks for the nice idea. 3) One could like to have decimal point alignment | 432.10 | | 5'432.1 | Implementing this into the current system would be significant work. As an alternative, try a formula to that maps a column onto itself, with a format specifier: $2=$2;f.3 or something like this.. - 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] error starting the agenda with stuck projects enabled
On Jun 21, 2009, at 10:39 PM, Eraldo Helal wrote: I am unable to reproduce this problem. It might already help if you produce the backtrace with uncompiled code as described here: That is what I did... (as mentioned in the mail) I used the uncompiled version of org-mode (C-u M-x org-reload) The backtrace does not look as if you did... I cannot reproduce this problem, so I cannot do anything about it. - 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] table refresh: when should the buffer be marked modified?
On Jun 21, 2009, at 11:34 AM, Michael Brand wrote: I was not able to find a description about buffer modification after a table refresh. A table refresh always *does* modify the buffer, even if the resulting buffer is the same. You have observed correctly that I am by-passing this when aligning all tables on startup, but I don't think I want to check this each time a table is being aligned, this would cause overhead. If you really want this, you could use advice on org-table-align, temporarily binding inhibit-read-only, storing the value of buffer-modified-flag, doing the alignment and then restoring the value of buffer-modified-flag. SOmething like (let ((inhibit-read-only t)) (org-unmodified ad-do-it) . What are the practical situations when you are reading read-only files in Org-mode? Maybe you can change this? HTH - Carsten When a table gets a refresh like after C-c C-c or moving around with Tab the buffer is marked modified also when no change for realignment of the table grid is necessary. Is this an implementation limitation for simplification? If yes my vote for which of the features to be next would be that during a table refresh there is a check if an automatic realignment changed the table grid. If the buffer's file does not need an update I would like the buffer to remain not modified. Beside other advantages it would make it possible to narrow columns in read-only buffers which are not narrowed before for any reason and I am not sure if it would eventually help me with multiple undo in tables which confused me sometimes. My opposite finding is that - interestingly only with org-startup- align-all-tables t ! - when I open a file with a misaligned table not in org-mode and then invoke org-mode the table gets aligned but the buffer does not get modified. I expected it modified, org-mode version is 6.27a. ___ 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-shifmetadown/up are slow
On Jun 22, 2009, at 5:31 AM, Samuel Wales wrote: I frequently rearrange headlines with org-shiftmetadown/up. It is faster (in the human sense) than kill and yank or refile if the place I want to put them is underneath a sibling. However, it is sometimes slow, taking a second or two per command. This occurs when there are large trees around. Is this something that can be sped up, or is that impossible? Here is a profile generated with mostly medium-sized trees (I will have about thrice that size in some cases) in case it helps. I did elp-insrument package org then a bunch of the relevant operations then elp-results. Please tell me if there are better ways to profile. Hi Sam, could you please re-run these tests, and instrument for elp not only org, but also the entire outline package? Seems to me that much of this time is spent in a non-org function. On Jun 22, 2009, at 5:35 AM, Samuel Wales wrote: I should mention that I often autorepeat them. This also causes jumpy behavior due to display algorithms. What do you mean by "autorepeat" them? - Carsten Thanks. Function Name Call Count Elapsed Time Average Time == org-move-subtree-down 26 14.905667 0.5732948846 org-compact-display-after-subtree-move26 13.594199000 0.5228538076 org-shiftmetaup 13 8.523098 0.6556229230 org-move-subtree-up 13 8.518649 0.6552806923 org-shiftmetadown 13 6.39124 0.4916338461 org-outline-level 215586 2.851335 1.322...e-05 org-cycle 2 1.302404 0.651202 org-cycle-internal-local 2 1.301338 0.650669 org-cycle-hide-drawers54 1.295570 0.0239920370 org-shiftmetaright2 0.694777 0.3473885 org-flag-drawer 4154 0.562664 0.0001354511 org-up-heading-safe 52 0.543978 0.0104611153 org-end-of-subtree70 0.322521 0.0046074428 org-show-empty-lines-in-parent26 0.280831 0.0108011923 org-map-tree 4 0.169852 0.042463 org-demote-subtree2 0.086123 0.0430615 org-shiftmetaleft 2 0.08543 0.042715 org-promote-subtree 2 0.084803 0.0424015 org-set-tags 360 0.084661 0.0002351722 org-demote180 0.075852 0.0004214055 org-promote 180 0.073965 0.0004109166 org-get-tags-string 360 0.024398 6.7775e-05 org-move-to-column360 0.021485 5.968...e-05 org-optimize-window-after-visibility-change 2 0.017915 0.0089575 org-subtree-end-visible-p 1 0.017782 0.017782 org-cycle-hide-archived-subtrees 2 0.01267 0.006335 org-get-string-indentation2187 0.011260 5.148...e-06 org-on-heading-p 390 0.011237 2.881...e-05 org-activate-tags 122 0.010786 8.840...e-05 org-back-to-heading 543 0.009370 1.725...e-05 org-cycle-show-empty-lines54 0.007597 0.0001407037 org-back-over-empty-lines 91 0.007464 8.202...e-05 org-first-sibling-p 26 0.007216 0.0002775769 org-do-emphasis-faces 73 0.007172 9.824...e-05 org-activate-footnote-links 71 0.005473 7.709...e-05 org-at-table-p32 0.005178 0.0001618125 org-activate-plain-links 113 0.004861 4.302...e-05 org-fontify-meta-lines-and-blocks 71 0.004194 5.908...e-05 org-show-entry27 0.004002 0.000148 org-activate-dates112 0.003513 3.1375e-05 org-
Re: [Orgmode] FR: Ability to override the header in custom stuck projects view
On Jun 18, 2009, at 4:49 PM, Nicolas Girard wrote: Hi, stuck projects views can be used for many things beyond their initial purpose. It would be nice to be able to override the header when building a custom view -- currently it is set to "List of stuck projects: ". `org-agenda-overriding-header' is now also honored by the stuck project list. Thanks. - Carsten Many thanks in advance, Nicolas ___ 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