Re: [Orgmode] Re: Wow -- adding images to an org file
On May 12, 2010, at 7:39 AM, Baoqiu Cui wrote: ro...@iinet.net.au ro...@iinet.net.au writes: I very much like the idea of native inline image display in Org- mode but can't seem to make it work. Given a 6.36 snapshot or 6.36 release and these org file contents * Test image Test image [[Screenshot.png]] I hoped org would display that image after C-c C-x C-v. Rather Org- mode returns No images to display inline. I've tried different ways of linking that image, different image formats, relative vs complete paths, and my regular .emacs vs a near empty one and always the same result. If I toggle iimage-mode the image displays fine per se but does not affect how Org-mode works. Seems clear I am missing something simple. What? I like the idea of inline image display too, but hit the similar problems. After reading the code in org.el, I found that the inline image file link has to start with either file: or ./. For example, the following two links are OK: [[file:~/images/myImage.png]] [[./figures/org-mode-unicorn.svg]] but the following two are not: [[Screenshot.png]] This one I do not want to support, because it limits what other things we can do with links. [[~/images/myImage.png]] This one on the other hand should be supported, I like that. Can you please modify the patch accordingly? I believe this will also require corresponding changes in the exporter(s) somewhere... Thanks! - Carsten Here is a small patch that seems to work well for me, but I'd like Carsten to check whether it may break anything: diff --git a/lisp/org.el b/lisp/org.el index 0381a26..5efc162 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -15502,7 +15502,7 @@ with a description part will be inlined. (interactive P) (org-remove-inline-images) (goto-char (point-min)) - (let ((re (concat \\[\\[\\(file:\\|\\./\\)\\(~? [-+./_0-9a-zA- Z]+ + (let ((re (concat \\[\\[\\(file:\\)?\\(~? [-+./_0-9a-zA-Z]+ (substring (org-image-file-name-regexp) 0 -2) \\)\\] (if include-linked \\]))) file ov) Regards, -- 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 - 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] IMPORTANT key change
Hi everyone, while I have not yet come to a conclusion about the motion keys C-c C- [npfbu], I have just installed another significant key change. `C-c C-v' is no longer available to create a sparse TODO tree. Please use `C-c / t' instead. - 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] Newbie: Custom link type formatting in LaTeX export?
On May 11, 2010, at 12:13 PM, Christian Moe wrote: Hi, (I'm new to the list; have been an enthusiastic Org user for a year and half; now using version 6.36; am an Elisp novice.) It looks like support for formatting custom link types in LaTeX export is broken? I was trying to implement a custom link type with its own formatting function for HTML and LaTeX export, following the steps in org-bbdb.el. I've found that org-bbdb-export does not italicize bbdb links in LaTeX, nor does my own org-cite-export turn my custom =cite:= links into LaTeX =\cite{}= citations. Everything works fine in HTML export, but in LaTeX all custom link types get formatted as =\texttt{descr}=. I see that org-export-as-html and org-export-as-docbook look up org-link-protocols to get the function for formatting the link, but it seems that org-export-as-latex doesn't. Hi CHristian, this is correct. Since you already looked into the code, would you like to write a patch to this effect? - 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] remote reference
On May 11, 2010, at 9:16 PM, Karl Eichwalder wrote: Carsten Dominik carsten.domi...@gmail.com writes: For tables in a different file, the remote table must be the first table in an outline node, and the outline node must have an ID property. First configure org-modules and turn on the id module. Then prepare your target file like this * here is my table :PROPERTIES: :ID: DDE64190-0C3D-4088-A303-DA3B60ECEB48 :END: and here we have the table. |...|...|...| The ID can be an arbitrary string, but then you must make sure yourself that it is globally unique. Or you can have Org-mode make the ID for you. This way it works nicely, thanks for the example. Something related: C-c C-c in a TBLFM with a remote table reference updates the table as expected, but also jumps to the referenced table in the remote file. Is this intended? If yes, is it possible to avoid it? Hi Karl, Can you please be more specific. What exactly happens? - 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] org-toodledo : sycning org-mode and Toodledo
Hello all, R Takaishi's org-toodledo looks promising for mobile access via toodledo's web-page for those who don't have an iphone. I hadn't seen discussion of it here before. I've forked an annotated version with translations from the Japanese into English at github and have begun working my way through it: http://github.com/stophlong/repos The lisp code is able to communicate with Toodledo, but is still very rough around the edges: I'm testing it with an expendable toodledo database as it has wiped it more than once. If anyone is interested in being involved in taking this forward, that'd be great. Stoph ___ 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] After TODO statistics problem
Hi all, I add CNCL(cancel) and WAIT to TODO keywords, which is copied from Prof.Dominik's presentation. In below example, the statistics of TODO should be [1/3] (because CNCL should not be considered as a valid headline), but not [1/4]. How to omit the CNCL headline? Shall I modify value or add a hook? (example modified from Org Mode Manual Section 5.5) * Organize Party [1/4] ** TODO Call people [1/2] *** TODO Peter *** DONE Sarah ** WAIT Buy food ** DONE Talk to neighbor ** CNCL Waste time My environment is Emacs 23.1, Org 6.36. Thanks, - David ___ 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: Wow -- adding images to an org file
Hi Carsten, Carsten Dominik carsten.domi...@gmail.com writes: On May 12, 2010, at 7:39 AM, Baoqiu Cui wrote: ... I like the idea of inline image display too, but hit the similar problems. After reading the code in org.el, I found that the inline image file link has to start with either file: or ./. For example, the following two links are OK: [[file:~/images/myImage.png]] [[./figures/org-mode-unicorn.svg]] but the following two are not: [[Screenshot.png]] This one I do not want to support, because it limits what other things we can do with links. [[~/images/myImage.png]] This one on the other hand should be supported, I like that. Can you please modify the patch accordingly? I believe this will also require corresponding changes in the exporter(s) somewhere... OK, I modified the patch a little bit and came up with a version (see below) that can handle the following 7 cases. Please check if it looks good to you. I don't see any needed exporter changes so far... * Test Inline Images 1. [[file:~/Org/GNU.png]] 2. [[file:GNU.png]] 3. [[./figures/GNU.png]] 4. [[../tmp/figures/GNU.png]] 5. [[~/Org/GNU.png]] 6. [[~bcui/Org/GNU.png]] 7. [[/tmp/GNU.png]] diff --git a/lisp/org.el b/lisp/org.el index 0381a26..51230b3 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -15502,12 +15502,14 @@ with a description part will be inlined. (interactive P) (org-remove-inline-images) (goto-char (point-min)) - (let ((re (concat \\[\\[\\(file:\\|\\./\\)\\(~? [-+./_0-9a-zA-Z]+ + (let ((re (concat \\[\\[\\(\\(file:\\)\\|\\([./~]\\)\\)\\([-+~./_0-9a-zA-Z]+ (substring (org-image-file-name-regexp) 0 -2) \\)\\] (if include-linked \\]))) file ov) (while (re-search-forward re nil t) -(setq file (expand-file-name (match-string 2))) +(setq file (expand-file-name + (concat (or (match-string 3) ) + (match-string 4 (when (file-exists-p file) (setq ov (make-overlay (match-beginning 0) (match-end 0))) (overlay-put ov 'display (create-image file)) 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] [PATCH 2/2] Adjust indentation to meet coding style.
--- lisp/org-wl.el | 65 +-- 1 files changed, 34 insertions(+), 31 deletions(-) diff --git a/lisp/org-wl.el b/lisp/org-wl.el index 3faf2ea..a5c8218 100644 --- a/lisp/org-wl.el +++ b/lisp/org-wl.el @@ -181,7 +181,8 @@ ENTITY is a message entity. wl-summary-buffer-elmo-folder msgnum) (elmo-msgdb-overview-get-entity msgnum (wl-summary-buffer-msgdb -(message-id (org-wl-message-field 'message-id wl-message-entity)) +(message-id + (org-wl-message-field 'message-id wl-message-entity)) (from (org-wl-message-field 'from wl-message-entity)) (to (org-wl-message-field 'to wl-message-entity)) (xref (org-wl-message-field 'xref wl-message-entity)) @@ -201,16 +202,18 @@ ENTITY is a message entity. ;; maybe create http link (cond -((and (eq folder-type 'shimbun) org-wl-shimbun-prefer-web-links xref) +((and (eq folder-type 'shimbun) + org-wl-shimbun-prefer-web-links xref) (org-store-link-props :type http :link xref :description subject :from from :to to :message-id message-id :subject subject)) ((and (eq folder-type 'nntp) org-wl-nntp-prefer-web-links) - (setq link (format - (if (string-match gmane\\. folder-name) - http://mid.gmane.org/%s; - http://groups.google.com/groups/search?as_umsgid=%s;) - (org-fixup-message-id-for-http message-id))) + (setq link + (format +(if (string-match gmane\\. folder-name) +http://mid.gmane.org/%s; + http://groups.google.com/groups/search?as_umsgid=%s;) +(org-fixup-message-id-for-http message-id))) (org-store-link-props :type http :link link :description subject :from from :to to :message-id message-id :subject subject)) @@ -229,34 +232,34 @@ When called with one prefix, open message in namazu search folder with `org-wl-namazu-default-index' as search index. When called with two prefixes or `org-wl-namazu-default-index' is nil, ask for namazu index. - (require 'wl) - (unless wl-init (wl)) - ;; XXX: The imap-uw's MH folder names start with %#. - (if (not (string-match \\`\\(\\(?:%#\\)?[^#]+\\)\\(#\\(.*\\)\\)? path)) - (error Error in Wanderlust link)) - (let ((folder (match-string 1 path)) - (article (match-string 3 path))) - ;; maybe open message in namazu search folder - (when current-prefix-arg - (setq folder (concat [ article ] - (if (and (equal current-prefix-arg '(4)) - org-wl-namazu-default-index) - org-wl-namazu-default-index - (read-directory-name Namazu index: ) - (if (not (elmo-folder-exists-p (org-no-warnings - (wl-folder-get-elmo-folder folder - (error No such folder: %s folder)) - (let ((old-buf (current-buffer)) -(old-point (point-marker))) - (wl-folder-goto-folder-subr folder) - (with-current-buffer old-buf + (require 'wl) + (unless wl-init (wl)) + ;; XXX: The imap-uw's MH folder names start with %#. + (if (not (string-match \\`\\(\\(?:%#\\)?[^#]+\\)\\(#\\(.*\\)\\)? path)) + (error Error in Wanderlust link)) + (let ((folder (match-string 1 path)) + (article (match-string 3 path))) +;; maybe open message in namazu search folder +(when current-prefix-arg + (setq folder (concat [ article ] + (if (and (equal current-prefix-arg '(4)) + org-wl-namazu-default-index) + org-wl-namazu-default-index +(read-directory-name Namazu index: ) +(if (not (elmo-folder-exists-p (org-no-warnings + (wl-folder-get-elmo-folder folder + (error No such folder: %s folder)) +(let ((old-buf (current-buffer)) + (old-point (point-marker))) + (wl-folder-goto-folder-subr folder) + (with-current-buffer old-buf ;; XXX: `wl-folder-goto-folder-subr' moves point to the ;; beginning of the current line. So, restore the point ;; in the old buffer. (goto-char old-point)) - (and article (wl-summary-jump-to-msg-by-message-id (org-add-angle-brackets -article)) - (wl-summary-redisplay) + (and article (wl-summary-jump-to-msg-by-message-id (org-add-angle-brackets +
[Orgmode] [PATCH 1/2] Don't throw error when `org-store-link' called on WL folder group.
--- lisp/ChangeLog |5 + lisp/org-wl.el | 11 +-- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 2361328..584da7c 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2010-05-12 David Maus dm...@ictsoc.de + + * org-wl.el (org-wl-store-link-folder): Don't throw error when + called on WL folder group. + 2010-05-10 Carsten Dominik carsten.domi...@gmail.com * org.el (org-replace-escapes): Make sure the cdr is not nil. diff --git a/lisp/org-wl.el b/lisp/org-wl.el index 6297a29..3faf2ea 100644 --- a/lisp/org-wl.el +++ b/lisp/org-wl.el @@ -151,12 +151,11 @@ ENTITY is a message entity. (link (org-make-link wl: folder))) (save-excursion (beginning-of-line) - (if (and (wl-folder-buffer-group-p) - (looking-at wl-folder-group-regexp)) - (error Cannot store link to folder group: %s folder)) - (org-store-link-props :type wl :description petname - :link link) - link))) + (unless (and (wl-folder-buffer-group-p) + (looking-at wl-folder-group-regexp)) + (org-store-link-props :type wl :description petname + :link link) + link (defun org-wl-store-link-message () Store a link to a WL message. -- 1.7.1 ___ 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] [PATCH 0/2] org-wl: Minor bugfix and cosmetic change to meet coding style
Last patch for org-wl contained a minor glitch that prevented `org-remember' to be called when point was on a WL folder group. Furthermore some lines in org-wl don't meet the coding style. Patches for these glitches are available on git://github.com/dmj/dmj-org-mode.git org-wl Let's see if the git magic (tm) works as expected. HTH -- David David Maus (2): Don't throw error when `org-store-link' called on WL folder group. Adjust indentation to meet coding style. lisp/ChangeLog |5 +++ lisp/org-wl.el | 76 --- 2 files changed, 44 insertions(+), 37 deletions(-) ___ 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] After TODO statistics problem
On May 12, 2010, at 9:32 AM, David Lee wrote: Hi all, I add CNCL(cancel) and WAIT to TODO keywords, which is copied from Prof.Dominik's presentation. In below example, the statistics of TODO should be [1/3] (because CNCL should not be considered as a valid headline), but not [1/4]. How to omit the CNCL headline? Shall I modify value or add a hook? There is currently no way to do what you want. - Carsten (example modified from Org Mode Manual Section 5.5) * Organize Party [1/4] ** TODO Call people [1/2] *** TODO Peter *** DONE Sarah ** WAIT Buy food ** DONE Talk to neighbor ** CNCL Waste time My environment is Emacs 23.1, Org 6.36. Thanks, - David ___ 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] Newbie: Custom link type formatting in LaTeX export?
Hi, This patch (below and attached) seems to fix it. I've put the code at the end of org-export-latex-links, which seems to be the right place (it doesn't parallel the organization in the html exporter though). Please check my work! I'm new to Lisp, and used git for the first time today. Simple test: Export to LaTeX from an Org file including [[bbdb:Jane Doe][Ms Doe]] Currently it defaults to fixed-width (\texttt{Ms Doe}). When patched, it should come out italicized (\textit{Ms Doe}) as per the export function in org-bbdb.el. Yours, Christian == diff --git a/lisp/org-latex.el b/lisp/org-latex.el index 15d667e..eb293da 100644 --- a/lisp/org-latex.el +++ b/lisp/org-latex.el @@ -1876,6 +1876,11 @@ The conversion is made depending of STRING-BEFORE and STRING-AFTER. (setq path (org-export-latex-protect-amp path) desc (org-export-latex-protect-amp desc))) (insert (format org-export-latex-hyperref-format path desc))) +((functionp (setq fnc (nth 2 (assoc type org-link-protocols + ;; The link protocol has a function for formatting the link + (insert + (save-match-data + (funcall fnc (org-solidify-link-text raw-path) desc 'latex (t (insert \\texttt{ desc }))) It looks like support for formatting custom link types in LaTeX export is broken? (...) I've found that org-bbdb-export does not italicize bbdb links in LaTeX, nor does my own org-cite-export turn my custom =cite:= links into LaTeX =\cite{}= citations. Everything works fine in HTML export, but in LaTeX all custom link types get formatted as =\texttt{descr}=. I see that org-export-as-html and org-export-as-docbook look up org-link-protocols to get the function for formatting the link, but it seems that org-export-as-latex doesn't. Hi CHristian, this is correct. Since you already looked into the code, would you like to write a patch to this effect? - Carsten diff --git a/lisp/org-latex.el b/lisp/org-latex.el index 15d667e..eb293da 100644 --- a/lisp/org-latex.el +++ b/lisp/org-latex.el @@ -1876,6 +1876,11 @@ The conversion is made depending of STRING-BEFORE and STRING-AFTER. (setq path (org-export-latex-protect-amp path) desc (org-export-latex-protect-amp desc))) (insert (format org-export-latex-hyperref-format path desc))) +((functionp (setq fnc (nth 2 (assoc type org-link-protocols + ;; The link protocol has a function for formatting the link + (insert + (save-match-data + (funcall fnc (org-solidify-link-text raw-path) desc 'latex (t (insert \\texttt{ desc }))) ___ 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] remote reference
Carsten Dominik carsten.domi...@gmail.com writes: On May 11, 2010, at 9:16 PM, Karl Eichwalder wrote: C-c C-c in a TBLFM with a remote table reference updates the table as expected, but also jumps to the referenced table in the remote file. Is this intended? If yes, is it possible to avoid it? Can you please be more specific. What exactly happens? Consider the following two files: * 2009 #+TBLNAME: 2009 :PROPERTIES: :ID: ea32e5b5-31ba-468e-8e31-3e0d09696bb0 :END: |-+---| | mm |km | |-+---| | all | 946.8 | |-+---| * 2010 #+TBLNAME: 2010 :PROPERTIES: :ID: e0df84c4-8abc-458f-a1ee-eb53eb71b4f0 :END: |-+---+---+---| | mm |km | B km | G km | |-+---+---+---| | all | 249.4 | 429.2 | 678.6 | |-+---+---+---| * all :PROPERTIES: :ID: 44751a7f-73a4-4c07-b3c2-e3edb9042acd :END: #+TBLNAME: all |--+| | | km | |--+| | 2009 || | 2010 | 678.6 | |--+| | all | 1625.4 | |--+| #+TBLFM: @2$2=remote(ea32e5b5-31ba-468e-8e31-3e0d09696bb0,$LR2);%.1f::@3$2=remote(2010,$LR4);%.1f::$LR2=vsum(@2$...@-1);%.1f Then, in the 2010 file, eval the formula of the all table by pressing C-c C-c. == It takes the km value from the 2009 file, but also puts the cursor (point) into the 2009 file in front of the ID: * 2009 #+TBLNAME: 2009 :PROPERTIES: :ID: -!-ea32e5b5-31ba-468e-8e31-3e0d09696bb0 :END: |-+---| | mm |km | |-+---| | all | 946.8 | |-+---| -=-=-=-=-=-=-=-=-=-=-=-=-=- cut here -=-=-=-=-=-=-=-=-=-=-=-=-=- I'd prefer if the point would stay in the 2010 file. -- Karl Eichwalder ___ 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] bug?
When I type org-version, I get a shell-command window opened, and this: error: refs/heads/master does not point to a valid object! error: refs/remotes/origin/HEAD does not point to a valid object! error: refs/remotes/origin/add-recursion-to-org-publish does not point to a valid object! error: refs/remotes/origin/beamer does not point to a valid object! error: refs/remotes/origin/emacs23 does not point to a valid object! error: refs/remotes/origin/experimental does not point to a valid object! error: refs/remotes/origin/experimental-code-for-the-new-export-engine does not point to a valid object! error: refs/remotes/origin/master does not point to a valid object! error: refs/remotes/origin/mobile-support does not point to a valid object! error: refs/remotes/origin/org-plot-doc does not point to a valid object! error: refs/remotes/origin/support-for-mobile-sync does not point to a valid object! error: refs/tags/5.23a does not point to a valid object! error: refs/tags/rel519 does not point to a valid object! error: refs/tags/release_ does not point to a valid object! error: refs/tags/release_4.12a does not point to a valid object! error: refs/tags/release_4.13 does not point to a valid object! error: refs/tags/release_4.19a does not point to a valid object! error: refs/tags/release_4.19b does not point to a valid object! error: refs/tags/release_4.20 does not point to a valid object! error: refs/tags/release_4.21 does not point to a valid object! error: refs/tags/release_4.22 does not point to a valid object! error: refs/tags/release_4.23 does not point to a valid object! error: refs/tags/release_4.24 does not point to a valid object! error: refs/tags/release_4.26 does not point to a valid object! error: refs/tags/release_4.27 does not point to a valid object! error: refs/tags/release_4.28 does not point to a valid object! error: refs/tags/release_4.29 does not point to a valid object! error: refs/tags/release_4.30 does not point to a valid object! error: refs/tags/release_4.33 does not point to a valid object! error: refs/tags/release_4.34 does not point to a valid object! error: refs/tags/release_4.36 does not point to a valid object! error: refs/tags/release_4.37 does not point to a valid object! error: refs/tags/release_4.40 does not point to a valid object! error: refs/tags/release_4.41 does not point to a valid object! error: refs/tags/release_4.42 does not point to a valid object! error: refs/tags/release_4.43 does not point to a valid object! error: refs/tags/release_4.44 does not point to a valid object! error: refs/tags/release_4.45 does not point to a valid object! error: refs/tags/release_4.46 does not point to a valid object! error: refs/tags/release_4.48 does not point to a valid object! error: refs/tags/release_4.50 does not point to a valid object! error: refs/tags/release_4.51 does not point to a valid object! error: refs/tags/release_4.52 does not point to a valid object! error: refs/tags/release_4.53 does not point to a valid object! error: refs/tags/release_4.54 does not point to a valid object! error: refs/tags/release_4.55 does not point to a valid object! error: refs/tags/release_4.56 does not point to a valid object! error: refs/tags/release_4.57 does not point to a valid object! error: refs/tags/release_4.58 does not point to a valid object! error: refs/tags/release_4.59 does not point to a valid object! error: refs/tags/release_4.60 does not point to a valid object! error: refs/tags/release_4.61 does not point to a valid object! error: refs/tags/release_4.62 does not point to a valid object! error: refs/tags/release_4.64 does not point to a valid object! error: refs/tags/release_4.65 does not point to a valid object! error: refs/tags/release_4.66 does not point to a valid object! error: refs/tags/release_4.67 does not point to a valid object! error: refs/tags/release_4.68 does not point to a valid object! error: refs/tags/release_4.69 does not point to a valid object! error: refs/tags/release_4.70 does not point to a valid object! error: refs/tags/release_4.71 does not point to a valid object! error: refs/tags/release_4.72 does not point to a valid object! error: refs/tags/release_4.74 does not point to a valid object! error: refs/tags/release_4.75 does not point to a valid object! error: refs/tags/release_4.76 does not point to a valid object! error: refs/tags/release_4.77 does not point to a valid object! error: refs/tags/release_4.78 does not point to a valid object! error: refs/tags/release_4.79 does not point to a valid object! error: refs/tags/release_5.01 does not point to a valid object! error: refs/tags/release_5.01b does not point to a valid object! error: refs/tags/release_5.02 does not point to a valid object! error: refs/tags/release_5.03 does not point to a valid object! error: refs/tags/release_5.03n does not point to a valid object! error: refs/tags/release_5.04 does not point to a valid object! error: refs/tags/release_5.05 does not point to a valid object!
Re: [Orgmode] Re: orgcard.txt in Makefile
Hi, Carsten. I added a license description in the script. http://gist.github.com/378941 Regards. On Fri, May 7, 2010 at 11:52 PM, Carsten Dominik carsten.domi...@gmail.com wrote: OK, I just removed the line break. Thanks for writing the script! Can I have it for the distribution? In this case you need to decide which license you want to distribute it under and mention that in the script file. Any of the usual OpenSource licenses will do for this. ___ 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: bug?
Hi David, It's org-mode and not Emacs. This is output from 'git describe' trying to identify the git version you are running. Did you unpack that archive in a directory with a git archive (containing a .git subdirectory?) Does (locate-library org) return some other location than where you unpacked this archive and does it have a .git subdirectory? M-x org-version is trying to locate your org-mode installation and determine if it was installed from git. It assumes that if a .git directory exists then it has a git repository it can interrogate for the specific git version information. It seems your git repository has tag references but they don't point at valid objects in the git repository. Regards, Bernt da...@adboyd.com (J. David Boyd) writes: When I type org-version, I get a shell-command window opened, and this: error: refs/heads/master does not point to a valid object! error: refs/remotes/origin/HEAD does not point to a valid object! error: refs/remotes/origin/add-recursion-to-org-publish does not point to a valid object! error: refs/remotes/origin/beamer does not point to a valid object! error: refs/remotes/origin/emacs23 does not point to a valid object! error: refs/remotes/origin/experimental does not point to a valid object! error: refs/remotes/origin/experimental-code-for-the-new-export-engine does not point to a valid object! error: refs/remotes/origin/master does not point to a valid object! error: refs/remotes/origin/mobile-support does not point to a valid object! error: refs/remotes/origin/org-plot-doc does not point to a valid object! error: refs/remotes/origin/support-for-mobile-sync does not point to a valid object! error: refs/tags/5.23a does not point to a valid object! error: refs/tags/rel519 does not point to a valid object! error: refs/tags/release_ does not point to a valid object! error: refs/tags/release_4.12a does not point to a valid object! error: refs/tags/release_4.13 does not point to a valid object! error: refs/tags/release_4.19a does not point to a valid object! error: refs/tags/release_4.19b does not point to a valid object! error: refs/tags/release_4.20 does not point to a valid object! error: refs/tags/release_4.21 does not point to a valid object! error: refs/tags/release_4.22 does not point to a valid object! error: refs/tags/release_4.23 does not point to a valid object! error: refs/tags/release_4.24 does not point to a valid object! error: refs/tags/release_4.26 does not point to a valid object! error: refs/tags/release_4.27 does not point to a valid object! error: refs/tags/release_4.28 does not point to a valid object! error: refs/tags/release_4.29 does not point to a valid object! error: refs/tags/release_4.30 does not point to a valid object! error: refs/tags/release_4.33 does not point to a valid object! error: refs/tags/release_4.34 does not point to a valid object! error: refs/tags/release_4.36 does not point to a valid object! error: refs/tags/release_4.37 does not point to a valid object! error: refs/tags/release_4.40 does not point to a valid object! error: refs/tags/release_4.41 does not point to a valid object! error: refs/tags/release_4.42 does not point to a valid object! error: refs/tags/release_4.43 does not point to a valid object! error: refs/tags/release_4.44 does not point to a valid object! error: refs/tags/release_4.45 does not point to a valid object! error: refs/tags/release_4.46 does not point to a valid object! error: refs/tags/release_4.48 does not point to a valid object! error: refs/tags/release_4.50 does not point to a valid object! error: refs/tags/release_4.51 does not point to a valid object! error: refs/tags/release_4.52 does not point to a valid object! error: refs/tags/release_4.53 does not point to a valid object! error: refs/tags/release_4.54 does not point to a valid object! error: refs/tags/release_4.55 does not point to a valid object! error: refs/tags/release_4.56 does not point to a valid object! error: refs/tags/release_4.57 does not point to a valid object! error: refs/tags/release_4.58 does not point to a valid object! error: refs/tags/release_4.59 does not point to a valid object! error: refs/tags/release_4.60 does not point to a valid object! error: refs/tags/release_4.61 does not point to a valid object! error: refs/tags/release_4.62 does not point to a valid object! error: refs/tags/release_4.64 does not point to a valid object! error: refs/tags/release_4.65 does not point to a valid object! error: refs/tags/release_4.66 does not point to a valid object! error: refs/tags/release_4.67 does not point to a valid object! error: refs/tags/release_4.68 does not point to a valid object! error: refs/tags/release_4.69 does not point to a valid object! error: refs/tags/release_4.70 does not point to a valid object! error: refs/tags/release_4.71 does not point to a valid object! error: refs/tags/release_4.72 does not point to a valid object!
Re: [Orgmode] Re: Wow -- adding images to an org file
Hi Dan, On May 11, 2010, at 11:29 PM, Dan Davison wrote: Russell Adams rlad...@adamsinfoserv.com writes: On Sat, May 08, 2010 at 12:51:41PM +0200, Carsten Dominik wrote: We have now native inline image display in Org-mode, you can toggle it with C-c C-x C-v This implementation uses overlays instead of text properties and therefore does not interfere with font-lock. - Carsten I'm using Org-Babel and R, and when I use C-c C-c to update the output from a block of code, the image in emacs doesn't change. Ideas? v6.36 Hi Russell, I struggled with this when images were text properties, i.e. before Carsten's implementation using overlays (thanks for C-c C-x C-v Carsten!) I think the answer may be clear-image-cache. Yes, when you change an image on the disk, you need to clear the cache to make sure it is not being pulled out of the cache. image-refresh will just clear the cache for an individual image, and make it redisplay in his way. I have applied you patch, but I am clearing the cache before displaying the new images. When removing the org images, it is possible that the image cache still contains other images. I have also added new arguments to org-display-inline-images which will allow you to call it in a way hat it refreshes existing images without clearing the entire cache. Maybe you can do that in order to update after babel operations? I just tried that and C-c C-x C-v showed the new image afterwards. I'm not sure whether the following is acceptable in terms of emacs ecology, but it seems to do the trick: --8---cut here---start-8--- diff --git a/lisp/org.el b/lisp/org.el index c52aeb0..85f1219 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -15507,6 +15507,7 @@ with a description part will be inlined. Remove inline display of images. (interactive) (mapc 'delete-overlay org-inline-image-overlays) + (clear-image-cache) (setq org-inline-image-overlays nil)) --8---cut here---end---8--- Note also that we can make image display happen automatically after executing a babel block: (add-hook 'org-babel-after-execute-hook 'org-display-inline-images) In fact that was what I had in mind when adding that hook; it was just waiting for Carsten's function. So in my mind this gets us some of the way towards org-babel as an interactive notebook, as discussed in another recent thread. Dan p.s. For what its worth, here is the code I was using to make images appear using text properties and Org font lock. I was intending to post this when I was happy with the image refresh stuff, but it is probably redundant in light of the new functions using overlays. A certain amount of messing about with image redisplay and cache functions is evident. I did not know you were working on this, sorry for stepping on your toes here. Let me know if you think we should go back to text properties and font- lock. - Carsten --8---cut here---start-8--- (defun dan/org-fontify-image-links (limit) Display links to images as images. If the description part of the link is empty display the image, otherwise do nothing. This function is intended to be called during font-lock fontification. (let ((case-fold-search t) file image) (and dan/org-display-inline-images (re-search-forward (concat \\[\\[file:\\( iimage-mode-image-filename-regex \ \)\\]\\]) limit t) (setq file (match-string 1)) (setq file (iimage-locate-file file (list default-directory))) (setq image (create-image file)) (add-text-properties (match-beginning 0) (match-end 0) (list 'display image)) ;; (clear-image-cache) (image-refresh image) ;; (redisplay) ;; (redraw-frame) ;; (redraw-display) ;; (image-refresh image) ))) (setq dan/org-display-inline-images t) (add-hook 'org-font-lock-hook 'dan/org-fontify-image-links) --8---cut here---end---8--- Thanks. -- Russell Adamsrlad...@adamsinfoserv.com PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/ Fingerprint:1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3 ___ 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 - 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: Wow -- adding images to an org file
Hi Baoqiu, thanks for the patch, I have applied it. Hopefully this will work in the export backends, but it might - otherwise we will see bug reports soon enough... - Carsten On May 12, 2010, at 9:55 AM, Baoqiu Cui wrote: Hi Carsten, Carsten Dominik carsten.domi...@gmail.com writes: On May 12, 2010, at 7:39 AM, Baoqiu Cui wrote: ... I like the idea of inline image display too, but hit the similar problems. After reading the code in org.el, I found that the inline image file link has to start with either file: or ./. For example, the following two links are OK: [[file:~/images/myImage.png]] [[./figures/org-mode-unicorn.svg]] but the following two are not: [[Screenshot.png]] This one I do not want to support, because it limits what other things we can do with links. [[~/images/myImage.png]] This one on the other hand should be supported, I like that. Can you please modify the patch accordingly? I believe this will also require corresponding changes in the exporter(s) somewhere... OK, I modified the patch a little bit and came up with a version (see below) that can handle the following 7 cases. Please check if it looks good to you. I don't see any needed exporter changes so far... * Test Inline Images 1. [[file:~/Org/GNU.png]] 2. [[file:GNU.png]] 3. [[./figures/GNU.png]] 4. [[../tmp/figures/GNU.png]] 5. [[~/Org/GNU.png]] 6. [[~bcui/Org/GNU.png]] 7. [[/tmp/GNU.png]] diff --git a/lisp/org.el b/lisp/org.el index 0381a26..51230b3 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -15502,12 +15502,14 @@ with a description part will be inlined. (interactive P) (org-remove-inline-images) (goto-char (point-min)) - (let ((re (concat \\[\\[\\(file:\\|\\./\\)\\(~? [-+./_0-9a-zA- Z]+ + (let ((re (concat \\[\\[\\(\\(file:\\)\\|\\([./~]\\)\\)\\([-+~./ _0-9a-zA-Z]+ (substring (org-image-file-name-regexp) 0 -2) \\)\\] (if include-linked \\]))) file ov) (while (re-search-forward re nil t) -(setq file (expand-file-name (match-string 2))) +(setq file (expand-file-name + (concat (or (match-string 3) ) + (match-string 4 (when (file-exists-p file) (setq ov (make-overlay (match-beginning 0) (match-end 0))) (overlay-put ov 'display (create-image file)) 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 - 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] remote reference
Fixed, thanks. - Carsten On May 12, 2010, at 1:26 PM, Karl Eichwalder wrote: Carsten Dominik carsten.domi...@gmail.com writes: On May 11, 2010, at 9:16 PM, Karl Eichwalder wrote: C-c C-c in a TBLFM with a remote table reference updates the table as expected, but also jumps to the referenced table in the remote file. Is this intended? If yes, is it possible to avoid it? Can you please be more specific. What exactly happens? Consider the following two files: * 2009 #+TBLNAME: 2009 :PROPERTIES: :ID: ea32e5b5-31ba-468e-8e31-3e0d09696bb0 :END: |-+---| | mm |km | |-+---| | all | 946.8 | |-+---| * 2010 #+TBLNAME: 2010 :PROPERTIES: :ID: e0df84c4-8abc-458f-a1ee-eb53eb71b4f0 :END: |-+---+---+---| | mm |km | B km | G km | |-+---+---+---| | all | 249.4 | 429.2 | 678.6 | |-+---+---+---| * all :PROPERTIES: :ID: 44751a7f-73a4-4c07-b3c2-e3edb9042acd :END: #+TBLNAME: all |--+| | | km | |--+| | 2009 || | 2010 | 678.6 | |--+| | all | 1625.4 | |--+| #+TBLFM: @2$2=remote(ea32e5b5-31ba-468e-8e31-3e0d09696bb0,$LR2);%. 1f::@3$2=remote(2010,$LR4);%.1f::$LR2=vsum(@2$...@-1);%.1f Then, in the 2010 file, eval the formula of the all table by pressing C-c C-c. == It takes the km value from the 2009 file, but also puts the cursor (point) into the 2009 file in front of the ID: * 2009 #+TBLNAME: 2009 :PROPERTIES: :ID: -!-ea32e5b5-31ba-468e-8e31-3e0d09696bb0 :END: |-+---| | mm |km | |-+---| | all | 946.8 | |-+---| -=-=-=-=-=-=-=-=-=-=-=-=-=- cut here -=-=-=-=-=-=-=-=-=-=-=-=-=- I'd prefer if the point would stay in the 2010 file. -- Karl Eichwalder - 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] Newbie: Custom link type formatting in LaTeX export?
Hi Christian, this looks pretty good! I just made a let binding for you local fnc variable and replaced org-solidify-link-text with org-link-unescape. Thanks, the patch is applied. - Carsten On May 12, 2010, at 12:12 PM, Christian Moe wrote: Hi, This patch (below and attached) seems to fix it. I've put the code at the end of org-export-latex-links, which seems to be the right place (it doesn't parallel the organization in the html exporter though). Please check my work! I'm new to Lisp, and used git for the first time today. Simple test: Export to LaTeX from an Org file including [[bbdb:Jane Doe][Ms Doe]] Currently it defaults to fixed-width (\texttt{Ms Doe}). When patched, it should come out italicized (\textit{Ms Doe}) as per the export function in org-bbdb.el. Yours, Christian = = = = = = = = = = = = = = = = = = = = == diff --git a/lisp/org-latex.el b/lisp/org-latex.el index 15d667e..eb293da 100644 --- a/lisp/org-latex.el +++ b/lisp/org-latex.el @@ -1876,6 +1876,11 @@ The conversion is made depending of STRING- BEFORE and STRING-AFTER. (setq path (org-export-latex-protect-amp path) desc (org-export-latex-protect-amp desc))) (insert (format org-export-latex-hyperref-format path desc))) +((functionp (setq fnc (nth 2 (assoc type org-link-protocols + ;; The link protocol has a function for formatting the link + (insert + (save-match-data + (funcall fnc (org-solidify-link-text raw-path) desc 'latex (t (insert \\texttt{ desc }))) = = = = = = = = = = = = = = = = = = = = = = == It looks like support for formatting custom link types in LaTeX export is broken? (...) I've found that org-bbdb-export does not italicize bbdb links in LaTeX, nor does my own org-cite-export turn my custom =cite:= links into LaTeX =\cite{}= citations. Everything works fine in HTML export, but in LaTeX all custom link types get formatted as = \texttt{descr}=. I see that org-export-as-html and org-export-as-docbook look up org-link-protocols to get the function for formatting the link, but it seems that org-export-as-latex doesn't. Hi CHristian, this is correct. Since you already looked into the code, would you like to write a patch to this effect? - Carsten diff --git a/lisp/org-latex.el b/lisp/org-latex.el index 15d667e..eb293da 100644 --- a/lisp/org-latex.el +++ b/lisp/org-latex.el @@ -1876,6 +1876,11 @@ The conversion is made depending of STRING- BEFORE and STRING-AFTER. (setq path (org-export-latex-protect-amp path) desc (org-export-latex-protect-amp desc))) (insert (format org-export-latex-hyperref-format path desc))) +((functionp (setq fnc (nth 2 (assoc type org-link-protocols + ;; The link protocol has a function for formatting the link + (insert + (save-match-data + (funcall fnc (org-solidify-link-text raw-path) desc 'latex (t (insert \\texttt{ desc }))) - 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-toodledo : sycning org-mode and Toodledo
Hi Christopher, this looks like a useful thing to do. Please consider to eventually make this a contributed package, and let me know if I can help. - Carsten On May 12, 2010, at 7:43 AM, Christopher Long wrote: Hello all, R Takaishi's org-toodledo looks promising for mobile access via toodledo's web-page for those who don't have an iphone. I hadn't seen discussion of it here before. I've forked an annotated version with translations from the Japanese into English at github and have begun working my way through it: http://github.com/stophlong/repos The lisp code is able to communicate with Toodledo, but is still very rough around the edges: I'm testing it with an expendable toodledo database as it has wiped it more than once. If anyone is interested in being involved in taking this forward, that'd be great. Stoph ___ 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] VISIBILITY:folded hides all empty lines after heading if org-cycle-separator-lines is set to negative
Hi Tom, nice catch! This is fixed now. Thank you! - Carsten On May 11, 2010, at 9:27 PM, Tom wrote: Here is an org file: file begin - * test1 :PROPERTIES: :VISIBILITY: folded :END: ** test2 * test3 file end - org-cycle-separator-lines is set to -2, so org should hide one empty line after the heading when it's folded and leave the others there. If I fold the test1 tree with TAB then it collapses only one empty line after test2 and leaves the other empty lines, so this is correct. If I add VISIBILITY:folded to the test1 tree then and reopen the file all the empty lines are hidden after test2 regardless of how many there are. If I then unfold and then fold the test1 tree manually with TAB it works correctly. So it looks like VISIBILTY:folded doesn't take the negative value of org-cycle-separator-lines into account. Org-mode version 6.33x ___ 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: orgcard.txt in Makefile
Hi Osamu, thanks a lot for this, the script is now in the UTILITIES directory of the git repo and the txt refcard will be updated with each new release. Please let me know whenever you make updates to the script. Thanks! - Carsten On May 12, 2010, at 2:52 PM, Osamu OKANO wrote: Hi, Carsten. I added a license description in the script. http://gist.github.com/378941 Regards. On Fri, May 7, 2010 at 11:52 PM, Carsten Dominik carsten.domi...@gmail.com wrote: OK, I just removed the line break. Thanks for writing the script! Can I have it for the distribution? In this case you need to decide which license you want to distribute it under and mention that in the script file. Any of the usual OpenSource licenses will do for this. - 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] VISIBILITY:folded hides all empty lines after heading if org-cycle-separator-lines is set to negative
This is now fixed, thanks. - Carsten On May 11, 2010, at 9:27 PM, Tom wrote: Here is an org file: file begin - * test1 :PROPERTIES: :VISIBILITY: folded :END: ** test2 * test3 file end - org-cycle-separator-lines is set to -2, so org should hide one empty line after the heading when it's folded and leave the others there. If I fold the test1 tree with TAB then it collapses only one empty line after test2 and leaves the other empty lines, so this is correct. If I add VISIBILITY:folded to the test1 tree then and reopen the file all the empty lines are hidden after test2 regardless of how many there are. If I then unfold and then fold the test1 tree manually with TAB it works correctly. So it looks like VISIBILTY:folded doesn't take the negative value of org-cycle-separator-lines into account. Org-mode version 6.33x ___ 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] [PATCH 0/2] org-wl: Minor bugfix and cosmetic change to meet coding style
Thanks David, please check the result of my merge - but I think it went fine. VERY convenient this way! - Carsten On May 12, 2010, at 10:55 AM, David Maus wrote: Last patch for org-wl contained a minor glitch that prevented `org-remember' to be called when point was on a WL folder group. Furthermore some lines in org-wl don't meet the coding style. Patches for these glitches are available on git://github.com/dmj/dmj-org-mode.git org-wl Let's see if the git magic (tm) works as expected. HTH -- David David Maus (2): Don't throw error when `org-store-link' called on WL folder group. Adjust indentation to meet coding style. lisp/ChangeLog |5 +++ lisp/org-wl.el | 76 +++ +--- 2 files changed, 44 insertions(+), 37 deletions(-) ___ 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: bug?
Hmm, did it the same way I always do. I just extract it, and then compile it, then use it. But thanks for the info. I deleted the .gitignore file and the .git directory, and now no more errors. Dave Bernt Hansen be...@norang.ca writes: Hi David, It's org-mode and not Emacs. This is output from 'git describe' trying to identify the git version you are running. Did you unpack that archive in a directory with a git archive (containing a .git subdirectory?) Does (locate-library org) return some other location than where you unpacked this archive and does it have a .git subdirectory? M-x org-version is trying to locate your org-mode installation and determine if it was installed from git. It assumes that if a .git directory exists then it has a git repository it can interrogate for the specific git version information. It seems your git repository has tag references but they don't point at valid objects in the git repository. Regards, Bernt da...@adboyd.com (J. David Boyd) writes: When I type org-version, I get a shell-command window opened, and this: error: refs/heads/master does not point to a valid object! error: refs/remotes/origin/HEAD does not point to a valid object! error: refs/remotes/origin/add-recursion-to-org-publish does not point to a valid object! error: refs/remotes/origin/beamer does not point to a valid object! error: refs/remotes/origin/emacs23 does not point to a valid object! error: refs/remotes/origin/experimental does not point to a valid object! error: refs/remotes/origin/experimental-code-for-the-new-export-engine does not point to a valid object! error: refs/remotes/origin/master does not point to a valid object! error: refs/remotes/origin/mobile-support does not point to a valid object! error: refs/remotes/origin/org-plot-doc does not point to a valid object! error: refs/remotes/origin/support-for-mobile-sync does not point to a valid object! error: refs/tags/5.23a does not point to a valid object! error: refs/tags/rel519 does not point to a valid object! error: refs/tags/release_ does not point to a valid object! error: refs/tags/release_4.12a does not point to a valid object! error: refs/tags/release_4.13 does not point to a valid object! error: refs/tags/release_4.19a does not point to a valid object! error: refs/tags/release_4.19b does not point to a valid object! error: refs/tags/release_4.20 does not point to a valid object! error: refs/tags/release_4.21 does not point to a valid object! error: refs/tags/release_4.22 does not point to a valid object! error: refs/tags/release_4.23 does not point to a valid object! error: refs/tags/release_4.24 does not point to a valid object! error: refs/tags/release_4.26 does not point to a valid object! error: refs/tags/release_4.27 does not point to a valid object! error: refs/tags/release_4.28 does not point to a valid object! error: refs/tags/release_4.29 does not point to a valid object! error: refs/tags/release_4.30 does not point to a valid object! error: refs/tags/release_4.33 does not point to a valid object! error: refs/tags/release_4.34 does not point to a valid object! error: refs/tags/release_4.36 does not point to a valid object! error: refs/tags/release_4.37 does not point to a valid object! error: refs/tags/release_4.40 does not point to a valid object! error: refs/tags/release_4.41 does not point to a valid object! error: refs/tags/release_4.42 does not point to a valid object! error: refs/tags/release_4.43 does not point to a valid object! error: refs/tags/release_4.44 does not point to a valid object! error: refs/tags/release_4.45 does not point to a valid object! error: refs/tags/release_4.46 does not point to a valid object! error: refs/tags/release_4.48 does not point to a valid object! error: refs/tags/release_4.50 does not point to a valid object! error: refs/tags/release_4.51 does not point to a valid object! error: refs/tags/release_4.52 does not point to a valid object! error: refs/tags/release_4.53 does not point to a valid object! error: refs/tags/release_4.54 does not point to a valid object! error: refs/tags/release_4.55 does not point to a valid object! error: refs/tags/release_4.56 does not point to a valid object! error: refs/tags/release_4.57 does not point to a valid object! error: refs/tags/release_4.58 does not point to a valid object! error: refs/tags/release_4.59 does not point to a valid object! error: refs/tags/release_4.60 does not point to a valid object! error: refs/tags/release_4.61 does not point to a valid object! error: refs/tags/release_4.62 does not point to a valid object! error: refs/tags/release_4.64 does not point to a valid object! error: refs/tags/release_4.65 does not point to a valid object! error: refs/tags/release_4.66 does not point to a valid object! error: refs/tags/release_4.67 does not point to a valid object! error: refs/tags/release_4.68 does not point to a valid
Re: [Orgmode] Re: Bug: Invalid function: ignore-errors [6.36]
On May 11, 2010, at 7:09 PM, Magnus Henoch wrote: Adam Elliott a...@mbl.ca writes: Problem exists in some 6.35 versions as well. Looks like org- list.el uses `ignore-errors' macro defined in cl-macs.el. Adding following line near top of org-list.el file fixes problem for me: (require 'cl) Does not appear that cl-macs can be required separately. The canonical way to require cl only for macros is: (eval-when-compile (require 'cl)) org.el does this already. Just compile your .el files and things should work. - 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] Modifying the clocktable
Hi Christoph, On May 11, 2010, at 2:16 PM, christoph.knieh...@t-online.de wrote: One thing that I repeatedly am wondering about: Is it possible to modify the clocktable? I would like to NOT include the file from which the entry is made (i.e. column 1) and possibly change the layout of the table. I found in the org manual (which is superb) that some tweaking can be done via TBLMF. This appears to offer great flexibility if one knows LISP (which I don't), but are there other ways to modify the clocktable? No really, unfortunately. The clocktable has a lot of parameters, but no real customizability. We could add another parameter in order to remove the file name, but there is no general way to customize it. This would need a rewrite of the functions. - 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] Exporting customized align attribute to LaTeX
Hi, Exporting a customized align attribute for a table produces a wrong result. Here's an example where I'm customizing the S column type (coming from the siunitx package): I want to add the EUR symbol after each value in the specified column. --8---cut here---start-8--- * TEST #+ATTR_LATEX: align=lS{{\,\si{\EUR}}} | A | 12584.35 | | BB | 123456.67 | | CCC | 987654.32 | --8---cut here---end---8--- When exporting to LaTeX, I get the following result: --8---cut here---start-8--- \section{TEST} \label{sec-1} \begin{center} \begin{tabular}{lS{{\} A 12584.35 \\ BB 123456.67 \\ CCC987654.32 \\ \end{tabular} \end{center} --8---cut here---end---8--- I should get the following for the begin{tabular} line: --8---cut here---start-8--- \begin{tabular}{lS{{\,\si{\EUR} --8---cut here---end---8--- Is there a way to achieve this? Thanks, Francesco ___ 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] schedule/deadline and ido-mode conflict
Hi everyone, After insert schedule and deadline by C-c C-s, C-c C-d, I switch buffer by ido-mode command ido-switch-buffer. Emacs will give out a message: Error in post-command-hook: (void-variable org-ans1) And ido-switch-buffer doesn't work. My environment: Emacs 23.1, Org-mode 6.36. Thanks, - David ___ 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] schedule/deadline and ido-mode conflict
David Lee zhushen...@gmail.com wrote: After insert schedule and deadline by C-c C-s, C-c C-d, I switch buffer by ido-mode command ido-switch-buffer. Emacs will give out a message: Error in post-command-hook: (void-variable org-ans1) And ido-switch-buffer doesn't work. My environment: Emacs 23.1, Org-mode 6.36. Please post a backtrace. To find out how to get a backtrace, read section 1.4, Feedback, of the Org manual. Thanks, Nick ___ 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: Wow -- adding images to an org file
Carsten Dominik carsten.domi...@gmail.com writes: Hi Baoqiu, thanks for the patch, I have applied it. Hopefully this will work in the export backends, but it might - otherwise we will see bug reports soon enough... Thanks, Carsten. I have tried my test case for LaTeX, DocBook, and HTML exporters and everything seemed to work. -- 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] Re: unique id=-values in aggregated html-exported docs
Dirk-Jan C. Binnema djcb.b...@gmail.com writes On Tue, 11 May 2010 21:11:04 +0200, Sebastian Rose (SR) wrote: SR Dirk-Jan C. Binnema djcb.b...@gmail.com writes: Hi, On Tue, 11 May 2010 11:07:15 +0200, Christian Egli (CE) wrote: CE Dirk-Jan C. Binnema djcb.b...@gmail.com writes: I found a small issue when aggregating multiple org-exported-to-html entries into one page. The problem is that some of the html-elements have id=... attributes, which are supposed to be unique in a html document; however, this fails when aggregating different elements into one. CE Can you list which html elements are the problem? CE Does it help if you use the BODY-ONLY option (C-h f org-export-as-html)? Actually, that's what I'm doing already (through org-publish). The final (aggegated) result is at: http://www.djcbsoftware.nl/changelog/index.html I got warned by tidy. I think it wouldn't be too hard easy to fix this by adding a per-document random cookie to these ids. SR Can you verify, that those are clashing IDs? Sure: % cat index.html | grep id= [] div id=outline-container-1 class=outline-3 h3 id=sec-1 div class=outline-text-3 id=text-1 div id=outline-container-1 class=outline-3 h3 id=sec-1 div class=outline-text-3 id=text-1 div id=outline-container-2 class=outline-3 h3 id=sec-2 div class=outline-text-3 id=text-2 div id=outline-container-1 class=outline-3 h3 id=sec-1 div class=outline-text-3 id=text-1 div id=outline-container-2 class=outline-3 [...] Funny - cannot verify that and never saw it. Why are your section numbers not increased? Could you please provide a simple testfile? So, the issue is with aggregating separate exported html blobs into one page; of course org-mode has no real control over the uniqueness of the ids then. My idea would be that we could add some per-exported org-file cookie, so the ids could be something like: id=text-456EF-1 How to refer to a certain section in a stylesheet then? Then we shouldn't get these clashes when aggregating them later. It's a bit of a small imperfection, except when you want to do something with those ids. There is a somewhat related issue with footnotes (id=footnotes and href=#fnr.1), that could be a practical problem, i.e.. you might jump to the wrong footnote. BTW, tidy also warned me about missing summary= attributes for tables; is there some way to add those? SR Yes, summary is required. We all forgot to add it. It's meant to take a SR description of the table's content and some browsers use it for SR accessability purposes (I guess the summary is read aloud then). SR A quick fix would be to just add `summary=' to the table definition: SRtable summary= ... Well, it's easy to shut up the html-validators (like tidy), but for true accessibility it'd be nice to set the summary to something meaningful (same for the alt= attribute of images). Not sure if that is a priority right now, and I guess it might add some complexity. Agreed. But Org cannot guess. Anyway, these are all fairly minor points (for me at least, I don't use the a11y stuff -- in general I'd like to applaud the excellent work that has been done in the html-export area, which I enjoy every day. Regards Sebastian ___ 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] Minor bugs in table alignments
Hi, the table below demonstrates two minor bugs. 1.) Put the point in the first row, 5th column and press `C-c C-c TAB' The alignment will change from correct, to incorrect and back again. Does not always work on the first try, but always from the second time on. 2.) In the first row, I expect the sum of the three rows below in the same format: `02:14:00' But the seconds are missing. The docs say: {:} Sum times, HH:MM:SS, plain numbers are hours. #+COLUMNS: %8time(Dauer){:} %7type(Typ) * Table #+BEGIN: columnview :hlines 1 :id global :max-level 3 :skip-empty-rows t :vlines t | *2:14* | | | 01:04:10 | lgDL | | 00:37:29 | lgDL | | 00:32:45 | DL | Best wishes Sebastian ___ 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] Newbie: Custom link type formatting in LaTeX export?
Hi, this looks pretty good! I just made a let binding for you local fnc variable and replaced org-solidify-link-text with org-link-unescape. Thanks! I just copied those over from the html exporter without thinking much. Yours, Christian ___ 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] Newbie: Custom link type formatting in LaTeX export?
Correction - I just wrote: I just copied those over from the html exporter without thinking much. - that wasn't true for org-solifidy-link-text, of course. Just in case you started wondering if something was wrong with the html exporter. Thanks for patching. Christian ___ 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 -- wiki ?
Matt Price mopto...@gmail.com writes: I see from the archives that the topic of two-way org -- wiki export/import has been raised before . Is anyone doing anything of this nature, or alternatively, does anyone even have a straightforward workflow for org -- wiki exports? I have to start at least one, maybe an umber of wikis on a small server, and would probably choose the wiki software based on org compatibility. The only caveat is that none of hte other users would likely be emacs or org users, so there'd have to be some user-friendliness to the web-based editing interface. I would love this as well - at my work we use mediawiki exclusively for internal docs communication and I would love to be able to export my Org files to mediawiki format... if not directly into mediawiki itself. Dave ___ 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 -- wiki ?
Dave Mason d...@bronto.com writes: Matt Price mopto...@gmail.com writes: I see from the archives that the topic of two-way org -- wiki export/import has been raised before . Is anyone doing anything of this nature, or alternatively, does anyone even have a straightforward workflow for org -- wiki exports? I have to start at least one, maybe an umber of wikis on a small server, and would probably choose the wiki software based on org compatibility. The only caveat is that none of hte other users would likely be emacs or org users, so there'd have to be some user-friendliness to the web-based editing interface. I would love this as well - at my work we use mediawiki exclusively for internal docs communication and I would love to be able to export my Org files to mediawiki format... if not directly into mediawiki itself. Some time ago I wrote an XSLT stylesheet called docbook2twiki to convert DocBook files to TWiki format: http://code.google.com/p/docbook2twiki/ Using that, I can easily convert Org files to TWiki via the Org DocBook exporter. Hope that docbook2twiki can be modified to generate mediawiki format. Regards, -- 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] schedule/deadline and ido-mode conflict
On 05/13/2010 10:26 AM, Nick Dokos wrote: David Leezhushen...@gmail.com wrote: On 05/12/2010 11:46 PM, Nick Dokos wrote: David Leezhushen...@gmail.com wrote: After insert schedule and deadline by C-c C-s, C-c C-d, I switch buffer by ido-mode command ido-switch-buffer. Emacs will give out a message: Error in post-command-hook: (void-variable org-ans1) And ido-switch-buffer doesn't work. My environment: Emacs 23.1, Org-mode 6.36. Please post a backtrace. To find out how to get a backtrace, read section 1.4, Feedback, of the Org manual. I turn on Enter Debugger On error all the time, and follow the instruction in Org Info. But I cannot get the backtrace, seems its not an *error* (didn't fire up elisp debugger), but just a message? The conflict make me give up schedule/deadline. So, any other suggestion on get the backtrace? Nope - no ideas/suggestions: seems to me it should have triggered. What's the value of post-command-hook just before you get the error? Note that that's a buffer-local variable, so you'll have to evaluate it (using `C-h v post-command-hookRET') in the correct buffer. Nick Hi, Nick, the error is not consistent, and I cannot always capture it. Is it related to the variable org-ans1? From my local buffer (I am *not* very sure whether the value is before the error, since sometimes C-h v affect the error conditions and make ido-switch-buffer work, I will try to investigate the error when I can reproduce it): ;;; post-command-hook is a variable defined in `C source code'. Its value is (linum-update-current t flyspell-post-command-hook) Local in buffer emacs.org; global value is (global-font-lock-mode-check-buffers global-auto-composition-mode-check-buffers global-linum-mode-check-buffers cua--post-command-handler) - David ___ 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] schedule/deadline and ido-mode conflict
On 05/12/2010 11:46 PM, Nick Dokos wrote: David Leezhushen...@gmail.com wrote: After insert schedule and deadline by C-c C-s, C-c C-d, I switch buffer by ido-mode command ido-switch-buffer. Emacs will give out a message: Error in post-command-hook: (void-variable org-ans1) And ido-switch-buffer doesn't work. My environment: Emacs 23.1, Org-mode 6.36. Please post a backtrace. To find out how to get a backtrace, read section 1.4, Feedback, of the Org manual. Thanks, Nick Hi Nick, thanks. I turn on Enter Debugger On error all the time, and follow the instruction in Org Info. But I cannot get the backtrace, seems its not an *error* (didn't fire up elisp debugger), but just a message? The conflict make me give up schedule/deadline. So, any other suggestion on get the backtrace? - David ___ 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] one .emacs on multiple computers
Hi I find I am running org mode from a Dropbox folder (and my org files) from several machines - a couple of windows computers at home and one at work, and several Macs. I have modified my .emacs file(s) ala Bernt Hansen's and others modifications. However, all of the computers (of course) have different paths to the latest version of the orgmode files in Dropbox folder, and to my personal orgmode files, for example: link to org-mode6.35i - C:/Users/clsnyder/My Documents/My Dropbox/emacs_org/org-mode6.35i/lisp ;;Windows machine 1 C:/Users/cls/My Documents/My Dropbox/emacs_org/org-mode6.35i/lisp ;;Windows machine 2 /Users/clsnyder/Dropbox/emacs_org/org-mode6.35i/lisp;;Mac machine 1 link to my todo file (for example) - C:/Users/clsnyder/My Documents/My Dropbox/emacs_org/personal.org C:/Users/cls/My Documents/My Dropbox/emacs_org/personal.org /Users/clsnyder/Dropbox/emacs_org/personal.org Can I just do something like: (defvar cls-org-file C:/Users/clsnyder/My Documents/My Dropbox/emacs_org/) ;; WINDOWS VERSION (defvar cls-org-file /Users/clsnyder/Dropbox/emacs_org/) ;; IMAC VERSION and then in each of the various .emacs files on each of the machines, just do something like this throughout the file: (add-to-list 'load-path cls-org-file + org-mode6.35i/lisp ) (add-to-list 'load-path cls-org-file + personal.org ) I don't know the correct syntax, but I would like to simply define the path variable in each .emacs file, and then I could basically have use the same .emacs file everywhere, with just a few different lines at the start to differentiate the individual machine's path. Thanks in advance. Charles Snyder -- ___ 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-FAQ request for full-text dump
Hello guys, quite often people ask question in the IRC-channel (#org-mode on freenode) which are answered in the FAQ. Now I personally find the org-faq very cumbersome to use, due to its javascript-interface that grabs keys. (Just a short thing: I'm faster with my native browser search functionality than with the interface that is used on org-faq.php In my browser it's: /color n n n N n vs. s color s RET s RET s RET and I don't even know how to jump back to a previous search results (also sometimes the first search doesn't even work, I have to do it twice, haven't investigated this further.)) Because of this I currently use the org-faq.org file locally and then grab the CUSTOM_ID and attach it to the org-faq.php link as an anchor. So my question is basically: Could we get a plain dump of the file? (I don't know who controls the export and I guess just copying the file and stripping out all the infoJS stuff is not the right way to do it.) br, benny Please don't take offense, I'm sure many other people like the infoJS interface, I just find it inefficient and mainly different from the way I search the web. ___ 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] Can HTML export produce a simple outline?
Hi, all, just wondering if the HTML export can be made to present a file as an outline, very similar to the TOC. In fact, for my purposes I'd be happy with the TOC minus the Table of Contents header, the body section, and the related linking. Is this possible? thanks, John ___ 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] schedule/deadline and ido-mode conflict
David Lee zhushen...@gmail.com wrote: On 05/12/2010 11:46 PM, Nick Dokos wrote: David Leezhushen...@gmail.com wrote: After insert schedule and deadline by C-c C-s, C-c C-d, I switch buffer by ido-mode command ido-switch-buffer. Emacs will give out a message: Error in post-command-hook: (void-variable org-ans1) And ido-switch-buffer doesn't work. My environment: Emacs 23.1, Org-mode 6.36. Please post a backtrace. To find out how to get a backtrace, read section 1.4, Feedback, of the Org manual. I turn on Enter Debugger On error all the time, and follow the instruction in Org Info. But I cannot get the backtrace, seems its not an *error* (didn't fire up elisp debugger), but just a message? The conflict make me give up schedule/deadline. So, any other suggestion on get the backtrace? Nope - no ideas/suggestions: seems to me it should have triggered. What's the value of post-command-hook just before you get the error? Note that that's a buffer-local variable, so you'll have to evaluate it (using `C-h v post-command-hook RET') in the correct buffer. Nick ___ 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] question on htmlize.el source
On May 7, 2010, at 5:45 PM, Sivaram Neelakantan wrote: The contrib directory has htmlize.el in it. Is it the latest,canonical one or I'd need to look somewhere else? I'm a bit fond of that as it enables me to share code without worrying about fontification that I'm used to. This is the latest version. - 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] [PATCH] org-file-apps docstring: document using regexp group matches as command line parameters, add examples
This is also available via git pull git://github.com/jboecker/org-mode.git for-carsten I tried to document the new behaviour as concise and clear as possible. (If anyone reads this and finds it too confusing in any way, please say so . I introduced the changes, so I know what they do and why, but the docstring has to explain this to people who do not.) While I could not make it any shorter than my first draft, I hope that the clear separation of the three possible interpretations of a string as the file identifier and the short example for each one will allow the reader to quickly find what they need without having to understanding all of the complexity first. Regards, Jan From 98fa677bc979ac9e89826d2b520233a7724a87ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20B=C3=B6cker?= jan.boec...@jboecker.de Date: Wed, 12 May 2010 23:15:56 +0200 Subject: [PATCH] org-file-apps docstring: document using regexp group matches as command line parameters, add examples The functionality which this patch documents was originally introduced in commit 75563bf71e6df356a5ae77a93152fcf913378107, then re-written in commit dfda58d720484124f9432a09d831a9d6292908af and the 5 commits before that. --- lisp/org.el | 34 +++--- 1 files changed, 31 insertions(+), 3 deletions(-) diff --git a/lisp/org.el b/lisp/org.el index 8dc806d..89879c2 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -1477,9 +1477,37 @@ you can use this variable to set the application for a given file extension. The entries in this list are cons cells where the car identifies files and the cdr the corresponding command. Possible values for the file identifier are - \regex\ Regular expression matched against the file name. For backward - compatibility, this can also be a string with only alphanumeric - characters, which is then interpreted as an extension. + \string\A string as a file identifier can be interpreted in different + ways, depending on its contents: + + - Alphanumeric characters only: + Match links with this file extension. + Example: (\pdf\ . \evince %s\) + to open PDFs with evince. + + - Regular expression: Match links where the + filename matches the regexp. If you want to + use groups here, use shy groups. + + Example: (\\\.x?html\\'\ . \firefox %s\) + (\\\(?:xhtml\\|html\\)\ . \firefox %s\) + to open *.html and *.xhtml with firefox. + + - Regular expression which contains (non-shy) groups: + Match links where the whole link, + including \::\ and anything after that, matches the regexp. + In a custom command string, %1, %2, etc. are replaced with the + parts of the link that were matched by the groups. + For backwards compatibility, if a command string is given that + does not use any of the group matches, this case is handled + identically to the second one (i.e. match against file name only). + + In a custom lisp form, you can access the group matches with + (match-string n link). + + Example: (\\\.pdf::\\(\\d+\\)\\'\ . \evince -p %1 %s\) + to open [[file:document.pdf::5]] with evince at page 5. + `directory' Matches a directory `remote' Matches a remote file, accessible through tramp or efs. Remote files most likely should be visited through Emacs -- 1.7.0.4 ___ 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] strange behavior for export
On May 1, 2010, at 2:46 PM, Robert Klein wrote: Eric, where in your .emacs is the (require 'org-install) command? In one of my setups I had it before the load-paths. I didn't notice, because of an older version of org-mode bundled with emacs; org-version reports the new version but that is not what my emacs used in exporting. Carsten, is there a reason why the manual says I should do the 'make' after it talks about load-path but before it tells me to put (require 'org-install) into the .emacs-file? Only because is tries to present installation from activation. Everybody has to activate, people who use the version delivered with Emacs do not have to install. Does that answer your question? - Carsten I should know better, but I still managed to confuse one of my .emacs-files when I started using org-mode. Best regards Robert On Sat, 01 May 2010 13:57:17 +0200, Carsten Dominik carsten.domi...@gmail.com wrote: Hi Eric, I think this could mean two things. Most likely org is loading some other version of org-latex.el. One way to find out is to run M-x list-load-path-shadows. Another possibility is that you have somewhere a configuration setting of org-export-latex-classes that is old and does not contain the beamer class definition, and somehow that setting is loaded before org-latex.el is loaded. HTH - Carsten On Apr 30, 2010, at 7:01 PM, Erik Butz wrote: Hi all, I have the following problem: I have set up my emacs so as to use org-mode uncompiled from a local directory # from .emacs (setq load-path (cons ~/elisp/org-mode/lisp load-path)) (setq load-path (cons ~/elisp/org-mode/contrib/lisp load-path)) starting emacs22 or 23 and displaying M-x org-version I get: Org-mode version 6.35trans (release_6.35g.207.g7f085) so indeed the version from the local directory. when I take a document with the following preamble: #+LaTeX_CLASS: beamer #+TITLE: present.org #+AUTHOR:Erik #+EMAIL: e...@eddie #+DATE: 2010-04-08 Thu #+DESCRIPTION: #+KEYWORDS: #+LANGUAGE: en #+OPTIONS: H:3 num:t toc:t \n:nil @:t ::t |:t ^:t -:t f:t *:t :t #+OPTIONS: TeX:t LaTeX:nil skip:nil d:nil todo:t pri:nil tags:not-in-toc #+INFOJS_OPT: view:nil toc:nil ltoc:t mouse:underline buttons:0 path:http://orgmode.org/org-info.js #+EXPORT_SELECT_TAGS: export #+EXPORT_EXCLUDE_TAGS: noexport #+LINK_UP: #+LINK_HOME: and export this to latex I get the following: \documentclass[11pt,a4paper]{article} [ something deleted ] \end{document} so despite the #+LaTeX_CLASS: beamer, the document gets exported as 'article'. Even worse, when I try to export the same document again afterwards, I get a: No definition for class `beamer' in `org-export-latex-classes' error. When I issue a 'reload-org-uncompiled' directly after starting emacs, this behavior does not occur. In this case I get, as expected: \documentclass{beamer} [ something deleted ] \end{document} any hints appreciated on how this behavior comes about. 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 - 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-FAQ request for full-text dump
Benjamin Andresen be...@in-ulm.de writes: Hello guys, quite often people ask question in the IRC-channel (#org-mode on freenode) which are answered in the FAQ. Now I personally find the org-faq very cumbersome to use, due to its javascript-interface that grabs keys. +1 The info.js HTML export is an excellent invention, but I don't think it's right for the FAQ, at least not with the current setup. Personally I sometimes skim FAQs to get a sense of a project, and I think visitors should be able to scroll down / search in a familiar fashion to get more information. I think obliging random web visitors to use Info style navigation by default is a bad idea. To be honest I've never read anything in the FAQ because I can't easily skim it, and if I have a specific question I look in the manual. In addition to a flat format, a possible better way to use info.js for the FAQ would be in a startup contents mode, whereby all headings and questions are visible, but question answers are not. Dan (Just a short thing: I'm faster with my native browser search functionality than with the interface that is used on org-faq.php In my browser it's: /color n n n N n vs. s color s RET s RET s RET and I don't even know how to jump back to a previous search results (also sometimes the first search doesn't even work, I have to do it twice, haven't investigated this further.)) Because of this I currently use the org-faq.org file locally and then grab the CUSTOM_ID and attach it to the org-faq.php link as an anchor. So my question is basically: Could we get a plain dump of the file? (I don't know who controls the export and I guess just copying the file and stripping out all the infoJS stuff is not the right way to do it.) br, benny Please don't take offense, I'm sure many other people like the infoJS interface, I just find it inefficient and mainly different from the way I search the web. ___ 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: Custom docbook stylesheets.
Hi Somehow I do net seem to have a patch relating to this thread. Can you please send it again? Baoqiu, you agree that this should be applied? - Carsten On May 3, 2010, at 9:25 PM, Dale P. Smith wrote: Baoqiu Cui cbao...@yahoo.com writes: Hi Dale, Dale Smith dsm...@vtiinstruments.com writes: Dale Smith dsm...@vtiinstruments.com writes: The current org-export-docbook-xslt-proc-command is a format string, with a fixed order of arguments (the fo filename and then the input docbook filname). Thats probably good enough for most (all?) xslt processors, but things may be more limited when it comes to also specifying the stylesheet. Do we need to have some kind of special markers in the format string for where the different options go? Something like $i $o and $s (for in, out, and stysheet)? I thought about doing something similar to make the commands easier to set, but stopped pursuing that after seeing the format string style worked fine. I am not sure if any other Emacs modes/packages have done something like this, i.e. using (semi)named arguments. Well, it took me a while, but it found it. It's the format-spec function. (Actually, http://edward.oconnor.cx/2009/06/format-spec clued me in.) I'll have a go at it today and see if I can send in a patch. Ok. This works for me. Docs are not updated. That would push me over the 10 line limit. ;^) Thanks for working on this patch, which looks very good to me! Yes, I think format-spec is the right way to go, and it does make the command format more flexible. This didn't seem to make it into org-mode. Any chance it could be added? Thanks, -Dale -- Dale P. Smith da...@vtiinstruments.com 216-447-4059 x2018 216-447-8951 FAX ___ 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] [PATCH] (org-habit-build-graph): Help-echo date when mouse is over stars.
Applied, thanks - sorry this took so long. - Carsten On May 4, 2010, at 12:35 PM, Mikael Fornius wrote: Hi John, Carsten and fellow orgs. This patch introduces a small new feature in org-habit I have wanted for a while: When mouse is over a done-star in the habit-graph I get a help-echo with the date. This is useful because I use many preceeding days and there is no easy way (that I know of) to find the done-dates when viewing the graph. Often I ask myself 'hmm when did I do this habit lately' when I am visually evaluating the habit graph and I get stuck, annoying :) I think this is a small and tasty feature so feel free to use it in org-habit if you like it. --- lisp/ChangeLog|5 + lisp/org-habit.el |4 +++- 2 files changed, 8 insertions(+), 1 deletions(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 7f1a507..a168d73 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2010-05-04 Mikael Fornius m...@abc.se + + * org-habit.el (org-habit-build-graph): Help-echo date when + mouse is over stars. + 2010-05-02 Dan Davison davi...@stats.ox.ac.uk * org-src.el (org-edit-src-code): allow-write-back-p had diff --git a/lisp/org-habit.el b/lisp/org-habit.el index bb8773e..a3a4d19 100644 --- a/lisp/org-habit.el +++ b/lisp/org-habit.el @@ -280,9 +280,11 @@ current time. donep))) markedp face) (if donep - (progn + (let ((done-time (time-add starting (days-to-time (- start (time-to-days starting)) (aset graph index ?*) (setq markedp t) + (put-text-property index (1+ index) 'help-echo +(format-time-string (org-time-stamp-format) done-time) graph) (while (and done-dates (= start (car done-dates))) (setq last-done-date (car done-dates) -- 1.7.1 ___ 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] [PATCH] org-file-apps docstring: document using regexp group matches as command line parameters, add examples
Hi Jan, this looks good, I have applied it. Thanks! - Carsten On May 12, 2010, at 11:44 PM, Jan Böcker wrote: This is also available via git pull git://github.com/jboecker/org-mode.git for-carsten I tried to document the new behaviour as concise and clear as possible. (If anyone reads this and finds it too confusing in any way, please say so . I introduced the changes, so I know what they do and why, but the docstring has to explain this to people who do not.) While I could not make it any shorter than my first draft, I hope that the clear separation of the three possible interpretations of a string as the file identifier and the short example for each one will allow the reader to quickly find what they need without having to understanding all of the complexity first. Regards, Jan 0001-org-file-apps-docstring-document-using-regexp- group-.patch___ 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] Infinite loop
On May 1, 2010, at 10:21 PM, w t wrote: Org-mode 6.35trans from 2010-04-30 Emacs 23.1 Linux Typing |:=$0 RET causes an apparent infinite loop, which can be killed with C-g. Yes, this is true. But not really a problem, is it? $0 is supposed to be used only in a @N$0 context. - 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] [FEATURE REQUEST] Comment Speedkeys or - A solution to the Remember mode three finger salute
Hi Tim, you can set org-use-speed-commands to a function. When this function returns t, speed commands are active at that location. However, this will then make all speed keys active at that location, not only specific ones. Another, probably better, possibility to achieve what you want is to use org-remember-mode-hook to add text properties to the comment lines. Such text properties can define keymaps, see the section about Special Properties in the Emacs Lisp manual. In the same hook you could aslo change the text in the comment lines. Hope this helps - Carsten On May 3, 2010, at 12:34 PM, Tim O'Callaghan wrote: Hi, My general org keyboard policy has been to avoid the use of any Ctrl related keys, and remap them to Alt, or FN keys where possible. For example I've mapped M-R to org-remember and M-O to org-ctrlc-ctrlc etc. Today I've been looking to try and set up my alt 'speed keys' for the prefix arg style 'three fingered salute' you need to use to refile remember mode notes, and it seems i cannot. At least not without using keyboard macros. I wanted to re-map M-R to refile and M-T re-template ... which leads me to my feature request. Is it possible to extend the speed key functionality to org comment lines? If so, could you assign speed keys to the comment lines in the remember buffer? Hitting PgUp or M- is natural, and then pressing a single key to do my filing operation, would be great. I should then also be able to assign speed keys for different re-file locations. This could possibly change the wording of the template at the top, and presumably need some kind of functional re-factoring of the remember code so that each operation has its own function.. Comment speed keys could then be used for #+SRC code blocks, setting #+STARTUP features or whatever. Tim. ___ 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] [PATCH] only display a scheduled item if it is due today or in the past
Hi Nathaniel, I am not yet sure about the purpose of this functionality. Items that are scheduled only show up in the agenda on the day when they are scheduled. What is the added value? Please explain, with an example. Thanks. - Carsten On May 2, 2010, at 7:37 PM, Nathaniel Flath wrote: Hello, One thing I've wanted from org-mode is the ability to have certain items 'hidden' from the agenda until the day they are scheduled - this patch implements this for all properties who have a STYLE property of 'hidden'. I ended up implementing this(the patch is attached), and thought I'd contribute it to org-mode. If you have any comments, please let me know. Thanks, Nathaniel Flath org-agenda.patch___ 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] patch + query about active timestamps
Hi Richard, I have applied this patch. Thanks! - Carsten On May 4, 2010, at 5:03 PM, Richard Riley wrote: I like pretty much all work done appearing in my agenda. Including adding notes. Its easy enough to subfilter for just TODOs later. With this in mind I modified org :- Modified lisp/org.el diff --git a/lisp/org.el b/lisp/org.el index 9c2f848..cd296b9 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -11315,6 +11315,9 @@ EXTRA is additional text that will be inserted into the notes buffer. (cons %t (format-time-string (org-time-stamp-format 'long 'inactive) (current-time))) + (cons %T (format-time-string + (org-time-stamp-format 'long nil) + (current-time))) (cons %s (if org-log-note-state (concat \ org-log-note-state \) )) to allow me to customise org-log-note-headings to marks notes with active timestamps rather than inactive (%T). e.g see the %T change for note here:- (setq org-log-note-headings (quote ((done . CLOSING NOTE %t) (state . State %-12s from %-12S %t) (note . Note taken on %T) (reschedule . Rescheduled from %S on %t) (delschedule . Not scheduled, was %S on %t) (redeadline . New deadline from %S on %t) (deldeadline . Removed deadline, was %S on %t) (refile . Refiled on %t) (clock-out . I would like to see in my agenda a mark at the time all notes were added. This works to a degree - it only shows ONE active timestamp for that day. So two notes taken a few hours apart would not show up. Another note taken the following day would trigger another agenda entry. (Ideally the agenda would show the note itself and the heading rather than the item heading only). Could this be fixed (allow all active timestamps in an org item to create an agenda entry) or is there another way of going about this? I realise I am kind of stretching the meaning of agenda here ... it just seems quite natural for the agenda to be a journal as well as a list of things ToDo. Or possibly this is an extension to the current agenda customisation facility? ___ 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