* issues with non-bracketed links in org 8.3
@ 2014-11-07 20:48 Christopher Dannheim
2014-11-07 20:54 ` Nicolas Goaziou
0 siblings, 1 reply; 6+ messages in thread
From: Christopher Dannheim @ 2014-11-07 20:48 UTC (permalink / raw)
To: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 806 bytes --]
Hi,
I have an issue with links created by org-ref's function
'org-ref-insert-cite-link' and John Kitchin asked me to post it on this
list.
in my textfiles, links created with org-ref-insert-cite-link are not enclosed
in brackets (textcite:sth), while those created with org-insert-link are
([[textcite:sth]]). Recently, the links without the brackets are not
recognized by my emacs anymore (clicking on them results in 'user error. no
link found' and they are not exported to latex correctly). However, they
are underlined and thus 'look' like links.
My emacs-Version is 24.4.1, my org-mode version is 8.3.
I know that I used to be able to compile the files that contained links without
brackets fine in the past. Do you have any idea what could cause this?
Thank you a lot in advance,
Christopher.
[-- Attachment #2: Type: text/html, Size: 1910 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: issues with non-bracketed links in org 8.3
2014-11-07 20:48 issues with non-bracketed links in org 8.3 Christopher Dannheim
@ 2014-11-07 20:54 ` Nicolas Goaziou
2014-11-07 20:59 ` Christopher Dannheim
0 siblings, 1 reply; 6+ messages in thread
From: Nicolas Goaziou @ 2014-11-07 20:54 UTC (permalink / raw)
To: Christopher Dannheim; +Cc: emacs-orgmode
Hello,
Christopher Dannheim <ch.dannheim@gmail.com> writes:
> in my textfiles, links created with org-ref-insert-cite-link are not enclosed
> in brackets (textcite:sth), while those created with org-insert-link are
> ([[textcite:sth]]). Recently, the links without the brackets are not
> recognized by my emacs anymore (clicking on them results in 'user error. no
> link found' and they are not exported to latex correctly). However, they
> are underlined and thus 'look' like links.
>
> My emacs-Version is 24.4.1, my org-mode version is 8.3.
>
> I know that I used to be able to compile the files that contained links without
> brackets fine in the past. Do you have any idea what could cause this?
textcite:sth is correct as long as "textcite" is recognized as a link
type. Does it belong to `org-link-type' value?
Regards,
--
Nicolas Goaziou
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: issues with non-bracketed links in org 8.3
2014-11-07 20:54 ` Nicolas Goaziou
@ 2014-11-07 20:59 ` Christopher Dannheim
2014-11-08 19:08 ` Nicolas Goaziou
0 siblings, 1 reply; 6+ messages in thread
From: Christopher Dannheim @ 2014-11-07 20:59 UTC (permalink / raw)
To: Christopher Dannheim, emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 1480 bytes --]
Hi,
the variable org-link does contain 'textcite' (as well as all other bibtex
and biblatex link types defined by org-ref/reftex).
org-link-types is a variable defined in `org.el'.
Its value is
("http" ... "citep*" "citealt" "citealt*" "citealp" "citealp*" "citenum"
"citetext" "citeauthor" "citeauthor*" "citeyear" "citeyear*" "Citet"
"Citep" "Citealt" "Citealp" "Citeauthor" "Cite" "parencite" "Parencite"
"footcite" "footcitetext" "textcite" "Textcite" ... "rmail")
Regards,
Christopher.
On Fri, Nov 7, 2014 at 9:54 PM, Nicolas Goaziou <mail@nicolasgoaziou.fr>
wrote:
> Hello,
>
> Christopher Dannheim <ch.dannheim@gmail.com> writes:
>
> > in my textfiles, links created with org-ref-insert-cite-link are not
> enclosed
> > in brackets (textcite:sth), while those created with org-insert-link are
> > ([[textcite:sth]]). Recently, the links without the brackets are not
> > recognized by my emacs anymore (clicking on them results in 'user error.
> no
> > link found' and they are not exported to latex correctly). However, they
> > are underlined and thus 'look' like links.
> >
> > My emacs-Version is 24.4.1, my org-mode version is 8.3.
> >
> > I know that I used to be able to compile the files that contained links
> without
> > brackets fine in the past. Do you have any idea what could cause this?
>
> textcite:sth is correct as long as "textcite" is recognized as a link
> type. Does it belong to `org-link-type' value?
>
>
> Regards,
>
> --
> Nicolas Goaziou
>
[-- Attachment #2: Type: text/html, Size: 2415 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: issues with non-bracketed links in org 8.3
2014-11-07 20:59 ` Christopher Dannheim
@ 2014-11-08 19:08 ` Nicolas Goaziou
2014-11-08 22:16 ` Christopher Dannheim
0 siblings, 1 reply; 6+ messages in thread
From: Nicolas Goaziou @ 2014-11-08 19:08 UTC (permalink / raw)
To: Christopher Dannheim; +Cc: emacs-orgmode
Christopher Dannheim <ch.dannheim@gmail.com> writes:
> the variable org-link does contain 'textcite' (as well as all other bibtex
> and biblatex link types defined by org-ref/reftex).
>
> org-link-types is a variable defined in `org.el'.
> Its value is
> ("http" ... "citep*" "citealt" "citealt*" "citealp" "citealp*" "citenum"
> "citetext" "citeauthor" "citeauthor*" "citeyear" "citeyear*" "Citet"
> "Citep" "Citealt" "Citealp" "Citeauthor" "Cite" "parencite" "Parencite"
> "footcite" "footcitetext" "textcite" "Textcite" ... "rmail")
OK. So what happens if you put point on you defective link, and eval
M-: (org-element-context)
Then
M-x org-reload M-: (org-element-context)
Regards,
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: issues with non-bracketed links in org 8.3
2014-11-08 19:08 ` Nicolas Goaziou
@ 2014-11-08 22:16 ` Christopher Dannheim
2014-11-09 23:12 ` Nicolas Goaziou
0 siblings, 1 reply; 6+ messages in thread
From: Christopher Dannheim @ 2014-11-08 22:16 UTC (permalink / raw)
To: Christopher Dannheim, emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 1278 bytes --]
org-element-context yields:
(paragraph (:begin 6145 :end 6166 :contents-begin 6145 :contents-end 6165
:post-blank 1 :post-affiliated 6145 ...))
After relaoding org:
(link (:type "textcite" :path "Hobart2003" :raw-link "textcite:Hobart2003"
:application nil :search-option nil :begin 6145 ...))
and the link is working again! Why is that the case? I get org with git
pull and then make autoloads, is that the problem?
Thank you for your help,
Christopher.
On Sat, Nov 8, 2014 at 8:08 PM, Nicolas Goaziou <mail@nicolasgoaziou.fr>
wrote:
> Christopher Dannheim <ch.dannheim@gmail.com> writes:
>
> > the variable org-link does contain 'textcite' (as well as all other
> bibtex
> > and biblatex link types defined by org-ref/reftex).
> >
> > org-link-types is a variable defined in `org.el'.
> > Its value is
> > ("http" ... "citep*" "citealt" "citealt*" "citealp" "citealp*" "citenum"
> > "citetext" "citeauthor" "citeauthor*" "citeyear" "citeyear*" "Citet"
> > "Citep" "Citealt" "Citealp" "Citeauthor" "Cite" "parencite" "Parencite"
> > "footcite" "footcitetext" "textcite" "Textcite" ... "rmail")
>
> OK. So what happens if you put point on you defective link, and eval
>
> M-: (org-element-context)
>
> Then
>
> M-x org-reload M-: (org-element-context)
>
>
> Regards,
>
[-- Attachment #2: Type: text/html, Size: 2146 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: issues with non-bracketed links in org 8.3
2014-11-08 22:16 ` Christopher Dannheim
@ 2014-11-09 23:12 ` Nicolas Goaziou
0 siblings, 0 replies; 6+ messages in thread
From: Nicolas Goaziou @ 2014-11-09 23:12 UTC (permalink / raw)
To: Christopher Dannheim; +Cc: emacs-orgmode
Christopher Dannheim <ch.dannheim@gmail.com> writes:
> org-element-context yields:
> (paragraph (:begin 6145 :end 6166 :contents-begin 6145 :contents-end 6165
> :post-blank 1 :post-affiliated 6145 ...))
>
> After relaoding org:
> (link (:type "textcite" :path "Hobart2003" :raw-link "textcite:Hobart2003"
> :application nil :search-option nil :begin 6145 ...))
>
> and the link is working again! Why is that the case?
A new type means that link syntax has to be updated. The parser didn't
do it. It should now be fixed.
Thank you for reporting the problem.
Regards,
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2014-11-09 23:11 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-07 20:48 issues with non-bracketed links in org 8.3 Christopher Dannheim
2014-11-07 20:54 ` Nicolas Goaziou
2014-11-07 20:59 ` Christopher Dannheim
2014-11-08 19:08 ` Nicolas Goaziou
2014-11-08 22:16 ` Christopher Dannheim
2014-11-09 23:12 ` Nicolas Goaziou
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).