[Orgmode] Re: org export as twiki - Failure to export with error: (wrong-type-argument stringp nil)
"Mario E. Munich" writes: > Dear Baoqiu, > > thanks a lot for the reply... I have done some level of debugging (I > should have probably done it before, but I was not sure of what was > going on) and I had realized that the problem is in using brackets [ ] > in the text. Hi Mario, Thanks for posting your example Org file. Now I am able to reproduce the problem and know where the bug is. Just as what you said, the problem is caused by the last line that contains strings "double[9]" and "double[3][3]". Here "[9]" and "[3]" are considered footnote references (and I don't think this is what you expected), so some code is executed to find the footnote definitions. The problem happens when the *second* "[3]" is being processed. Strictly speaking, the second "[3]" is NOT considered as a footnote reference according to ``org-footnote-re'' (see org-footnote.el), but some code in org-docbook.el and org-html.el does not use ``org-footnote-re'' and still treats it as a footnote reference. This inconsistency causes the error you saw, which is only visible in org-docbook.el. Before I try to fix this problem, I would like to get the confirmation from Carsten on the footnote syntax: whether the second "[3]", which immediately follows a character "]", should be treated as a footnote reference. To get around of the problem, you can try changing the last line to something like: - =double[9]= was less efficient that =double[3][3]=, Please let me know if you have further questions. > Please find enclosed a simple file that will depict the issue. > > Best regards, > > -Mario > #+FILETAGS: personal > > * Converting org pages to Twiki > - use docbook2twiki http://code.google.com/p/docbook2twiki/ > - Checkout docbook2twiki: <2009-09-24 Thu> > svn checkout http://docbook2twiki.googlecode.com/svn/trunk/ > docbook2twiki-read-only > - retrieved r5 from that repository > - Load org-twiki.el > - Publish buffer with: M-x org-export-as-twiki > - double[9] was less efficient that double[3][3], Thanks, -- Baoqiu ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Clocking feature request
Putting this under each task you clock in will give you time today. :PROPERTIES: :CLOCK_MODELINE_TOTAL: today :END: I don't you can show both time to today and time for the file at once though. HTH. 2010/3/4 Sébastien Vauban > Hi all, > > Sorry to have some answers delayed. I have troubles accessing Gmane from > certain locations... hence, almost can't access Org-mode (yes, I know, but > I > don't like the ML style -- I prefer newsgroups). > > So, to come back to my title, I have a feature request around clocking. > > Currently, we know how much time we spend on tasks since the beginning (it > depends the file contents). For example, having one clock file per month, I > always see in the modeline how much time I spent reading mails since March > 1st. > > Though, I think it'd be very interesting to know how much time I spent > reading > mails *today* as well. This can help me distributing my work better. > > So, I think seeing something like `[0:37 / 2:25 (Emails and News)]' would > be > very nice. > > What do you think, all? Is it easy to implement? > > Best regards, > Seb > > -- > Sébastien Vauban > > > > ___ > Emacs-orgmode mailing list > Please 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 Please 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 export as twiki - Failure to export with error: (wrong-type-argument stringp nil)
"Mario E. Munich" writes: > Dear Baoqiu, > > thanks a lot for the reply... I have done some level of debugging (I > should have probably done it before, but I was not sure of what was > going on) and I had realized that the problem is in using brackets [ ] > in the text. > > Please find enclosed a simple file that will depict the issue. Hi Mario, Thanks for posting your example Org file. Now I am able to reproduce the problem and know where the bug is. Just as you said, the problem is caused by the last line that contains strings "double[9]" and "double[3][3]". Here "[9]" and "[3]" are considered footnote references (and I don't think this is what you wanted), so some code is executed to find the footnote definitions. The problem happens when the *second* "[3]" is being processed. Strictly speaking, the second "[3]" is NOT considered as a footnote reference according to ``org-footnote-re'' (see org-footnote.el), but some code in org-docbook.el and org-html.el does not use ``org-footnote-re'' and still treats it as a footnote reference. This inconsistency caused the problem you saw, and it is only visible in DocBook exporter. Before I try to fix the problem, I'd like to get Carsten's confirmation on the footnote reference syntax: whether the second "[3]", which immediately follows a character "]", should be treated as a footnote reference. To get around this problem, you can try changing the last line to something like: - =double[9]= was less efficient that =double[3][3]=, Please let me know if you have further questions. > Best regards, > > -Mario > #+FILETAGS: personal > > * Converting org pages to Twiki > - use docbook2twiki http://code.google.com/p/docbook2twiki/ > - Checkout docbook2twiki: <2009-09-24 Thu> > svn checkout http://docbook2twiki.googlecode.com/svn/trunk/ > docbook2twiki-read-only > - retrieved r5 from that repository > - Load org-twiki.el > - Publish buffer with: M-x org-export-as-twiki > - double[9] was less efficient that double[3][3], > > Thanks, -- Baoqiu ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Clocking feature request
Hi all, Sorry to have some answers delayed. I have troubles accessing Gmane from certain locations... hence, almost can't access Org-mode (yes, I know, but I don't like the ML style -- I prefer newsgroups). So, to come back to my title, I have a feature request around clocking. Currently, we know how much time we spend on tasks since the beginning (it depends the file contents). For example, having one clock file per month, I always see in the modeline how much time I spent reading mails since March 1st. Though, I think it'd be very interesting to know how much time I spent reading mails *today* as well. This can help me distributing my work better. So, I think seeing something like `[0:37 / 2:25 (Emails and News)]' would be very nice. What do you think, all? Is it easy to implement? Best regards, Seb -- Sébastien Vauban ___ Emacs-orgmode mailing list Please 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] org-mode URLs and pseudoURLs: Getting org-mode to accept the `javascript:' pseudoURL on the same basis as `http:' and `ftp:'
A ... thanks, Carsten! I'll see what I can do to get `javascript:' to be accepted as `http:' and `ftp:' Thanks for the pointer to the file I need to focus my efforts on. Cheers! Gene On Thu, Mar 4, 2010 at 16:15, Carsten Dominik wrote: > > On Mar 3, 2010, at 6:45 PM, Gene Sullivan wrote: > > Hello >> >> I've been using org-mode via GNU Emacs for several months. >> I've been pasting URLs into my org-mode files and thus benefit from >> launching a browser tab in Mozilla Firefox by just clicking on these URLS. >> Recently I've been experimenting with the pseudoURL `javascript:' via >> Firefox. >> I've discovered that when I paste a javascript pseudoURL into my org-mode >> file, org-mode does not acknowledge it as an URL as it does http: or ftp: >> >> Would you please be so kind to either >> (1) forward this to someone developing org-mode OR/AND >> (2) point me in the direction of information I can use to modify a >> specific org-mode file in the distro so that I can add support for the >> javascript pseudoURL? >> >> I did check gmane for `pseudoURL' through the following query but came up >> empty handed. >> >> >> http://search.gmane.org/?query=pseudourls&author=&group=gmane.emacs.orgmode&sort=relevance&DEFAULTOP=and&xP=Zjavascript&xFILTERS=Gemacs.orgmode---A >> >> I noticed text at http://orgmode.org/worg/ which indicated that >> Sebastian Rose has done something >> with Javascript -- org-info-js by Sebastian Rose -- and maybe would be >> interested in adding the >> javascript pseudoURL to the assortment of URL types presently supported by >> org-mode? >> >> >> Can anybody help me get the javascript: pseudoURL integrated into org-mode >> so it can be used like http: and ftp: ? >> > > > http://orgmode.org/manual/Adding-hyperlink-types.html#Adding-hyperlink-types > > HTH > > - Carsten > > ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Rendering of => and -> as arrows in exports?
Hi, the following hack works quite well for me: (add-hook 'org-export-latex-after-blockquotes-hook 'org-export-latex-arrows) (defun org-export-latex-arrows () (goto-char (point-min)) (while (search-forward "==>" nil t) (org-if-unprotected (replace-match (org-export-latex-protect-string "$\\rightarrow$") nil t))) ) This shouldn't be too hard to generalize further. Cheers, Valentin On Thu, Mar 4, 2010 at 2:45 PM, Geralt wrote: > Hi, > > I'd like it if => and -> would be exported as if they were \Rightarrow > and respectively \rightarrow. > Of course it should be optional (but I think enabled by default is > what most people desire). What do you think? > > Rendering auf <- could be treated in that way, too but <= is also > lower-equal and therefore I suggest to not render it as an arrow, > besides I don't think that the left-arrows are commonly used in > plain-text. > > > > > Geralt. > > > ___ > Emacs-orgmode mailing list > Please 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 Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] [PATCH] Add tags filter parameter to clock table
Hi Adam, great work, it seems this patch does what it claims. It may be slow in some cases, but I don't think this is a problem. The patch is more than a few lines, to be sure I would like toask you to sign the papers with the FSF? Is that OK? http://orgmode.org/worg/org-contribute.php#sec-2 - Carsten On Feb 23, 2010, at 8:13 AM, Adam Elliott wrote: I have attached a git patch against master that implements a new parameter to clock tables, "tags". This parameter is a tags-query as a string and is used to filter the headlines which are consulted when building the clock table. In my search of the archives to see if this feature already existed, I found a reference here: http://article.gmane.org/gmane.emacs.orgmode/17304 suggesting it was difficult. The patch is not so large, though, so perhaps I am missing something. My rationale in implementing this feature was to keep track of the occasional task item that is not billable, yet still makes sense to include in the overall project structure. Of course I could just avoid clocking the task item, or manually delete clock lines before generating a report, but this feature reduces the chance for error; no doubt there are other workflows enabled with this feature as well. I don't make significant use of tags myself, but I know many do. In order to maintain a sensible report, headlines that don't match the tag filter may be included if they have descendants that do. Any time clocked directly on non-matching headlines, however, is excluded. Specifying even a simple filter noticeably slows down clock table generation for non-toy reports, particularly for clock table reports with :step. If there is no filter, though, there is no degradation in performance. Tag filter syntax is the standard one, as described at: http://orgmode.org/manual/Matching-tags-and-properties.html Only tags are considered at the moment, although I suspect querying against all properties would be possible (if even slower). Examples: * development CLOCK: => 1:00 *** task 1 CLOCK: => 1:00 *** task 2 :must: * task 2a CLOCK: => 1:00 * task 2b :mustnot: CLOCK: => 1:00 Note I am using an unconventional but legal(ish) clock format for brevity. Clock tables are also pruned to only relevant lines. [1] #+BEGIN: clocktable | | *Total time* | *4:00* | | | |---+--++--+--| | 1 | development | 4:00 | | | | 2 | task 1 || 1:00 | | | 2 | task 2 || 2:00 | | | 3 | task 2a || | 1:00 | | 3 | task 2b || | 1:00 | [2] #+BEGIN: clocktable :tags "must" | | *Total time* | *2:00* | | | |---+--++--+--| | 1 | development | 2:00 | | | | 2 | task 2 || 2:00 | | | 3 | task 2a || | 1:00 | | 3 | task 2b || | 1:00 | [3] #+BEGIN: clocktable :tags "-mustnot" | | *Total time* | *3:00* | | | |---+--++--+--| | 1 | development | 3:00 | | | | 2 | task 1 || 1:00 | | | 2 | task 2 || 1:00 | | | 3 | task 2a || | 1:00 | [4] #+BEGIN: clocktable :tags "must-mustnot" | | *Total time* | *1:00* | | | |---+--++--+--| | 1 | development | 1:00 | | | | 2 | task 2 || 1:00 | | | 3 | task 2a || | 1:00 | [5] #+BEGIN: clocktable :tags "must+mustnot" | | *Total time* | *1:00* | | | |---+--++--+--| | 1 | development | 1:00 | | | | 2 | task 2 || 1:00 | | | 3 | task 2b || | 1:00 | As you can see, in examples 2, 4, and 5, the time clocked on "development" itself is being removed. Example 2 illustrates the effect of tag inheritance. Adam From 80fb7b01c58989ed69b5a176784d71fe557fc4c6 Mon Sep 17 00:00:00 2001 From: Adam Elliott Date: Mon, 22 Feb 2010 00:57:22 -0500 Subject: [PATCH] Add tags filter parameter to clocktables. --- lisp/org-clock.el | 59 +--- 1 files changed, 46 insertions(+), 13 deletions(-) mode change 100644 => 100755 lisp/org-clock.el diff --git a/lisp/org-clock.el b/lisp/org-clock.el old mode 100644 new mode 100755 index e3866be..fb85380 --- a/lisp/org-clock.el +++ b/lisp/org-clock.el @@ -1289,10 +1289,13 @@ With prefix arg SELECT, offer recently clocked tasks for selection." "Holds the file total time in minutes, after a call to `org-clock- sum'.") (make-variable-buffer-local 'org-clock-file-total-minutes) -(defun org-clock-sum (&optional tstart tend) +(defun org-clock-sum (&optional tstart tend headline-filter) "Sum the times for each subtree. Puts the resulting times in minutes as a text property on each head
Re: [Orgmode] [org-mode] org-mode URLs and pseudoURLs: Getting org-mode to accept the `javascript:' pseudoURL on the same basis as `http:' and `ftp:'
On Mar 3, 2010, at 6:45 PM, Gene Sullivan wrote: Hello I've been using org-mode via GNU Emacs for several months. I've been pasting URLs into my org-mode files and thus benefit from launching a browser tab in Mozilla Firefox by just clicking on these URLS. Recently I've been experimenting with the pseudoURL `javascript:' via Firefox. I've discovered that when I paste a javascript pseudoURL into my org- mode file, org-mode does not acknowledge it as an URL as it does http: or ftp: Would you please be so kind to either (1) forward this to someone developing org-mode OR/AND (2) point me in the direction of information I can use to modify a specific org-mode file in the distro so that I can add support for the javascript pseudoURL? I did check gmane for `pseudoURL' through the following query but came up empty handed. http://search.gmane.org/?query=pseudourls&author=&group=gmane.emacs.orgmode&sort=relevance&DEFAULTOP=and&xP=Zjavascript&xFILTERS=Gemacs.orgmode---A I noticed text at http://orgmode.org/worg/ which indicated that Sebastian Rose has done something with Javascript -- org-info-js by Sebastian Rose -- and maybe would be interested in adding the javascript pseudoURL to the assortment of URL types presently supported by org-mode? Can anybody help me get the javascript: pseudoURL integrated into org-mode so it can be used like http: and ftp: ? http://orgmode.org/manual/Adding-hyperlink-types.html#Adding-hyperlink-types HTH - Carsten ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Links with description and '%3f' in URL fail
Hi Sebastian, could you please try if the following patch does solve this issue? Thanks. - Carsten diff --git a/lisp/org.el b/lisp/org.el index 85b74fa..59d2acf 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -7950,12 +7950,14 @@ This is the list that is used before handing over to the browser.") (url-unhex-string text) (setq table (or table org-link-escape-chars)) (when text - (let ((re (mapconcat (lambda (x) (regexp-quote (cdr x))) + (let ((case-fold-search t) + (re (mapconcat (lambda (x) (regexp-quote (downcase (cdr x table "\\|"))) (while (string-match re text) (setq text (replace-match -(char-to-string (car (rassoc (match-string 0 text) table))) +(char-to-string (car (rassoc (upcase (match-string 0 text)) + table))) t t text))) text On Mar 4, 2010, at 5:06 PM, Sebastien Delafond wrote: Quoting from debian bug report #572404[0]: This error is quite esoteric. Creating a link with a '%3f' escape sequence in its URL (at least HTTP ones) makes it fail to be edited with C-c C-l and exported with the error: org-link-unescape: Wrong type argument: characterp, nil But only if the link has a description. Other escape sequences like '%3e' or '%40' or even the literal '?' corresponding to character 0x3f don't trigger the error. For instance: - http://www.example.com/x%3fx doesn't trigger the error - [[http://www.example.com/x%3fx][test]] triggers the error - [[http://www.example.com/x%3ex][test]] doesn't trigger the error - [[http://www.example.com/x?x][test]] doesn't trigger the error Even more strange, while '%3f' reveals the error, '%3F' does not. I guess the ``org-link-unescape`` function has some serious problems with the handling of '?': when using '%3F' in an HTTP URL, it is unescaped when exported to HTML, resulting most of the time in invalid URLs, since the '?' character separates the path from query arguments. For instance, in "http://x.org/what%3F"; the '%3F' should be left as is instead of being exported as "http://x.org/what?";. In "http://x.org/query?foo=bar";, the '?' should also be left as is. Here it's better to trust the user and leave URLs untouched than trying to be too smart. It at least sounds a like strange that it'd behave diffrently depending on whether or not there is a description alongside the link... Cheers, --Seb [0] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=572404 ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode - Carsten ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] [org-feed] Remember the Milk - active timestamps
On Mar 4, 2010, at 7:33 PM, Sven Bretfeld wrote: Hi Carsten Carsten Dominik writes: how is the appointment time visible in the RTM stream? Are they using a special tag for it or so? They have a really weak management for dates. Everything that exceeds the due-time by more than one week, is awkward to insert (especially on a phone) and very buggy and unstable. Yes, they have a special tag inside the stream, but in the meantime I think it's not worth worrying how to grab and convert it. Now, I solved the case by inserting a couple of digits directly into the headline and change it with an org-feed-after-adding-hook: ,RTM | | This is a date @@10030411:15-12:45 | ` It will be converted into: ,Orgmode | | ** This is a date |<2010-03-04 11:15-12:45> | ` by this function: --8<---cut here---start->8--- (defun rtm-dateconvert () (interactive) (beginning-of-buffer) (while (re-search-forward "@@\\([0-9][0-9]\\)\\([0-9][0-9]\\)\\ ([0-9][0-9]\\)\\([0-9]*[0-9]+:[0-9][0-9]\\)\\ ([-]*[0-9]*[0-9]*[:]*[0-9]*[0-9]*\\)" nil t) (replace-match "\n <20\\1-\\2-\\3 \\4\\5>" nil nil)) (save-buffer "mygtd.org")) (add-hook 'org-feed-after-adding-hook 'rtm-dateconvert) --8<---cut here---end--->8--- This is a good solution! I think one could to a lot more smart reading in this way So far it works. But it's not very elegant to jump to the beginning of the buffer in the first step. I couldn't find out how to restrict re-search-forward to only the current line. If that is possible, one could get rid of the necessity of the @@. Why only the current line? Are you sure that you are not dealing with a multi-line text? Anyway, yes you can: (goto-char (point-at-bol)) (looking-at ".*?AndThenYourRegexpHere") HTH - Carsten There are still some other problems in using RTM with org-feed. I will start a new thread on them. If they can be solved, I can absolutely recommend RTM for orgmode users who own an Android phone (there is a RTM app in the Market), especially since Reqall is not yet available in most parts of Europe and OrgMobile for Android is not yet fully usable. Greetings, Sven ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode - Carsten ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: org export as twiki - Failure to export with error: (wrong-type-argument stringp nil)
Dear Baoqiu, thanks a lot for the reply... I have done some level of debugging (I should have probably done it before, but I was not sure of what was going on) and I had realized that the problem is in using brackets [ ] in the text. Please find enclosed a simple file that will depict the issue. Best regards, -Mario #+FILETAGS: personal * Converting org pages to Twiki - use docbook2twiki http://code.google.com/p/docbook2twiki/ - Checkout docbook2twiki: <2009-09-24 Thu> svn checkout http://docbook2twiki.googlecode.com/svn/trunk/ docbook2twiki-read-only - retrieved r5 from that repository - Load org-twiki.el - Publish buffer with: M-x org-export-as-twiki - double[9] was less efficient that double[3][3], ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] [org-feed] Some problems with Remember the Milk and org-feed
Hi to all As I have said before, I can recommend www.rememberthemilk.com (RTM) to capture tasks and dates on an Android phone as long as MobileOrg for Android is still under development. I will post my setup at the bottom of this posting. Maybe it's of use for others. There are still two problems I encountered: 1. Emacs needs login information to access the RTM feed. I have not figured out yet, how to automatize that. At the moment I type in username and password once after I started a new Emacs session. 2. I start org-feed every hour with a run-at-time function. Every 2nd or 3rd time, Emacs is unable to read the feed and hangs forever, the minibuffer saying something like "Reading 18 bytes". I haven't figured out the reason for this problem yet. It might have something to do with the creation of the feed by the RTM page. Usually it works again after I have accessed the feed with another feedreader. The problem also seems to occur every time when the feed is completely empty. All I can say is that the freezing occurs before Emacs even had asked for the login information, i.e. directly after hitting C-c C-x g in a new Emacs session. However, sometimes it works well even in a new session. The message buffer says nothing. How can I make Emacs more verbose to track the problem? Thanks for help, Sven Here is my setup for org-feed with RTM. After the above problems will be solved, I will also publish this and my way of using Android together with orgmode on Worg. --8<---cut here---start->8--- (if (string-equal system-name "kamaloka") ;; Because I want only one of my (always running) computers to insert ;; the feeds. If you don't need that, delete the first line and the last ;; bracket. (setq org-feed-alist '(("RTM" ;; The 1st feed is for tasks. I use the Inbox of RTM for that. ;; You have to insert @@h for :HOME: or @@o for :OFFICE: ;; so that the RTM entry looks like this: ;; `Do your laundry @@h' or ;; `Read Sam's report @@o'. "https://www.rememberthemilk.com/atom/[username]/[number_of_the_feed]/"; "~/aktuell/myconf/mygtd.org" "New Tasks" :template "* NEXT %title" :parse-feed org-feed-parse-atom-feed :parse-entry org-feed-parse-atom-entry) ("RTM-Termine" ;; The 2nd feed is for dates. I use a RTM folder called `dates' ;; for that. ;; You have to insert @@ and the date and time without any ;; format, so that the RTM entry looks like this: ;; `Meeting with Sam @@10030411:15-12:45' or ;; `Lunch @@10030413:00. ;; It will be converted to <2010-03-04 11:15-12:45> "https://www.rememberthemilk.com/atom/[username]/[number_of_the_feed]"; "~/aktuell/myconf/mygtd.org" "Termine" :template "* APPT %title" :parse-feed org-feed-parse-atom-feed :parse-entry org-feed-parse-atom-entry) ))) (defun rtm-dateconf () "This function converts the RTM feeds into the orgmode format." (interactive) (beginning-of-buffer) (while (re-search-forward "@@\\([0-9][0-9]\\)\\([0-9][0-9]\\)\\([0-9][0-9]\\)\\([0-9]*[0-9]+:[0-9][0-9]\\)\\([-]*[0-9]*[0-9]*[:]*[0-9]*[0-9]*\\)" nil t) (replace-match "\n <20\\1-\\2-\\3 \\4\\5>" nil nil)) (beginning-of-buffer) (while (re-search-forward "@@h" nil t) (replace-match ":HOME:" nil nil)) (beginning-of-buffer) (while (re-search-forward "@@o" nil t) (replace-match ":OFFICE:" nil nil)) (save-buffer "mygtd.org") ) (add-hook 'org-feed-after-adding-hook 'rtm-dateconf) ;; Run org-feed once every hour. (if (string-equal system-name "kamaloka") (run-at-time 3600 3600 'org-feed-update-all)) --8<---cut here---end--->8--- ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: Writing a dissertation using org-mode
"Thomas S. Dye" writes: > The model I'm working with now for writing a book (still evolving as I > learn org-mode and org-babel and try different things) has 3 parts: I am very impressed by your setup and it closely matches my requirements. I will most likely implement it once my proposal has been accepted. I am in your debt :-)I am very glad to be able to use org-mode and be part of its wonderful user and developer community. -- Henri-Paul Indiogine Email: hindiog...@gmail.com Skype: hindiogine Website: http://www.coe.tamu.edu/~enrico ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] [org-feed] Remember the Milk - active timestamps
Hi Carsten Carsten Dominik writes: > how is the appointment time visible in the RTM stream? Are they using > a special tag for it or so? They have a really weak management for dates. Everything that exceeds the due-time by more than one week, is awkward to insert (especially on a phone) and very buggy and unstable. Yes, they have a special tag inside the stream, but in the meantime I think it's not worth worrying how to grab and convert it. Now, I solved the case by inserting a couple of digits directly into the headline and change it with an org-feed-after-adding-hook: ,RTM | | This is a date @@10030411:15-12:45 | ` It will be converted into: ,Orgmode | | ** This is a date |<2010-03-04 11:15-12:45> | ` by this function: --8<---cut here---start->8--- (defun rtm-dateconvert () (interactive) (beginning-of-buffer) (while (re-search-forward "@@\\([0-9][0-9]\\)\\([0-9][0-9]\\)\\([0-9][0-9]\\)\\([0-9]*[0-9]+:[0-9][0-9]\\)\\([-]*[0-9]*[0-9]*[:]*[0-9]*[0-9]*\\)" nil t) (replace-match "\n <20\\1-\\2-\\3 \\4\\5>" nil nil)) (save-buffer "mygtd.org")) (add-hook 'org-feed-after-adding-hook 'rtm-dateconvert) --8<---cut here---end--->8--- So far it works. But it's not very elegant to jump to the beginning of the buffer in the first step. I couldn't find out how to restrict re-search-forward to only the current line. If that is possible, one could get rid of the necessity of the @@. There are still some other problems in using RTM with org-feed. I will start a new thread on them. If they can be solved, I can absolutely recommend RTM for orgmode users who own an Android phone (there is a RTM app in the Market), especially since Reqall is not yet available in most parts of Europe and OrgMobile for Android is not yet fully usable. Greetings, Sven ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Manual patch: links to remote files
Sure, please go ahead and apply this patch. - Carsten On Mar 4, 2010, at 12:46 PM, Dan Davison wrote: Links to remote files, like [[file:/mys...@some.where.org:papers/last.pdf][paper]] work fine. Would it be worth explicitly adding them to the list of link examples in the manual, like below? Dan diff --git a/doc/org.texi b/doc/org.texi index 2760905..aaf8dba 100644 --- a/doc/org.texi +++ b/doc/org.texi @@ -2769,6 +2769,8 @@ file:/home/dominik/images/jupiter.jpg @r{file, absolute path} /home/dominik/images/jupiter.jpg @r{same as above} file:papers/last.pdf @r{file, relative path} ./papers/last.pdf @r{same as above} +file:/mys...@some.where.org:papers/last.pdf @r{file, path on remote machine} +/mys...@some.where.org:papers/last.pdf@r{same as above} file:sometextfile::NNN@r{file with line number to jump to} file:projects.org @r{another Org file} file:projects.org::some words @r{text search in Org file} ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode - Carsten ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] [org-feed] Remember the Milk - active timestamps
Hi Sven, how is the appointment time visible in the RTM stream? Are they using a special tag for it or so? - Carsten On Feb 25, 2010, at 10:10 PM, Sven Bretfeld wrote: Hi list-members Today, I configured org-feed to catch RSS feeds from RTM. For Appointments I wrote a template that was intended to convert RTM-schedules to org timestamps (i.e. the date of the appointment). :template "* APPT %title\n %T" This doesn't work, because what is converted by %T is not the schedule but the creation date of the RTM-entry. Has anybody solved this problem? Greetings, Sven ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode - Carsten ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: Writing a dissertation using org-mode
On Mar 4, 2010, at 4:02 AM, Maurizio Vitale wrote: I'd recommend you use auctex for writing your thesis: it knows about many LaTeX packages (and you can teach it more), so you get autocompletion and highlighting. It does quasi-wysiwyg for fonts and math. It can render fragments for quick checking and interface with external viewers. And it has some folding support, albeit not as nice as org-mode's. Org-mode would basically give you three things: - sectioning/folding - todo lists - simple tables Org-mode is wonderful for quickly taking notes and generate LaTeX/pdf out of them. But for a book/thesis you cannot beat auctex. Best regards, Maurizio Aloha Henri-Paul, I think this is good advice for a thesis writer. auctex, with the reftex plug-in, is a huge help. The model I'm working with now for writing a book (still evolving as I learn org-mode and org-babel and try different things) has 3 parts: 1) The main body of the book, held in several tex files, typically one file per chapter. A master tex file contains the memoir header, the includes, and the glossary, bibliography, and index paraphernalia. I do almost all my writing in these files. 2) An org-mode file with a level one heading for each chapter, underneath which is a place for notes, todo items, random thoughts, and outline fragments. Immediately beneath the level one heading is a link to the chapter tex file. I use the org-mode file to keep track of what I've finished and what still needs work. This is a tremendous help when I have to put the work down for a while and then pick it up again. I'm back up to speed in short order. 3) Several org-babel LaTeX code blocks and noweb references to the output from statistical analyses mostly in R and carried out in org- babel. These are mostly descriptive sections and the benefit of writing them this way is that they track changes in the database as I augment observations or spot data entry errors while writing. These are exported to tex files that are referenced in the master tex file. 4) Compiling my book is a three-step process (ignoring for the moment the bibliography, glossary, and index). First, re-run the statistical analyses in org-babel. Second, run org-babel-tangle on the org-mode file to refresh the output of the org-babel LaTeX code blocks. Lastly compile to pdf with auctex. I'll be interested to learn how you end up writing your thesis with LaTeX and org-mode. HTH, Tom ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Writing a dissertation using org-mode
Torsten Wagner writes: > please consider that you might have to follow a very stricy layout > style depening on your university, department, lab or supervisor. If > your are lucky there will be a LaTeX template somewhere at your > university. If you are unlucky there is nothing like that or even > worse only a MS-word template. That is true. My university has a LaTeX template. However, it is in the previous version of LaTeX. I find that inexcusable. They should update it. It is not happening. I think I should make a formal complaint. > I'm not sure how good org-mode might be usable in that case. org-mode > is really great and I try to use it for many purposes. However, for a > thesis I would use directly LaTeX which gives me a bit more control of > what is going on. True, I probably will use org-mode as an intermediary step. I will use it to create my drafts and then at the end change to the university LaTeX template. That should not be too much work. > Furthermore, try biber [1] and biblatex [2]... the somehow next > generation of bibtex and bib-file compatible. For me they work very > well already despite of the fact that they are still > beta-versions. biblatex gives you much more freedom of formatting your > citations and bibliography... I guess both highly needed in your > scientific field. Good point, I am just worried about learning too many things (Emacs, LaTeX, git, org-mode, R, ESS, ...) to take on new technologies. Writing a dissertation is quite a load already. But I will into it. Thanks, -- Henri-Paul Indiogine Email: hindiog...@gmail.com Skype: hindiogine Website: http://www.coe.tamu.edu/~enrico ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Links with description and '%3f' in URL fail
Quoting from debian bug report #572404[0]: This error is quite esoteric. Creating a link with a '%3f' escape sequence in its URL (at least HTTP ones) makes it fail to be edited with C-c C-l and exported with the error: org-link-unescape: Wrong type argument: characterp, nil But only if the link has a description. Other escape sequences like '%3e' or '%40' or even the literal '?' corresponding to character 0x3f don't trigger the error. For instance: - http://www.example.com/x%3fx doesn't trigger the error - [[http://www.example.com/x%3fx][test]] triggers the error - [[http://www.example.com/x%3ex][test]] doesn't trigger the error - [[http://www.example.com/x?x][test]] doesn't trigger the error Even more strange, while '%3f' reveals the error, '%3F' does not. I guess the ``org-link-unescape`` function has some serious problems with the handling of '?': when using '%3F' in an HTTP URL, it is unescaped when exported to HTML, resulting most of the time in invalid URLs, since the '?' character separates the path from query arguments. For instance, in "http://x.org/what%3F"; the '%3F' should be left as is instead of being exported as "http://x.org/what?";. In "http://x.org/query?foo=bar";, the '?' should also be left as is. Here it's better to trust the user and leave URLs untouched than trying to be too smart. It at least sounds a like strange that it'd behave diffrently depending on whether or not there is a description alongside the link... Cheers, --Seb [0] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=572404 ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Rendering of => and -> as arrows in exports?
Hi, I'd like it if => and -> would be exported as if they were \Rightarrow and respectively \rightarrow. Of course it should be optional (but I think enabled by default is what most people desire). What do you think? Rendering auf <- could be treated in that way, too but <= is also lower-equal and therefore I suggest to not render it as an arrow, besides I don't think that the left-arrows are commonly used in plain-text. Geralt. ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] [Clock-table] Two questions about clock tables
Hi, I've found org-mode to be an excellent tool to plan tasks and have recently started using it to track time/effort. 1) Is it possible to do a 'cross-tab' of time spent by both tasks and tags? Something like the following: | Tasks | Tag1 | Tag2 | |---+--+--| | Task1 | 2:30 | 1:30 | | Task2 | 0:45 | 2:00 | |---+--+--| | Total | 3:15 | 3:30 | 2) I like using variable width fonts as they are much easier to read, but this doesn't work with clock-tables or column-mode. Is there any easy way to set a fixed-width font for part of a buffer? (ie for a Begin-End block) Or to toggle between a variable-width and a fixed-width font? Many thanks for the help and the excellent tool. M. ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] [PATCH 2/2] Fix adaptive filling.
Samuel Wales wrote: > How will the new value of a non-org variable affect filladapt.el? I don't use filladapt.el, so I can't be sure, but the change I made is pretty non-invasive, so I doubt many problems would arise. I'm not quite sure of what is being asked, however; what would filladapt.el do that could be affected by this? > On 2010-03-01, Dan Hackney wrote: >> For paragraph text, `org-adaptive-fill-function' did not handle the >> base case of regular text which needed to be filled. This commit >> saves a buffer-local value of `adaptive-fill-regexp' and uses it if >> none of the org-specific regexps match. This allows email-style ">" >> comments to be filled correctly. -- Daniel M. Hackney ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] two questions about clock tables
Hi, I've found org-mode to be an excellent tool to plan tasks and have recently started using it to track time/effort. 1) Is it possible to do a 'cross-tab' of time spent by both tasks and tags? Something like the following: | Tasks | Tag1 | Tag2 | |---+--+--| | Task1 | 2:30 | 1:30 | | Task2 | 0:45 | 2:00 | |---+--+--| | Total | 3:15 | 3:30 | 2) I like using variable width fonts as they are much easier to read, but this doesn't work with clock-tables or column-mode. Is there anyway to set a fixed-width font for part of a buffer? (ie for a Begin-End block) Or to toggle between a variable-width and a fixed-width font? Many thanks for the help and the excellent tool. M. ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] [org-mode] org-mode URLs and pseudoURLs: Getting org-mode to accept the `javascript:' pseudoURL on the same basis as `http:' and `ftp:'
Hello I've been using org-mode via GNU Emacs for several months. I've been pasting URLs into my org-mode files and thus benefit from launching a browser tab in Mozilla Firefox by just clicking on these URLS. Recently I've been experimenting with the pseudoURL `javascript:' via Firefox. I've discovered that when I paste a javascript pseudoURL into my org-mode file, org-mode does not acknowledge it as an URL as it does http: or ftp: Would you please be so kind to either (1) forward this to someone developing org-mode OR/AND (2) point me in the direction of information I can use to modify a specific org-mode file in the distro so that I can add support for the javascript pseudoURL? I did check gmane for `pseudoURL' through the following query but came up empty handed. http://search.gmane.org/?query=pseudourls&author=&group=gmane.emacs.orgmode&sort=relevance&DEFAULTOP=and&xP=Zjavascript&xFILTERS=Gemacs.orgmode---A I noticed text at http://orgmode.org/worg/ which indicated that Sebastian Rose has done something with Javascript -- org-info-js by Sebastian Rose -- and maybe would be interested in adding the javascript pseudoURL to the assortment of URL types presently supported by org-mode? Can anybody help me get the javascript: pseudoURL integrated into org-mode so it can be used like http: and ftp: ? Thanks in advance. Sincerely, Gene Sullivan ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: Writing a dissertation using org-mode
I'd recommend you use auctex for writing your thesis: it knows about many LaTeX packages (and you can teach it more), so you get autocompletion and highlighting. It does quasi-wysiwyg for fonts and math. It can render fragments for quick checking and interface with external viewers. And it has some folding support, albeit not as nice as org-mode's. Org-mode would basically give you three things: - sectioning/folding - todo lists - simple tables Org-mode is wonderful for quickly taking notes and generate LaTeX/pdf out of them. But for a book/thesis you cannot beat auctex. Best regards, Maurizio ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: inserting notes at level 1 with org-remember
Hi Trance and Matt, I am not able to reproduce this problem. - Carsten On Feb 26, 2010, at 11:26 PM, Matthew Lundin wrote: Hi Trance, Trance Diviner writes: On Feb 25, 2010, at 7:38 PM, Matt Lundin wrote: Trance Diviner writes: But I find that org-remember always creates notes as a level-2 entry. For example, starting with an empty "example.org" file and the following configuration: (setq org-remember-templates '(("Note" ?n "* %u %?\n\n%i\n%a" "example.org" top))) Invoking org-remember twice results in these contents: ** [2010-02-25 Thu] note two ** [2010-02-25 Thu] note one What I expected was: * [2010-02-25 Thu] note two * [2010-02-25 Thu] note one I cannot duplicate this. With your remember template, org mode files the entries at the top of example.org as level 1 headlines. That's promising. What org-mode and emacs version? org-version "6.33x" emacs-version "23.1.90.1" I tried it again exactly as you explained and now can confirm that this behavior occurs when there is no blank/new line at the top of the remember target file. (When I tried it before, I used a file that had a new line.) To duplicate the bug, I did the following: 1) "touch example.org" 2) called the remember template above. If you want a temporary fix, ensure that there is a blank/new line (or a comment line) at the top of your target file. (If you have content in the file, this shouldn't be a problem.) Best, Matt ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode - Carsten ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Manual patch: links to remote files
Links to remote files, like [[file:/mys...@some.where.org:papers/last.pdf][paper]] work fine. Would it be worth explicitly adding them to the list of link examples in the manual, like below? Dan diff --git a/doc/org.texi b/doc/org.texi index 2760905..aaf8dba 100644 --- a/doc/org.texi +++ b/doc/org.texi @@ -2769,6 +2769,8 @@ file:/home/dominik/images/jupiter.jpg @r{file, absolute path} /home/dominik/images/jupiter.jpg @r{same as above} file:papers/last.pdf @r{file, relative path} ./papers/last.pdf @r{same as above} +file:/mys...@some.where.org:papers/last.pdf @r{file, path on remote machine} +/mys...@some.where.org:papers/last.pdf@r{same as above} file:sometextfile::NNN@r{file with line number to jump to} file:projects.org @r{another Org file} file:projects.org::some words @r{text search in Org file} ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Writing a dissertation using org-mode
Henri-Paul, I'm doing the same, with basically the same setup, but using biblatex, and Zotero, but planning to give Mendeley a serious test for PDF management. (And yes there are still problems and repeated manual tweaking associated with using Zotero + bibtex. The export is just not bibtex-y enough). It remains to be seen whether I'll wish I had worked in pure LaTeX at the end. It's true that I have run into occaisional problems with the latex conversion. Sometimes things like quotes (") and italics next to each other can conflict. (I haven't done recent tests to see if I still have these problems). But the org-mode community has seemed pretty wiling to help navigate, fix or work around these problems. Still, I like the outlinability the oversee-ability of keeping all my work in org-mode, as well as the ability to use comments and "inline" TODOs. (they're not really inline, but they are independant of the outline structure.) And I figure when the thing is nearing its final form, I'll nix org if I have to and just work in the exportd LaTeX. My next small project is finding a way to make my thesis.org file keep a standard header outline (where the '** Headlines" hold the text that will eventually head the chapters, sections and subsections), and also an outline of my argument, which won't be printed, but is more useful for the writing process. I've tried a few things but have not settled on anything yet. Keep well, Scot On Thu, Mar 4, 2010 at 5:33 AM, Torsten Wagner wrote: > Dear Henri, > > > On 03/04/2010 01:45 PM, Henri-Paul Indiogine wrote: > >> I started writing my doctoral dissertation in history using org-mode. I >> am also using git.el for my version control and gnus for my email. Of >> course I export my org file to LaTeX which I compile to pdf. My >> bibliography is managed using BibTeX. >> > > please consider that you might have to follow a very stricy layout style > depening on your university, department, lab or supervisor. If your are > lucky there will be a LaTeX template somewhere at your university. If you > are unlucky there is nothing like that or even worse only a MS-word > template. > > I'm not sure how good org-mode might be usable in that case. org-mode is > really great and I try to use it for many purposes. However, for a thesis I > would use directly LaTeX which gives me a bit more control of what is going > on. > > Furthermore, try biber [1] and biblatex [2]... the somehow next generation > of bibtex and bib-file compatible. For me they work very well already > despite of the fact that they are still beta-versions. biblatex gives you > much more freedom of formatting your citations and bibliography... I guess > both highly needed in your scientific field. > > Good luck > > Torsten > > [1] http://biblatex-biber.sourceforge.net/ > [2] http://www.ctan.org/tex-archive/help/Catalogue/entries/biblatex.html > > > > > > > > > ___ > Emacs-orgmode mailing list > Please 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 Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Bug in LaTeX export of org-html-entities?
Hi Gerald, I confirm this bug, but I don't have a fix currently. There is a revamp of the entiies code in the making, but not done yet. - Carsten On Feb 26, 2010, at 11:24 AM, Geralt wrote: Hello, I think there's at least one bug in the org-export-latex-treat-backslash-char function, because it does not correctly export entries of the org-html-entities variable that have the form ("Rightarrow" . "⇒"). To render such entities the function uses (member (list string-after) org-html-entities), but that fails for these entries. Assuming that org-html-entities is an alist a correct check would be (assoc string-after org-html-entities). But even then I think the function is broken, because it renders these entities with the following piece of code: (cond ((member (list string-after) org-html-entities) ;; backslash is part of a special entity (like "\alpha") (concat string-before "$\\" (or (cdar (member (list string-after) org-html-entities)) string-after) "$")) ;; other cases follow here, I've omitted them If I replace just the condition-check with the (assoc ...) version the export of, for example, \Rightarrow works, but due to the association of Rightarrow with rArr we should expect that it should render \Rightarrow as "⇒" which is of course only meaningful for HTML. So I think we need here another condition, namely (cond ((assoc string-after org-html-entities) (concat string-before "$\\" (or (cdr (assoc string-after org-html-entities)) string-after) "$")) but that's not enough we also need a new entity variable org-latex-entities which mapps entities like \rArr to \Rightarrow, so instead of an entry ("Rightarrow" . "⇒") we need an entry ("rArr" . "Rightarrow") and put an entry with empty cdr in this alist for Rightarrow: ("Rightarrow"). Can you confirm this bug? And if yes, do you have a better solution than I to avoid the duplication of the entities variable? Geralt. ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode - Carsten ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] latex export problem in HEAD
Hi Erik, I have added \usepackage{latexsym} to the default packages that Org- mode will load. Thanks. - Carsten On Feb 28, 2010, at 5:10 PM, Erik Butz wrote: Hi all, I am getting an error when exporting to latex in the latest version in the repository if checkboxes are included in the document. the error is: ! LaTeX Error: Command \Box not provided in base LaTeX2e. which can then be cured by including \usepackage{latexsym} in the tex document. Is this a common problem or only related to my personal setup? Cheers, Erik ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode - Carsten ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Propose: add developer infos to the manual
Hi Torsten, On Mar 4, 2010, at 3:41 AM, Torsten Wagner wrote: Dear All, I'm really an org-mode beginner and even more I'm a bloody emacs- lisp beginner. Nevertheless, I try to understand here and there who things work out and tweak some things here and there. Nothing which might be worse to share yet but I'm on my way to learn about the internals of org-mode. Normally I start to consult the manual and see if I could achive what I am looking for by the given function set of org-mode. If I concern a lot I try to dig down threw the source-code for different functions to see how they work. I wonder whether it might be possible to add a footnote to every explained function with a link to the source-file. By this way it would be much easier to find the desired code-lines. Maybe bug-fixing will be easier as well. I assume there are many org- mode users with solid lisp knowledge who might be able to help bug- fixing but who have no idea where to find the necessary code. I know I can use C-h a in emacs to search for the desired function and jump to the lisp code. Just thought some redundancy in the manual might help to attract more people to contribute. Since the manual and the lisp files are plain text, it might be easy to write a function which does this automatically?! This would not be easy, because the Org-mode manual is written in terms of keys and functionality, not in terms of functions. So the manual, most of the times, does not know about which function it is talking. If you are reading the manual in info, the commands find-function and find-variable will be shortcust for the process you describe above. - Carsten Furthermore, after I thought about this I started to wonder whether org-mode + babel could be used to literally program org-mode itself. This would result in a very nice developer manual and is a very nice example to literate programming. Just some thoughts Bye Torsten ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode - Carsten ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode