[Orgmode] timestamp the waiting state
Hi! I am quite the orgmode newbie and have a question about how to insert a timestamp, like org-log-done, when switching something to the WAITING state. yours, /robert -- ROBERT ANDERSSON, Systems Engineer Swedish National Graduate School of Language Technology Department of Philosophy, Linguistics, and Theory of Science UNIVERSITY OF GOTHENBURG Phone +46 (0)31 786 5915 | Mobile +46 (0)733 339699 ___ 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] timestamp the waiting state
On Tue, Feb 17, 2009 at 3:14 PM, Robert Andersson wrote: > Hi! > > I am quite the orgmode newbie and have a question about how to insert > a timestamp, like org-log-done, when switching something to the > WAITING state. "Tracking TODO state changes" in the relevant section in the Org manual. HTH -- Manish ___ 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] Error When Publishing a Single File
This has been happening for a while. I suspect it's something in my settings, but I can't work out what. When I publish a single file, I get the following error: Debugger entered--Lisp error: (wrong-type-argument arrayp nil) file-truename(nil) org-publish-file("/home/ian/nfs/firewall/Documents/org/holiday/holiday.org") byte-code("? org-publish-current-file(nil) call-interactively(org-publish-current-file) org-export(nil) call-interactively(org-export) Publishing a whole project works fine. This is the relevant bit of my .emacs: (require 'org-publish) (setq org-publish-project-alist '( ;; ... add all the components here (see below)... ("org-notes" :base-directory "~/nfs/firewall/Documents/org/" :base-extension "org" :publishing-directory "~/nfs/firewall/public_html/org/" :recursive t :publishing-function org-publish-org-to-html :headline-levels 4 ; Just the default for this project. :auto-preamble t :auto-index t :index-filename "sitemap.org" :index-title "Sitemap" ) ("org-static" :base-directory "~/nfs/firewall/Documents/org/" :base-extension "css\\|js\\|png\\|jpg\\|gif\\|pdf\\|mp3\\|ogg\\|swf" :publishing-directory "~/nfs/firewall/public_html/org/" :recursive t :publishing-function org-publish-attachment) ("org" :components ("org-notes" "org-static")) )) ___ 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 When Publishing a Single File
Ian Barton writes: > This has been happening for a while. I suspect it's something in my settings, > but I can't work out what. When I publish a single file, I get the following > error: Since this feature is prone to error, I'd suggest to drop it entirely. I never use it here. Instead, I'd suggest to change the publishing feature as follows: a) The index file generation takes quite a long time. As for me , this is the only reason to keep this single page publishing. So why not just generate the index file, if _new_ (as opposed to changed) files are found in the project? Otherwise ask. b) Interactive publishing Some times it might be desirable to not publish all changes at once (e.g. do not publish unfinished changes). The publishing mechanism could ask for every file. This could be bound to `C-u C-e P' or `C-c C-e i' for example. c) Is it possible to extend the publising-timestamp mechanism to exported blocks? E.g. ditaa images take quite some time to generate. That way, publishing a project is much faster and single files could be published as needed. Time used for publishing would decrease to something like 10% here (lot's of ditaa images and 59 files). What do think? -- Sebastian Rose, EMMA STIL - mediendesign, Niemeyerstr.6, 30449 Hannover Tel.: +49 (0)511 - 36 58 472 Fax: +49 (0)1805 - 233633 - 11044 mobil: +49 (0)173 - 83 93 417 Http: www.emma-stil.de ___ 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] Suppress linkification of external links possible?
Hi all, just a quick question: Is it possible to suppress the automagical linkification of external links? I have a document here for tutorial purposes which is cluttered with invalid addresses like 'http://gateway.example.org'. Linkification of those addresses is rather disturbing. Ulf ___ 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] Suppress linkification of external links possible?
--- Mar 17/2/09, Ulf Stegemann ha scritto: > just a quick question: Is it possible to suppress the > automagical > linkification of external links? I have a document here for > tutorial > purposes which is cluttered with invalid addresses like > 'http://gateway.example.org'. Linkification of > those addresses is rather disturbing. You can write: 1. [[ ][http://gateway.example.org]] ^^^ please note the space here when converted it should refer to http://your-server/yourfile# 2. use valid addresses ;-) I think that automagially *not* converting will be disturbing ;-) Moreover, how can the exporter engine know what are the correct and the incorrect addresses? Perhaps we could write the uncorrect addresses as: +http://gateway.example.org so the exporter "knows" that such links are to be exported litterarly dropping the "+" Giovanni Passa a Yahoo! Mail. La webmail che ti offre GRATIS spazio illimitato, antispam e messenger integrato. http://it.mail..yahoo.com/ ___ 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] Suppress linkification of external links possible?
Hi Ulf, Ulf Stegemann writes: > Hi all, > > just a quick question: Is it possible to suppress the automagical > linkification of external links? I have a document here for tutorial > purposes which is cluttered with invalid addresses like > 'http://gateway.example.org'. Linkification of those addresses is rather > disturbing. You can customize the variable org-activate-links and remove "plain" from the list. Regards, Matt ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Error When Publishing a Single File
Hi Ian, I can confirm the same error when calling org-publish-current-file with the following configuration: (setq org-publish-project-alist '( ("org-notes" :base-directory "~/mystuff/website/" :base-extension "org" :publishing-directory "/ssh:[url:/path/to/webpage]" :section-numbers nil :email "Matthew.Lundin@valpo.edu" :publishing-function org-publish-org-to-html :table-of-contents nil ;; :auto-index t ;; :index-filename "pagelist.org" ;; :index-title "Page List" :recursive t :style "" ;;:style-include-default nil :preamble " Home | Site Map Matthew Lundin " :postamble " " ) ("org-static" :base-directory "~/mystuff/website/" :publishing-directory "/ssh:[url:/path/to/webpage/]" :recursive t :base-extension "css\\|js\\|png\\|jpg\\|gif\\|pdf\\|mp3\\|ogg\\|swf" :publishing-function org-publish-attachment ) ("org" :components ("org-notes" "org-static")) )) Best, Matt ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Suppress linkification of external links possible?
Hi Ulf, a dirty hackish aproach: (defun sr-no-link (href) "Links, that are no links" "#") (setq org-link-abbrev-alist '(("man" . "http://localhost/devel/man.php?q=man&what=%s";) ;; ... many more ... ("dummy" . sr-no-link)) [[dummy:][http://gateway.example.org]] It's still displayed as link then, but the browsers do nothing ;-) Regards, Sebastian Ulf Stegemann writes: > Hi all, > > just a quick question: Is it possible to suppress the automagical > linkification of external links? I have a document here for tutorial > purposes which is cluttered with invalid addresses like > 'http://gateway.example.org'. Linkification of those addresses is rather > disturbing. > > Ulf > > > > ___ > 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 > -- Sebastian Rose, EMMA STIL - mediendesign, Niemeyerstr.6, 30449 Hannover Tel.: +49 (0)511 - 36 58 472 Fax: +49 (0)1805 - 233633 - 11044 mobil: +49 (0)173 - 83 93 417 Email: s.r...@emma-stil.de, sebastian_r...@gmx.de Http: www.emma-stil.de ___ 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] Suppress linkification of external links possible?
Matthew Lundin writes: > Hi Ulf, > > Ulf Stegemann writes: > >> Hi all, >> >> just a quick question: Is it possible to suppress the automagical >> linkification of external links? I have a document here for tutorial >> purposes which is cluttered with invalid addresses like >> 'http://gateway.example.org'. Linkification of those addresses is rather >> disturbing. > > You can customize the variable org-activate-links and remove "plain" > from the list. Hihi - it's that simple :-D And I'm trying to ... oh please, ignore my answers in this thread :) -- Sebastian Rose, EMMA STIL - mediendesign, Niemeyerstr.6, 30449 Hannover Tel.: +49 (0)511 - 36 58 472 Fax: +49 (0)1805 - 233633 - 11044 mobil: +49 (0)173 - 83 93 417 Http: www.emma-stil.de ___ 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 When Publishing a Single File
Ian Barton writes: This has been happening for a while. I suspect it's something in my settings, but I can't work out what. When I publish a single file, I get the following error: Since this feature is prone to error, I'd suggest to drop it entirely. I never use it here. Instead, I'd suggest to change the publishing feature as follows: a) The index file generation takes quite a long time. As for me , this is the only reason to keep this single page publishing. So why not just generate the index file, if _new_ (as opposed to changed) files are found in the project? Otherwise ask. b) Interactive publishing Some times it might be desirable to not publish all changes at once (e.g. do not publish unfinished changes). The publishing mechanism could ask for every file. This could be bound to `C-u C-e P' or `C-c C-e i' for example. c) Is it possible to extend the publising-timestamp mechanism to exported blocks? E.g. ditaa images take quite some time to generate. I too would be happy if something like this could be implemented. Like Sebastian I only use the single file feature to save time. Ian. ___ 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] Suppress linkification of external links possible?
Haha, this works too: [[#][http://test.org]] :) Ulf Stegemann writes: > Hi all, > > just a quick question: Is it possible to suppress the automagical > linkification of external links? I have a document here for tutorial > purposes which is cluttered with invalid addresses like > 'http://gateway.example.org'. Linkification of those addresses is rather > disturbing. > > Ulf > > > > ___ > 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 > -- Sebastian Rose, EMMA STIL - mediendesign, Niemeyerstr.6, 30449 Hannover Tel.: +49 (0)511 - 36 58 472 Fax: +49 (0)1805 - 233633 - 11044 mobil: +49 (0)173 - 83 93 417 Email: s.r...@emma-stil.de, sebastian_r...@gmx.de Http: www.emma-stil.de ___ 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: Suppress linkification of external links possible?
Thank you for all the quick responses :) Unfortunately, none of the proposed solutions really applies to the problem I have (That's however entirely my fault, I should have made things a bit clearer.). The workarounds (except for one) concentrate on making a link caused by a literal invalid address to become a valid link. However, what I like to achieve is some sort of escaping that prevents org-mode from generating a link at all (especially for HTML exporting). Giovanni Ridolfi wrote: > You can write: > > 1. [[ ][http://gateway.example.org]] > ^^^ please note the space here >when converted it should refer to >http://your-server/yourfile# Works, but still creates a link. > 2. use valid addresses ;-) Unfortunately, this isn't an option. Sebastian Rose wrote: > a dirty hackish aproach: > > (defun sr-no-link (href) > "Links, that are no links" > "#") > > (setq org-link-abbrev-alist >'(("man" . "http://localhost/devel/man.php?q=man&what=%s";) > ;; ... many more ... > ("dummy" . sr-no-link)) > > [[dummy:][http://gateway.example.org]] > > It's still displayed as link then, but the browsers do nothing ;-) Goes in the same direction: a link is still created. Matthew Lundin wrote: > You can customize the variable org-activate-links and remove "plain" > from the list. This would work (I guess), but is AFAIK to be set globally, thus resulting in the loss of all other plain text links. What I was originally looking for was some sort of escape character/special markup that would prevent creating links at all, like \http://...\ . This would also allow us to use other markups on plain text links, something that - AFAIK - is currently not possible (like =\http:...\=). Ulf ___ 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: Suppress linkification of external links possible?
--- Mar 17/2/09, Ulf Stegemann ha scritto: > What I was originally looking for was some sort of escape > character/special markup that would prevent creating links > at all, like > \http://...\ . This would also allow us to use > other markups on plain > text links, something that - AFAIK - is currently not > possible (like > =\http:...\=). what about post processing your HTML file with an /ad hoc/ function (called e.g. my-replace-esc-hlink [1])? In your file.org you may write \http://gateway.org that is exported as: \http://gateway.org";>http://gateway.org then open your html buffer and M-x my-replace-esc-hlink to cancel the "\http://gateway.org";>" string HTH Giovanni [1] (defun my-replace-esc-hlink () "In a HTML file, replace escaped http links" (interactive) (goto-char (point-min)) (while (< (point) (point-max)) (re-search-forward "") ;end (setq x2 (point)) (delete-region x1 x2) ) ) ) ) Passa a Yahoo! Mail. La webmail che ti offre GRATIS spazio illimitato, antispam e messenger integrato. http://it.mail.yahoo.com/ ___ 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] Presentations
Hi, I re-discoverd http://pauillac.inria.fr/advi/ and found, that it is mature enough for serious usage nowadays. Does anyone on this list use it in conjunction with Org-mode already? I'd be interested in the setup for this. advi is a *amazing* presentation tool and uses LaTeX sources. One may draw and annotate slides live in colors and even draw sketches (and save the slide as image file), use a `laser pointer', easy keyboard navigation and so on. It understands ps-tricks, internal hyperlinks and much more. sh$ apt-get install advi advi-examples # examples are optional sh$ advi # Watch the help as presentation sh$ dpkg --purge advi advi-examples# Just in case you don't like it -- Sebastian Rose, EMMA STIL - mediendesign, Niemeyerstr.6, 30449 Hannover Tel.: +49 (0)511 - 36 58 472 Fax: +49 (0)1805 - 233633 - 11044 mobil: +49 (0)173 - 83 93 417 Http: www.emma-stil.de ___ 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] Problems with refiling
If I switch org-outline-path-complete-in-steps on, refiling breaks. How it breaks depends on org-refile-use-outline-path: Yes: Top level headlines are available, nothing else. Not: Same. Start with file: only the files are listed. The headline doesn't move. In the completion window, entries with sub-headlines appear in blue, but I can't find a way to get to the sub-headlines. What am I missing? org-refile-targets is ((org-agenda-files :maxlevel . 3) (nil :maxlevel . 3)) So I would expect to see headlines down to level 3. Peter. ___ 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] Presentations
Hups, looks like there is nothing to set up. The trick is just to use the dvi files and add some latex specials to the org file :-) and include the advi package and, optionally, some more packages for colors and stuff. This is from the head section of the manual.tex in the advi sources: %% ... snipp \usepackage [\advidriver]{advi} \usepackage {advi-annot} \usepackage {bubble} %% ... snipp % For splash inclusion \usepackage{color} \usepackage{graphicx} \usepackage{tabularx} %\usepackage{pst-all} \usepackage{xwindows-colors} \usepackage[\driver]{hyperref} % End of splash specific stuff Now we could use the LaTeX commands provided by advi for effects, embedding videos and so on. Anyway, advi can display any *.dvi file without using the LaTeX packages. Sebastian Rose writes: > Hi, > > > I re-discoverd http://pauillac.inria.fr/advi/ and found, that it is > mature enough for serious usage nowadays. > > Does anyone on this list use it in conjunction with Org-mode already? > > I'd be interested in the setup for this. > > > > > advi is a *amazing* presentation tool and uses LaTeX sources. One may > draw and annotate slides live in colors and even draw sketches (and save > the slide as image file), use a `laser pointer', easy keyboard > navigation and so on. It understands ps-tricks, internal hyperlinks and > much more. > > sh$ apt-get install advi advi-examples # examples are optional > sh$ advi # Watch the help as presentation > sh$ dpkg --purge advi advi-examples# Just in case you don't like it -- Sebastian Rose, EMMA STIL - mediendesign, Niemeyerstr.6, 30449 Hannover Tel.: +49 (0)511 - 36 58 472 Fax: +49 (0)1805 - 233633 - 11044 mobil: +49 (0)173 - 83 93 417 Email: s.r...@emma-stil.de, sebastian_r...@gmx.de Http: www.emma-stil.de ___ 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] (no subject)
Hi everyone, With one of the recent updates to org (not sure which one), I started to have some formatting issues with numbers in html headlines when exporting from org. Let's take the following org file: --8<---cut here---start->8--- #+TITLE: Test * Headline One ** Subheading One --8<---cut here---end--->8--- The headline and subheading export to html as: , | | 1Headline One | | | | | | | 1.1Subheading One ` Which appears as: , | 1Headline One | | 1.1Subheading One ` In other words, a space is missing in the exported html. Thanks, Matt ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] RE: Help with binding new key to change task state
Thanks. This worked! -Original Message- From: Bernt Hansen [mailto:be...@norang.ca] Sent: Monday, February 16, 2009 7:34 AM To: Varnit Suri Cc: emacs-orgmode@gnu.org Subject: Re: Help with binding new key to change task state You could do something like this: (pick your favourite key) (global-set-key (kbd "") (lambda () (interactive) (org-todo 3))) For me my DONE state is the 3rd state. Find the prefix for the state you want (C-3 C-c C-t goes directly to DONE for me) and provide that value as the argument for org-todo. Then just C-f6 (or whatever key you like) and you're DONE. :) HTH, -Bernt "Varnit Suri" writes: > Thanks for your reply. The first trick worked fine. > > For the second problem though, I 'd not like to cycle through the > states. That's coz each time I change the state, I have to log it. > > So I am trying to define a single key that lets me jump straight to the > DONE state (from any other state). C-c C-t C-c works okay coz the last > 'c' chooses the DONE state from the menu. > > Any ideas how I can define a simpler key for this? Thanks. > > V. > > > -Original Message- > From: Bernt Hansen [mailto:be...@norang.ca] > Sent: Sunday, February 15, 2009 6:52 PM > To: Varnit Suri > Cc: emacs-orgmode@gnu.org > Subject: Re: Help with binding new key to change task state > > "Varnit Suri" writes: > >> The org manual talks about using C-u C-c C-t to change the state of a >> task. This command nicely throws up a list of several intermediate >> states to choose from. In addition, I have logging turned on, so each >> time I do this, I can log a note about the state change. >> >> I am merely trying to bind this to a simpler set of keys. I know C-c > C-t >> is bound to org-todo, but can't figure out what C-u C-c C-t binds to >> (describe-key stops at C-u). Or then, maybe I don't know Emacs/Org > well >> enough yet. Any suggestions? > > C-c C-t and C-u C-c C-t both bind to the same function. The C-u just > provides a prefix value of 4 to the function so it can behave > differently (displaying the menu of todo choices) > > You probably want to set > > (setq org-use-fast-todo-selection t) > > so that C-c C-t shows the menu by default. > >> >> The second thing I am trying to do is have a shortcut to take a task >> from TODO to DONE without going through the above process. > > If you have your todo states defined in sequences you can use S-left > arrow and S-right arrow to cycle between the states quickly. > > I use the following TODO settings: > > (setq org-todo-keywords '((sequence "TODO(t)" "STARTED(s!)" "|" > "DONE(d!/!)") > (sequence "WAITING(w@/!)" "SOMEDAY(s)" "|" > "CANCELLED(c@/!)") > (sequence "QUOTATION(q!)" "QUOTED(Q!)" "|" > "APPROVED(A@)" "EXPIRED(E@)" "REJECTED(R@)") > (sequence "OPENPO(O!)" "|" "CLOSEDPO(C@)") > (sequence "|" "NOTE(n)" "PHONE(T)"))) > > so if I have a task > > * TODO Do something > > then S-right arrow moves to STARTED and a second time moves to DONE > > HTH, > 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
Re: [Orgmode] (no subject)
Fixed, thanks. - Carsten On Feb 17, 2009, at 7:57 PM, Matthew Lundin wrote: Hi everyone, With one of the recent updates to org (not sure which one), I started to have some formatting issues with numbers in html headlines when exporting from org. Let's take the following org file: --8<---cut here---start->8--- #+TITLE: Test * Headline One ** Subheading One --8<---cut here---end--->8--- The headline and subheading export to html as: , | | 1Headline One | | | | | | | 1.1span>Subheading One ` Which appears as: , | 1Headline One | | 1.1Subheading One ` In other words, a space is missing in the exported html. Thanks, Matt ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ 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] Suppress linkification of external links possible?
I am always amazed to find out how deep some people dig into the variables :-) - Carsten On Feb 17, 2009, at 1:20 PM, Matthew Lundin wrote: Hi Ulf, Ulf Stegemann writes: Hi all, just a quick question: Is it possible to suppress the automagical linkification of external links? I have a document here for tutorial purposes which is cluttered with invalid addresses like 'http://gateway.example.org'. Linkification of those addresses is rather disturbing. You can customize the variable org-activate-links and remove "plain" from the list. Regards, Matt ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ 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: metadata clutterring the view
On Feb 16, 2009, at 8:35 PM, Manuel Hermenegildo wrote: I may be misunderstanding the problem but if it is just hiding all that config stuff at the beginning of the file for this I simply put an initial dummy item: * BEGINNING OF FILE ... Lots of configuration stuff ... ... Lots of configuration stuff ... ... Lots of configuration stuff ... * First item in the file * Second item in the file etc. I always create a setup section just like you, but put it *last* in the file. There it is out of the way. - 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] Custom agenda views and blocks headlines
On Feb 16, 2009, at 2:01 PM, Matthew Lundin wrote: Hi Spike, Spike Spiegel writes: Hi, I heavily use the custom agenda blocks view and found myself to desire more and more to be able to set the headline for the block so instead of seeing say "Headlines with TAGS match: +CATEGORY="WrkPrj"+TODO="TODO"" I can see "Work Projects Todos". With a few blocks it'd make the screen more readable, but most importantly would help with the exported file. You can use the variable org-agenda-overriding-header: --8<---cut here---start->8--- (setq org-agenda-custom-commands '(("B" "Block Agenda" ((todo "+CATEGORY=\"WrkPrj\"+TODO=\"TODO\"" ((org-agenda-overriding-header "Work Projects Todos"))) ;; more here, of course --8<---cut here---end--->8--- Hope this helps, I have now added org-agenda-overriding-header as one an option in the menu in customize. - 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] Custom agenda views: todo-state-down
Wow, two separate bugs! Both fixed now, thanks for the report. - Carsten On Feb 16, 2009, at 1:30 AM, Christopher Suckling wrote: I'm having a little difficulty with org-agenda-sorting-strategy: If I create a tags or tags-todo view, then todo-state-down (or todo- state-up) appears to be ignored. For example: - ("P" "Priority #A tasks " tags-todo "+PRIORITY=\"A\"" ((org-agenda-skip-timestamp-if-done t) (org-agenda-sorting-strategy '(todo-state-down effort-up category- keep)) (org-agenda-overriding-header "Priority #A tasks: "))) - fails to sort by todo-state. On the other hand: - ("Qt" "TODO entries - @mac " alltodo "" ((org-agenda-files (list "~/Sites/org/mac_A.org")) (org-agenda-sorting-strategy '(priority-down todo-state-down category-keep)) (org-agenda-overriding-header "TODO entries - @mac: "))) - sorts as expected. Interestingly, if the second example is included as part of a block agenda, then it also fails. Any suggestions? Best wishes, Christopher ___ 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] [PATCH] fast tag selection interface
On Feb 16, 2009, at 1:15 AM, Christopher Suckling wrote: As a result of the 40 variables thread and assorted worg tutorials, I'm getting a little carried away with customising my workflow. Consequently, my tag list have grown to the extent that the fast tags selection interface is looking rather messy. The small patch below adds the capability to create arbitrary new lines, either by adding "\n" (backslash n, not a newline!) to your # +TAGS: or by adding "(:newline . nil)" to org-tag-alist. So I can have something like: - [a] @assorted [g] @gtd [c] @contexts [o] other [r] relevant [t] tags [m] more [f] for [d] different [p] projects - I am not convinced that this helps a lot. Do ou really think it is much better? The patch looks good and complete! Do you have a copyright assignment with the FSF? Not absolutely necessary for this small a patch, but still... - Carsten The patch is a very hacky cut and paste job with little understanding of the surrounding code, but I don't seem to have broken anything in my setup yet... Best wishes, Christopher - Modified lisp/org.el diff --git a/lisp/org.el b/lisp/org.el index c4cfacd..484df30 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -2066,7 +2066,8 @@ See the manual for details." (cons (string:tag "Tag name") (character :tag "Access char")) (const :tag "Start radio group" (:startgroup)) - (const :tag "End radio group" (:endgroup) + (const :tag "End radio group" (:endgroup)) + (const :tag "New line" (:newline) (defvar org-file-tags nil "List of tags that can be inherited by all entries in the file. @@ -3398,6 +3399,7 @@ means to push this value onto the list in the variable.") (cond ((equal e "{") (push '(:startgroup) tgs)) ((equal e "}") (push '(:endgroup) tgs)) +((equal e "\\n") (push '(:newline) tgs)) ((string-match (org-re "^\\([[:alnum:]...@]+\\)(\\(.\\))$") e) (push (cons (match-string 1 e) (string-to-char (match-string 2 e))) @@ -3534,6 +3536,7 @@ Respect keys that are already there." (cond ((equal e '(:startgroup)) (push e new)) ((equal e '(:endgroup)) (push e new)) + ((equal e '(:newline)) (push e new)) (t (setq k (car e) c2 nil) (if (cdr e) @@ -8866,6 +8869,8 @@ Returns the new TODO keyword, or nil if no state change should occur." ((equal e '(:endgroup)) (setq ingroup nil cnt 0) (insert "}\n")) + ((equal e '(:newline)) + (insert "\n ")) (t (setq tg (car e) c (cdr e)) (if ingroup (push tg (car groups))) @@ -10316,6 +10321,8 @@ Returns the new tags string, or nil to not change the current settings." ((equal e '(:endgroup)) (setq ingroup nil cnt 0) (insert "}\n")) +((equal e '(:newline)) + (insert "\n ")) (t (setq tg (car e) c2 nil) (if (cdr e) ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: org-mode and remind integration
On Feb 16, 2009, at 4:20 PM, Sharad Pratap wrote: Hi Carsten, Sorry, I have sent wrong file `orgremind.el,' won't have changes. it is actually `org-exp.el' that I have forgot to include. Yes I can put these function in `org2rem.el' but I am sending correct file as correction of my previous mail. Please do so. Thanks. - Carsten But Carsten, here is number of different calendaring system present e.g. iCal remind Zsh calendar(man zsh-betacalsys) which all share similar feature, then here it would be better if here is a generic framwork should be here on top of it, ical, remind, Zsh calendar, interface we can add. (if you want to test it, please (setq org-remind-include-todo t), for getting all todo's in remind and I were not able to make remind function auto-completable, so you have to M-x org-export followed by `d' or `D' or `k'.) Regards and Thanks, Sharad On Mon, Feb 16, 2009 at 4:13 AM, Carsten Dominik > wrote: Hi Sharad, thanks for your work. Instead for making a big change to org-exp.el I would much rather have a separate files with these functions, and a change to org-exp.el that is as minimal as possible. - Carsten On Feb 15, 2009, at 11:10 PM, Sharad Pratap wrote: Hi Dominik, I have added remind functions in `org-exp.el' by following icalendar, functions. As you must have known `ical2rem' kind of utilities is here, So I got at least remind is superset to ical, there should not be any problem. I have tested few things like. * remind `[' `%' handled In it two known bugs left. 1. Duplication of code, another copy of icalendar .function for remind. 2. empty description returning a single newline, that causes ugly output. I am attaching this with this mail `org-exp.el' (with remind) and full `org2rem.el' that I have not changed from last time, As I started work on `org-exp.el.' I will try to fix both 1, 2 as I will get time. But I think for most of usage it will work nice. -- Regards, Sharad On Fri, Feb 13, 2009 at 12:55 PM, Carsten Dominik > wrote: Hi Sharad, instead of a new patch, please send me just a full new version of org2rem.el when you are done changing it. Thanks. - Carsten On Feb 12, 2009, at 2:22 PM, Sharad Pratap wrote: Hi Daniel, Actually I have used your proposed _regular expression_ only, and little rearrangement. Since my child was born last month I did not have much time. Therefore, I did not test org2rem. Many congratulations to you on your sweet little bundle of joy!! I did not tested the last suggestion of Carsten but you seem to overcome the problem I encountered. I also wanted to remove these three (defvar org2rem-scheduled-reminders nil) (defvar org2rem-deadline-reminders nil) (defvar org2rem-pure-timestamps-reminders nil) global variables, with next patch by this week end. And finally Thanks you very much Daniel for `org2rem.el' I am regular user of `remind'. On Thu, Feb 12, 2009 at 5:12 AM, Daniel Martins wrote: Thanks Sharap, Since my child was born last month I did not have much time. Therefore, I did not test org2rem. I did not tested the last suggestion of Carsten but you seem to overcome the problem I encountered. I am also suggest to include this patch to expand Bastien original org2rem.el Whenever I have time (to sleep!) I will test your scripts. Daniel 2009/2/11 Carsten Dominik Hi Bastien, you wrote the original org2rem.el Do you agree we should apply this patch? I have not tested it as I do not use remind. - Carsten On Feb 11, 2009, at 4:33 PM, Sharad Pratap wrote: Hi Carsten, Please do apply it, (if you find it is fine.) I have joined this mailing list today only, so not able to include all peoples in thread. On Wed, Feb 11, 2009 at 8:51 PM, Carsten Dominik > wrote: I have not followed this discussion - should I apply this patch to org2rem.el in the distribution? - Carsten On Feb 11, 2009, at 3:23 PM, Sharad Pratap wrote: Hi Daniel, Your regular expression working fine!!, I have made few change with same regular expression, and it has worked for me. I wish `org2rem' could be as robust as `org-export-icalendar'. Like me you also want orgmode outside editor, So I have added to executable script `org2remind' and `show-agenda'. ___ 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: Suppress linkification of external links possible?
On Feb 17, 2009, at 2:05 PM, Ulf Stegemann wrote: Thank you for all the quick responses :) Unfortunately, none of the proposed solutions really applies to the problem I have (That's however entirely my fault, I should have made things a bit clearer.). The workarounds (except for one) concentrate on making a link caused by a literal invalid address to become a valid link. However, what I like to achieve is some sort of escaping that prevents org-mode from generating a link at all (especially for HTML exporting). Giovanni Ridolfi wrote: You can write: 1. [[ ][http://gateway.example.org]] ^^^ please note the space here when converted it should refer to http://your-server/yourfile# Works, but still creates a link. 2. use valid addresses ;-) Unfortunately, this isn't an option. Sebastian Rose wrote: a dirty hackish aproach: (defun sr-no-link (href) "Links, that are no links" "#") (setq org-link-abbrev-alist '(("man" . "http://localhost/devel/man.php?q=man&what= %s") ;; ... many more ... ("dummy" . sr-no-link)) [[dummy:][http://gateway.example.org]] It's still displayed as link then, but the browsers do nothing ;-) Goes in the same direction: a link is still created. Matthew Lundin wrote: You can customize the variable org-activate-links and remove "plain" from the list. This would work (I guess), but is AFAIK to be set globally, thus resulting in the loss of all other plain text links. What I was originally looking for was some sort of escape character/special markup that would prevent creating links at all, like \http://...\ . This would also allow us to use other markups on plain text links, something that - AFAIK - is currently not possible (like =\http:...\=). Indeed, something like =http://a.com= should work, this is a bug. I have just fixed it. Using "=" does have a specified markup, but you can change it or add a new markup by customizing `org-emphasis-alist'. For example, you could make it look like this: (("*" bold "" "") ("/" italic "" "") ("_" underline "" "span>") ("=" org-code "" "" verbatim) ("~" org-verbatim "" "" verbatim) (";" org-verbatim "" "" verbatim)) where I have added the last line, so that ;http://google.com; will be interpreted verbatim, and typeset in italic. HTH - Carsten ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Problems with refiling
Hi Peter, the whole purpose of completing in steps is that you see the level 2 headlines only after you have selected the level 1 headline. Am I missing something here? - Carsten On Feb 17, 2009, at 6:19 PM, Peter Westlake wrote: If I switch org-outline-path-complete-in-steps on, refiling breaks. How it breaks depends on org-refile-use-outline-path: Yes: Top level headlines are available, nothing else. Not: Same. Start with file: only the files are listed. The headline doesn't move. In the completion window, entries with sub-headlines appear in blue, but I can't find a way to get to the sub-headlines. What am I missing? org-refile-targets is ((org-agenda-files :maxlevel . 3) (nil :maxlevel . 3)) So I would expect to see headlines down to level 3. Peter. ___ 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] Ido and org-refile/org-goto question
Hi - I ran into a similar issue and I believe I have a possible fix to two issues. 1) ido's tab completion was broken with org-mode because the list of choices needs to be a list of strings. The current implementation of org-ido-completing-read presents that as a list of consed strings. Close! But not quite the same. I'm amazed it actually worked. 2) For reasons I haven't fully untangled, ido-enter-matching-directory can conflict with deeply nested project paths, so I've rudely set it to nil. I think that var is only a problem when it is set to t - the other options ('first or 'only) appear to be safer. Only some minor changes to org-ido-completing-read (defun org-ido-completing-read (&rest args) "Completing-read using `ido-mode' speedups if available" (if (and org-completion-use-ido (fboundp 'ido-completing-read) (boundp 'ido-mode) ido-mode (listp (second args))) (let ((ido-enter-matching-directory nil)) (apply 'ido-completing-read (concat (car args)) (mapcar (lambda (x) (car x)) (nth 1 args)) (cddr args))) (apply 'completing-read args))) Even with this fix, I'm seeing some lingering pains. Specifically if you press tab multiple times, the range of choices is truncated to a subset. When I have more free time, I'll research it some more. -Eric On Sat, Jan 31, 2009 at 12:30 AM, Samuel Wales wrote: > On Sun, Jan 18, 2009 at 07:34, Matthew Lundin wrote: > > I'm trying to set up ido for completion with org-refile and org-goto. My > > question is whether I should expect TAB to work with ido within org. > > I get similar or the same behavior as you describe. I also get severe > slowness (almost a minute per character typed and c-g not always > working) at times, and a peculiar bug where if you press TAB enough > times (try this) it actually shows a filesystem path name instead of > an olpath. > > I wrote to Kim Storm with backtrace and detailed explanation of one of > the bugs, no reply. It might be up to the users to maintain ido; I > don't know its status. > > Meanwhile, there was a post on emacs-help recently with some speedup > changes to ido. Have not tried them yet. > > Despite the bugs, I find ido indispensable, to the point where I > simply would not refile without it. > > -- > For personal and corporate gain, myalgic encephalomyelitis denialists > are knowingly causing massive suffering and 25-years-early death by > grossly corrupting science. > http://www.meactionuk.org.uk/What_Is_ME_What_Is_CFS.htm > > > ___ > 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] org-agenda-todo-ignore-scheduled and tags search
Hi, in my agenda blocks view a have a couple blocks based on tags-todo matches and would very much like to exclude already scheduled items. Unfortunately org-agenda-todo-ignore-scheduled does not seem to have any effect on it and based on the documentation it seems indeed to only apply to the global todo list. I thought I could add SCHEDULED as part of the tags-todo match criteria, but I don't see how to check for isNull or similar. Thoughts? thanks -- "Behind every great man there's a great backpack" - B. ___ 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: Suppress linkification of external links possible?
Hi Giovanni, Giovanni Ridolfi wrote: > --- Mar 17/2/09, Ulf Stegemann ha scritto: >> What I was originally looking for was some sort of escape >> character/special markup that would prevent creating links >> at all, like >> \http://...\ . This would also allow us to use >> other markups on plain >> text links, something that - AFAIK - is currently not >> possible (like >> =\http:...\=). > > what about post processing your HTML file with > an /ad hoc/ function (called e.g. my-replace-esc-hlink [1])? > > In your file.org you may write \http://gateway.orgthat is exported as: > \http://gateway.org";>http://gateway.org > > then open your html buffer and > > M-x my-replace-esc-hlink thanks for the idea. I was also thinking about using a postprocessing, maybe by using the completion-function when publishing. Should nothing else work, I will probably come back to this. Ulf ___ 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: Suppress linkification of external links possible?
Dear Carsten, Carsten Dominik wrote: > On Feb 17, 2009, at 2:05 PM, Ulf Stegemann wrote: > >> What I was originally looking for was some sort of escape >> character/special markup that would prevent creating links at all, like >> \http://...\ . This would also allow us to use other markups on plain >> text links, something that - AFAIK - is currently not possible (like >> =\http:...\=). > > Indeed, something like =http://a.com= should work, this is a bug. > I have just fixed it. great ... but unfortunately it's not working here. Whenever I try to export an org file to HTML now, I get 'org-export-normalize-links: Invalid function: org-if-unprotected-at' (with Emacs 23 and Org Mode versions as of this morning). This also happens with emacs -Q and a plain `org-install'. Ulf ___ 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