From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Thomas S. Dye" Subject: org-publish-validate-link Date: Wed, 17 Feb 2010 10:50:57 -1000 Message-ID: Mime-Version: 1.0 (Apple Message framework v936) Content-Type: multipart/mixed; boundary="===============0073347040==" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Nhqrf-0000r0-Le for emacs-orgmode@gnu.org; Wed, 17 Feb 2010 15:51:19 -0500 Received: from [140.186.70.92] (port=48170 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nhqrb-0000pB-W1 for emacs-orgmode@gnu.org; Wed, 17 Feb 2010 15:51:19 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Nhqra-0007fe-MP for emacs-orgmode@gnu.org; Wed, 17 Feb 2010 15:51:15 -0500 Received: from outbound-mail-360.bluehost.com ([66.147.249.254]:43163) by eggs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1Nhqra-0007dB-Cj for emacs-orgmode@gnu.org; Wed, 17 Feb 2010 15:51:14 -0500 Received: from cpe-24-161-159-72.hawaii.res.rr.com ([24.161.159.72] helo=[192.168.1.2]) by box472.bluehost.com with esmtpa (Exim 4.69) (envelope-from ) id 1NhqrL-00072V-Dv for emacs-orgmode@gnu.org; Wed, 17 Feb 2010 13:51:00 -0700 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: org-mode mailing list --===============0073347040== Content-Type: multipart/alternative; boundary=Apple-Mail-8-369849224 --Apple-Mail-8-369849224 Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Aloha all, org-publish-validate-link rejects a valid link to a file when the file is created during an editing session. With ./test.org and ./support/test.pdf present at the start of a session, the first link in test.org (below) is validated. When ./ support/test-copy.pdf is added during the session, the second link is not validated and only the description of the link is output to test.html. ----- test.org * A test - link to [[file:support/test.pdf][test.pdf]] - link to [[file:support/test-copy.pdf][test-copy.pdf]] ----- If org-publish-validate-link is not used, then the link is placed correctly in the html output. I have read the org-mode manual, briefly searched the list archive, and read the function's documentation string, but didn't find anything that might alert me to this behavior. My expectation was that org-publish-validate-link would understand the org-mode publishing process and would validate links in the production environment that were correctly established in the publication location. I'm using Org-mode version 6.34trans (release_6.34c.89.g0c39) on emacs 23. All the best, Tom Thomas S. Dye, Ph.D. T. S. Dye & Colleagues, Archaeologists, Inc. Phone: (808) 529-0866 Fax: (808) 529-0884 http://www.tsdye.com --Apple-Mail-8-369849224 Content-Type: text/html; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Aloha = all,

org-publish-validate-link rejects a valid link = to a file when the file is created during an editing = session.

With ./test.org and ./support/test.pdf = present at the start of a session, the first link in test.org (below) is = validated.  When ./support/test-copy.pdf is added during the = session, the second link is not validated and only the description of = the link is output to test.html.

----- = test.org
* A test
  - link to = [[file:support/test.pdf][test.pdf]]
  - link to = [[file:support/test-copy.pdf][test-copy.pdf]]
-----
If org-publish-validate-link is not used, then the link is = placed correctly in the html output.

I have = read the org-mode manual, briefly searched the list archive, and read = the function's documentation string, but didn't find anything that might = alert me to this behavior.  

My = expectation was that org-publish-validate-link would understand the = org-mode publishing process and would validate links in the production = environment that were correctly established in the publication = location.

I'm using Org-mode version = 6.34trans (release_6.34c.89.g0c39) on emacs = 23.

All the = best,
Tom


Thomas S. Dye, Ph.D.

T. S. Dye & Colleagues, = Archaeologists, Inc.

Phone: (808) 529-0866 Fax: (808) 529-0884

=

= --Apple-Mail-8-369849224-- --===============0073347040== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ 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 --===============0073347040==--