From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kai Tetzlaff Subject: Bug: relative org file links get exported as href="http:./..." instead of href="./..." [7.01trans] Date: Fri, 10 Sep 2010 22:47:44 +0200 Message-ID: <7izkvp72bz.wl%kai.tetzlaff@web.de> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Return-path: Received: from [140.186.70.92] (port=45092 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OuAVu-0005lQ-RN for emacs-orgmode@gnu.org; Fri, 10 Sep 2010 16:48:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OuAVs-0008Lp-G8 for emacs-orgmode@gnu.org; Fri, 10 Sep 2010 16:48:02 -0400 Received: from moutng.kundenserver.de ([212.227.126.187]:49817) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OuAVr-0008Lf-W3 for emacs-orgmode@gnu.org; Fri, 10 Sep 2010 16:48:00 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.tetzco.de (Postfix) with ESMTP id D812DB0CCA6 for ; Fri, 10 Sep 2010 22:47:56 +0200 (CEST) Received: from mail.tetzco.de ([127.0.0.1]) by localhost (mini.tetzco.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 67vJsBgxEbXT for ; Fri, 10 Sep 2010 22:47:52 +0200 (CEST) Received: from mack.tetzco.de.tetzco.de (unknown [IPv6:2001:a60:f05d:1::dead]) by mail.tetzco.de (Postfix) with ESMTPA id DB75DB0CC90 for ; Fri, 10 Sep 2010 22:47:51 +0200 (CEST) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Remember to cover the basics, that is, what you expected to happen and what in fact did happen. You don't know how to make a good report? See http://orgmode.org/manual/Feedback.html#Feedback Your bug report will be posted to the Org-mode mailing list. ------------------------------------------------------------------------ Since about 1 week (09-03), relative links between org-mode files within the same publishing project get and additional 'http:' prefix in the href attribute. Instead of as in earlier versions the links are now converted to and fail to resolve when browsing the exported files. Emacs : GNU Emacs 24.0.50.2 (x86_64-apple-darwin10.4.0, NS apple-appkit-1038.32) of 2010-09-10 on mack.tetzco.de Package: Org-mode version 7.01trans current state: ============== (setq org-empty-line-terminates-plain-lists t org-log-done 'time org-file-apps '((auto-mode . emacs) ("\\.x?html?\\'" . default) ("\\.pdf\\'" . default) (directory dired-other-frame file)) org-export-latex-after-initial-vars-hook '(org-beamer-after-initial-vars) org-link-frame-setup '((vm . vm-visit-folder-other-frame) (gnus . gnus-other-frame) (file . find-file-other-frame)) org-special-ctrl-a/e 'reversed org-agenda-clockreport-parameter-plist '(:link nil :maxlevel 4) org-agenda-files '("~/.emacs.d/org/agenda") org-clock-persist-query-resume nil org-blocker-hook '(org-block-todo-from-children-or-siblings-or-parent) org-publish-timestamp-directory "~/.emacs.d/tmp/org-timestamps/" org-babel-load-languages '((clojure . t) (css . t) (ditaa . t) (dot . t) (C . t) (gnuplot . t) (mscgen . t) (perl . t) (python . t) (R . t) (ruby . t) (sh . t)) org-hide-leading-stars t org-metaup-hook '(org-babel-load-in-session-maybe) org-after-todo-state-change-hook '(org-clock-out-if-current) org-clock-out-when-done nil org-babel-tangle-lang-exts '(("ruby" . "rb") ("python" . "py") ("perl" . "pl") ("c++" . "cpp") ("clojure" . "clj") ("emacs-lisp" . "el")) org-export-ascii-bullets '(42 43 45 126) org-clock-history-length 25 org-agenda-start-with-log-mode t outline-minor-mode-prefix "" org-special-ctrl-k t org-export-blocks-postblock-hook '(org-exp-res/src-name-cleanup) org-publish-use-timestamps-flag nil org-export-latex-format-toc-function 'org-export-latex-format-toc-default org-support-shift-select t org-clock-in-resume t org-export-preprocess-hook '(org-export-blocks-preprocess) org-tags-exclude-from-inheritance '("cmm" "cmn" "cmr") org-tab-first-hook '(org-hide-block-toggle-maybe org-babel-hide-result-toggle-maybe) outline-regexp "\\*+ " org-src-mode-hook '(org-src-babel-configure-edit-buffer org-src-mode-configure-edit-buffer) org-confirm-shell-link-function 'yes-or-no-p org-export-first-hook '(org-beamer-initialize-open-trackers) org-clock-persist t org-startup-indented t org-agenda-before-write-hook '(org-agenda-add-entry-text) org-M-RET-may-split-line '((default . t) (headline)) org-default-notes-file "~/.emacs.d/org/notes.org" org-directory "~/.emacs.d/org/" org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers org-cycle-show-empty-lines org-optimize-window-after-visibility-change) org-publish-project-alist '(("NasTCs-org" :base-directory "~/.emacs.d/org/agenda/STF160" :base-extension "org" :exclude "\\(org\\|html\\|css\\)" :publishing-directory "~/NasTcOverview" :publishing-function (kt:publish-html org-publish-org-to-org) :plain-source t :htmlized-source t :link-validation-function kt:copy-and-validate-link :title "NAS Testcase Overview" :table-of-contents t :section-numbers nil :headline-levels 3 :sub-superscript nil :todo-keywords t :drawers t :tags not-in-toc :timestamps t :auto-index nil :exclude-tags ("mdesc" "limpl") :style "") ("NasTCs-other" :base-directory "~/.emacs.d/org/agenda/STF160" :recursive t :no-timestamps t :base-extension "css\\|js" :publishing-directory "~/NasTcOverview" :publishing-function org-publish-attachment) ("NasTCs" :components ("NasTCs-other" "NasTCs-org")) ("UPC" :components ("UPC-html" "UPC-HOWTO-other")) ("UPC-HOWTO-other" :base-directory "~/Documents/Work/RS/UPC" :recursive t :no-timestamps t :base-extension "xml\\|dtd\\|txt\\|ppt\\|sh\\|conf\\|exe\\|bat" :publishing-directory "~/UpcOnCmw" :publishing-function org-publish-attachment) ("UPC-html" :base-directory "~/Documents/Work/RS/UPC" :recursive t :base-extension "org" :exclude "upc_roadmap.org" :exclude-tags ("intern") :style-include-default nil :publishing-directory "~/UpcOnCmw" :publishing-function org-publish-org-to-html :style "") ("CMerge" :base-directory "~/.emacs.d/org/agenda/STF160" :exclude ".*" :publishing-directory "~/NasTcMerge" :publishing-function (kt:publish-html org-publish-org-to-org) :link-validation-function kt:copy-and-validate-link :title "Merge/Align EPS-only/Combined NAS TCs" :table-of-contents nil :section-numbers nil :headline-levels 3 :sub-superscript nil :todo-keywords t :drawers ("PROPERTIES") :tags nil :timestamps nil :auto-index nil :select-tags ("cmm" "cmn" "cmr") :exclude-tags ("limpl" "tci")) ) org-export-preprocess-before-normalizing-links-hook '(org-remove-file-link-modifiers) org-mode-hook '(org-clock-load #[nil "\300\301\302\303\304$\207" [org-add-hook change-major-mode-hook org-show-block-all append local] 5] #[nil "\300\301\302\303\304$\207" [org-add-hook change-major-mode-hook org-babel-show-result-all append local] 5] org-babel-result-hide-spec org-babel-hide-all-hashes) org-clock-out-remove-zero-time-clocks t org-refile-targets '((org-agenda-files :maxlevel . 3) (nil :maxlevel . 3)) org-ctrl-c-ctrl-c-hook '(org-babel-hash-at-point org-babel-execute-safely-maybe) org-return-follows-link t org-confirm-elisp-link-function 'yes-or-no-p org-refile-use-outline-path 'file org-log-into-drawer t org-export-interblocks '((lob org-babel-exp-lob-one-liners) (src org-babel-exp-inline-src-blocks)) org-enforce-todo-dependencies t org-insert-heading-respect-content t org-insert-mode-line-in-empty-file t org-publish-after-export-hook '(kt:org-publish) org-occur-hook '(org-first-headline-recenter) org-yank-adjusted-subtrees t org-export-preprocess-before-selecting-backend-code-hook '(org-beamer-select-beamer-code) org-agenda-log-mode-items '(clock) outline-level-function 'outline-level-default org-remember-templates '(("Bug" 98 "* BUG %?\n %i\n %a" "agenda/bugs.org" "Bugs") ("Todo" 116 "* TODO %?\n %i\n %a" "agenda/todo.org" "Tasks") ("Testcase" 99 "* TODO-TC %?\n %i\n %a" "agenda/todo.org" "Testcase Issues") ("Note" 110 "* %U %?\n\n %i\n %a" "agenda/notes.org" "Notes") ("Idea" 105 "* %^{Title}\n %i\n %a" "agenda/journal.org" "New Ideas") ("r" "RLC code review" entry (file+headline "~/Documents/Work/RS/code-reviews.org" "RLC") "* DEFECT: %^{defect description}%?\n%(buffer-file-name (org-capture-get :original-buffer)):%(number-to-string (save-excursion (set-buffer (org-capture-get :original-buffer)) (line-number-at-pos (or (mark) (point)))))\n\n %i\n\n%a\n" :immediate-finish t) (119 "* %^{Title}\n\n Source: %u, %c\n\n %i" nil "Notes")) org-clock-persist-file "~/.org-clock-save.el" org-export-latex-final-hook '(org-beamer-amend-header org-beamer-fix-toc org-beamer-auto-fragile-frames org-beamer-place-default-actions-for-lists) org-metadown-hook '(org-babel-pop-to-session-maybe) org-export-blocks '((src org-babel-exp-src-blocks nil) (comment org-export-blocks-format-comment t) (ditaa org-export-blocks-format-ditaa nil) (dot org-export-blocks-format-dot nil)) )