From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Thomas S. Dye" Subject: Re: org-add-link-type Date: Sat, 12 Feb 2011 13:16:52 -1000 Message-ID: <254C5983-D49B-4363-943A-9AC029AF3CEF@tsdye.com> References: <4D182DBE.8030504@christianmoe.com> <348CF591-80F3-414A-BDD4-895410F5DEA6@tsdye.com> <87fwsr1iqu.fsf@altern.org> <8B0421E0-25BE-4773-9D6B-DC65E0478EF0@tsdye.com> <878vxkvpwf.fsf@gnu.org> Mime-Version: 1.0 (Apple Message framework v936) Content-Type: multipart/mixed; boundary=Apple-Mail-2--729651087 Return-path: Received: from [140.186.70.92] (port=58228 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PoOi3-0003Ut-EW for emacs-orgmode@gnu.org; Sat, 12 Feb 2011 18:17:00 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PoOi2-0006GC-AV for emacs-orgmode@gnu.org; Sat, 12 Feb 2011 18:16:59 -0500 Received: from cpoproxy2-pub.bluehost.com ([67.222.39.38]:60462) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1PoOi2-0006G4-1z for emacs-orgmode@gnu.org; Sat, 12 Feb 2011 18:16:58 -0500 In-Reply-To: <878vxkvpwf.fsf@gnu.org> 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: Bastien Cc: Org Mode , mail@christianmoe.com --Apple-Mail-2--729651087 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Aloha Bastien, --Apple-Mail-2--729651087 Content-Disposition: attachment; filename=0001-lisp-org.el-Documentation-change-for-org-add-link-ty.patch Content-Type: application/octet-stream; x-unix-mode=0644; name="0001-lisp-org.el-Documentation-change-for-org-add-link-ty.patch" Content-Transfer-Encoding: quoted-printable =46rom=207f8d2f1ccab79b9e0978ebfe730fb3f5bb82b6ca=20Mon=20Sep=2017=20= 00:00:00=202001=0AFrom:=20Tom=20Dye=20=0ADate:=20Sat,=20= 12=20Feb=202011=2013:14:55=20-1000=0ASubject:=20[PATCH]=20*=20= lisp/org.el:=20Documentation=20change=20for=20org-add-link-type=0A=0A---=0A= =20lisp/org.el=20|=20=20=20=203=20++-=0A=201=20files=20changed,=202=20= insertions(+),=201=20deletions(-)=0A=0Adiff=20--git=20a/lisp/org.el=20= b/lisp/org.el=0Aindex=20e56ce4f..8168a28=20100644=0A---=20a/lisp/org.el=0A= +++=20b/lisp/org.el=0A@@=20-8268,7=20+8268,8=20@@=20EXPORT=20should=20= format=20the=20link=20path=20for=20export=20to=20one=20of=20the=20export=20= formats.=0A=20It=20should=20be=20a=20function=20accepting=20three=20= arguments:=0A=20=0A=20=20=20path=20=20=20=20the=20path=20of=20the=20= link,=20the=20text=20after=20the=20prefix=20(like=20\"http:\")=0A-=20=20= desc=20=20=20=20the=20description=20of=20the=20link,=20if=20any,=20nil=20= if=20there=20was=20no=20description=0A+=20=20desc=20=20=20=20the=20= description=20of=20the=20link,=20if=20any,=20or=20a=20description=20= added=20by=0A+=20=20=20=20=20=20=20=20=20=20org-export-normalize-links=20= if=20there=20is=20none=0A=20=20=20format=20=20the=20export=20format,=20a=20= symbol=20like=20`html'=20or=20`latex'=20or=20`ascii'..=0A=20=0A=20The=20= function=20may=20use=20the=20FORMAT=20information=20to=20return=20= different=20values=0A--=20=0A1.7.1=0A=0A= --Apple-Mail-2--729651087 Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit All the best, Tom On Feb 12, 2011, at 12:39 PM, Bastien wrote: > Hi Thomas, > > "Thomas S. Dye" writes: > >> Thanks for looking at this. The problem isn't that the description >> is >> being protected from conversion, it is that it is there at all. The >> link in the example lacks a description and the documentation says >> that in this case desc will be nil, so it was a surprise to find a >> value being passed instead. > > Yes -- that's because org-export-normalize-links add a description > when > there is none. > > Can you tell me where the documentation is wrong about this? I cannot > find it right now. > > Thanks! > > -- > Bastien --Apple-Mail-2--729651087 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 --Apple-Mail-2--729651087--