[O] Google weather
Hi everyone, I am trying to use the google weather in Org-mode for the first time, but I am always getting a 443 error when I evaluate something like (org-google-weather Amsterdam) I am not sure where to look for what might causing this - any pointers would be appreciated - Carsten
Re: [O] Agenda file for the following X days
On Mon, 6 Jun 2011 23:10:12 -0500 Ugur Ozdemir uozde...@go.wustl.edu wrote: Hi, As a novice I was wondering if there is an easy way of creating an agenda file for a certain number of days starting from today. I know I can do some custom agenda commands if I do some study but I guess I am trying to free ride here. And you get it, of course! (setq org-agenda-ndays 35) Where 35 is my number of days I like to look ahead. Bye Detlef Cheers, -- Ugur Ozdemir
Re: [O] Keeping an advanced dictionary in Org-mode?
Thank you for the link. On Tue, Jun 7, 2011 at 4:08 AM, Christian Moe m...@christianmoe.com wrote: Hi, Thanks, these pointers were really helpful -- whether I end up doing something similar, or using them to work out how I want to do this in Org, or using other tools I was able to discover in five minutes after you'd pointed me to the right search keywords! Thank you for that link. I would be interested in anything you come up with. Alan
Re: [O] Keeping an advanced dictionary in Org-mode?
On 6 Jun 2011, at 10:38, Christian Moe wrote: ** languir :PROPERTIES: :Word_class: verb :Transitivity: intr :END: (*for* après; *to do* de faire) It's a pain to do, and because of outline folding, it could be a pain to look up meanings, and you might need to do some serious post-processing on the export to make it look anything like a dictionary. But when you're done, you could extract a list of all botanical terms (:bot:), or of words and pronunciations only... etc. Column View is your friend. Both for lookup and for data entry. Jules
Re: [O] Agenda file for the following X days
On 7 Jun 2011, Detlef Steuer wrote: On Mon, 6 Jun 2011 23:10:12 -0500 Ugur Ozdemir uozde...@go.wustl.edu wrote: Hi, As a novice I was wondering if there is an easy way of creating an agenda file for a certain number of days starting from today. I know I can do some custom agenda commands if I do some study but I guess I am trying to free ride here. And you get it, of course! (setq org-agenda-ndays 35) Where 35 is my number of days I like to look ahead. Building on this, you can define a function like that: (defun my-org-agenda () (interactive) (let ((org-agenda-ndays 35)) (org-agenda))) Michael pgp2nGF6sA56P.pgp Description: PGP signature
Re: [O] Google weather
On 07/06/11 07:53, Carsten Dominik wrote: Hi everyone, I am trying to use the google weather in Org-mode for the first time, but I am always getting a 443 error when I evaluate something like (org-google-weather Amsterdam) I am not sure where to look for what might causing this - any pointers would be appreciated It looks as though google-weather is trying to use ssl to contact Google. It shouldn't need to do this, as the weather site it accessible via port 80. Try pasting the following url's into your browser: http://www.google.co.uk/ig/api?weather=Amsterdamhl=en-gb https://www.google.co.uk/ig/api?weather=Amsterdamhl=en-gb You will need to replace google.co.uk with whatever the url is for Netherlands. You should get an xml page with the weather forecast. If that is working it rules out any problems with proxy servers and ssl. Best wishes, Ian.
[O] Timezone/Encoding issues when exporting as ics and importing to Google Calendar
Hi all, I export all my org-files as icalendar files, push them to some webserver from which google calendar imports them. Basically, that works pretty good except for two things: 1. Encoding: All Umlauts and other non-ASCII chars show up as boxes in google calendar. When visiting some exported ics file and doing M-x describe-coding-system, I get utf-8-unix for those files. Doesn't google calendar support UTF-8? And if so, is there a way to export as latin1 if that is supported by google? 2. Timezone: I live in Germany and thus all my timestamps are CEST. The exported ics file properly declare X-WR-TIMEZONE:CEST. However, since we also have DST, in summer all appointments show up 2 hours late, and in winter my appointments show up 1 hour late. Is there anything I can do about it? The google calendar settings have CEST as timezone... Thanks for any hints! Tassilo
[O] Doing calculations on clocktable
Hello! I'm trying to do some calculations on a clocktable in org-mode. But the way times are displayed as strings with a colon between hours and minutest makes it a bit difficult.. Does someone have any tips on how to overcome this obstacle? Best regards Gustav
Re: [O] Google weather
Carsten Dominik carsten.domi...@gmail.com writes: I am trying to use the google weather in Org-mode for the first time, but I am always getting a 443 error when I evaluate something like (org-google-weather Amsterdam) I am not sure where to look for what might causing this - any pointers would be It looks as though google-weather is trying to use ssl to contact Google. It shouldn't need to do this, as the weather site it accessible via port 80. Try pasting the following url's into your browser: http://www.google.co.uk/ig/api?weather=Amsterdamhl=en-gb https://www.google.co.uk/ig/api?weather=Amsterdamhl=en-gb You will need to replace google.co.uk with whatever the url is for Netherlands. You should get an wml page with the weather forecast. If that is working it rules out any problems with proxy servers and ssl. Best wishes, Ian.
Re: [O] Google weather
Carsten Dominik carsten.domi...@gmail.com wrote: Hi everyone, I am trying to use the google weather in Org-mode for the first time, = but I am always getting a 443 error when I evaluate something like (org-google-weather Amsterdam) I am not sure where to look for what might causing this - any pointers = would be appreciated As Ian points out, the https: version of the URL might be causing you problems. I have this problem from work, where I'm behind the firewall and the proxy does not seem to be able or willing to forward the request - it works fine from home. But I would caution everybody that Google seems to be changing the data they return on a daily basis nowadays and google-weather cannot keep up. It might be a good idea to wait a few days for the volatility to die down. See the related thread Icon problem with org-google-weather for a blow-by-blow description of the fight. BTW, you can ask google-weather to use the http: protocol by (setq google-weather-use-https nil) Nick PS Here's a debugging function I wrote to bypass google-weather altogether and check what Google was sending me. This in combination with visiting the URLs in a browser, as Ian points out, should be enough to get you through http/https/SSL/proxy problems: (defun my-url-retrieve (url) (with-current-buffer (url-retrieve-synchronously url) (buffer-substring (point-min) (point-max Try (my-url-retrieve http://www.google.com/ig/api?weather=Amsterdam;) and/or the https version of it.
Re: [O] Timezone/Encoding issues when exporting as ics and importing to Google Calendar
Tassilo Horn tass...@member.fsf.org wrote: Hi all, I export all my org-files as icalendar files, push them to some webserver from which google calendar imports them. Basically, that works pretty good except for two things: 1. Encoding: All Umlauts and other non-ASCII chars show up as boxes in google calendar. When visiting some exported ics file and doing M-x describe-coding-system, I get utf-8-unix for those files. Doesn't google calendar support UTF-8? And if so, is there a way to export as latin1 if that is supported by google? 2. Timezone: I live in Germany and thus all my timestamps are CEST. The exported ics file properly declare X-WR-TIMEZONE:CEST. However, since we also have DST, in summer all appointments show up 2 hours late, and in winter my appointments show up 1 hour late. Is there anything I can do about it? The google calendar settings have CEST as timezone... I don't know if this is the problem you are running into, but icalendar--convert-tz-offset is buggy as-is: it looks as if additional work was planned for it, but it never got done. In particular, it assumes there is an RRULE in the icalendar file and does not translate timezones otherwise. Reading your mail again, I guess you are having problems in the other direction, but IME, if there is a bug somewhere, there is at least one more going the other way :-) Nick
Re: [O] Doing calculations on clocktable
Hi Gustav There was a discussion about that here: http://thread.gmane.org/gmane.emacs.orgmode/39487 Michael 2011/6/7 Gustav Wikström gustav.e...@gmail.com: I'm trying to do some calculations on a clocktable in org-mode. But the way times are displayed as strings with a colon between hours and minutest makes it a bit difficult.. Does someone have any tips on how to overcome this obstacle?
Re: [O] Doing calculations on clocktable
Gustav Wikström gustav.e...@gmail.com writes: Hello! I'm trying to do some calculations on a clocktable in org-mode. But the way times are displayed as strings with a colon between hours and minutest makes it a bit difficult.. Does someone have any tips on how to overcome this obstacle? Hi Gustav, See http://orgmode.org/worg/org-hacks.html#sec-1_2_6 for some helper functions which can be used to convert between time strings and integers in Org-mode table formula. Cheers -- Eric -- Eric Schulte http://cs.unm.edu/~eschulte/
Re: [O] Timezone/Encoding issues when exporting as ics and importing to Google Calendar
Nick Dokos nicholas.do...@hp.com writes: Hi Nick, 2. Timezone: I live in Germany and thus all my timestamps are CEST. The exported ics file properly declare X-WR-TIMEZONE:CEST. However, since we also have DST, in summer all appointments show up 2 hours late, and in winter my appointments show up 1 hour late. Is there anything I can do about it? The google calendar settings have CEST as timezone... I don't know if this is the problem you are running into, but icalendar--convert-tz-offset is buggy as-is: it looks as if additional work was planned for it, but it never got done. In particular, it assumes there is an RRULE in the icalendar file and does not translate timezones otherwise. I don't know the iCalendar spec so I don't know what an RRULE is. But as far as I can see, `icalendar--convert-tz-offset' is used while converting an ics file to the diary format. Reading your mail again, I guess you are having problems in the other direction, Right. ;-) but IME, if there is a bug somewhere, there is at least one more going the other way :-) Probably. Looking at the ical spec, this X-WR-TIMEZONE property is an optional extension nobody has to obey. Org exports the times like DTSTART:20110317T091500 which means local time. So probably the google server has UTC as local time, my preferences say I want to use Berlin-time, so all events get two hours added in summer. Now I've tried to explicitly set the timezone information using org-icalendar-timezone Europe/Berlin org-icalendar-date-time-format ;TZID=%Z:%Y%m%dT%H%M%S and now the events are like DTSTART;TZID=EUROPE/BERLIN:20110322T14 DTEND;TZID=EUROPE/BERLIN:20110322T16 However, that doesn't change anything in google calendar... Finally, I've set GMT+0 as my current timezone in google calendar, and now my appointments are shown correctly. Ok, that's not really a solution but only a workaround... Oh, there's another possibility; setting org-icalendar-date-time-format :%Y%m%dT%H%M%SZ which then seems to correctly recalculate the local times in my org files to GMT. So for an entry that starts at 14:30 and ends an 16:30, that's what exported. DTSTART:20100518T123000Z DTEND:20100518T143000Z Looks good, I'd say. But when importing that to google calendar, it shows that entry starting at 16:30 and ending at 18:30 Berlin-time. Now what's that?!? Oh, it seems to be some caching issue. Although the new ics file is on the server now, it seems that a reload of google calendar doesn't reimport all imported calendars. So I'll wait a bit and report back what methods work (explicit TZIDs and/or export as UTC). Bye, Tassilo
[O] Executing debug-enabled code hangs
Hi, I use org-mode a lot with BEGIN_SRC R sections that I execute manually with C-c C-c in an *R* session buffer. Sometimes I go to that session buffer and execute some code manually, and occasionally I turn on debugging for a function with debug(func). If I then go back to my org-mode buffer and execute that function again, Emacs hangs. I can't get back to the *R* session in order to step through the function or disable debugging, so I have to force-quit Emacs. I know, I should remember to turn off debugging for those functions, but sometimes I forget, and the consequence is that I lose the whole session. Known problem? This is on: * OS X 10.6.6 * Aquamacs 2.2, which is based on GNU Emacs 23.3.1 * Org-mode 7.5 * ess version 5.13 I do have a big huge thread stack trace that Aquamacs generated, if that would be helpful. Thanks. -- Ken Williams Senior Research Scientist Thomson Reuters http://labs.thomsonreuters.com
[O] Referencing elemts of a table
Hi! I want to define orgtblB line 2 (row 1 to 6) should contain the values from orgtblA, last line, row 2 to 7. I tried #+TBLFM: @2=remote(orgtblA,@2$2..@2$7) and #+TBLFM: @2$1..@2$6=remote(orgtblA,@2$2..@2$7) but that results in a list of 6x 5 values in each field in row 2. Here is an example of my org-tbl-reference-problem: http://paste.grml.org/462/ Thanks for your help! -- Karl Voit
[O] understanding the function outline-level
Hi all I am on the way of tracking down an (Org?) buglet and now outline-level tries to strike me with my lack of experience with Match Data of Emacs search and I would like to ask for some help to understand. M-: (outline-level) returns a value that I don't understand yet. The number does not correspond to the amount of stars and is independent of at the beginning of which line the point was before. And when I look at the implementation of outline-level I am missing a function that initializes the Match Data. Where is that last search or match operation? Michael
Re: [O] Executing debug-enabled code hangs
ken.willi...@thomsonreuters.com wrote: Hi, I use org-mode a lot with BEGIN_SRC R sections that I execute manually with C-c C-c in an *R* session buffer. Sometimes I go to that session buffer and execute some code manually, and occasionally I turn on debugging for a function with debug(func). If I then go back to my org-mode buffer and execute that function again, Emacs hangs. I can't get back to the *R* session in order to step through the function or disable debugging, so I have to force-quit Emacs. I know, I should remember to turn off debugging for those functions, but sometimes I forget, and the consequence is that I lose the whole session. Known problem? This is on: * OS X 10.6.6 * Aquamacs 2.2, which is based on GNU Emacs 23.3.1 * Org-mode 7.5 * ess version 5.13 I do have a big huge thread stack trace that Aquamacs generated, if that would be helpful. It wouldn't hurt. Nick
Re: [O] Referencing elemts of a table
Hi Karl You need additionally $# from Field coordinates in formulas described here: http://orgmode.org/manual/References.html#References and Calc vector subscript: #+TBLFM: @2 = subscr(remote(orgtblA, @2$2..@2$7), $#) Michael On Tue, Jun 7, 2011 at 17:55, Karl Voit devn...@karl-voit.at wrote: I want to define orgtblB line 2 (row 1 to 6) should contain the values from orgtblA, last line, row 2 to 7. I tried #+TBLFM: @2=remote(orgtblA,@2$2..@2$7) and #+TBLFM: @2$1..@2$6=remote(orgtblA,@2$2..@2$7) but that results in a list of 6x 5 values in each field in row 2. Here is an example of my org-tbl-reference-problem: http://paste.grml.org/462/
Re: [O] understanding the function outline-level
Michael Brand michael.ch.br...@gmail.com writes: Hi all I am on the way of tracking down an (Org?) buglet and now outline-level tries to strike me with my lack of experience with Match Data of Emacs search and I would like to ask for some help to understand. M-: (outline-level) returns a value that I don't understand yet. The number does not correspond to the amount of stars and is independent of at the beginning of which line the point was before. And when I look at the implementation of outline-level I am missing a function that initializes the Match Data. Where is that last search or match operation? (A quick hint. May not be complete though) The typical call sequence seems to be: 1. Move the cursor to a headline. 2. Call outline-level. It is (1) which presumably does a regexp search and ends up in the headline. So outline-level cannot be called in and of itself. It always need to be preceded by some other call which positions the cursor in a headline in the first place. Cursory look suggests that there are multiple ways by which (1) could be achieved - mostly they seem to be outline tree traversal functions. Summary: Look at outline-level in source code. Jump a few lines above and watch out for any sort of traversal functions. ,[ C-h f outline-level RET ] | outline-level is a compiled Lisp function in `outline.el'. | | (outline-level) | | Return the depth to which a statement is nested in the outline. | Point must be at the beginning of a header line. | This is actually either the level specified in `outline-heading-alist' | or else the number of characters matched by `outline-regexp'. | | [back] ` Michael --
Re: [O] Agenda file for the following X days
Michael Markert markert.mich...@googlemail.com writes: On 7 Jun 2011, Detlef Steuer wrote: On Mon, 6 Jun 2011 23:10:12 -0500 Ugur Ozdemir uozde...@go.wustl.edu wrote: Hi, As a novice I was wondering if there is an easy way of creating an agenda file for a certain number of days starting from today. I know I can do some custom agenda commands if I do some study but I guess I am trying to free ride here. And you get it, of course! (setq org-agenda-ndays 35) Where 35 is my number of days I like to look ahead. Building on this, you can define a function like that: (defun my-org-agenda () (interactive) (let ((org-agenda-ndays 35)) (org-agenda))) Michael Maybe you can just use the prefix key for your needs? C-u 5 C-c a a will create a 5 day agenda. It is left as an excercise for the reader to create an 8 day agenda (or a 5-year plan, or any other use). :) Or maybe you were looking for something else? -- Johnny
Re: [O] Agenda file for the
Thanks to both of you !
Re: [O] understanding the function outline-level
Hi Michael, match data get set by searches. One can inhibit match-data being cluttered by using the `save-match-data' macro (you should probably do so when using searches in a lisp program). Outline.el seems to make very frequent use of this 'global' data; instead of passing this data on via function arguments or so, it depends on this dynamically set data, which makes it very hard to see who does what. Some prodding about led me to believe the searching in `outline-back-to-heading' is your suspect (but I have not investigated this further). At least (progn (outline-back-to-heading) (outline-level)) Returns a reasonable answer each time I run it. (info (Elisp)Match Data) May be of interest to you. On Tue, Jun 7, 2011 at 6:23 PM, Michael Brand michael.ch.br...@gmail.com wrote: Hi all I am on the way of tracking down an (Org?) buglet and now outline-level tries to strike me with my lack of experience with Match Data of Emacs search and I would like to ask for some help to understand. M-: (outline-level) returns a value that I don't understand yet. The number does not correspond to the amount of stars and is independent of at the beginning of which line the point was before. And when I look at the implementation of outline-level I am missing a function that initializes the Match Data. Where is that last search or match operation? Michael -- http://pft.github.com
[O] HTML5 presentations
After the recent org-mode to S5 discussion, I stumbled onto [these](https://gist.github.com/509761) code. It offers a way to export org files to HTML5 presentations. I think it looks quite nice. I see it being better than S5 in that no ui folder is required. What do you all think? Is it worthy of being incorporated into org-mode? -- Vinh
Re: [O] apparently too stupid to use checkboxes
Detlef Steuer detlef.ste...@gmx.de: Hi, while looking for the cause of my checkbox problem I found, that all works fine, if I issue make clean Ok, I ran into this problem today, on an emacs 23 with git org-mode, on debian testing, (wheezy), and I googled for the error message and found this thread. What I did was cd ~/git/org-mode/ make clean make and then the problem went away: I started a new emacs and edited an org file with cookie'd checkboxes, and now the cookies updated. My org-mode git clone was last pull'd on May 5, and .git/refs/heads/master contains 37f9639a4391fd63caae7abf2b4ac8e247b740c3 If someone feels like looking into this rather obscure error, I'm willing to assist. If not, I will just pull and hope it goes away...:-)
Re: [O] Executing debug-enabled code hangs
On 6/7/11 12:04 PM, Nick Dokos nicholas.do...@hp.com wrote: ken.willi...@thomsonreuters.com wrote: I do have a big huge thread stack trace that Aquamacs generated, if that would be helpful. It wouldn't hurt. OK, here it is: In GNU Emacs 23.3.1 (i386-apple-darwin9.8.0, NS apple-appkit-949.54) of 2011-03-18 on braeburn.aquamacs.org - Aquamacs Distribution 2.2 Windowing system distributor `Apple', version 10.3.1038 configured using `configure '--with-ns' '--without-x' 'CC=gcc' 'CFLAGS=-O3 -fno-tree-pre -falign-loops -arch i386' 'LDFLAGS=-O3 -fno-tree-pre -falign-loops -arch i386'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: nil value of $XMODIFIERS: nil locale-coding-system: nil default enable-multibyte-characters: t Command line: (/Applications/Aquamacs.app/Contents/MacOS/Aquamacs) PATH: /bin:/etc:/usr/bin:/usr/etc:/usr/sbin:/sbin:/Users/u0048513/bin:/usr/local/ bin:/Users/u0048513/p4/tools/FileTools:/Users/u0048513/p4/tools/perforce:/u sr/local/git/bin:/usr/local/mysql/bin:/usr/local/texlive/2009/bin/universal -darwin:/Users/u0048513/Downloads/hadoop-0.20.2/bin:.:/usr/bin:/bin:/usr/sb in:/sbin:/usr/local/bin:/usr/X11/bin:/opt/local/bin:/usr/local/git/bin:/usr /texbin:/usr/local/texlive/2010/bin:/usr/local/texlive/2009/bin:/usr/local/ teTeX/bin/powerpc-apple-darwin-current:/usr/local/teTeX/bin/i386-apple-darw in-current exec-path: (/bin /etc /usr/bin /usr/etc /usr/sbin /sbin /Users/u0048513/bin /usr/local/bin /Users/u0048513/p4/tools/FileTools /Users/u0048513/p4/tools/perforce /usr/local/git/bin /usr/local/mysql/bin /usr/local/texlive/2009/bin/universal-darwin /Users/u0048513/Downloads/hadoop-0.20.2/bin . /usr/bin /bin /usr/sbin /sbin /usr/local/bin /usr/X11/bin /opt/local/bin /usr/local/git/bin /Applications/Aquamacs.app/Contents/MacOS/bin /usr/texbin /usr/local/texlive/2010/bin /usr/local/texlive/2009/bin /usr/local/teTeX/bin/powerpc-apple-darwin-current /usr/local/teTeX/bin/i386-apple-darwin-current) Process: Aquamacs [83471] Path:/Applications/Aquamacs.app/Contents/MacOS/Aquamacs Identifier: Aquamacs Version: ??? (???) Code Type: X86 (Native) Parent Process: launchd [232] Date/Time: 2011-06-06 13:12:43.405 -0500 OS Version: Mac OS X 10.6.6 (10J567) Report Version: 6 Interval Since Last Report: 858988 sec Crashes Since Last Report: 1 Per-App Crashes Since Last Report: 1 Anonymous UUID: CEF6C8A4-C36D-45C4-9EE6-1C1E031C20AF Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x, 0x Crashed Thread: 0 Dispatch queue: com.apple.main-thread Application Specific Information: abort() called Thread 0 Crashed: Dispatch queue: com.apple.main-thread 0 libSystem.B.dylib 0x909a2176 __kill + 10 1 libSystem.B.dylib 0x909a2168 kill$UNIX2003 + 32 2 org.gnu.Aquamacs0x000b7173 fatal_error_signal + 307 3 libSystem.B.dylib 0x909a746b _sigtramp + 43 4 libSystem.B.dylib 0x909a2176 __kill + 10 5 libSystem.B.dylib 0x909a2168 kill$UNIX2003 + 32 6 libSystem.B.dylib 0x90a3489d raise + 26 7 libSystem.B.dylib 0x90a4a9bc abort + 93 8 org.gnu.Aquamacs0x000208ba check_message_stack + 42 9 org.gnu.Aquamacs0x000b674c shut_down_emacs + 204 10 org.gnu.Aquamacs0x000b71bf fatal_error_signal + 383 11 libSystem.B.dylib 0x909a746b _sigtramp + 43 12 ??? 00 0 + 0 13 ??? 0x307ef055 0 + 813625429 Thread 1: Dispatch queue: com.apple.libdispatch-manager 0 libSystem.B.dylib 0x90967982 kevent + 10 1 libSystem.B.dylib 0x9096809c _dispatch_mgr_invoke + 215 2 libSystem.B.dylib 0x90967559 _dispatch_queue_invoke + 163 3 libSystem.B.dylib 0x909672fe _dispatch_worker_thread2 + 240 4 libSystem.B.dylib 0x90966d81 _pthread_wqthread + 390 5 libSystem.B.dylib 0x90966bc6 start_wqthread + 30 Thread 2: 0 libSystem.B.dylib 0x909410fa mach_msg_trap + 10 1 libSystem.B.dylib 0x90941867 mach_msg + 68 2 ...MultitouchSupport.framework 0x93fc7f57 mt_DequeueDataFromDriver + 489 3 ...MultitouchSupport.framework 0x93fc801f mt_DequeueMultitouchDataFromDriverThreadEntry + 176 4 libSystem.B.dylib 0x9096e85d _pthread_start + 345 5 libSystem.B.dylib 0x9096e6e2 thread_start + 34 Thread 0 crashed with X86 Thread State (32-bit): eax: 0x ebx: 0x000b704e ecx: 0xbfffd4ac edx: 0x909a2176 edi: 0x0006 esi:
Re: [O] Open an org-mode file from C++ source code and automatically create an item
There is so much documentation, tutorials, information available on org-mode, so I'm sorry if I'm asking a dumb question that's already been covered extensively elsewhere. I tried searching Google and this mailing list, but found nothing that addresses this. How about looking at the manual? org-store-link and org-insert-link are pretty good starting point. If the target file is going to be modified in non-trivial manner I suggest one of the following: 1. Plain old bookmarks 2. Plain old TODO, FIXME or [YOUR INITIALS] markers 3. Collecting the function tags in the Org file as headlines and jumping to it. Summary: Your imagined workflow sounds cool but would suck very soon. Don't ask me why Jambunathan K. --
Re: [O] [Orgmode] Re: [Feature Request] Cross headings in tables
Carsten Dominik carsten.domi...@gmail.com writes: I think a better strategy would be to find these additional header lines right before this section of the recalculate function: ;; Now evaluate the column formulas, but skip fields covered by ;; field formulas and mark those extra header lines with the org-untouchable text property. Then you can let the column formulas do their game, and fields marked by this property will automatically exempted.. I just did that (and fixing a bug with the :org-untouchable property not being removed in certain circumstances which you might want to commit to master upfront). It looks much cleaner, see if you like it, too. I've also cleaned up all the commit messages, I hope they conform to the standard now. Another part which might need a look to support this would be `orgtbl-to-generic'. That I will have to think over a bit. This support depends on parsing the table into a list (AFAIK) and that currently treats cross headings as another sort of hlines. Changing this has a lot of repercussions elsewhere in the code as far as I can see. It might be an opportunity to re-factor some of the code that still works on the text representation, but that is certainly not something that I'd take lightly. Regards, Achim. -- +[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]+ Samples for the Waldorf Blofeld: http://Synth.Stromeko.net/Downloads.html#BlofeldSamplesExtra
Re: [O] HTML5 presentations
Vinh Nguyen vinhdi...@gmail.com writes: After the recent org-mode to S5 discussion, I stumbled onto [these](https://gist.github.com/509761) code. It offers a way to export org files to HTML5 presentations. I think it looks quite nice. I see it being better than S5 in that no ui folder is required. What do you all think? Is it worthy of being incorporated into org-mode? Just tried it, and it's pretty cool! Easy to use and nicely looking. Bye, Tassilo
Re: [O] understanding the function outline-level
Hi Michael, On Tue, Jun 7, 2011 at 21:53, Michael Brand michael.ch.br...@gmail.com wrote: I am on the way of tracking down an (Org?) buglet and now outline-level tries to strike me with my lack of experience with Match Data of Emacs search and I would like to ask for some help to understand. M-: (outline-level) returns a value that I don't understand yet. The number does not correspond to the amount of stars and is independent of at the beginning of which line the point was before. And when I look at the implementation of outline-level I am missing a function that initializes the Match Data. Where is that last search or match operation? Here’s a slightly more complicated alternative method: , | (progn | (org-back-to-heading) | (org-reduced-level (org-current-level))) ` This will take into account `org-odd-levels-only'. Aankhen
Re: [O] HTML5 presentations
Tassilo Horn tass...@member.fsf.org writes: Vinh Nguyen vinhdi...@gmail.com writes: After the recent org-mode to S5 discussion, I stumbled onto [these](https://gist.github.com/509761) code. It offers a way to export org files to HTML5 presentations. I think it looks quite nice. I see it being better than S5 in that no ui folder is required. What do you all think? Is it worthy of being incorporated into org-mode? Just tried it, and it's pretty cool! Easy to use and nicely looking. This is very cool, I just added the link to the non-beamer presentation engine page on Worg. http://orgmode.org/worg/org-tutorials/non-beamer-presentations.html Best -- Eric -- Eric Schulte http://cs.unm.edu/~eschulte/
[O] Feature request: two-letter combination for org-capture
Hello list, A nice feature of the org-agenda is the possibility to define two letter combinations for the custom commands. From the manual I could not see how to do this with org-capture and I'm guessing it is not possible right now. Of course one can always define a single letter template for each situation, but the same goes for the org-agenda and two-letter templates can help a lot with the organization (also finding good letter choices). Some use-case scenarios I can imagine: - Add todo items to specific projects (I know you can refile the note during the capture process, but this would be faster). All of the letters t and a project specific letter - Add a contact to a specific category: people using org-contacts could define different templates for work contacts and personal contacts, for instance. - Add a line to a specific table: Suppose you use tables in org to organize your expenses, but you have multiple tables, one for each kind of expense. You would be able to add one expense to a specific table (I'm not sure if refile from the capture buffer even works in this case). - Etc. -- Darlan Cavalcante
Re: [O] Feature request: two-letter combination for org-capture
Hi Darlan, Darlan Cavalcante Moreira wrote: A nice feature of the org-agenda is the possibility to define two letter combinations for the custom commands. From the manual I could not see how to do this with org-capture and I'm guessing it is not possible right now. It already is... See an example below, with the helper function I defined for myself... #+begin_src emacs-lisp (defun my/org-capture-template (keys description file headline) Create template for captured elements. `(,keys ,description entry (file+headline ,file ,headline) * %^{Title} :PROPERTIES: :Created: %:date-timestamp-inactive :END: %? %i From %a :empty-lines 1)) #+end_src ... for avoiding repetitive skeleton: #+begin_src emacs-lisp (setq org-capture-templates `(;; notes (N Templates adding notes) ,(my/org-capture-template Ne Emacs ~/Public/Notes-on-Emacs.txt Notes) ;; [...] ,(my/org-capture-template No Org ~/Public/Notes-on-Org.txt Notes))) #+end_src Best regards, Seb -- Sebastien Vauban
Re: [O] HTML5 presentations
Cool! I tested it on a much-too-long slideshow, and noticed one problem, though: each new slide appeared a little further to the left. Yours, Christian On 6/7/11 8:56 PM, Vinh Nguyen wrote: After the recent org-mode to S5 discussion, I stumbled onto [these](https://gist.github.com/509761) code. It offers a way to export org files to HTML5 presentations. I think it looks quite nice. I see it being better than S5 in that no ui folder is required. What do you all think? Is it worthy of being incorporated into org-mode? -- Vinh
[O] Agenda of upcoming deadlines skips some deadlines
Hello, I've (stolen?) the following custom agenda view. #+begin_src emacs-lisp (F Agenda of upcoming deadlines (6 months) agenda ((org-agenda-ndays 1) (org-deadline-warning-days 183) (org-agenda-include-all-todo nil) (org-agenda-time-grid nil) (org-agenda-skip-function '(org-agenda-skip-entry-if 'notdeadline #+end_src It works nicely, but for 2 aspects: - future tasks that have *an explicit warning specification* are skipped! Example: * TODO Change car insurance DEADLINE: 2011-09-04 Sun -1m is not shown because of the -1m (my default is 14 days, but I found that too little in this case). Removing it makes this task appear in the agenda view. - scheduled tasks (in the past and/or for today) are shown, when paired with a deadline'd task. Example: * TODO Change of insurance company DEADLINE: 2011-09-04 Sun SCHEDULED: 2011-06-06 Mon Any hint on how to fix these? Best regards, Seb -- Sebastien Vauban
Re: [O] Referencing elemts of a table
Hello, Do you know if it's possible for a table in another file? Because in the manuel i read it's possible but I don't have result. (sorry for my english) Christelle On Tue, Jun 7, 2011 at 7:22 PM, Michael Brand michael.ch.br...@gmail.comwrote: Hi Karl You need additionally $# from Field coordinates in formulas described here: http://orgmode.org/manual/References.html#References and Calc vector subscript: #+TBLFM: @2 = subscr(remote(orgtblA, @2$2..@2$7), $#) Michael On Tue, Jun 7, 2011 at 17:55, Karl Voit devn...@karl-voit.at wrote: I want to define orgtblB line 2 (row 1 to 6) should contain the values from orgtblA, last line, row 2 to 7. I tried #+TBLFM: @2=remote(orgtblA,@2$2..@2$7) and #+TBLFM: @2$1..@2$6=remote(orgtblA,@2$2..@2$7) but that results in a list of 6x 5 values in each field in row 2. Here is an example of my org-tbl-reference-problem: http://paste.grml.org/462/
Re: [O] Feature request: two-letter combination for org-capture
Thank you Sebastien, This works perfectly. -- Darlan At Tue, 07 Jun 2011 23:53:59 +0200, Sebastien Vauban wxhgmqzgw...@spammotel.com wrote: Hi Darlan, Darlan Cavalcante Moreira wrote: A nice feature of the org-agenda is the possibility to define two letter combinations for the custom commands. From the manual I could not see how to do this with org-capture and I'm guessing it is not possible right now. It already is... See an example below, with the helper function I defined for myself... #+begin_src emacs-lisp (defun my/org-capture-template (keys description file headline) Create template for captured elements. `(,keys ,description entry (file+headline ,file ,headline) * %^{Title} :PROPERTIES: :Created: %:date-timestamp-inactive :END: %? %i From %a :empty-lines 1)) #+end_src ... for avoiding repetitive skeleton: #+begin_src emacs-lisp (setq org-capture-templates `(;; notes (N Templates adding notes) ,(my/org-capture-template Ne Emacs ~/Public/Notes-on-Emacs.txt Notes) ;; [...] ,(my/org-capture-template No Org ~/Public/Notes-on-Org.txt Notes))) #+end_src Best regards, Seb -- Sebastien Vauban
Re: [O] Referencing elemts of a table
Do you know if it's possible for a table in another file? Because in the manuel i read it's possible but I don't have result. M-x orgtbl-mode? --
Re: [O] [FEATURE] mobile-org on android don't show the hours of the event
Carsten Dominik carsten.domi...@gmail.com writes: Hi Remi, On Apr 3, 2011, at 1:45 PM, Rémi Vanicat wrote: Hello list, When looking at the agenda on my phone, I can't see the hours of the events I'm looking at. It seem the information is available (it's in the agenda.org that is used by android's mobile-org to show, but I can't understand how to make my android phone) There is a patch to org-mobile.el that make the times visible on my phone. I don't know how it will shine on others phone (I've no iphone to test it), and even if the choice to hide this is seen as a feature for some. Could you please show an example? Show us an entry in the Org file, what it looks like on an iphone (if possible) and what it looks like on your Android. The entry in tho org-file is: #+begin_src org-mode 10:15-11:15 Seconde 1 I15 :PROPERTIES: :ID: 95e9b4c0-d4cc-4fb0-a451-f9d566700d48 :END: %%(org-diary-class 01 09 2010 11 06 2011 1 51 52 08 09 16 17) #+end_src The entry in the generated agenda.org is: #+begin_src org-mode *** Seconde 1 I15beforecours: 10:15-11:15/before %%(org-diary-class 01 09 2010 11 06 2011 1 51 52 08 09 16 17) :PROPERTIES: :ORIGINAL_ID: 95e9b4c0-d4cc-4fb0-a451-f9d566700d48 :END: #+end_src On my android, in the Agenda View it appear as Seconde 1 I15 It appear correctly as 10:15-11:15 Seconde 1 I15 in the view of cours.org Only then we can judge if this is an issue with MobileOrg for Android, or with Org-mode itself. - Carsten From 0ce98d4f5606cade97edfc4165bf1119e1fcb1ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Vanicat?= vani...@debian.org Date: Sun, 3 Apr 2011 11:36:02 +0200 Subject: [PATCH] Show the time in org-mobile agenda. --- lisp/org-mobile.el |5 - 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/lisp/org-mobile.el b/lisp/org-mobile.el index 83462f0..af3c8b1 100644 --- a/lisp/org-mobile.el +++ b/lisp/org-mobile.el @@ -597,7 +597,7 @@ The table of checksums is written to the file mobile-checksums. (defvar org-mobile-creating-agendas nil) (defun org-mobile-write-agenda-for-mobile (file) - (let ((all (buffer-string)) in-date id pl prefix line app short m sexp) + (let ((all (buffer-string)) in-date id pl prefix line app short m sexp time) (with-temp-file file (org-mode) (insert #+READONLY\n) @@ -630,6 +630,7 @@ The table of checksums is written to the file mobile-checksums. (get-text-property (point) 'org-marker))) (setq sexp (member (get-text-property (point) 'type) '(diary sexp))) + (setq time (get-text-property (point) 'time)) (if (setq pl (text-property-any (point) (point-at-eol) 'org-heading t)) (progn (setq prefix (org-trim (buffer-substring @@ -638,6 +639,8 @@ The table of checksums is written to the file mobile-checksums. pl (point-at-eol (delete-region (point-at-bol) (point-at-eol)) +(when time + (insert time )) (insert line before prefix /before) (beginning-of-line 1)) (and (looking-at [ \t]+) (replace-match ))) -- 1.7.4.1 -- Rémi Vanicat - Carsten -- Rémi Vanicat
Re: [O] Referencing elemts of a table
kinouchou kinouc...@gmail.com wrote: Do you know if it's possible for a table in another file? Because in the manuel i read it's possible but I don't have result. (sorry for my english) Christelle I assume you mean the remote references in section 3.5.1 in the manual: , | You may also reference constants, fields and ranges from a different | table, either in the current file or even in a different file. The | syntax is | | remote(NAME-OR-ID,REF) | | where NAME can be the name of a table in the current file as set by a | `#+TBLNAME: NAME' line before the table. It can also be the ID of an | entry, even in a different file, and the reference then refers to the | first table in that entry. REF is an absolute field or range reference | as described above for example `@3$3' or `$somename', valid in the | referenced table. ` Here's a simple example - we have a table in one file, foo.org, which refers to a cell in table with ID 17: --8---cut here---start-8--- * foo #+TBLNAME: foo | a | b | |+-| | 1 | 4 | | 2 | 7 | | 3 | 12 | | 4 | 19 | | 5 | 28 | | 6 | 39 | | 7 | 52 | | 8 | 67 | | 9 | 84 | | 10 | 103 | #+TBLFM: $2 = $1*$1 + remote(17, @4$1) --8---cut here---end---8--- Here is the file that contains the table with ID 17 - the ID is actually that of an entry and as the snippet of the manual says, the remote reference refers to the first table under that entry. Here we only have one table under the entry, so there is no ambiguity: --8---cut here---start-8--- * bar :PROPERTIES: :ID: 17 :END: #+TBLNAME: bar | a | b | |---+---| | 1 | | | 2 | | | 3 | | | 4 | | | 5 | | | 6 | | --8---cut here---end---8--- In practice, you would probably generate the ID with org-id-uuid or similar to ensure that the ID is unique. If you change the remote reference to e.g remote(17, @3$1) and recalculate, you can see the values in the foo table changing appropriately. Does that answer your question? Nick On Tue, Jun 7, 2011 at 7:22 PM, Michael Brand michael.ch.br...@gmail.comwrote: Hi Karl You need additionally $# from Field coordinates in formulas described here: http://orgmode.org/manual/References.html#References and Calc vector subscript: #+TBLFM: @2 = subscr(remote(orgtblA, @2$2..@2$7), $#) Michael On Tue, Jun 7, 2011 at 17:55, Karl Voit devn...@karl-voit.at wrote: I want to define orgtblB line 2 (row 1 to 6) should contain the values from orgtblA, last line, row 2 to 7. I tried #+TBLFM: @2=remote(orgtblA,@2$2..@2$7) and #+TBLFM: @2$1..@2$6=remote(orgtblA,@2$2..@2$7) but that results in a list of 6x 5 values in each field in row 2. Here is an example of my org-tbl-reference-problem: http://paste.grml.org/462/
[O] Literate Programming - Continue a Source Block?
Hi, With noweb, one can continue a source block that one started earlier. Can this not be done with Babel? If not, I'm struggling a little with how to do LP using Babel... Thanks.